@msafe/sui-app-store 0.0.23 → 0.0.25

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 CHANGED
@@ -361,6 +361,7 @@ var import_transactions3 = require("@mysten/sui.js/transactions");
361
361
  // src/apps/mpay/builder/CreateStreamHelper.ts
362
362
  var import_transactions = require("@mysten/sui.js/transactions");
363
363
  var import_utils3 = require("@mysten/sui.js/utils");
364
+ var import_nanoid = require("nanoid");
364
365
 
365
366
  // src/apps/mpay/builder/const.ts
366
367
  var FEE_NUMERATOR = 50n;
@@ -532,11 +533,6 @@ function isSameTarget(target1, target2) {
532
533
  // src/apps/mpay/types/wallet.ts
533
534
  var GAS_OBJECT_SPEC = "txn.gas";
534
535
 
535
- // src/apps/mpay/utils/random.ts
536
- function generateGroupId() {
537
- return crypto.randomUUID();
538
- }
539
-
540
536
  // src/apps/mpay/builder/CreateStreamHelper.ts
541
537
  var CreateStreamHelper = class _CreateStreamHelper {
542
538
  constructor(globals, feeContract, streamContract) {
@@ -548,7 +544,7 @@ var CreateStreamHelper = class _CreateStreamHelper {
548
544
  return {
549
545
  metadata: encodeMetadata({
550
546
  name: info.name,
551
- groupId: generateGroupId()
547
+ groupId: (0, import_nanoid.nanoid)()
552
548
  }),
553
549
  coinType: (0, import_utils3.normalizeStructTag)(info.coinType),
554
550
  recipients: info.recipients.map((recipient) => ({