@akta/sdk 1.3.22-canary → 1.3.23-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.
@@ -3,7 +3,7 @@ import {
3
3
  WalletSDK,
4
4
  prepareGroup,
5
5
  sendPrepared
6
- } from "./chunk-2BI2TAAG.mjs";
6
+ } from "./chunk-ZKTBPVTS.mjs";
7
7
  import {
8
8
  AllowancesToTuple
9
9
  } from "./chunk-2ZPJXFUS.mjs";
@@ -1954,4 +1954,4 @@ export {
1954
1954
  translateDaoError,
1955
1955
  AkitaDaoSDK
1956
1956
  };
1957
- //# sourceMappingURL=chunk-W4Y2NMFQ.mjs.map
1957
+ //# sourceMappingURL=chunk-LFDLBNIG.mjs.map
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkXAKJQPSAjs = require('./chunk-XAKJQPSA.js');
6
+ var _chunkU5BRJKPNjs = require('./chunk-U5BRJKPN.js');
7
7
 
8
8
 
9
9
  var _chunkVE4MYPMKjs = require('./chunk-VE4MYPMK.js');
@@ -1176,7 +1176,7 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
1176
1176
  if (!walletAppId) {
1177
1177
  throw new Error("Could not read wallet app ID from DAO global state. Has the DAO been set up?");
1178
1178
  }
1179
- this._wallet = new (0, _chunkXAKJQPSAjs.WalletSDK)({
1179
+ this._wallet = new (0, _chunkU5BRJKPNjs.WalletSDK)({
1180
1180
  ...this._constructorParams,
1181
1181
  factoryParams: {
1182
1182
  ...this._constructorParams.factoryParams,
@@ -1231,7 +1231,7 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
1231
1231
  name = "",
1232
1232
  client,
1233
1233
  caller,
1234
- callerType: pluginCallerType = _chunkXAKJQPSAjs.CallerType.Other,
1234
+ callerType: pluginCallerType = _chunkU5BRJKPNjs.CallerType.Other,
1235
1235
  methods = [],
1236
1236
  escrow = "",
1237
1237
  delegationType = 0n,
@@ -1260,9 +1260,9 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
1260
1260
  }
1261
1261
  }
1262
1262
  const plugin = client.appId;
1263
- if (pluginCallerType === _chunkXAKJQPSAjs.CallerType.Global) {
1263
+ if (pluginCallerType === _chunkU5BRJKPNjs.CallerType.Global) {
1264
1264
  caller = _algosdk.ALGORAND_ZERO_ADDRESS_STRING;
1265
- } else if (pluginCallerType === _chunkXAKJQPSAjs.CallerType.Admin) {
1265
+ } else if (pluginCallerType === _chunkU5BRJKPNjs.CallerType.Admin) {
1266
1266
  caller = _algosdk2.default.getApplicationAddress(client.appId).toString();
1267
1267
  }
1268
1268
  let transformedMethods = [];
@@ -1659,7 +1659,7 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
1659
1659
  if (result.returns === void 0) {
1660
1660
  throw new Error("Failed to setup Akita DAO");
1661
1661
  }
1662
- this._wallet = new (0, _chunkXAKJQPSAjs.WalletSDK)({
1662
+ this._wallet = new (0, _chunkU5BRJKPNjs.WalletSDK)({
1663
1663
  algorand: this.algorand,
1664
1664
  factoryParams: {
1665
1665
  appId: result.returns[0],
@@ -1698,11 +1698,11 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
1698
1698
  for (let i = 0; i < actions.length; i++) {
1699
1699
  group.opUp({ args: {}, note: `${i}`, maxFee: _algokitutils.microAlgo.call(void 0, 257000n) });
1700
1700
  }
1701
- const prepared = await _chunkXAKJQPSAjs.prepareGroup.call(void 0,
1701
+ const prepared = await _chunkU5BRJKPNjs.prepareGroup.call(void 0,
1702
1702
  await group.composer(),
1703
1703
  consolidateFees ? { consolidateFees: true } : {}
1704
1704
  );
1705
- const { groupId, txIds, confirmedRound, returns } = await _chunkXAKJQPSAjs.sendPrepared.call(void 0,
1705
+ const { groupId, txIds, confirmedRound, returns } = await _chunkU5BRJKPNjs.sendPrepared.call(void 0,
1706
1706
  prepared,
1707
1707
  this.client.algorand.client.algod
1708
1708
  );
@@ -1954,4 +1954,4 @@ var AkitaDaoSDK = (_class2 = class extends _chunkOPF2XL3Kjs.BaseSDK {
1954
1954
 
1955
1955
 
1956
1956
  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;
1957
- //# sourceMappingURL=chunk-HO5ZGGPJ.js.map
1957
+ //# sourceMappingURL=chunk-SPATQO4Y.js.map