@msafe/sui-app-store 0.0.18 → 0.0.19
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.global.js +7 -7
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -393,6 +393,7 @@ var ResultRef = class _ResultRef {
|
|
|
393
393
|
};
|
|
394
394
|
|
|
395
395
|
// src/apps/mpay/contract/InspectViewer.ts
|
|
396
|
+
import { Buffer as Buffer2 } from "buffer";
|
|
396
397
|
import { normalizeSuiAddress } from "@mysten/sui.js/utils";
|
|
397
398
|
|
|
398
399
|
// src/apps/mpay/error/InvalidRpcResultError.ts
|
|
@@ -427,7 +428,7 @@ var InspectViewer = class {
|
|
|
427
428
|
}
|
|
428
429
|
});
|
|
429
430
|
}
|
|
430
|
-
return normalizeSuiAddress(
|
|
431
|
+
return normalizeSuiAddress(Buffer2.from(value).toString("hex"));
|
|
431
432
|
}
|
|
432
433
|
getU64(callIndex = 0, returnIndex = 0) {
|
|
433
434
|
const [value, type] = this.getValue(callIndex, returnIndex);
|
|
@@ -439,7 +440,7 @@ var InspectViewer = class {
|
|
|
439
440
|
}
|
|
440
441
|
});
|
|
441
442
|
}
|
|
442
|
-
return
|
|
443
|
+
return Buffer2.from(value).readBigInt64LE();
|
|
443
444
|
}
|
|
444
445
|
};
|
|
445
446
|
|