@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.
- package/dist/{chunk-A42FYVVO.mjs → chunk-CWBBEWKX.mjs} +2 -2
- package/dist/{chunk-CRN6K3XV.mjs → chunk-S4OJ4Y5G.mjs} +10 -2
- package/dist/{chunk-CRN6K3XV.mjs.map → chunk-S4OJ4Y5G.mjs.map} +1 -1
- package/dist/{chunk-ZJ5PJDYX.js → chunk-V3ISOAP3.js} +9 -9
- package/dist/{chunk-ZJ5PJDYX.js.map → chunk-V3ISOAP3.js.map} +1 -1
- package/dist/{chunk-MYSPQTJO.js → chunk-XFCO2RZP.js} +10 -2
- package/dist/chunk-XFCO2RZP.js.map +1 -0
- package/dist/dao/index.js +3 -3
- package/dist/dao/index.mjs +2 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/wallet/index.js +2 -2
- package/dist/wallet/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-MYSPQTJO.js.map +0 -1
- /package/dist/{chunk-A42FYVVO.mjs.map → chunk-CWBBEWKX.mjs.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
WalletSDK,
|
|
4
4
|
prepareGroup,
|
|
5
5
|
sendPrepared
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
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
|
|
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-
|
|
26515
|
+
//# sourceMappingURL=chunk-S4OJ4Y5G.mjs.map
|