@msafe/sui-app-store 0.0.18 → 0.0.20
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 +9 -9
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -423,6 +423,7 @@ var ResultRef = class _ResultRef {
|
|
|
423
423
|
};
|
|
424
424
|
|
|
425
425
|
// src/apps/mpay/contract/InspectViewer.ts
|
|
426
|
+
var import_buffer = require("buffer");
|
|
426
427
|
var import_utils = require("@mysten/sui.js/utils");
|
|
427
428
|
|
|
428
429
|
// src/apps/mpay/error/InvalidRpcResultError.ts
|
|
@@ -457,7 +458,7 @@ var InspectViewer = class {
|
|
|
457
458
|
}
|
|
458
459
|
});
|
|
459
460
|
}
|
|
460
|
-
return (0, import_utils.normalizeSuiAddress)(Buffer.from(value).toString("hex"));
|
|
461
|
+
return (0, import_utils.normalizeSuiAddress)(import_buffer.Buffer.from(value).toString("hex"));
|
|
461
462
|
}
|
|
462
463
|
getU64(callIndex = 0, returnIndex = 0) {
|
|
463
464
|
const [value, type] = this.getValue(callIndex, returnIndex);
|
|
@@ -469,7 +470,7 @@ var InspectViewer = class {
|
|
|
469
470
|
}
|
|
470
471
|
});
|
|
471
472
|
}
|
|
472
|
-
return Buffer.from(value).readBigInt64LE();
|
|
473
|
+
return import_buffer.Buffer.from(value).readBigInt64LE();
|
|
473
474
|
}
|
|
474
475
|
};
|
|
475
476
|
|
|
@@ -532,9 +533,9 @@ function isSameTarget(target1, target2) {
|
|
|
532
533
|
var GAS_OBJECT_SPEC = "txn.gas";
|
|
533
534
|
|
|
534
535
|
// src/apps/mpay/utils/random.ts
|
|
535
|
-
var
|
|
536
|
+
var import_uuid = require("uuid");
|
|
536
537
|
function generateGroupId() {
|
|
537
|
-
return (0,
|
|
538
|
+
return (0, import_uuid.v4)();
|
|
538
539
|
}
|
|
539
540
|
|
|
540
541
|
// src/apps/mpay/builder/CreateStreamHelper.ts
|