@akta/sdk 1.3.26 → 1.3.27
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-S4OJ4Y5G.mjs → chunk-FLE36MLY.mjs} +1 -15
- package/dist/{chunk-S4OJ4Y5G.mjs.map → chunk-FLE36MLY.mjs.map} +1 -1
- package/dist/{chunk-V3ISOAP3.js → chunk-VLRNGCPP.js} +9 -9
- package/dist/{chunk-V3ISOAP3.js.map → chunk-VLRNGCPP.js.map} +1 -1
- package/dist/{chunk-CWBBEWKX.mjs → chunk-XP3V3ZRE.mjs} +2 -2
- package/dist/{chunk-XFCO2RZP.js → chunk-YCJNR4ZP.js} +1 -15
- package/dist/chunk-YCJNR4ZP.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-XFCO2RZP.js.map +0 -1
- /package/dist/{chunk-CWBBEWKX.mjs.map → chunk-XP3V3ZRE.mjs.map} +0 -0
|
@@ -5079,20 +5079,6 @@ var WalletFactorySDK = class extends BaseSDK {
|
|
|
5079
5079
|
},
|
|
5080
5080
|
maxFee: microAlgo3(MAX_SIM_FEE)
|
|
5081
5081
|
});
|
|
5082
|
-
const hasSetup = plugins.length > 0 || assets.length > 0 || bio;
|
|
5083
|
-
const innerCallCount = plugins.length + (assets.length > 0 ? assets.length + 1 : 0) + (bio ? 1 : 0) + (hasSetup ? 1 : 0);
|
|
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
|
-
}
|
|
5093
|
-
for (let i = 0; i < opUpCount; i++) {
|
|
5094
|
-
group.opUp({ args: {}, note: String(i), maxFee: microAlgo3(MAX_SIM_FEE) });
|
|
5095
|
-
}
|
|
5096
5082
|
const results = await (await group.composer()).send({
|
|
5097
5083
|
coverAppCallInnerTransactionFees: true,
|
|
5098
5084
|
populateAppCallResources: true
|
|
@@ -26512,4 +26498,4 @@ export {
|
|
|
26512
26498
|
SunsetPluginSDK,
|
|
26513
26499
|
WalletSDK
|
|
26514
26500
|
};
|
|
26515
|
-
//# sourceMappingURL=chunk-
|
|
26501
|
+
//# sourceMappingURL=chunk-FLE36MLY.mjs.map
|