@akta/sdk 1.3.17-canary → 1.3.18-canary
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-WM3BYUSC.mjs → chunk-BCDE4OY7.mjs} +2 -2
- package/dist/{chunk-5UXBF7YE.js → chunk-KLTNJEGO.js} +8 -8
- package/dist/{chunk-5UXBF7YE.js.map → chunk-KLTNJEGO.js.map} +1 -1
- package/dist/{chunk-KIXNP5W2.mjs → chunk-S26VSWPS.mjs} +660 -7
- package/dist/chunk-S26VSWPS.mjs.map +1 -0
- package/dist/{chunk-BNTC376G.js → chunk-YYU7PVGV.js} +673 -20
- package/dist/chunk-YYU7PVGV.js.map +1 -0
- package/dist/dao/index.js +3 -3
- package/dist/dao/index.mjs +2 -2
- package/dist/dao-deployable/index.js +4 -4
- package/dist/dao-deployable/index.mjs +2 -2
- package/dist/generated/AbstractedAccountClient.d.ts +118 -0
- package/dist/generated/SunsetContractClient.d.ts +989 -0
- package/dist/generated/SunsetPluginClient.d.ts +836 -0
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/wallet/index.js +4 -2
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +3 -1
- package/dist/wallet/plugins/index.d.ts +1 -0
- package/dist/wallet/plugins/sunset.d.ts +62 -0
- package/package.json +1 -1
- package/dist/chunk-BNTC376G.js.map +0 -1
- package/dist/chunk-KIXNP5W2.mjs.map +0 -1
- /package/dist/{chunk-WM3BYUSC.mjs.map → chunk-BCDE4OY7.mjs.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
WalletSDK,
|
|
4
4
|
prepareGroup,
|
|
5
5
|
sendPrepared
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S26VSWPS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
AllowancesToTuple
|
|
9
9
|
} from "./chunk-2ZPJXFUS.mjs";
|
|
@@ -1925,4 +1925,4 @@ export {
|
|
|
1925
1925
|
translateDaoError,
|
|
1926
1926
|
AkitaDaoSDK
|
|
1927
1927
|
};
|
|
1928
|
-
//# sourceMappingURL=chunk-
|
|
1928
|
+
//# sourceMappingURL=chunk-BCDE4OY7.mjs.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkYYU7PVGVjs = require('./chunk-YYU7PVGV.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkVE4MYPMKjs = require('./chunk-VE4MYPMK.js');
|
|
@@ -1174,7 +1174,7 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
|
|
|
1174
1174
|
if (!walletAppId) {
|
|
1175
1175
|
throw new Error("Could not read wallet app ID from DAO global state. Has the DAO been set up?");
|
|
1176
1176
|
}
|
|
1177
|
-
this._wallet = new (0,
|
|
1177
|
+
this._wallet = new (0, _chunkYYU7PVGVjs.WalletSDK)({
|
|
1178
1178
|
...this._constructorParams,
|
|
1179
1179
|
factoryParams: {
|
|
1180
1180
|
...this._constructorParams.factoryParams,
|
|
@@ -1229,7 +1229,7 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
|
|
|
1229
1229
|
name = "",
|
|
1230
1230
|
client,
|
|
1231
1231
|
caller,
|
|
1232
|
-
callerType: pluginCallerType =
|
|
1232
|
+
callerType: pluginCallerType = _chunkYYU7PVGVjs.CallerType.Other,
|
|
1233
1233
|
methods = [],
|
|
1234
1234
|
escrow = "",
|
|
1235
1235
|
delegationType = 0n,
|
|
@@ -1258,9 +1258,9 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
1260
|
const plugin = client.appId;
|
|
1261
|
-
if (pluginCallerType ===
|
|
1261
|
+
if (pluginCallerType === _chunkYYU7PVGVjs.CallerType.Global) {
|
|
1262
1262
|
caller = _algosdk.ALGORAND_ZERO_ADDRESS_STRING;
|
|
1263
|
-
} else if (pluginCallerType ===
|
|
1263
|
+
} else if (pluginCallerType === _chunkYYU7PVGVjs.CallerType.Admin) {
|
|
1264
1264
|
caller = _algosdk2.default.getApplicationAddress(client.appId).toString();
|
|
1265
1265
|
}
|
|
1266
1266
|
let transformedMethods = [];
|
|
@@ -1669,11 +1669,11 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
|
|
|
1669
1669
|
for (let i = 0; i < actions.length; i++) {
|
|
1670
1670
|
group.opUp({ args: {}, note: `${i}`, maxFee: _algokitutils.microAlgo.call(void 0, 257000n) });
|
|
1671
1671
|
}
|
|
1672
|
-
const prepared = await
|
|
1672
|
+
const prepared = await _chunkYYU7PVGVjs.prepareGroup.call(void 0,
|
|
1673
1673
|
await group.composer(),
|
|
1674
1674
|
consolidateFees ? { consolidateFees: true } : {}
|
|
1675
1675
|
);
|
|
1676
|
-
const { groupId, txIds, confirmedRound, returns } = await
|
|
1676
|
+
const { groupId, txIds, confirmedRound, returns } = await _chunkYYU7PVGVjs.sendPrepared.call(void 0,
|
|
1677
1677
|
prepared,
|
|
1678
1678
|
this.client.algorand.client.algod
|
|
1679
1679
|
);
|
|
@@ -1925,4 +1925,4 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
|
|
|
1925
1925
|
|
|
1926
1926
|
|
|
1927
1927
|
exports.SplitDistributionType = SplitDistributionType; exports.SplitsToTuples = SplitsToTuples; exports.ProposalActionEnum = ProposalActionEnum; exports.EMPTY_CID = EMPTY_CID; exports.DAOProposalVotesMBR = DAOProposalVotesMBR; exports.DAO_ERROR_MESSAGES = DAO_ERROR_MESSAGES; exports.parseDaoErrorCode = parseDaoErrorCode; exports.translateDaoError = translateDaoError; exports.AkitaDaoSDK = AkitaDaoSDK;
|
|
1928
|
-
//# sourceMappingURL=chunk-
|
|
1928
|
+
//# sourceMappingURL=chunk-KLTNJEGO.js.map
|