@msafe/sui-app-store 0.0.23 → 0.0.24
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 +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -533,8 +533,14 @@ function isSameTarget(target1, target2) {
|
|
|
533
533
|
var GAS_OBJECT_SPEC = "txn.gas";
|
|
534
534
|
|
|
535
535
|
// src/apps/mpay/utils/random.ts
|
|
536
|
+
var import_buffer2 = require("buffer");
|
|
537
|
+
var import_nanoid = require("nanoid");
|
|
538
|
+
if (typeof window !== "undefined") {
|
|
539
|
+
window.global = window.global ?? window;
|
|
540
|
+
window.Buffer = window.Buffer ?? import_buffer2.Buffer;
|
|
541
|
+
}
|
|
536
542
|
function generateGroupId() {
|
|
537
|
-
return
|
|
543
|
+
return (0, import_nanoid.nanoid)();
|
|
538
544
|
}
|
|
539
545
|
|
|
540
546
|
// src/apps/mpay/builder/CreateStreamHelper.ts
|