@scallop-io/sui-scallop-sdk 1.4.22 → 1.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/utils/util.ts +3 -0
package/dist/index.js
CHANGED
|
@@ -3089,6 +3089,9 @@ var parseAssetSymbol = (coinName) => {
|
|
|
3089
3089
|
return `w${coinName.slice(1).toUpperCase()}`;
|
|
3090
3090
|
}
|
|
3091
3091
|
if (isSuiBridgeAsset(coinName)) {
|
|
3092
|
+
if (coinName.startsWith("sbw") && coinName.length > 3) {
|
|
3093
|
+
return `sbw${coinName.slice(3).toUpperCase()}`;
|
|
3094
|
+
}
|
|
3092
3095
|
return `sb${coinName.slice(2).toUpperCase()}`;
|
|
3093
3096
|
}
|
|
3094
3097
|
if (isMarketCoin(coinName)) {
|