Skip to content

Commit

Permalink
fix: displayable asset id (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo authored Oct 24, 2024
1 parent bc93ce5 commit 718eebf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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.12"
version = "1.13.13"

repositories {
google()
Expand Down
4 changes: 4 additions & 0 deletions src/commonMain/kotlin/exchange.dydx.abacus/output/Asset.kt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ data class Asset(
return null
}
}

val displayableAssetId: String get() {
return id.split(",").firstOrNull() ?: ""
}
}

@JsExport
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.12'
spec.version = '1.13.13'
spec.homepage = 'https://github.com/dydxprotocol/v4-abacus'
spec.source = { :http=> ''}
spec.authors = ''
Expand Down

0 comments on commit 718eebf

Please sign in to comment.