@algorandfoundation/algokit-utils 9.2.0 → 9.2.1-beta.2

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.
Files changed (340) hide show
  1. package/_virtual/_rolldown/runtime.js +33 -0
  2. package/_virtual/_rolldown/runtime.mjs +13 -0
  3. package/account/account.d.ts +25 -30
  4. package/account/account.js +151 -146
  5. package/account/account.js.map +1 -1
  6. package/account/account.mjs +149 -144
  7. package/account/account.mjs.map +1 -1
  8. package/account/get-account-config-from-environment.d.ts +7 -2
  9. package/account/get-account-config-from-environment.js +19 -21
  10. package/account/get-account-config-from-environment.js.map +1 -1
  11. package/account/get-account-config-from-environment.mjs +19 -19
  12. package/account/get-account-config-from-environment.mjs.map +1 -1
  13. package/account/get-account.d.ts +14 -12
  14. package/account/get-account.js +56 -59
  15. package/account/get-account.js.map +1 -1
  16. package/account/get-account.mjs +56 -57
  17. package/account/get-account.mjs.map +1 -1
  18. package/account/get-dispenser-account.d.ts +9 -5
  19. package/account/get-dispenser-account.js +20 -18
  20. package/account/get-dispenser-account.js.map +1 -1
  21. package/account/get-dispenser-account.mjs +20 -16
  22. package/account/get-dispenser-account.mjs.map +1 -1
  23. package/account/mnemonic-account.d.ts +7 -3
  24. package/account/mnemonic-account.js +17 -17
  25. package/account/mnemonic-account.js.map +1 -1
  26. package/account/mnemonic-account.mjs +15 -15
  27. package/account/mnemonic-account.mjs.map +1 -1
  28. package/amount.d.ts +40 -35
  29. package/amount.js +33 -34
  30. package/amount.js.map +1 -1
  31. package/amount.mjs +33 -32
  32. package/amount.mjs.map +1 -1
  33. package/app-client.d.ts +10 -6
  34. package/app-client.js +91 -86
  35. package/app-client.js.map +1 -1
  36. package/app-client.mjs +91 -84
  37. package/app-client.mjs.map +1 -1
  38. package/app-deploy.d.ts +26 -24
  39. package/app-deploy.js +235 -253
  40. package/app-deploy.js.map +1 -1
  41. package/app-deploy.mjs +233 -251
  42. package/app-deploy.mjs.map +1 -1
  43. package/app.d.ts +45 -46
  44. package/app.js +253 -271
  45. package/app.js.map +1 -1
  46. package/app.mjs +249 -267
  47. package/app.mjs.map +1 -1
  48. package/asset.d.ts +16 -12
  49. package/asset.js +116 -122
  50. package/asset.js.map +1 -1
  51. package/asset.mjs +116 -120
  52. package/asset.mjs.map +1 -1
  53. package/config.d.ts +7 -2
  54. package/config.js +5 -7
  55. package/config.js.map +1 -1
  56. package/config.mjs +5 -4
  57. package/config.mjs.map +1 -1
  58. package/debugging/debugging.d.ts +5 -1
  59. package/debugging/debugging.js +11 -11
  60. package/debugging/debugging.js.map +1 -1
  61. package/debugging/debugging.mjs +11 -9
  62. package/debugging/debugging.mjs.map +1 -1
  63. package/dispenser-client.d.ts +7 -2
  64. package/dispenser-client.js +23 -24
  65. package/dispenser-client.js.map +1 -1
  66. package/dispenser-client.mjs +23 -22
  67. package/dispenser-client.mjs.map +1 -1
  68. package/index.d.ts +27 -18
  69. package/index.js +140 -143
  70. package/index.mjs +27 -29
  71. package/indexer-lookup.d.ts +18 -11
  72. package/indexer-lookup.js +112 -120
  73. package/indexer-lookup.js.map +1 -1
  74. package/indexer-lookup.mjs +105 -118
  75. package/indexer-lookup.mjs.map +1 -1
  76. package/localnet/get-kmd-wallet-account.d.ts +9 -7
  77. package/localnet/get-kmd-wallet-account.js +28 -26
  78. package/localnet/get-kmd-wallet-account.js.map +1 -1
  79. package/localnet/get-kmd-wallet-account.mjs +28 -24
  80. package/localnet/get-kmd-wallet-account.mjs.map +1 -1
  81. package/localnet/get-localnet-dispenser-account.d.ts +7 -5
  82. package/localnet/get-localnet-dispenser-account.js +17 -15
  83. package/localnet/get-localnet-dispenser-account.js.map +1 -1
  84. package/localnet/get-localnet-dispenser-account.mjs +17 -13
  85. package/localnet/get-localnet-dispenser-account.mjs.map +1 -1
  86. package/localnet/get-or-create-kmd-wallet-account.d.ts +10 -8
  87. package/localnet/get-or-create-kmd-wallet-account.js +28 -26
  88. package/localnet/get-or-create-kmd-wallet-account.js.map +1 -1
  89. package/localnet/get-or-create-kmd-wallet-account.mjs +28 -24
  90. package/localnet/get-or-create-kmd-wallet-account.mjs.map +1 -1
  91. package/localnet/is-localnet.d.ts +7 -3
  92. package/localnet/is-localnet.js +9 -10
  93. package/localnet/is-localnet.js.map +1 -1
  94. package/localnet/is-localnet.mjs +9 -8
  95. package/localnet/is-localnet.mjs.map +1 -1
  96. package/network-client.d.ts +17 -15
  97. package/network-client.js +115 -116
  98. package/network-client.js.map +1 -1
  99. package/network-client.mjs +115 -114
  100. package/network-client.mjs.map +1 -1
  101. package/package.json +12 -3
  102. package/testing/account.d.ts +11 -9
  103. package/testing/account.js +31 -33
  104. package/testing/account.js.map +1 -1
  105. package/testing/account.mjs +29 -31
  106. package/testing/account.mjs.map +1 -1
  107. package/testing/fixtures/algokit-log-capture-fixture.d.ts +7 -2
  108. package/testing/fixtures/algokit-log-capture-fixture.js +36 -41
  109. package/testing/fixtures/algokit-log-capture-fixture.js.map +1 -1
  110. package/testing/fixtures/algokit-log-capture-fixture.mjs +36 -39
  111. package/testing/fixtures/algokit-log-capture-fixture.mjs.map +1 -1
  112. package/testing/fixtures/algorand-fixture.d.ts +9 -4
  113. package/testing/fixtures/algorand-fixture.js +67 -62
  114. package/testing/fixtures/algorand-fixture.js.map +1 -1
  115. package/testing/fixtures/algorand-fixture.mjs +66 -59
  116. package/testing/fixtures/algorand-fixture.mjs.map +1 -1
  117. package/testing/index.d.ts +7 -5
  118. package/testing/index.js +13 -18
  119. package/testing/index.mjs +7 -7
  120. package/testing/indexer.d.ts +5 -1
  121. package/testing/indexer.js +28 -37
  122. package/testing/indexer.js.map +1 -1
  123. package/testing/indexer.mjs +28 -35
  124. package/testing/indexer.mjs.map +1 -1
  125. package/testing/test-logger.d.ts +41 -36
  126. package/testing/test-logger.js +71 -76
  127. package/testing/test-logger.js.map +1 -1
  128. package/testing/test-logger.mjs +71 -74
  129. package/testing/test-logger.mjs.map +1 -1
  130. package/testing/transaction-logger.d.ts +30 -27
  131. package/testing/transaction-logger.js +77 -93
  132. package/testing/transaction-logger.js.map +1 -1
  133. package/testing/transaction-logger.mjs +74 -90
  134. package/testing/transaction-logger.mjs.map +1 -1
  135. package/transaction/legacy-bridge.js +100 -111
  136. package/transaction/legacy-bridge.js.map +1 -1
  137. package/transaction/legacy-bridge.mjs +97 -108
  138. package/transaction/legacy-bridge.mjs.map +1 -1
  139. package/transaction/perform-atomic-transaction-composer-simulate.d.ts +7 -5
  140. package/transaction/perform-atomic-transaction-composer-simulate.js +31 -36
  141. package/transaction/perform-atomic-transaction-composer-simulate.js.map +1 -1
  142. package/transaction/perform-atomic-transaction-composer-simulate.mjs +28 -33
  143. package/transaction/perform-atomic-transaction-composer-simulate.mjs.map +1 -1
  144. package/transaction/transaction.d.ts +34 -35
  145. package/transaction/transaction.js +716 -914
  146. package/transaction/transaction.js.map +1 -1
  147. package/transaction/transaction.mjs +713 -911
  148. package/transaction/transaction.mjs.map +1 -1
  149. package/transfer/transfer-algos.d.ts +9 -5
  150. package/transfer/transfer-algos.js +26 -27
  151. package/transfer/transfer-algos.js.map +1 -1
  152. package/transfer/transfer-algos.mjs +26 -25
  153. package/transfer/transfer-algos.mjs.map +1 -1
  154. package/transfer/transfer.d.ts +11 -8
  155. package/transfer/transfer.js +94 -100
  156. package/transfer/transfer.js.map +1 -1
  157. package/transfer/transfer.mjs +94 -98
  158. package/transfer/transfer.mjs.map +1 -1
  159. package/types/account-manager.d.ts +432 -429
  160. package/types/account-manager.js +591 -602
  161. package/types/account-manager.js.map +1 -1
  162. package/types/account-manager.mjs +587 -599
  163. package/types/account-manager.mjs.map +1 -1
  164. package/types/account.d.ts +192 -202
  165. package/types/account.js +91 -88
  166. package/types/account.js.map +1 -1
  167. package/types/account.mjs +88 -86
  168. package/types/account.mjs.map +1 -1
  169. package/types/algo-http-client-with-retry.d.ts +15 -10
  170. package/types/algo-http-client-with-retry.js +70 -92
  171. package/types/algo-http-client-with-retry.js.map +1 -1
  172. package/types/algo-http-client-with-retry.mjs +69 -90
  173. package/types/algo-http-client-with-retry.mjs.map +1 -1
  174. package/types/algorand-client-transaction-creator.d.ts +778 -771
  175. package/types/algorand-client-transaction-creator.js +733 -732
  176. package/types/algorand-client-transaction-creator.js.map +1 -1
  177. package/types/algorand-client-transaction-creator.mjs +732 -730
  178. package/types/algorand-client-transaction-creator.mjs.map +1 -1
  179. package/types/algorand-client-transaction-sender.d.ts +1090 -1360
  180. package/types/algorand-client-transaction-sender.js +930 -961
  181. package/types/algorand-client-transaction-sender.js.map +1 -1
  182. package/types/algorand-client-transaction-sender.mjs +927 -959
  183. package/types/algorand-client-transaction-sender.mjs.map +1 -1
  184. package/types/algorand-client.d.ts +239 -236
  185. package/types/algorand-client.js +322 -320
  186. package/types/algorand-client.js.map +1 -1
  187. package/types/algorand-client.mjs +321 -318
  188. package/types/algorand-client.mjs.map +1 -1
  189. package/types/amount.d.ts +47 -43
  190. package/types/amount.js +66 -70
  191. package/types/amount.js.map +1 -1
  192. package/types/amount.mjs +63 -68
  193. package/types/amount.mjs.map +1 -1
  194. package/types/app-arc56.d.ts +235 -272
  195. package/types/app-arc56.js +124 -170
  196. package/types/app-arc56.js.map +1 -1
  197. package/types/app-arc56.mjs +121 -168
  198. package/types/app-arc56.mjs.map +1 -1
  199. package/types/app-client.d.ts +1128 -2009
  200. package/types/app-client.js +1633 -1791
  201. package/types/app-client.js.map +1 -1
  202. package/types/app-client.mjs +1624 -1783
  203. package/types/app-client.mjs.map +1 -1
  204. package/types/app-deployer.d.ts +139 -141
  205. package/types/app-deployer.js +344 -384
  206. package/types/app-deployer.js.map +1 -1
  207. package/types/app-deployer.mjs +341 -382
  208. package/types/app-deployer.mjs.map +1 -1
  209. package/types/app-factory.d.ts +762 -932
  210. package/types/app-factory.js +496 -488
  211. package/types/app-factory.js.map +1 -1
  212. package/types/app-factory.mjs +491 -484
  213. package/types/app-factory.mjs.map +1 -1
  214. package/types/app-manager.d.ts +304 -310
  215. package/types/app-manager.js +422 -475
  216. package/types/app-manager.js.map +1 -1
  217. package/types/app-manager.mjs +419 -473
  218. package/types/app-manager.mjs.map +1 -1
  219. package/types/app-spec.d.ts +118 -117
  220. package/types/app-spec.js +125 -135
  221. package/types/app-spec.js.map +1 -1
  222. package/types/app-spec.mjs +121 -132
  223. package/types/app-spec.mjs.map +1 -1
  224. package/types/app.d.ts +229 -241
  225. package/types/app.js +36 -28
  226. package/types/app.js.map +1 -1
  227. package/types/app.mjs +33 -26
  228. package/types/app.mjs.map +1 -1
  229. package/types/asset-manager.d.ts +204 -199
  230. package/types/asset-manager.js +165 -174
  231. package/types/asset-manager.js.map +1 -1
  232. package/types/asset-manager.mjs +164 -172
  233. package/types/asset-manager.mjs.map +1 -1
  234. package/types/asset.d.ts +95 -91
  235. package/types/asset.js +0 -3
  236. package/types/asset.mjs +0 -2
  237. package/types/async-event-emitter.d.ts +18 -13
  238. package/types/async-event-emitter.js +37 -49
  239. package/types/async-event-emitter.js.map +1 -1
  240. package/types/async-event-emitter.mjs +36 -47
  241. package/types/async-event-emitter.mjs.map +1 -1
  242. package/types/client-manager.d.ts +453 -451
  243. package/types/client-manager.js +602 -598
  244. package/types/client-manager.js.map +1 -1
  245. package/types/client-manager.mjs +597 -594
  246. package/types/client-manager.mjs.map +1 -1
  247. package/types/composer.d.ts +1211 -1258
  248. package/types/composer.js +1436 -1498
  249. package/types/composer.js.map +1 -1
  250. package/types/composer.mjs +1430 -1493
  251. package/types/composer.mjs.map +1 -1
  252. package/types/config.d.ts +53 -48
  253. package/types/config.js +78 -77
  254. package/types/config.js.map +1 -1
  255. package/types/config.mjs +77 -75
  256. package/types/config.mjs.map +1 -1
  257. package/types/debugging.d.ts +25 -23
  258. package/types/debugging.js +9 -11
  259. package/types/debugging.js.map +1 -1
  260. package/types/debugging.mjs +8 -9
  261. package/types/debugging.mjs.map +1 -1
  262. package/types/dispenser-client.d.ts +57 -52
  263. package/types/dispenser-client.js +120 -141
  264. package/types/dispenser-client.js.map +1 -1
  265. package/types/dispenser-client.mjs +119 -139
  266. package/types/dispenser-client.mjs.map +1 -1
  267. package/types/expand.d.ts +5 -3
  268. package/types/expand.js +0 -3
  269. package/types/expand.mjs +0 -2
  270. package/types/indexer.d.ts +104 -100
  271. package/types/indexer.js +36 -31
  272. package/types/indexer.js.map +1 -1
  273. package/types/indexer.mjs +32 -30
  274. package/types/indexer.mjs.map +1 -1
  275. package/types/instance-of.d.ts +5 -3
  276. package/types/instance-of.js +0 -3
  277. package/types/instance-of.mjs +0 -2
  278. package/types/kmd-account-manager.d.ts +75 -70
  279. package/types/kmd-account-manager.js +150 -184
  280. package/types/kmd-account-manager.js.map +1 -1
  281. package/types/kmd-account-manager.mjs +147 -182
  282. package/types/kmd-account-manager.mjs.map +1 -1
  283. package/types/lifecycle-events.d.ts +13 -8
  284. package/types/lifecycle-events.js +10 -7
  285. package/types/lifecycle-events.js.map +1 -1
  286. package/types/lifecycle-events.mjs +9 -7
  287. package/types/lifecycle-events.mjs.map +1 -1
  288. package/types/logging.d.ts +15 -11
  289. package/types/logging.js +30 -31
  290. package/types/logging.js.map +1 -1
  291. package/types/logging.mjs +29 -29
  292. package/types/logging.mjs.map +1 -1
  293. package/types/logic-error.d.ts +33 -29
  294. package/types/logic-error.js +50 -49
  295. package/types/logic-error.js.map +1 -1
  296. package/types/logic-error.mjs +49 -47
  297. package/types/logic-error.mjs.map +1 -1
  298. package/types/network-client.d.ts +32 -27
  299. package/types/network-client.js +10 -9
  300. package/types/network-client.js.map +1 -1
  301. package/types/network-client.mjs +9 -7
  302. package/types/network-client.mjs.map +1 -1
  303. package/types/testing.d.ts +131 -132
  304. package/types/testing.js +0 -3
  305. package/types/testing.mjs +0 -2
  306. package/types/transaction.d.ts +110 -110
  307. package/types/transaction.js +0 -3
  308. package/types/transaction.mjs +0 -2
  309. package/types/transfer.d.ts +70 -66
  310. package/types/transfer.js +0 -3
  311. package/types/transfer.mjs +0 -2
  312. package/util.js +73 -118
  313. package/util.js.map +1 -1
  314. package/util.mjs +73 -116
  315. package/util.mjs.map +1 -1
  316. package/account/index.d.ts +0 -5
  317. package/debugging/index.d.ts +0 -1
  318. package/index.js.map +0 -1
  319. package/index.mjs.map +0 -1
  320. package/localnet/index.d.ts +0 -4
  321. package/testing/_asset.d.ts +0 -3
  322. package/testing/fixtures/index.d.ts +0 -2
  323. package/testing/index.js.map +0 -1
  324. package/testing/index.mjs.map +0 -1
  325. package/transaction/index.d.ts +0 -2
  326. package/transaction/legacy-bridge.d.ts +0 -35
  327. package/transfer/index.d.ts +0 -2
  328. package/types/asset.js.map +0 -1
  329. package/types/asset.mjs.map +0 -1
  330. package/types/expand.js.map +0 -1
  331. package/types/expand.mjs.map +0 -1
  332. package/types/instance-of.js.map +0 -1
  333. package/types/instance-of.mjs.map +0 -1
  334. package/types/testing.js.map +0 -1
  335. package/types/testing.mjs.map +0 -1
  336. package/types/transaction.js.map +0 -1
  337. package/types/transaction.mjs.map +0 -1
  338. package/types/transfer.js.map +0 -1
  339. package/types/transfer.mjs.map +0 -1
  340. package/util.d.ts +0 -48
package/app.js CHANGED
@@ -1,332 +1,313 @@
1
- 'use strict';
2
-
3
- var algosdk = require('algosdk');
4
- var legacyBridge = require('./transaction/legacy-bridge.js');
5
- var transaction = require('./transaction/transaction.js');
6
- var types_appManager = require('./types/app-manager.js');
7
- var util = require('./util.js');
8
-
9
- var ABIMethod = algosdk.ABIMethod;
10
- var OnApplicationComplete = algosdk.OnApplicationComplete;
1
+ const require_runtime = require("./_virtual/_rolldown/runtime.js");
2
+ const require_util = require("./util.js");
3
+ const require_transaction = require("./transaction/transaction.js");
4
+ const require_app_manager = require("./types/app-manager.js");
5
+ const require_legacy_bridge = require("./transaction/legacy-bridge.js");
6
+ let algosdk = require("algosdk");
7
+ algosdk = require_runtime.__toESM(algosdk);
8
+ //#region src/app.ts
9
+ var ABIMethod = algosdk.default.ABIMethod;
10
+ var OnApplicationComplete = algosdk.default.OnApplicationComplete;
11
11
  /**
12
- * @deprecated Use `algorand.send.appCreate()` / `algorand.createTransaction.appCreate()` / `algorand.send.appCreateMethodCall()`
13
- * / `algorand.createTransaction.appCreateMethodCall()` instead
14
- *
15
- * Creates a smart contract app, returns the details of the created app.
16
- * @param create The parameters to create the app with
17
- * @param algod An algod client
18
- * @returns The details of the created app, or the transaction to create it if `skipSending` and the compilation result
19
- */
12
+ * @deprecated Use `algorand.send.appCreate()` / `algorand.createTransaction.appCreate()` / `algorand.send.appCreateMethodCall()`
13
+ * / `algorand.createTransaction.appCreateMethodCall()` instead
14
+ *
15
+ * Creates a smart contract app, returns the details of the created app.
16
+ * @param create The parameters to create the app with
17
+ * @param algod An algod client
18
+ * @returns The details of the created app, or the transaction to create it if `skipSending` and the compilation result
19
+ */
20
20
  async function createApp(create, algod) {
21
- const onComplete = getAppOnCompleteAction(create.onCompleteAction);
22
- if (onComplete === algosdk.OnApplicationComplete.ClearStateOC) {
23
- throw new Error('Cannot create an app with on-complete action of ClearState');
24
- }
25
- const result = create.args?.method
26
- ? await legacyBridge.legacySendAppTransactionBridge(algod, create.from, create.args, create, {
27
- sender: transaction.getSenderAddress(create.from),
28
- onComplete,
29
- approvalProgram: create.approvalProgram,
30
- clearStateProgram: create.clearStateProgram,
31
- method: create.args.method instanceof ABIMethod ? create.args.method : new ABIMethod(create.args.method),
32
- extraProgramPages: create.schema.extraPages,
33
- schema: create.schema,
34
- }, (c) => c.appCreateMethodCall, (c) => c.appCreateMethodCall)
35
- : await legacyBridge.legacySendAppTransactionBridge(algod, create.from, create.args, create, {
36
- sender: transaction.getSenderAddress(create.from),
37
- onComplete,
38
- approvalProgram: create.approvalProgram,
39
- clearStateProgram: create.clearStateProgram,
40
- extraProgramPages: create.schema.extraPages,
41
- schema: create.schema,
42
- }, (c) => c.appCreate, (c) => c.appCreate);
43
- return {
44
- ...result,
45
- appId: 'appId' in result ? Number(result.appId) : 0,
46
- appAddress: 'appAddress' in result ? result.appAddress.toString() : '',
47
- };
21
+ const onComplete = getAppOnCompleteAction(create.onCompleteAction);
22
+ if (onComplete === algosdk.default.OnApplicationComplete.ClearStateOC) throw new Error("Cannot create an app with on-complete action of ClearState");
23
+ const result = create.args?.method ? await require_legacy_bridge.legacySendAppTransactionBridge(algod, create.from, create.args, create, {
24
+ sender: require_transaction.getSenderAddress(create.from),
25
+ onComplete,
26
+ approvalProgram: create.approvalProgram,
27
+ clearStateProgram: create.clearStateProgram,
28
+ method: create.args.method instanceof ABIMethod ? create.args.method : new ABIMethod(create.args.method),
29
+ extraProgramPages: create.schema.extraPages,
30
+ schema: create.schema
31
+ }, (c) => c.appCreateMethodCall, (c) => c.appCreateMethodCall) : await require_legacy_bridge.legacySendAppTransactionBridge(algod, create.from, create.args, create, {
32
+ sender: require_transaction.getSenderAddress(create.from),
33
+ onComplete,
34
+ approvalProgram: create.approvalProgram,
35
+ clearStateProgram: create.clearStateProgram,
36
+ extraProgramPages: create.schema.extraPages,
37
+ schema: create.schema
38
+ }, (c) => c.appCreate, (c) => c.appCreate);
39
+ return {
40
+ ...result,
41
+ appId: "appId" in result ? Number(result.appId) : 0,
42
+ appAddress: "appAddress" in result ? result.appAddress.toString() : ""
43
+ };
48
44
  }
49
45
  /**
50
- * @deprecated Use `algorand.send.appUpdate()` / `algorand.createTransaction.appUpdate()` / `algorand.send.appUpdateMethodCall()`
51
- * / `algorand.createTransaction.appUpdateMethodCall()` instead
52
- *
53
- * Updates a smart contract app.
54
- * @param update The parameters to update the app with
55
- * @param algod An algod client
56
- * @returns The transaction send result and the compilation result
57
- */
46
+ * @deprecated Use `algorand.send.appUpdate()` / `algorand.createTransaction.appUpdate()` / `algorand.send.appUpdateMethodCall()`
47
+ * / `algorand.createTransaction.appUpdateMethodCall()` instead
48
+ *
49
+ * Updates a smart contract app.
50
+ * @param update The parameters to update the app with
51
+ * @param algod An algod client
52
+ * @returns The transaction send result and the compilation result
53
+ */
58
54
  async function updateApp(update, algod) {
59
- return update.args?.method
60
- ? await legacyBridge.legacySendAppTransactionBridge(algod, update.from, update.args, update, {
61
- appId: BigInt(update.appId),
62
- sender: transaction.getSenderAddress(update.from),
63
- onComplete: algosdk.OnApplicationComplete.UpdateApplicationOC,
64
- approvalProgram: update.approvalProgram,
65
- clearStateProgram: update.clearStateProgram,
66
- method: update.args.method instanceof ABIMethod ? update.args.method : new ABIMethod(update.args.method),
67
- }, (c) => c.appUpdateMethodCall, (c) => c.appUpdateMethodCall)
68
- : await legacyBridge.legacySendAppTransactionBridge(algod, update.from, update.args, update, {
69
- appId: BigInt(update.appId),
70
- sender: transaction.getSenderAddress(update.from),
71
- onComplete: algosdk.OnApplicationComplete.UpdateApplicationOC,
72
- approvalProgram: update.approvalProgram,
73
- clearStateProgram: update.clearStateProgram,
74
- }, (c) => c.appUpdate, (c) => c.appUpdate);
55
+ return update.args?.method ? await require_legacy_bridge.legacySendAppTransactionBridge(algod, update.from, update.args, update, {
56
+ appId: BigInt(update.appId),
57
+ sender: require_transaction.getSenderAddress(update.from),
58
+ onComplete: algosdk.default.OnApplicationComplete.UpdateApplicationOC,
59
+ approvalProgram: update.approvalProgram,
60
+ clearStateProgram: update.clearStateProgram,
61
+ method: update.args.method instanceof ABIMethod ? update.args.method : new ABIMethod(update.args.method)
62
+ }, (c) => c.appUpdateMethodCall, (c) => c.appUpdateMethodCall) : await require_legacy_bridge.legacySendAppTransactionBridge(algod, update.from, update.args, update, {
63
+ appId: BigInt(update.appId),
64
+ sender: require_transaction.getSenderAddress(update.from),
65
+ onComplete: algosdk.default.OnApplicationComplete.UpdateApplicationOC,
66
+ approvalProgram: update.approvalProgram,
67
+ clearStateProgram: update.clearStateProgram
68
+ }, (c) => c.appUpdate, (c) => c.appUpdate);
75
69
  }
76
70
  /**
77
- * @deprecated Use `algosdk.OnApplicationComplete` directly instead.
78
- *
79
- * Returns a `algosdk.OnApplicationComplete` for the given onCompleteAction.
80
- *
81
- * If given `undefined` will return `OnApplicationComplete.NoOpOC`.
82
- *
83
- * If given an `AppCallType` will convert the string enum to the correct underlying `algosdk.OnApplicationComplete`.
84
- *
85
- * @param onCompletionAction The on completion action
86
- * @returns The `algosdk.OnApplicationComplete`
87
- */
71
+ * @deprecated Use `algosdk.OnApplicationComplete` directly instead.
72
+ *
73
+ * Returns a `algosdk.OnApplicationComplete` for the given onCompleteAction.
74
+ *
75
+ * If given `undefined` will return `OnApplicationComplete.NoOpOC`.
76
+ *
77
+ * If given an `AppCallType` will convert the string enum to the correct underlying `algosdk.OnApplicationComplete`.
78
+ *
79
+ * @param onCompletionAction The on completion action
80
+ * @returns The `algosdk.OnApplicationComplete`
81
+ */
88
82
  function getAppOnCompleteAction(onCompletionAction) {
89
- switch (onCompletionAction) {
90
- case undefined:
91
- case 'no_op':
92
- case OnApplicationComplete.NoOpOC:
93
- return OnApplicationComplete.NoOpOC;
94
- case 'opt_in':
95
- case OnApplicationComplete.OptInOC:
96
- return OnApplicationComplete.OptInOC;
97
- case 'close_out':
98
- case OnApplicationComplete.CloseOutOC:
99
- return OnApplicationComplete.CloseOutOC;
100
- case 'clear_state':
101
- case OnApplicationComplete.ClearStateOC:
102
- return OnApplicationComplete.ClearStateOC;
103
- case 'update_application':
104
- case OnApplicationComplete.UpdateApplicationOC:
105
- return OnApplicationComplete.UpdateApplicationOC;
106
- case 'delete_application':
107
- case OnApplicationComplete.DeleteApplicationOC:
108
- return OnApplicationComplete.DeleteApplicationOC;
109
- }
83
+ switch (onCompletionAction) {
84
+ case void 0:
85
+ case "no_op":
86
+ case OnApplicationComplete.NoOpOC: return OnApplicationComplete.NoOpOC;
87
+ case "opt_in":
88
+ case OnApplicationComplete.OptInOC: return OnApplicationComplete.OptInOC;
89
+ case "close_out":
90
+ case OnApplicationComplete.CloseOutOC: return OnApplicationComplete.CloseOutOC;
91
+ case "clear_state":
92
+ case OnApplicationComplete.ClearStateOC: return OnApplicationComplete.ClearStateOC;
93
+ case "update_application":
94
+ case OnApplicationComplete.UpdateApplicationOC: return OnApplicationComplete.UpdateApplicationOC;
95
+ case "delete_application":
96
+ case OnApplicationComplete.DeleteApplicationOC: return OnApplicationComplete.DeleteApplicationOC;
97
+ }
110
98
  }
111
99
  /**
112
- * @deprecated Use `algorand.send.appUpdate()` / `algorand.createTransaction.appUpdate()` / `algorand.send.appUpdateMethodCall()`
113
- * / `algorand.createTransaction.appUpdateMethodCall()` instead
114
- *
115
- * Issues a call to a given app.
116
- * @param call The call details.
117
- * @param algod An algod client
118
- * @returns The result of the call
119
- */
100
+ * @deprecated Use `algorand.send.appUpdate()` / `algorand.createTransaction.appUpdate()` / `algorand.send.appUpdateMethodCall()`
101
+ * / `algorand.createTransaction.appUpdateMethodCall()` instead
102
+ *
103
+ * Issues a call to a given app.
104
+ * @param call The call details.
105
+ * @param algod An algod client
106
+ * @returns The result of the call
107
+ */
120
108
  async function callApp(call, algod) {
121
- const onComplete = getAppOnCompleteAction(call.callType);
122
- if (onComplete === algosdk.OnApplicationComplete.UpdateApplicationOC) {
123
- throw new Error('Cannot execute an app call with on-complete action of Update');
124
- }
125
- if (call.args?.method && onComplete === algosdk.OnApplicationComplete.ClearStateOC) {
126
- throw new Error('Cannot execute an ABI method call with on-complete action of ClearState');
127
- }
128
- return call.args?.method
129
- ? await legacyBridge.legacySendAppTransactionBridge(algod, call.from, call.args, call, {
130
- appId: BigInt(call.appId),
131
- sender: transaction.getSenderAddress(call.from),
132
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
133
- onComplete: onComplete,
134
- method: call.args.method instanceof ABIMethod ? call.args.method : new ABIMethod(call.args.method),
135
- }, (c) => c.appCallMethodCall, (c) => c.appCallMethodCall)
136
- : await legacyBridge.legacySendAppTransactionBridge(algod, call.from, call.args, call, {
137
- appId: BigInt(call.appId),
138
- sender: transaction.getSenderAddress(call.from),
139
- onComplete,
140
- }, (c) => c.appCall, (c) => c.appCall);
109
+ const onComplete = getAppOnCompleteAction(call.callType);
110
+ if (onComplete === algosdk.default.OnApplicationComplete.UpdateApplicationOC) throw new Error("Cannot execute an app call with on-complete action of Update");
111
+ if (call.args?.method && onComplete === algosdk.default.OnApplicationComplete.ClearStateOC) throw new Error("Cannot execute an ABI method call with on-complete action of ClearState");
112
+ return call.args?.method ? await require_legacy_bridge.legacySendAppTransactionBridge(algod, call.from, call.args, call, {
113
+ appId: BigInt(call.appId),
114
+ sender: require_transaction.getSenderAddress(call.from),
115
+ onComplete,
116
+ method: call.args.method instanceof ABIMethod ? call.args.method : new ABIMethod(call.args.method)
117
+ }, (c) => c.appCallMethodCall, (c) => c.appCallMethodCall) : await require_legacy_bridge.legacySendAppTransactionBridge(algod, call.from, call.args, call, {
118
+ appId: BigInt(call.appId),
119
+ sender: require_transaction.getSenderAddress(call.from),
120
+ onComplete
121
+ }, (c) => c.appCall, (c) => c.appCall);
141
122
  }
142
123
  /**
143
- * @deprecated Use `AppManager.getABIReturn` instead.
144
- *
145
- * Returns any ABI return values for the given app call arguments and transaction confirmation.
146
- * @param args The arguments that were used for the call
147
- * @param confirmation The transaction confirmation from algod
148
- * @returns The return value for the method call
149
- */
124
+ * @deprecated Use `AppManager.getABIReturn` instead.
125
+ *
126
+ * Returns any ABI return values for the given app call arguments and transaction confirmation.
127
+ * @param args The arguments that were used for the call
128
+ * @param confirmation The transaction confirmation from algod
129
+ * @returns The return value for the method call
130
+ */
150
131
  function getABIReturn(args, confirmation) {
151
- if (!args || !args.method) {
152
- return undefined;
153
- }
154
- const method = 'txnCount' in args.method ? args.method : new ABIMethod(args.method);
155
- return types_appManager.AppManager.getABIReturn(confirmation, method);
132
+ if (!args || !args.method) return;
133
+ const method = "txnCount" in args.method ? args.method : new ABIMethod(args.method);
134
+ return require_app_manager.AppManager.getABIReturn(confirmation, method);
156
135
  }
157
136
  /**
158
- * @deprecated Use `algorand.app.getGlobalState` instead.
159
- *
160
- * Returns the current global state values for the given app ID
161
- * @param appId The ID of the app return global state for
162
- * @param algod An algod client instance
163
- * @returns The current global state
164
- */
137
+ * @deprecated Use `algorand.app.getGlobalState` instead.
138
+ *
139
+ * Returns the current global state values for the given app ID
140
+ * @param appId The ID of the app return global state for
141
+ * @param algod An algod client instance
142
+ * @returns The current global state
143
+ */
165
144
  async function getAppGlobalState(appId, algod) {
166
- return await new types_appManager.AppManager(algod).getGlobalState(BigInt(appId));
145
+ return await new require_app_manager.AppManager(algod).getGlobalState(BigInt(appId));
167
146
  }
168
147
  /**
169
- * @deprecated Use `algorand.app.getLocalState` instead.
170
- *
171
- * Returns the current global state values for the given app ID and account
172
- * @param appId The ID of the app return global state for
173
- * @param account Either the string address of an account or an account object for the account to get local state for the given app
174
- * @param algod An algod client instance
175
- * @returns The current local state for the given (app, account) combination
176
- */
148
+ * @deprecated Use `algorand.app.getLocalState` instead.
149
+ *
150
+ * Returns the current global state values for the given app ID and account
151
+ * @param appId The ID of the app return global state for
152
+ * @param account Either the string address of an account or an account object for the account to get local state for the given app
153
+ * @param algod An algod client instance
154
+ * @returns The current local state for the given (app, account) combination
155
+ */
177
156
  async function getAppLocalState(appId, account, algod) {
178
- return new types_appManager.AppManager(algod).getLocalState(BigInt(appId), transaction.getSenderAddress(account));
157
+ return new require_app_manager.AppManager(algod).getLocalState(BigInt(appId), require_transaction.getSenderAddress(account));
179
158
  }
180
159
  /**
181
- * @deprecated Use `algorand.app.getBoxNames` instead.
182
- * Returns the names of the boxes for the given app.
183
- * @param appId The ID of the app return box names for
184
- * @param algod An algod client instance
185
- * @returns The current box names
186
- */
160
+ * @deprecated Use `algorand.app.getBoxNames` instead.
161
+ * Returns the names of the boxes for the given app.
162
+ * @param appId The ID of the app return box names for
163
+ * @param algod An algod client instance
164
+ * @returns The current box names
165
+ */
187
166
  async function getAppBoxNames(appId, algod) {
188
- return new types_appManager.AppManager(algod).getBoxNames(BigInt(appId));
167
+ return new require_app_manager.AppManager(algod).getBoxNames(BigInt(appId));
189
168
  }
190
169
  /**
191
- * @deprecated Use `algorand.app.getBoxValue` instead.
192
- * Returns the value of the given box name for the given app.
193
- * @param appId The ID of the app return box names for
194
- * @param boxName The name of the box to return either as a string, binary array or `BoxName`
195
- * @param algod An algod client instance
196
- * @returns The current box value as a byte array
197
- */
170
+ * @deprecated Use `algorand.app.getBoxValue` instead.
171
+ * Returns the value of the given box name for the given app.
172
+ * @param appId The ID of the app return box names for
173
+ * @param boxName The name of the box to return either as a string, binary array or `BoxName`
174
+ * @param algod An algod client instance
175
+ * @returns The current box value as a byte array
176
+ */
198
177
  async function getAppBoxValue(appId, boxName, algod) {
199
- return new types_appManager.AppManager(algod).getBoxValue(BigInt(appId), typeof boxName !== 'string' && 'name' in boxName ? boxName.nameRaw : boxName);
178
+ return new require_app_manager.AppManager(algod).getBoxValue(BigInt(appId), typeof boxName !== "string" && "name" in boxName ? boxName.nameRaw : boxName);
200
179
  }
201
180
  /**
202
- * @deprecated Use `algorand.app.getBoxValues` instead.
203
- * Returns the value of the given box names for the given app.
204
- * @param appId The ID of the app return box names for
205
- * @param boxNames The names of the boxes to return either as a string, binary array or `BoxName`
206
- * @param algod An algod client instance
207
- * @returns The current box values as a byte array in the same order as the passed in box names
208
- */
181
+ * @deprecated Use `algorand.app.getBoxValues` instead.
182
+ * Returns the value of the given box names for the given app.
183
+ * @param appId The ID of the app return box names for
184
+ * @param boxNames The names of the boxes to return either as a string, binary array or `BoxName`
185
+ * @param algod An algod client instance
186
+ * @returns The current box values as a byte array in the same order as the passed in box names
187
+ */
209
188
  async function getAppBoxValues(appId, boxNames, algod) {
210
- return new types_appManager.AppManager(algod).getBoxValues(BigInt(appId), boxNames.map((b) => (typeof b !== 'string' && 'name' in b ? b.nameRaw : b)));
189
+ return new require_app_manager.AppManager(algod).getBoxValues(BigInt(appId), boxNames.map((b) => typeof b !== "string" && "name" in b ? b.nameRaw : b));
211
190
  }
212
191
  /**
213
- * @deprecated Use `algorand.app.getBoxValueFromABIType` instead.
214
- * Returns the value of the given box name for the given app decoded based on the given ABI type.
215
- * @param request The parameters for the box value request
216
- * @param algod An algod client instance
217
- * @returns The current box value as an ABI value
218
- */
192
+ * @deprecated Use `algorand.app.getBoxValueFromABIType` instead.
193
+ * Returns the value of the given box name for the given app decoded based on the given ABI type.
194
+ * @param request The parameters for the box value request
195
+ * @param algod An algod client instance
196
+ * @returns The current box value as an ABI value
197
+ */
219
198
  async function getAppBoxValueFromABIType(request, algod) {
220
- return new types_appManager.AppManager(algod).getBoxValueFromABIType({
221
- appId: BigInt(request.appId),
222
- boxName: typeof request.boxName !== 'string' && 'name' in request.boxName ? request.boxName.nameRaw : request.boxName,
223
- type: request.type,
224
- });
199
+ return new require_app_manager.AppManager(algod).getBoxValueFromABIType({
200
+ appId: BigInt(request.appId),
201
+ boxName: typeof request.boxName !== "string" && "name" in request.boxName ? request.boxName.nameRaw : request.boxName,
202
+ type: request.type
203
+ });
225
204
  }
226
205
  /**
227
- * @deprecated Use `algorand.app.getBoxValuesFromABIType` instead.
228
- * Returns the value of the given box names for the given app decoded based on the given ABI type.
229
- * @param request The parameters for the box value request
230
- * @param algod An algod client instance
231
- * @returns The current box values as an ABI value in the same order as the passed in box names
232
- */
206
+ * @deprecated Use `algorand.app.getBoxValuesFromABIType` instead.
207
+ * Returns the value of the given box names for the given app decoded based on the given ABI type.
208
+ * @param request The parameters for the box value request
209
+ * @param algod An algod client instance
210
+ * @returns The current box values as an ABI value in the same order as the passed in box names
211
+ */
233
212
  async function getAppBoxValuesFromABIType(request, algod) {
234
- return new types_appManager.AppManager(algod).getBoxValuesFromABIType({
235
- appId: BigInt(request.appId),
236
- boxNames: request.boxNames.map((b) => (typeof b !== 'string' && 'name' in b ? b.nameRaw : b)),
237
- type: request.type,
238
- });
213
+ return new require_app_manager.AppManager(algod).getBoxValuesFromABIType({
214
+ appId: BigInt(request.appId),
215
+ boxNames: request.boxNames.map((b) => typeof b !== "string" && "name" in b ? b.nameRaw : b),
216
+ type: request.type
217
+ });
239
218
  }
240
219
  /**
241
- * @deprecated Use `AppManager.decodeAppState` instead.
242
- *
243
- * Converts an array of global/local state values from the algod api to a more friendly
244
- * generic object keyed by the UTF-8 value of the key.
245
- * @param state A `global-state`, `local-state`, `global-state-deltas` or `local-state-deltas`
246
- * @returns An object keyeed by the UTF-8 representation of the key with various parsings of the values
247
- */
220
+ * @deprecated Use `AppManager.decodeAppState` instead.
221
+ *
222
+ * Converts an array of global/local state values from the algod api to a more friendly
223
+ * generic object keyed by the UTF-8 value of the key.
224
+ * @param state A `global-state`, `local-state`, `global-state-deltas` or `local-state-deltas`
225
+ * @returns An object keyeed by the UTF-8 representation of the key with various parsings of the values
226
+ */
248
227
  function decodeAppState(state) {
249
- return types_appManager.AppManager.decodeAppState(state.map(({ key, value }) => ({ key: Buffer.from(key, 'utf-8'), value })));
228
+ return require_app_manager.AppManager.decodeAppState(state.map(({ key, value }) => ({
229
+ key: Buffer.from(key, "utf-8"),
230
+ value
231
+ })));
250
232
  }
251
233
  /**
252
- * @deprecated Use `TransactionComposer` methods to construct transactions instead.
253
- *
254
- * Returns the app args ready to load onto an app `Transaction` object
255
- * @param args The app call args
256
- * @returns The args ready to load into a `Transaction`
257
- */
234
+ * @deprecated Use `TransactionComposer` methods to construct transactions instead.
235
+ *
236
+ * Returns the app args ready to load onto an app `Transaction` object
237
+ * @param args The app call args
238
+ * @returns The args ready to load into a `Transaction`
239
+ */
258
240
  function getAppArgsForTransaction(args) {
259
- if (!args)
260
- return undefined;
261
- const encoder = new TextEncoder();
262
- return {
263
- accounts: args?.accounts?.map(_getAccountAddress),
264
- appArgs: args?.appArgs?.map((a) => (typeof a === 'string' ? encoder.encode(a) : a)),
265
- boxes: args.boxes?.map(getBoxReference),
266
- foreignApps: args?.apps,
267
- foreignAssets: args?.assets,
268
- lease: transaction.encodeLease(args?.lease),
269
- };
241
+ if (!args) return void 0;
242
+ const encoder = new TextEncoder();
243
+ return {
244
+ accounts: args?.accounts?.map(_getAccountAddress),
245
+ appArgs: args?.appArgs?.map((a) => typeof a === "string" ? encoder.encode(a) : a),
246
+ boxes: args.boxes?.map(getBoxReference),
247
+ foreignApps: args?.apps,
248
+ foreignAssets: args?.assets,
249
+ lease: require_transaction.encodeLease(args?.lease)
250
+ };
270
251
  }
271
252
  /**
272
- * @deprecated Use `TransactionComposer` methods to construct transactions instead.
273
- *
274
- * Returns the app args ready to load onto an ABI method call in `AtomicTransactionComposer`
275
- * @param args The ABI app call args
276
- * @param from The transaction signer
277
- * @returns The parameters ready to pass into `addMethodCall` within AtomicTransactionComposer
278
- */
253
+ * @deprecated Use `TransactionComposer` methods to construct transactions instead.
254
+ *
255
+ * Returns the app args ready to load onto an ABI method call in `AtomicTransactionComposer`
256
+ * @param args The ABI app call args
257
+ * @param from The transaction signer
258
+ * @returns The parameters ready to pass into `addMethodCall` within AtomicTransactionComposer
259
+ */
279
260
  async function getAppArgsForABICall(args, from) {
280
- return legacyBridge._getAppArgsForABICall(args, from);
261
+ return require_legacy_bridge._getAppArgsForABICall(args, from);
281
262
  }
282
263
  /**
283
- * @deprecated Use `AppManager.getBoxReference()` instead.
284
- *
285
- * Returns a `algosdk.BoxReference` given a `BoxIdentifier` or `BoxReference`.
286
- * @param box The box to return a reference for
287
- * @returns The box reference ready to pass into a `Transaction`
288
- */
264
+ * @deprecated Use `AppManager.getBoxReference()` instead.
265
+ *
266
+ * Returns a `algosdk.BoxReference` given a `BoxIdentifier` or `BoxReference`.
267
+ * @param box The box to return a reference for
268
+ * @returns The box reference ready to pass into a `Transaction`
269
+ */
289
270
  function getBoxReference(box) {
290
- return legacyBridge._getBoxReference(box);
271
+ return require_legacy_bridge._getBoxReference(box);
291
272
  }
292
273
  function _getAccountAddress(account) {
293
- return typeof account === 'string' ? account : algosdk.encodeAddress(account.publicKey);
274
+ return typeof account === "string" ? account : algosdk.default.encodeAddress(account.publicKey);
294
275
  }
295
276
  /**
296
- * @deprecated Use `algorand.app.getById` instead.
297
- *
298
- * Gets the current data for the given app from algod.
299
- *
300
- * @param appId The id of the app
301
- * @param algod An algod client
302
- * @returns The data about the app
303
- */
277
+ * @deprecated Use `algorand.app.getById` instead.
278
+ *
279
+ * Gets the current data for the given app from algod.
280
+ *
281
+ * @param appId The id of the app
282
+ * @param algod An algod client
283
+ * @returns The data about the app
284
+ */
304
285
  async function getAppById(appId, algod) {
305
- return await algod.getApplicationByID(util.toNumber(appId)).do();
286
+ return await algod.getApplicationByID(require_util.toNumber(appId)).do();
306
287
  }
307
288
  /**
308
- * @deprecated Use `algorand.app.compileTeal` instead.
309
- *
310
- * Compiles the given TEAL using algod and returns the result, including source map.
311
- *
312
- * @param algod An algod client
313
- * @param tealCode The TEAL code
314
- * @returns The information about the compiled file
315
- */
289
+ * @deprecated Use `algorand.app.compileTeal` instead.
290
+ *
291
+ * Compiles the given TEAL using algod and returns the result, including source map.
292
+ *
293
+ * @param algod An algod client
294
+ * @param tealCode The TEAL code
295
+ * @returns The information about the compiled file
296
+ */
316
297
  async function compileTeal(tealCode, algod) {
317
- return await new types_appManager.AppManager(algod).compileTeal(tealCode);
298
+ return await new require_app_manager.AppManager(algod).compileTeal(tealCode);
318
299
  }
319
300
  /**
320
- * @deprecated Use `abiMethod.getSignature()` or `new ABIMethod(abiMethodParams).getSignature()` instead.
321
- *
322
- * Returns the encoded ABI spec for a given ABI Method
323
- * @param method The method to return a signature for
324
- * @returns The encoded ABI method spec e.g. `method_name(uint64,string)string`
325
- */
301
+ * @deprecated Use `abiMethod.getSignature()` or `new ABIMethod(abiMethodParams).getSignature()` instead.
302
+ *
303
+ * Returns the encoded ABI spec for a given ABI Method
304
+ * @param method The method to return a signature for
305
+ * @returns The encoded ABI method spec e.g. `method_name(uint64,string)string`
306
+ */
326
307
  const getABIMethodSignature = (method) => {
327
- return 'getSignature' in method ? method.getSignature() : new ABIMethod(method).getSignature();
308
+ return "getSignature" in method ? method.getSignature() : new ABIMethod(method).getSignature();
328
309
  };
329
-
310
+ //#endregion
330
311
  exports.callApp = callApp;
331
312
  exports.compileTeal = compileTeal;
332
313
  exports.createApp = createApp;
@@ -346,4 +327,5 @@ exports.getAppLocalState = getAppLocalState;
346
327
  exports.getAppOnCompleteAction = getAppOnCompleteAction;
347
328
  exports.getBoxReference = getBoxReference;
348
329
  exports.updateApp = updateApp;
349
- //# sourceMappingURL=app.js.map
330
+
331
+ //# sourceMappingURL=app.js.map