@scallop-io/sui-scallop-sdk 2.0.0-alpha.5 → 2.0.0-alpha.6
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/models/scallopUtils.ts +4 -1
package/package.json
CHANGED
|
@@ -251,7 +251,10 @@ export class ScallopUtils {
|
|
|
251
251
|
|
|
252
252
|
if (isMarketCoinType) {
|
|
253
253
|
return this.parseMarketCoinName(
|
|
254
|
-
|
|
254
|
+
(typeof typeParams[0] === 'string'
|
|
255
|
+
? parseStructTag(typeParams[0])
|
|
256
|
+
: typeParams[0]
|
|
257
|
+
).name.toLowerCase()
|
|
255
258
|
);
|
|
256
259
|
}
|
|
257
260
|
const assetCoinName =
|