@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.mjs CHANGED
@@ -333,6 +333,7 @@ import { TransactionBlock as TransactionBlock3 } from "@mysten/sui.js/transactio
333
333
  // src/apps/mpay/builder/CreateStreamHelper.ts
334
334
  import { TransactionBlock } from "@mysten/sui.js/transactions";
335
335
  import { normalizeStructTag as normalizeStructTag2, SUI_TYPE_ARG } from "@mysten/sui.js/utils";
336
+ import { nanoid } from "nanoid";
336
337
 
337
338
  // src/apps/mpay/builder/const.ts
338
339
  var FEE_NUMERATOR = 50n;
@@ -504,11 +505,6 @@ function isSameTarget(target1, target2) {
504
505
  // src/apps/mpay/types/wallet.ts
505
506
  var GAS_OBJECT_SPEC = "txn.gas";
506
507
 
507
- // src/apps/mpay/utils/random.ts
508
- function generateGroupId() {
509
- return crypto.randomUUID();
510
- }
511
-
512
508
  // src/apps/mpay/builder/CreateStreamHelper.ts
513
509
  var CreateStreamHelper = class _CreateStreamHelper {
514
510
  constructor(globals, feeContract, streamContract) {
@@ -520,7 +516,7 @@ var CreateStreamHelper = class _CreateStreamHelper {
520
516
  return {
521
517
  metadata: encodeMetadata({
522
518
  name: info.name,
523
- groupId: generateGroupId()
519
+ groupId: nanoid()
524
520
  }),
525
521
  coinType: normalizeStructTag2(info.coinType),
526
522
  recipients: info.recipients.map((recipient) => ({