Skip to content

Commit

Permalink
Fix a crash on iOS release build (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang authored Oct 29, 2024
1 parent 5ddc535 commit dd5ec64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ allprojects {
}

group = "exchange.dydx.abacus"
version = "1.13.14"
version = "1.13.15"

repositories {
google()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package exchange.dydx.abacus.utils
import exchange.dydx.abacus.protocols.AnalyticsEvent
import exchange.dydx.abacus.protocols.TrackingProtocol
import kotlinx.serialization.Serializable
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json

class TradeValidationTracker(
Expand All @@ -14,7 +15,8 @@ class TradeValidationTracker(
fun logValidationResult(payload: TradeValidationPayload) {
if (payload == lastSeen) return

trackingProtocol?.log(AnalyticsEvent.TradeValidation.name, TrackingJson.encodeToString(TradeValidationPayload.serializer(), payload))
val stringPaylaod = TrackingJson.encodeToString(payload)
trackingProtocol?.log(AnalyticsEvent.TradeValidation.name, stringPaylaod)
lastSeen = payload
}
}
Expand Down
2 changes: 1 addition & 1 deletion v4_abacus.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'v4_abacus'
spec.version = '1.13.14'
spec.version = '1.13.15'
spec.homepage = 'https://github.com/dydxprotocol/v4-abacus'
spec.source = { :http=> ''}
spec.authors = ''
Expand Down

0 comments on commit dd5ec64

Please sign in to comment.