@akta/sdk 1.3.25 → 1.3.26

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.
@@ -3,7 +3,7 @@ import {
3
3
  WalletSDK,
4
4
  prepareGroup,
5
5
  sendPrepared
6
- } from "./chunk-CRN6K3XV.mjs";
6
+ } from "./chunk-S4OJ4Y5G.mjs";
7
7
  import {
8
8
  AllowancesToTuple
9
9
  } from "./chunk-2ZPJXFUS.mjs";
@@ -1957,4 +1957,4 @@ export {
1957
1957
  translateDaoError,
1958
1958
  AkitaDaoSDK
1959
1959
  };
1960
- //# sourceMappingURL=chunk-A42FYVVO.mjs.map
1960
+ //# sourceMappingURL=chunk-CWBBEWKX.mjs.map
@@ -5081,7 +5081,15 @@ var WalletFactorySDK = class extends BaseSDK {
5081
5081
  });
5082
5082
  const hasSetup = plugins.length > 0 || assets.length > 0 || bio;
5083
5083
  const innerCallCount = plugins.length + (assets.length > 0 ? assets.length + 1 : 0) + (bio ? 1 : 0) + (hasSetup ? 1 : 0);
5084
- const opUpCount = Math.max(1, innerCallCount);
5084
+ const maxGroupSize = 16;
5085
+ const walletCreationBaseSize = 2;
5086
+ const opUpCount = Math.min(Math.max(1, innerCallCount), maxGroupSize - walletCreationBaseSize);
5087
+ if (opUpCount < innerCallCount) {
5088
+ console.warn("[WalletFactorySDK] Capping wallet creation op-ups to fit group limit", {
5089
+ requested: innerCallCount,
5090
+ included: opUpCount
5091
+ });
5092
+ }
5085
5093
  for (let i = 0; i < opUpCount; i++) {
5086
5094
  group.opUp({ args: {}, note: String(i), maxFee: microAlgo3(MAX_SIM_FEE) });
5087
5095
  }
@@ -26504,4 +26512,4 @@ export {
26504
26512
  SunsetPluginSDK,
26505
26513
  WalletSDK
26506
26514
  };
26507
- //# sourceMappingURL=chunk-CRN6K3XV.mjs.map
26515
+ //# sourceMappingURL=chunk-S4OJ4Y5G.mjs.map