@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.mjs CHANGED
@@ -3003,6 +3003,9 @@ var parseAssetSymbol = (coinName) => {
3003
3003
  return `w${coinName.slice(1).toUpperCase()}`;
3004
3004
  }
3005
3005
  if (isSuiBridgeAsset(coinName)) {
3006
+ if (coinName.startsWith("sbw") && coinName.length > 3) {
3007
+ return `sbw${coinName.slice(3).toUpperCase()}`;
3008
+ }
3006
3009
  return `sb${coinName.slice(2).toUpperCase()}`;
3007
3010
  }
3008
3011
  if (isMarketCoin(coinName)) {