@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.mjs
CHANGED
|
@@ -505,8 +505,14 @@ function isSameTarget(target1, target2) {
|
|
|
505
505
|
var GAS_OBJECT_SPEC = "txn.gas";
|
|
506
506
|
|
|
507
507
|
// src/apps/mpay/utils/random.ts
|
|
508
|
+
import { Buffer as Buffer3 } from "buffer";
|
|
509
|
+
import { nanoid } from "nanoid";
|
|
510
|
+
if (typeof window !== "undefined") {
|
|
511
|
+
window.global = window.global ?? window;
|
|
512
|
+
window.Buffer = window.Buffer ?? Buffer3;
|
|
513
|
+
}
|
|
508
514
|
function generateGroupId() {
|
|
509
|
-
return
|
|
515
|
+
return nanoid();
|
|
510
516
|
}
|
|
511
517
|
|
|
512
518
|
// src/apps/mpay/builder/CreateStreamHelper.ts
|