@algorandfoundation/algokit-utils 5.3.3-beta.2 → 5.4.0-beta.1

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 (528) hide show
  1. package/account/account.d.ts +81 -0
  2. package/account/account.d.ts.map +1 -0
  3. package/account/account.js +120 -0
  4. package/account/account.js.map +1 -0
  5. package/account/account.mjs +112 -0
  6. package/account/account.mjs.map +1 -0
  7. package/account/get-account-config-from-environment.d.ts +13 -0
  8. package/account/get-account-config-from-environment.d.ts.map +1 -0
  9. package/account/get-account-config-from-environment.js +25 -0
  10. package/account/get-account-config-from-environment.js.map +1 -0
  11. package/account/get-account-config-from-environment.mjs +23 -0
  12. package/account/get-account-config-from-environment.mjs.map +1 -0
  13. package/account/get-account.d.ts +66 -0
  14. package/account/get-account.d.ts.map +1 -0
  15. package/account/get-account.js +83 -0
  16. package/account/get-account.js.map +1 -0
  17. package/account/get-account.mjs +81 -0
  18. package/account/get-account.mjs.map +1 -0
  19. package/account/get-dispenser-account.d.ts +13 -0
  20. package/account/get-dispenser-account.d.ts.map +1 -0
  21. package/account/get-dispenser-account.js +23 -0
  22. package/account/get-dispenser-account.js.map +1 -0
  23. package/account/get-dispenser-account.mjs +21 -0
  24. package/account/get-dispenser-account.mjs.map +1 -0
  25. package/account/index.d.ts +6 -0
  26. package/account/index.d.ts.map +1 -0
  27. package/account/mnemonic-account.d.ts +11 -0
  28. package/account/mnemonic-account.d.ts.map +1 -0
  29. package/account/mnemonic-account.js +18 -0
  30. package/account/mnemonic-account.js.map +1 -0
  31. package/account/mnemonic-account.mjs +16 -0
  32. package/account/mnemonic-account.mjs.map +1 -0
  33. package/amount.d.ts.map +1 -0
  34. package/amount.js +34 -0
  35. package/amount.js.map +1 -0
  36. package/{esm/amount.js → amount.mjs} +8 -5
  37. package/amount.mjs.map +1 -0
  38. package/app-client.d.ts.map +1 -0
  39. package/{cjs/app-client.js → app-client.js} +11 -10
  40. package/app-client.js.map +1 -0
  41. package/{esm/app-client.js → app-client.mjs} +8 -5
  42. package/app-client.mjs.map +1 -0
  43. package/app-deploy.d.ts.map +1 -0
  44. package/{cjs/app-deploy.js → app-deploy.js} +67 -69
  45. package/app-deploy.js.map +1 -0
  46. package/{esm/app-deploy.js → app-deploy.mjs} +17 -14
  47. package/app-deploy.mjs.map +1 -0
  48. package/{cjs/app.d.ts → app.d.ts} +1 -1
  49. package/app.d.ts.map +1 -0
  50. package/{cjs/app.js → app.js} +102 -104
  51. package/app.js.map +1 -0
  52. package/{esm/app.js → app.mjs} +27 -24
  53. package/app.mjs.map +1 -0
  54. package/asset.d.ts.map +1 -0
  55. package/{cjs/asset.js → asset.js} +41 -42
  56. package/asset.js.map +1 -0
  57. package/{esm/asset.js → asset.mjs} +10 -6
  58. package/asset.mjs.map +1 -0
  59. package/config.d.ts +4 -0
  60. package/config.d.ts.map +1 -0
  61. package/config.js +9 -0
  62. package/config.js.map +1 -0
  63. package/config.mjs +7 -0
  64. package/config.mjs.map +1 -0
  65. package/debugging/debugging.d.ts +10 -0
  66. package/debugging/debugging.d.ts.map +1 -0
  67. package/debugging/debugging.js +139 -0
  68. package/debugging/debugging.js.map +1 -0
  69. package/debugging/debugging.mjs +118 -0
  70. package/debugging/debugging.mjs.map +1 -0
  71. package/debugging/index.d.ts +3 -0
  72. package/debugging/index.d.ts.map +1 -0
  73. package/{cjs/debugging.d.ts → debugging/simulate-and-persist-response.d.ts} +3 -12
  74. package/debugging/simulate-and-persist-response.d.ts.map +1 -0
  75. package/debugging/simulate-and-persist-response.js +108 -0
  76. package/debugging/simulate-and-persist-response.js.map +1 -0
  77. package/debugging/simulate-and-persist-response.mjs +89 -0
  78. package/debugging/simulate-and-persist-response.mjs.map +1 -0
  79. package/dispenser-client.d.ts.map +1 -0
  80. package/{cjs/dispenser-client.js → dispenser-client.js} +7 -6
  81. package/dispenser-client.js.map +1 -0
  82. package/{esm/dispenser-client.js → dispenser-client.mjs} +6 -3
  83. package/dispenser-client.mjs.map +1 -0
  84. package/{cjs/index.d.ts → index.d.ts} +1 -3
  85. package/index.d.ts.map +1 -0
  86. package/index.js +125 -0
  87. package/index.js.map +1 -0
  88. package/index.mjs +25 -0
  89. package/index.mjs.map +1 -0
  90. package/indexer-lookup.d.ts.map +1 -0
  91. package/{cjs/indexer-lookup.js → indexer-lookup.js} +8 -8
  92. package/indexer-lookup.js.map +1 -0
  93. package/{esm/indexer-lookup.js → indexer-lookup.mjs} +8 -6
  94. package/indexer-lookup.mjs.map +1 -0
  95. package/localnet/get-kmd-wallet-account.d.ts +26 -0
  96. package/localnet/get-kmd-wallet-account.d.ts.map +1 -0
  97. package/localnet/get-kmd-wallet-account.js +55 -0
  98. package/localnet/get-kmd-wallet-account.js.map +1 -0
  99. package/localnet/get-kmd-wallet-account.mjs +53 -0
  100. package/localnet/get-kmd-wallet-account.mjs.map +1 -0
  101. package/localnet/get-localnet-dispenser-account.d.ts +12 -0
  102. package/localnet/get-localnet-dispenser-account.d.ts.map +1 -0
  103. package/localnet/get-localnet-dispenser-account.js +21 -0
  104. package/localnet/get-localnet-dispenser-account.js.map +1 -0
  105. package/localnet/get-localnet-dispenser-account.mjs +19 -0
  106. package/localnet/get-localnet-dispenser-account.mjs.map +1 -0
  107. package/localnet/get-or-create-kmd-wallet-account.d.ts +27 -0
  108. package/localnet/get-or-create-kmd-wallet-account.d.ts.map +1 -0
  109. package/localnet/get-or-create-kmd-wallet-account.js +52 -0
  110. package/localnet/get-or-create-kmd-wallet-account.js.map +1 -0
  111. package/localnet/get-or-create-kmd-wallet-account.mjs +50 -0
  112. package/localnet/get-or-create-kmd-wallet-account.mjs.map +1 -0
  113. package/localnet/index.d.ts +5 -0
  114. package/localnet/index.d.ts.map +1 -0
  115. package/localnet/is-localnet.d.ts +5 -0
  116. package/localnet/is-localnet.d.ts.map +1 -0
  117. package/localnet/is-localnet.js +10 -0
  118. package/localnet/is-localnet.js.map +1 -0
  119. package/localnet/is-localnet.mjs +8 -0
  120. package/localnet/is-localnet.mjs.map +1 -0
  121. package/{cjs/network-client.d.ts → network-client.d.ts} +0 -1
  122. package/network-client.d.ts.map +1 -0
  123. package/{cjs/network-client.js → network-client.js} +21 -25
  124. package/network-client.js.map +1 -0
  125. package/{esm/network-client.js → network-client.mjs} +15 -13
  126. package/network-client.mjs.map +1 -0
  127. package/package.json +15 -36
  128. package/testing/_asset.d.ts.map +1 -0
  129. package/testing/account.d.ts.map +1 -0
  130. package/testing/account.js +29 -0
  131. package/testing/account.js.map +1 -0
  132. package/{esm/testing/account.js → testing/account.mjs} +8 -5
  133. package/testing/account.mjs.map +1 -0
  134. package/testing/fixtures/algokit-log-capture-fixture.d.ts.map +1 -0
  135. package/{cjs/testing → testing}/fixtures/algokit-log-capture-fixture.js +11 -10
  136. package/testing/fixtures/algokit-log-capture-fixture.js.map +1 -0
  137. package/{esm/testing/fixtures/algokit-log-capture-fixture.js → testing/fixtures/algokit-log-capture-fixture.mjs} +7 -4
  138. package/testing/fixtures/algokit-log-capture-fixture.mjs.map +1 -0
  139. package/testing/fixtures/algorand-fixture.d.ts.map +1 -0
  140. package/testing/fixtures/algorand-fixture.js +64 -0
  141. package/testing/fixtures/algorand-fixture.js.map +1 -0
  142. package/{esm/testing/fixtures/algorand-fixture.js → testing/fixtures/algorand-fixture.mjs} +12 -4
  143. package/testing/fixtures/algorand-fixture.mjs.map +1 -0
  144. package/testing/fixtures/index.d.ts.map +1 -0
  145. package/testing/index.d.ts.map +1 -0
  146. package/testing/index.js +18 -0
  147. package/testing/index.js.map +1 -0
  148. package/testing/index.mjs +7 -0
  149. package/testing/index.mjs.map +1 -0
  150. package/testing/indexer.d.ts.map +1 -0
  151. package/{cjs/testing → testing}/indexer.js +4 -4
  152. package/testing/indexer.js.map +1 -0
  153. package/{esm/testing/indexer.js → testing/indexer.mjs} +4 -2
  154. package/testing/indexer.mjs.map +1 -0
  155. package/testing/test-logger.d.ts.map +1 -0
  156. package/{cjs/testing → testing}/test-logger.js +7 -8
  157. package/testing/test-logger.js.map +1 -0
  158. package/{esm/testing/test-logger.js → testing/test-logger.mjs} +6 -5
  159. package/testing/test-logger.mjs.map +1 -0
  160. package/testing/transaction-logger.d.ts.map +1 -0
  161. package/{cjs/testing → testing}/transaction-logger.js +14 -15
  162. package/testing/transaction-logger.js.map +1 -0
  163. package/{esm/testing/transaction-logger.js → testing/transaction-logger.mjs} +9 -5
  164. package/testing/transaction-logger.mjs.map +1 -0
  165. package/transaction/index.d.ts +3 -0
  166. package/transaction/index.d.ts.map +1 -0
  167. package/transaction/perform-atomic-transaction-composer-simulate.d.ts +11 -0
  168. package/transaction/perform-atomic-transaction-composer-simulate.d.ts.map +1 -0
  169. package/transaction/perform-atomic-transaction-composer-simulate.js +35 -0
  170. package/transaction/perform-atomic-transaction-composer-simulate.js.map +1 -0
  171. package/transaction/perform-atomic-transaction-composer-simulate.mjs +33 -0
  172. package/transaction/perform-atomic-transaction-composer-simulate.mjs.map +1 -0
  173. package/{cjs → transaction}/transaction.d.ts +2 -9
  174. package/transaction/transaction.d.ts.map +1 -0
  175. package/{cjs → transaction}/transaction.js +88 -113
  176. package/transaction/transaction.js.map +1 -0
  177. package/{esm/transaction.js → transaction/transaction.mjs} +27 -50
  178. package/transaction/transaction.mjs.map +1 -0
  179. package/transfer/index.d.ts +3 -0
  180. package/transfer/index.d.ts.map +1 -0
  181. package/transfer/transfer-algos.d.ts +17 -0
  182. package/transfer/transfer-algos.d.ts.map +1 -0
  183. package/transfer/transfer-algos.js +40 -0
  184. package/transfer/transfer-algos.js.map +1 -0
  185. package/transfer/transfer-algos.mjs +38 -0
  186. package/transfer/transfer-algos.mjs.map +1 -0
  187. package/{cjs → transfer}/transfer.d.ts +2 -14
  188. package/transfer/transfer.d.ts.map +1 -0
  189. package/transfer/transfer.js +147 -0
  190. package/transfer/transfer.js.map +1 -0
  191. package/{esm/transfer.js → transfer/transfer.mjs} +15 -40
  192. package/transfer/transfer.mjs.map +1 -0
  193. package/types/account.d.ts +63 -161
  194. package/types/account.d.ts.map +1 -1
  195. package/{cjs/types → types}/account.js +14 -22
  196. package/types/account.js.map +1 -0
  197. package/{esm/types/account.js → types/account.mjs} +7 -11
  198. package/types/account.mjs.map +1 -0
  199. package/types/algo-http-client-with-retry.d.ts.map +1 -0
  200. package/{cjs/types → types}/algo-http-client-with-retry.js +25 -24
  201. package/types/algo-http-client-with-retry.js.map +1 -0
  202. package/{esm/types/algo-http-client-with-retry.js → types/algo-http-client-with-retry.mjs} +23 -20
  203. package/types/algo-http-client-with-retry.mjs.map +1 -0
  204. package/types/amount.d.ts +22 -18
  205. package/types/amount.d.ts.map +1 -1
  206. package/{cjs/types → types}/amount.js +8 -11
  207. package/types/amount.js.map +1 -0
  208. package/{esm/types/amount.js → types/amount.mjs} +5 -3
  209. package/types/amount.mjs.map +1 -0
  210. package/types/app-client.d.ts +413 -69
  211. package/types/app-client.d.ts.map +1 -1
  212. package/{cjs/types → types}/app-client.js +58 -73
  213. package/types/app-client.js.map +1 -0
  214. package/{esm/types/app-client.js → types/app-client.mjs} +14 -24
  215. package/types/app-client.mjs.map +1 -0
  216. package/types/app-spec.d.ts.map +1 -0
  217. package/types/app.d.ts +300 -146
  218. package/types/app.d.ts.map +1 -1
  219. package/{cjs/types → types}/app.js +16 -14
  220. package/types/app.js.map +1 -0
  221. package/{esm/types/app.js → types/app.mjs} +9 -9
  222. package/types/app.mjs.map +1 -0
  223. package/types/asset.d.ts +40 -47
  224. package/types/asset.d.ts.map +1 -1
  225. package/types/config.d.ts.map +1 -0
  226. package/{cjs/types → types}/config.js +30 -41
  227. package/types/config.js.map +1 -0
  228. package/{esm/types/config.js → types/config.mjs} +8 -11
  229. package/types/config.mjs.map +1 -0
  230. package/types/debugging.d.ts +105 -22
  231. package/types/debugging.d.ts.map +1 -1
  232. package/{cjs/types → types}/debugging.js +6 -13
  233. package/types/debugging.js.map +1 -0
  234. package/{esm/types/debugging.js → types/debugging.mjs} +6 -11
  235. package/types/debugging.mjs.map +1 -0
  236. package/types/dispenser-client.d.ts +71 -13
  237. package/types/dispenser-client.d.ts.map +1 -1
  238. package/{cjs/types → types}/dispenser-client.js +4 -6
  239. package/types/dispenser-client.js.map +1 -0
  240. package/{esm/types/dispenser-client.js → types/dispenser-client.mjs} +4 -4
  241. package/types/dispenser-client.mjs.map +1 -0
  242. package/types/indexer.d.ts.map +1 -0
  243. package/types/logging.d.ts.map +1 -0
  244. package/{cjs/types → types}/logging.js +8 -6
  245. package/types/logging.js.map +1 -0
  246. package/{esm/types/logging.js → types/logging.mjs} +5 -3
  247. package/types/logging.mjs.map +1 -0
  248. package/types/logic-error.d.ts.map +1 -0
  249. package/{cjs/types → types}/logic-error.js +6 -9
  250. package/types/logic-error.js.map +1 -0
  251. package/{esm/types/logic-error.js → types/logic-error.mjs} +6 -7
  252. package/types/logic-error.mjs.map +1 -0
  253. package/types/network-client.d.ts +19 -99
  254. package/types/network-client.d.ts.map +1 -1
  255. package/types/testing.d.ts.map +1 -0
  256. package/types/transaction.d.ts +112 -175
  257. package/types/transaction.d.ts.map +1 -1
  258. package/types/transfer.d.ts +74 -56
  259. package/types/transfer.d.ts.map +1 -1
  260. package/types/urlTokenBaseHTTPClient.d.ts.map +1 -0
  261. package/{cjs/types → types}/urlTokenBaseHTTPClient.js +7 -10
  262. package/types/urlTokenBaseHTTPClient.js.map +1 -0
  263. package/{esm/types/urlTokenBaseHTTPClient.js → types/urlTokenBaseHTTPClient.mjs} +5 -6
  264. package/types/urlTokenBaseHTTPClient.mjs.map +1 -0
  265. package/util.d.ts.map +1 -0
  266. package/{cjs/util.js → util.js} +7 -7
  267. package/util.js.map +1 -0
  268. package/{esm/util.js → util.mjs} +7 -5
  269. package/util.mjs.map +1 -0
  270. package/cjs/account.d.ts +0 -168
  271. package/cjs/account.d.ts.map +0 -1
  272. package/cjs/account.js +0 -238
  273. package/cjs/account.js.map +0 -1
  274. package/cjs/amount.d.ts.map +0 -1
  275. package/cjs/amount.js +0 -36
  276. package/cjs/amount.js.map +0 -1
  277. package/cjs/app-client.d.ts.map +0 -1
  278. package/cjs/app-client.js.map +0 -1
  279. package/cjs/app-deploy.d.ts.map +0 -1
  280. package/cjs/app-deploy.js.map +0 -1
  281. package/cjs/app.d.ts.map +0 -1
  282. package/cjs/app.js.map +0 -1
  283. package/cjs/asset.d.ts.map +0 -1
  284. package/cjs/asset.js.map +0 -1
  285. package/cjs/debugging.d.ts.map +0 -1
  286. package/cjs/debugging.js +0 -225
  287. package/cjs/debugging.js.map +0 -1
  288. package/cjs/dispenser-client.d.ts.map +0 -1
  289. package/cjs/dispenser-client.js.map +0 -1
  290. package/cjs/index.d.ts.map +0 -1
  291. package/cjs/index.js +0 -34
  292. package/cjs/index.js.map +0 -1
  293. package/cjs/indexer-lookup.d.ts.map +0 -1
  294. package/cjs/indexer-lookup.js.map +0 -1
  295. package/cjs/localnet.d.ts +0 -57
  296. package/cjs/localnet.d.ts.map +0 -1
  297. package/cjs/localnet.js +0 -121
  298. package/cjs/localnet.js.map +0 -1
  299. package/cjs/network-client.d.ts.map +0 -1
  300. package/cjs/network-client.js.map +0 -1
  301. package/cjs/testing/_asset.d.ts.map +0 -1
  302. package/cjs/testing/_asset.js +0 -36
  303. package/cjs/testing/_asset.js.map +0 -1
  304. package/cjs/testing/account.d.ts.map +0 -1
  305. package/cjs/testing/account.js +0 -31
  306. package/cjs/testing/account.js.map +0 -1
  307. package/cjs/testing/fixtures/algokit-log-capture-fixture.d.ts.map +0 -1
  308. package/cjs/testing/fixtures/algokit-log-capture-fixture.js.map +0 -1
  309. package/cjs/testing/fixtures/algorand-fixture.d.ts.map +0 -1
  310. package/cjs/testing/fixtures/algorand-fixture.js +0 -58
  311. package/cjs/testing/fixtures/algorand-fixture.js.map +0 -1
  312. package/cjs/testing/fixtures/index.d.ts.map +0 -1
  313. package/cjs/testing/fixtures/index.js +0 -19
  314. package/cjs/testing/fixtures/index.js.map +0 -1
  315. package/cjs/testing/index.d.ts.map +0 -1
  316. package/cjs/testing/index.js +0 -22
  317. package/cjs/testing/index.js.map +0 -1
  318. package/cjs/testing/indexer.d.ts.map +0 -1
  319. package/cjs/testing/indexer.js.map +0 -1
  320. package/cjs/testing/test-logger.d.ts.map +0 -1
  321. package/cjs/testing/test-logger.js.map +0 -1
  322. package/cjs/testing/transaction-logger.d.ts.map +0 -1
  323. package/cjs/testing/transaction-logger.js.map +0 -1
  324. package/cjs/transaction.d.ts.map +0 -1
  325. package/cjs/transaction.js.map +0 -1
  326. package/cjs/transfer.d.ts.map +0 -1
  327. package/cjs/transfer.js +0 -178
  328. package/cjs/transfer.js.map +0 -1
  329. package/cjs/types/account.d.ts +0 -70
  330. package/cjs/types/account.d.ts.map +0 -1
  331. package/cjs/types/account.js.map +0 -1
  332. package/cjs/types/algo-http-client-with-retry.d.ts.map +0 -1
  333. package/cjs/types/algo-http-client-with-retry.js.map +0 -1
  334. package/cjs/types/amount.d.ts +0 -24
  335. package/cjs/types/amount.d.ts.map +0 -1
  336. package/cjs/types/amount.js.map +0 -1
  337. package/cjs/types/app-client.d.ts +0 -416
  338. package/cjs/types/app-client.d.ts.map +0 -1
  339. package/cjs/types/app-client.js.map +0 -1
  340. package/cjs/types/app-spec.d.ts.map +0 -1
  341. package/cjs/types/app-spec.js +0 -3
  342. package/cjs/types/app-spec.js.map +0 -1
  343. package/cjs/types/app.d.ts +0 -323
  344. package/cjs/types/app.d.ts.map +0 -1
  345. package/cjs/types/app.js.map +0 -1
  346. package/cjs/types/asset.d.ts +0 -42
  347. package/cjs/types/asset.d.ts.map +0 -1
  348. package/cjs/types/asset.js +0 -3
  349. package/cjs/types/asset.js.map +0 -1
  350. package/cjs/types/config.d.ts.map +0 -1
  351. package/cjs/types/config.js.map +0 -1
  352. package/cjs/types/debugging.d.ts +0 -112
  353. package/cjs/types/debugging.d.ts.map +0 -1
  354. package/cjs/types/debugging.js.map +0 -1
  355. package/cjs/types/dispenser-client.d.ts +0 -77
  356. package/cjs/types/dispenser-client.d.ts.map +0 -1
  357. package/cjs/types/dispenser-client.js.map +0 -1
  358. package/cjs/types/indexer.d.ts.map +0 -1
  359. package/cjs/types/indexer.js +0 -34
  360. package/cjs/types/indexer.js.map +0 -1
  361. package/cjs/types/logging.d.ts.map +0 -1
  362. package/cjs/types/logging.js.map +0 -1
  363. package/cjs/types/logic-error.d.ts.map +0 -1
  364. package/cjs/types/logic-error.js.map +0 -1
  365. package/cjs/types/network-client.d.ts +0 -20
  366. package/cjs/types/network-client.d.ts.map +0 -1
  367. package/cjs/types/network-client.js +0 -3
  368. package/cjs/types/network-client.js.map +0 -1
  369. package/cjs/types/testing.d.ts.map +0 -1
  370. package/cjs/types/testing.js +0 -3
  371. package/cjs/types/testing.js.map +0 -1
  372. package/cjs/types/transaction.d.ts +0 -118
  373. package/cjs/types/transaction.d.ts.map +0 -1
  374. package/cjs/types/transaction.js +0 -3
  375. package/cjs/types/transaction.js.map +0 -1
  376. package/cjs/types/transfer.d.ts +0 -76
  377. package/cjs/types/transfer.d.ts.map +0 -1
  378. package/cjs/types/transfer.js +0 -3
  379. package/cjs/types/transfer.js.map +0 -1
  380. package/cjs/types/urlTokenBaseHTTPClient.d.ts.map +0 -1
  381. package/cjs/types/urlTokenBaseHTTPClient.js.map +0 -1
  382. package/cjs/util.d.ts.map +0 -1
  383. package/cjs/util.js.map +0 -1
  384. package/esm/account.js +0 -221
  385. package/esm/account.js.map +0 -1
  386. package/esm/amount.js.map +0 -1
  387. package/esm/app-client.js.map +0 -1
  388. package/esm/app-deploy.js.map +0 -1
  389. package/esm/app.js.map +0 -1
  390. package/esm/asset.js.map +0 -1
  391. package/esm/debugging.js +0 -197
  392. package/esm/debugging.js.map +0 -1
  393. package/esm/dispenser-client.js.map +0 -1
  394. package/esm/index.js +0 -17
  395. package/esm/index.js.map +0 -1
  396. package/esm/indexer-lookup.js.map +0 -1
  397. package/esm/localnet.js +0 -111
  398. package/esm/localnet.js.map +0 -1
  399. package/esm/network-client.js.map +0 -1
  400. package/esm/package.json +0 -3
  401. package/esm/testing/_asset.js +0 -29
  402. package/esm/testing/_asset.js.map +0 -1
  403. package/esm/testing/account.js.map +0 -1
  404. package/esm/testing/fixtures/algokit-log-capture-fixture.js.map +0 -1
  405. package/esm/testing/fixtures/algorand-fixture.js.map +0 -1
  406. package/esm/testing/fixtures/index.js +0 -3
  407. package/esm/testing/fixtures/index.js.map +0 -1
  408. package/esm/testing/index.js +0 -6
  409. package/esm/testing/index.js.map +0 -1
  410. package/esm/testing/indexer.js.map +0 -1
  411. package/esm/testing/test-logger.js.map +0 -1
  412. package/esm/testing/transaction-logger.js.map +0 -1
  413. package/esm/transaction.js.map +0 -1
  414. package/esm/transfer.js.map +0 -1
  415. package/esm/types/account.js.map +0 -1
  416. package/esm/types/algo-http-client-with-retry.js.map +0 -1
  417. package/esm/types/amount.js.map +0 -1
  418. package/esm/types/app-client.js.map +0 -1
  419. package/esm/types/app-spec.js +0 -2
  420. package/esm/types/app-spec.js.map +0 -1
  421. package/esm/types/app.js.map +0 -1
  422. package/esm/types/asset.js +0 -2
  423. package/esm/types/asset.js.map +0 -1
  424. package/esm/types/config.js.map +0 -1
  425. package/esm/types/debugging.js.map +0 -1
  426. package/esm/types/dispenser-client.js.map +0 -1
  427. package/esm/types/indexer.js +0 -31
  428. package/esm/types/indexer.js.map +0 -1
  429. package/esm/types/logging.js.map +0 -1
  430. package/esm/types/logic-error.js.map +0 -1
  431. package/esm/types/network-client.js +0 -2
  432. package/esm/types/network-client.js.map +0 -1
  433. package/esm/types/testing.js +0 -2
  434. package/esm/types/testing.js.map +0 -1
  435. package/esm/types/transaction.js +0 -2
  436. package/esm/types/transaction.js.map +0 -1
  437. package/esm/types/transfer.js +0 -2
  438. package/esm/types/transfer.js.map +0 -1
  439. package/esm/types/urlTokenBaseHTTPClient.js.map +0 -1
  440. package/esm/util.js.map +0 -1
  441. package/types/app-deploy.d.ts +0 -104
  442. package/types/app-deploy.d.ts.map +0 -1
  443. package/types/index.d.ts +0 -17
  444. package/types/index.d.ts.map +0 -1
  445. package/types/indexer-lookup.d.ts +0 -39
  446. package/types/indexer-lookup.d.ts.map +0 -1
  447. package/types/localnet.d.ts +0 -57
  448. package/types/localnet.d.ts.map +0 -1
  449. package/types/testing/_asset.d.ts +0 -5
  450. package/types/testing/_asset.d.ts.map +0 -1
  451. package/types/testing/account.d.ts +0 -17
  452. package/types/testing/account.d.ts.map +0 -1
  453. package/types/testing/fixtures/algokit-log-capture-fixture.d.ts +0 -20
  454. package/types/testing/fixtures/algokit-log-capture-fixture.d.ts.map +0 -1
  455. package/types/testing/fixtures/algorand-fixture.d.ts +0 -50
  456. package/types/testing/fixtures/algorand-fixture.d.ts.map +0 -1
  457. package/types/testing/fixtures/index.d.ts +0 -3
  458. package/types/testing/fixtures/index.d.ts.map +0 -1
  459. package/types/testing/index.d.ts +0 -6
  460. package/types/testing/index.d.ts.map +0 -1
  461. package/types/testing/indexer.d.ts +0 -13
  462. package/types/testing/indexer.d.ts.map +0 -1
  463. package/types/testing/test-logger.d.ts +0 -41
  464. package/types/testing/test-logger.d.ts.map +0 -1
  465. package/types/testing/transaction-logger.d.ts +0 -31
  466. package/types/testing/transaction-logger.d.ts.map +0 -1
  467. package/types/types/account.d.ts +0 -70
  468. package/types/types/account.d.ts.map +0 -1
  469. package/types/types/algo-http-client-with-retry.d.ts +0 -14
  470. package/types/types/algo-http-client-with-retry.d.ts.map +0 -1
  471. package/types/types/amount.d.ts +0 -24
  472. package/types/types/amount.d.ts.map +0 -1
  473. package/types/types/app-client.d.ts +0 -416
  474. package/types/types/app-client.d.ts.map +0 -1
  475. package/types/types/app-spec.d.ts +0 -156
  476. package/types/types/app-spec.d.ts.map +0 -1
  477. package/types/types/app.d.ts +0 -323
  478. package/types/types/app.d.ts.map +0 -1
  479. package/types/types/asset.d.ts +0 -42
  480. package/types/types/asset.d.ts.map +0 -1
  481. package/types/types/config.d.ts +0 -49
  482. package/types/types/config.d.ts.map +0 -1
  483. package/types/types/debugging.d.ts +0 -112
  484. package/types/types/debugging.d.ts.map +0 -1
  485. package/types/types/dispenser-client.d.ts +0 -77
  486. package/types/types/dispenser-client.d.ts.map +0 -1
  487. package/types/types/indexer.d.ts +0 -625
  488. package/types/types/indexer.d.ts.map +0 -1
  489. package/types/types/logging.d.ts +0 -13
  490. package/types/types/logging.d.ts.map +0 -1
  491. package/types/types/logic-error.d.ts +0 -37
  492. package/types/types/logic-error.d.ts.map +0 -1
  493. package/types/types/network-client.d.ts +0 -20
  494. package/types/types/network-client.d.ts.map +0 -1
  495. package/types/types/testing.d.ts +0 -95
  496. package/types/types/testing.d.ts.map +0 -1
  497. package/types/types/transaction.d.ts +0 -118
  498. package/types/types/transaction.d.ts.map +0 -1
  499. package/types/types/transfer.d.ts +0 -76
  500. package/types/types/transfer.d.ts.map +0 -1
  501. package/types/types/urlTokenBaseHTTPClient.d.ts +0 -41
  502. package/types/types/urlTokenBaseHTTPClient.d.ts.map +0 -1
  503. package/types/util.d.ts +0 -24
  504. package/types/util.d.ts.map +0 -1
  505. /package/{cjs/amount.d.ts → amount.d.ts} +0 -0
  506. /package/{cjs/app-client.d.ts → app-client.d.ts} +0 -0
  507. /package/{cjs/app-deploy.d.ts → app-deploy.d.ts} +0 -0
  508. /package/{cjs/asset.d.ts → asset.d.ts} +0 -0
  509. /package/{cjs/dispenser-client.d.ts → dispenser-client.d.ts} +0 -0
  510. /package/{cjs/indexer-lookup.d.ts → indexer-lookup.d.ts} +0 -0
  511. /package/{cjs/testing → testing}/_asset.d.ts +0 -0
  512. /package/{cjs/testing → testing}/account.d.ts +0 -0
  513. /package/{cjs/testing → testing}/fixtures/algokit-log-capture-fixture.d.ts +0 -0
  514. /package/{cjs/testing → testing}/fixtures/algorand-fixture.d.ts +0 -0
  515. /package/{cjs/testing → testing}/fixtures/index.d.ts +0 -0
  516. /package/{cjs/testing → testing}/index.d.ts +0 -0
  517. /package/{cjs/testing → testing}/indexer.d.ts +0 -0
  518. /package/{cjs/testing → testing}/test-logger.d.ts +0 -0
  519. /package/{cjs/testing → testing}/transaction-logger.d.ts +0 -0
  520. /package/{cjs/types → types}/algo-http-client-with-retry.d.ts +0 -0
  521. /package/{cjs/types → types}/app-spec.d.ts +0 -0
  522. /package/{cjs/types → types}/config.d.ts +0 -0
  523. /package/{cjs/types → types}/indexer.d.ts +0 -0
  524. /package/{cjs/types → types}/logging.d.ts +0 -0
  525. /package/{cjs/types → types}/logic-error.d.ts +0 -0
  526. /package/{cjs/types → types}/testing.d.ts +0 -0
  527. /package/{cjs/types → types}/urlTokenBaseHTTPClient.d.ts +0 -0
  528. /package/{cjs/util.d.ts → util.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  import algosdk from 'algosdk';
2
+
2
3
  /** Wrapper class to ensure safe, explicit conversion between µAlgos, Algos and numbers */
3
- export class AlgoAmount {
4
- amountInMicroAlgos;
4
+ class AlgoAmount {
5
5
  /** Return the amount as a number in µAlgos */
6
6
  get microAlgos() {
7
7
  return this.amountInMicroAlgos;
@@ -32,4 +32,6 @@ export class AlgoAmount {
32
32
  return new AlgoAmount({ microAlgos: amount });
33
33
  }
34
34
  }
35
- //# sourceMappingURL=amount.js.map
35
+
36
+ export { AlgoAmount };
37
+ //# sourceMappingURL=amount.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"amount.mjs","sources":["../../src/types/amount.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA;MACa,UAAU,CAAA;;AAIrB,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,kBAAkB,CAAA;KAC/B;;AAGD,IAAA,IAAI,KAAK,GAAA;QACP,OAAO,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAA;KAC1D;AAED,IAAA,WAAA,CAAY,MAAkD,EAAA;QAC5D,IAAI,CAAC,kBAAkB,GAAG,YAAY,IAAI,MAAM,GAAG,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;KAC/G;IAED,QAAQ,GAAA;QACN,OAAO,CAAA,EAAG,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,MAAA,EAAS,IAAI,CAAC,UAAU,KAAK,CAAC,GAAG,EAAE,GAAG,GAAG,CAAA,CAAE,CAAA;KAC7F;AAED;;;AAGG;IACH,OAAO,GAAA;QACL,OAAO,IAAI,CAAC,UAAU,CAAA;KACvB;;IAGD,OAAO,KAAK,CAAC,MAAc,EAAA;QACzB,OAAO,IAAI,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAA;KACzC;;IAGD,OAAO,UAAU,CAAC,MAAc,EAAA;QAC9B,OAAO,IAAI,UAAU,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAA;KAC9C;AACF;;;;"}
@@ -1,72 +1,416 @@
1
1
  import algosdk from 'algosdk';
2
- import { AppSpecAppDetails, AppSpecAppDetailsByCreatorAndName, AppSpecAppDetailsById, ApplicationClient } from './types/app-client';
2
+ import { AlgoAmount } from './amount';
3
+ import { ABIAppCallArgs, ABIReturn, AppCallArgs, AppCallTransactionResult, AppCallType, AppCompilationResult, AppLookup, AppMetadata, AppReference, AppState, BoxName, OnSchemaBreak, OnUpdate, RawAppCallArgs, TealTemplateParams } from './app';
4
+ import { AppSpec } from './app-spec';
5
+ import { SendTransactionFrom, SendTransactionParams, TransactionNote } from './transaction';
6
+ import ABIMethod = algosdk.ABIMethod;
7
+ import ABIMethodParams = algosdk.ABIMethodParams;
8
+ import ABIType = algosdk.ABIType;
9
+ import ABIValue = algosdk.ABIValue;
3
10
  import Algodv2 = algosdk.Algodv2;
4
- /**
5
- * Create a new ApplicationClient instance
6
- * @param appDetails The details of the app
7
- * @param algod An algod instance
8
- *
9
- * @example Resolve by creator and name
10
- * const client = algokit.getAppClient(
11
- * {
12
- * resolveBy: 'creatorAndName',
13
- * app: {appSpec},
14
- * sender: {account},
15
- * creatorAddress: {creator},
16
- * findExistingUsing: indexerClient,
17
- * },
18
- * algodClient,
19
- * )
20
- *
21
- * @example Resolve by id:
22
- * const client = algokit.getAppClient(
23
- * {
24
- * resolveBy: 'id',
25
- * app: {appSpec},
26
- * sender: {account},
27
- * id: {id},
28
- * },
29
- * algodClient,
30
- * )
31
- *
32
- * @returns The application client
33
- */
34
- export declare function getAppClient(appDetails: AppSpecAppDetails, algod: Algodv2): ApplicationClient;
35
- /**
36
- * Create a new ApplicationClient instance by id
37
- * @param appDetails The details of the app
38
- * @param algod An algod instance
39
- *
40
- * @example
41
- * const client = algokit.getAppClientById(
42
- * {
43
- * app: {appSpec},
44
- * sender: {account},
45
- * id: {id},
46
- * },
47
- * algodClient,
48
- * )
49
- *
50
- * @returns The application client
51
- */
52
- export declare function getAppClientById(appDetails: AppSpecAppDetailsById, algod: Algodv2): ApplicationClient;
53
- /**
54
- * Create a new ApplicationClient instance by creator and name
55
- * @param appDetails The details of the app by creator and name
56
- * @param algod An algod instance
57
- *
58
- * @example
59
- * const client = algokit.getAppClientByCreatorAndName(
60
- * {
61
- * app: {appSpec},
62
- * sender: {account},
63
- * creatorAddress: {account.addr},
64
- * findExistingUsing: {indexerClient},
65
- * },
66
- * algodClient,
67
- * )
68
- *
69
- * @returns The application client
70
- */
71
- export declare function getAppClientByCreatorAndName(appDetails: AppSpecAppDetailsByCreatorAndName, algod: Algodv2): ApplicationClient;
11
+ import Indexer = algosdk.Indexer;
12
+ import OnApplicationComplete = algosdk.OnApplicationComplete;
13
+ import SuggestedParams = algosdk.SuggestedParams;
14
+ /** Configuration to resolve app by creator and name `getCreatorAppsByName` */
15
+ export type ResolveAppByCreatorAndNameBase = {
16
+ /** The address of the app creator account to resolve the app by */
17
+ creatorAddress: string;
18
+ /** The optional name override to resolve the app by within the creator account (default: uses the name in the ABI contract) */
19
+ name?: string;
20
+ /** The mechanism to find an existing app instance metadata for the given creator and name; either:
21
+ * * An indexer instance to search the creator account apps; or
22
+ * * The cached value of the existing apps for the given creator from `getCreatorAppsByName`
23
+ */
24
+ findExistingUsing: Indexer | AppLookup;
25
+ };
26
+ /** Configuration to resolve app by creator and name `getCreatorAppsByName` */
27
+ export type ResolveAppByCreatorAndName = ResolveAppByCreatorAndNameBase & {
28
+ /** How the app ID is resolved, either by `'id'` or `'creatorAndName'`; must be `'creatorAndName'` if you want to use `deploy` */
29
+ resolveBy: 'creatorAndName';
30
+ };
31
+ /** Configuration to resolve app by ID */
32
+ export interface ResolveAppByIdBase {
33
+ /** The id of an existing app to call using this client, or 0 if the app hasn't been created yet */
34
+ id: number | bigint;
35
+ /** The optional name to use to mark the app when deploying `ApplicationClient.deploy` (default: uses the name in the ABI contract) */
36
+ name?: string;
37
+ }
38
+ export interface ResolveAppById extends ResolveAppByIdBase {
39
+ /** How the app ID is resolved, either by `'id'` or `'creatorAndName'`; must be `'creatorAndName'` if you want to use `deploy` */
40
+ resolveBy: 'id';
41
+ }
42
+ /** The details of an AlgoKit Utils deployed app */
43
+ export type AppDetailsBase = {
44
+ /** Default sender to use for transactions issued by this application client */
45
+ sender?: SendTransactionFrom;
46
+ /** Default suggested params object to use */
47
+ params?: SuggestedParams;
48
+ /** Optionally provide any deploy-time parameters to replace in the TEAL code; if specified here will get
49
+ * used in calls to `deploy`, `create` and `update` unless overridden in those calls
50
+ */
51
+ deployTimeParams?: TealTemplateParams;
52
+ };
53
+ /** The details of an AlgoKit Utils deployed app */
54
+ export type AppDetails = AppDetailsBase & (ResolveAppById | ResolveAppByCreatorAndName);
55
+ /** The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app */
56
+ export type AppSpecAppDetailsBase = {
57
+ /** The ARC-0032 application spec as either:
58
+ * * Parsed JSON `AppSpec`
59
+ * * Raw JSON string
60
+ */
61
+ app: AppSpec | string;
62
+ };
63
+ /** The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app by id*/
64
+ export type AppSpecAppDetailsById = AppSpecAppDetailsBase & AppDetailsBase & ResolveAppByIdBase;
65
+ /** The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app by creator and name*/
66
+ export type AppSpecAppDetailsByCreatorAndName = AppSpecAppDetailsBase & AppDetailsBase & ResolveAppByCreatorAndNameBase;
67
+ /** The details of an ARC-0032 app spec specified, AlgoKit Utils deployed app */
68
+ export type AppSpecAppDetails = AppSpecAppDetailsBase & AppDetails;
69
+ /** Core parameters to pass into ApplicationClient.deploy */
70
+ export interface AppClientDeployCoreParams {
71
+ /** The version of the contract, uses "1.0" by default */
72
+ version?: string;
73
+ /** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
74
+ sender?: SendTransactionFrom;
75
+ /** Parameters to control transaction sending */
76
+ sendParams?: Omit<SendTransactionParams, 'skipSending' | 'skipWaiting'>;
77
+ /** Whether or not to allow updates in the contract using the deploy-time updatability control if present in your contract.
78
+ * If this is not specified then it will automatically be determined based on the AppSpec definition
79
+ **/
80
+ allowUpdate?: boolean;
81
+ /** Whether or not to allow deletes in the contract using the deploy-time deletability control if present in your contract.
82
+ * If this is not specified then it will automatically be determined based on the AppSpec definition
83
+ **/
84
+ allowDelete?: boolean;
85
+ /** What action to perform if a schema break is detected */
86
+ onSchemaBreak?: 'replace' | 'fail' | 'append' | OnSchemaBreak;
87
+ /** What action to perform if a TEAL update is detected */
88
+ onUpdate?: 'update' | 'replace' | 'append' | 'fail' | OnUpdate;
89
+ }
90
+ /** Call interface parameters to pass into ApplicationClient.deploy */
91
+ export interface AppClientDeployCallInterfaceParams {
92
+ /** Any deploy-time parameters to replace in the TEAL code */
93
+ deployTimeParams?: TealTemplateParams;
94
+ /** Any args to pass to any create transaction that is issued as part of deployment */
95
+ createArgs?: AppClientCallArgs;
96
+ /** Override the on-completion action for the create call; defaults to NoOp */
97
+ createOnCompleteAction?: Exclude<AppCallType, 'clear_state'> | Exclude<OnApplicationComplete, OnApplicationComplete.ClearStateOC>;
98
+ /** Any args to pass to any update transaction that is issued as part of deployment */
99
+ updateArgs?: AppClientCallArgs;
100
+ /** Any args to pass to any delete transaction that is issued as part of deployment */
101
+ deleteArgs?: AppClientCallArgs;
102
+ }
103
+ /** Parameters to pass into ApplicationClient.deploy */
104
+ export interface AppClientDeployParams extends AppClientDeployCoreParams, AppClientDeployCallInterfaceParams {
105
+ }
106
+ export interface AppClientCallRawArgs extends RawAppCallArgs {
107
+ }
108
+ export interface AppClientCallABIArgs extends Omit<ABIAppCallArgs, 'method'> {
109
+ /** If calling an ABI method then either the name of the method, or the ABI signature */
110
+ method: string;
111
+ }
112
+ /** The arguments to pass to an Application Client smart contract call */
113
+ export type AppClientCallArgs = AppClientCallRawArgs | AppClientCallABIArgs;
114
+ /** Common (core) parameters to construct a ApplicationClient contract call */
115
+ export interface AppClientCallCoreParams {
116
+ /** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
117
+ sender?: SendTransactionFrom;
118
+ /** The transaction note for the smart contract call */
119
+ note?: TransactionNote;
120
+ /** Parameters to control transaction sending */
121
+ sendParams?: SendTransactionParams;
122
+ }
123
+ /** Parameters to construct a ApplicationClient contract call */
124
+ export type AppClientCallParams = AppClientCallArgs & AppClientCallCoreParams;
125
+ /** Parameters to construct a ApplicationClient clear state contract call */
126
+ export type AppClientClearStateParams = AppClientCallRawArgs & AppClientCallCoreParams;
127
+ export interface AppClientCompilationParams {
128
+ /** Any deploy-time parameters to replace in the TEAL code */
129
+ deployTimeParams?: TealTemplateParams;
130
+ updatable?: boolean;
131
+ deletable?: boolean;
132
+ }
133
+ /** On-complete action parameter for creating a contract using ApplicationClient */
134
+ export type AppClientCreateOnComplete = {
135
+ /** Override the on-completion action for the create call; defaults to NoOp */
136
+ onCompleteAction?: Exclude<AppCallType, 'clear_state'> | Exclude<OnApplicationComplete, OnApplicationComplete.ClearStateOC>;
137
+ };
138
+ /** Parameters for creating a contract using ApplicationClient */
139
+ export type AppClientCreateParams = AppClientCallParams & AppClientCompilationParams & AppClientCreateOnComplete;
140
+ /** Parameters for updating a contract using ApplicationClient */
141
+ export type AppClientUpdateParams = AppClientCallParams & AppClientCompilationParams;
142
+ /** Parameters for funding an app account */
143
+ export interface FundAppAccountParams {
144
+ amount: AlgoAmount;
145
+ /** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
146
+ sender?: SendTransactionFrom;
147
+ /** The transaction note for the smart contract call */
148
+ note?: TransactionNote;
149
+ /** Parameters to control transaction sending */
150
+ sendParams?: SendTransactionParams;
151
+ }
152
+ /** Source maps for an Algorand app */
153
+ export interface AppSourceMaps {
154
+ /** The source map of the approval program */
155
+ approvalSourceMap: SourceMapExport;
156
+ /** The source map of the clear program */
157
+ clearSourceMap: SourceMapExport;
158
+ }
159
+ export interface SourceMapExport {
160
+ version: number;
161
+ sources: string[];
162
+ names: string[];
163
+ mappings: string;
164
+ }
165
+ /** Application client - a class that wraps an ARC-0032 app spec and provides high productivity methods to deploy and call the app */
166
+ export declare class ApplicationClient {
167
+ private algod;
168
+ private indexer?;
169
+ private appSpec;
170
+ private sender;
171
+ private params;
172
+ private existingDeployments;
173
+ private deployTimeParams?;
174
+ private _appId;
175
+ private _appAddress;
176
+ private _creator;
177
+ private _appName;
178
+ private _approvalSourceMap;
179
+ private _clearSourceMap;
180
+ /**
181
+ * Create a new ApplicationClient instance
182
+ * @param appDetails The details of the app
183
+ * @param algod An algod instance
184
+ */
185
+ constructor(appDetails: AppSpecAppDetails, algod: Algodv2);
186
+ /**
187
+ * Compiles the approval and clear programs and sets up the source map.
188
+ * @param compilation The deploy-time parameters for the compilation
189
+ * @returns The compiled approval and clear programs
190
+ */
191
+ compile(compilation?: AppClientCompilationParams): Promise<{
192
+ approvalCompiled: import("./app").CompiledTeal;
193
+ clearCompiled: import("./app").CompiledTeal;
194
+ }>;
195
+ /**
196
+ * Export the current source maps for the app.
197
+ * @returns The source maps
198
+ */
199
+ exportSourceMaps(): AppSourceMaps;
200
+ /**
201
+ * Import source maps for the app.
202
+ * @param sourceMaps The source maps to import
203
+ */
204
+ importSourceMaps(sourceMaps: AppSourceMaps): void;
205
+ /**
206
+ * Idempotently deploy (create, update/delete if changed) an app against the given name via the given creator account, including deploy-time template placeholder substitutions.
207
+ *
208
+ * To understand the architecture decisions behind this functionality please see https://github.com/algorandfoundation/algokit-cli/blob/main/docs/architecture-decisions/2023-01-12_smart-contract-deployment.md
209
+ *
210
+ * **Note:** if there is a breaking state schema change to an existing app (and `onSchemaBreak` is set to `'replace'`) the existing app will be deleted and re-created.
211
+ *
212
+ * **Note:** if there is an update (different TEAL code) to an existing app (and `onUpdate` is set to `'replace'`) the existing app will be deleted and re-created.
213
+ * @param deploy Deployment details
214
+ * @returns The metadata and transaction result(s) of the deployment, or just the metadata if it didn't need to issue transactions
215
+ */
216
+ deploy(deploy?: AppClientDeployParams): Promise<(Partial<AppCompilationResult> & AppMetadata & {
217
+ operationPerformed: "nothing";
218
+ }) | {
219
+ compiledApproval: import("./app").CompiledTeal;
220
+ compiledClear: import("./app").CompiledTeal;
221
+ confirmation: algosdk.modelsv2.PendingTransactionResponse;
222
+ confirmations: algosdk.modelsv2.PendingTransactionResponse[];
223
+ transaction: algosdk.Transaction;
224
+ transactions: algosdk.Transaction[];
225
+ createdRound: number;
226
+ updatedRound: number;
227
+ createdMetadata: import("./app").AppDeployMetadata;
228
+ deleted: boolean;
229
+ appId: number | bigint;
230
+ appAddress: string;
231
+ name: string;
232
+ version: string;
233
+ deletable?: boolean | undefined;
234
+ updatable?: boolean | undefined;
235
+ return?: ABIReturn | undefined;
236
+ operationPerformed: "update" | "create";
237
+ } | {
238
+ compiledApproval: import("./app").CompiledTeal;
239
+ compiledClear: import("./app").CompiledTeal;
240
+ confirmation: algosdk.modelsv2.PendingTransactionResponse;
241
+ confirmations: algosdk.modelsv2.PendingTransactionResponse[];
242
+ transaction: algosdk.Transaction;
243
+ transactions: algosdk.Transaction[];
244
+ createdRound: number;
245
+ updatedRound: number;
246
+ createdMetadata: import("./app").AppDeployMetadata;
247
+ deleted: boolean;
248
+ appId: number | bigint;
249
+ appAddress: string;
250
+ name: string;
251
+ version: string;
252
+ deletable?: boolean | undefined;
253
+ updatable?: boolean | undefined;
254
+ return?: ABIReturn | undefined;
255
+ deleteReturn?: ABIReturn | undefined;
256
+ deleteResult: import("./transaction").ConfirmedTransactionResult;
257
+ operationPerformed: "replace";
258
+ }>;
259
+ /**
260
+ * Creates a smart contract app, returns the details of the created app.
261
+ * @param create The parameters to create the app with
262
+ * @returns The details of the created app, or the transaction to create it if `skipSending` and the compilation result
263
+ */
264
+ create(create?: AppClientCreateParams): Promise<{
265
+ compiledApproval: import("./app").CompiledTeal;
266
+ compiledClear: import("./app").CompiledTeal;
267
+ return?: ABIReturn | undefined;
268
+ transactions: algosdk.Transaction[];
269
+ confirmations?: algosdk.modelsv2.PendingTransactionResponse[] | undefined;
270
+ transaction: algosdk.Transaction;
271
+ confirmation?: algosdk.modelsv2.PendingTransactionResponse | undefined;
272
+ appId: number | bigint;
273
+ appAddress: string;
274
+ }>;
275
+ /**
276
+ * Updates the smart contract app.
277
+ * @param update The parameters to update the app with
278
+ * @returns The transaction send result and the compilation result
279
+ */
280
+ update(update?: AppClientUpdateParams): Promise<{
281
+ compiledApproval: import("./app").CompiledTeal;
282
+ compiledClear: import("./app").CompiledTeal;
283
+ return?: ABIReturn | undefined;
284
+ transactions: algosdk.Transaction[];
285
+ confirmations?: algosdk.modelsv2.PendingTransactionResponse[] | undefined;
286
+ transaction: algosdk.Transaction;
287
+ confirmation?: algosdk.modelsv2.PendingTransactionResponse | undefined;
288
+ }>;
289
+ /**
290
+ * Issues a no_op (normal) call to the app.
291
+ * @param call The call details.
292
+ * @returns The result of the call
293
+ */
294
+ call(call?: AppClientCallParams): Promise<AppCallTransactionResult>;
295
+ /**
296
+ * Issues a opt_in call to the app.
297
+ * @param call The call details.
298
+ * @returns The result of the call
299
+ */
300
+ optIn(call?: AppClientCallParams): Promise<AppCallTransactionResult>;
301
+ /**
302
+ * Issues a close_out call to the app.
303
+ * @param call The call details.
304
+ * @returns The result of the call
305
+ */
306
+ closeOut(call?: AppClientCallParams): Promise<AppCallTransactionResult>;
307
+ /**
308
+ * Issues a clear_state call to the app.
309
+ * @param call The call details.
310
+ * @returns The result of the call
311
+ */
312
+ clearState(call?: AppClientClearStateParams): Promise<AppCallTransactionResult>;
313
+ /**
314
+ * Issues a delete_application call to the app.
315
+ * @param call The call details.
316
+ * @returns The result of the call
317
+ */
318
+ delete(call?: AppClientCallParams): Promise<AppCallTransactionResult>;
319
+ /**
320
+ * Issues a call to the app with the given call type.
321
+ * @param call The call details.
322
+ * @param callType The call type
323
+ * @returns The result of the call
324
+ */
325
+ callOfType(call: AppClientCallParams | undefined, callType: Exclude<AppCallType, 'update_application'> | Exclude<OnApplicationComplete, OnApplicationComplete.UpdateApplicationOC>): Promise<AppCallTransactionResult>;
326
+ /**
327
+ * Funds ALGOs into the app account for this app.
328
+ * @param fund The parameters for the funding or the funding amount
329
+ * @returns The result of the funding
330
+ */
331
+ fundAppAccount(fund: FundAppAccountParams | AlgoAmount): Promise<import("./transaction").SendTransactionResult>;
332
+ /**
333
+ * Returns global state for the current app.
334
+ * @returns The global state
335
+ */
336
+ getGlobalState(): Promise<AppState>;
337
+ /**
338
+ * Returns local state for the given account / account address.
339
+ * @returns The global state
340
+ */
341
+ getLocalState(account: string | SendTransactionFrom): Promise<AppState>;
342
+ /**
343
+ * Returns the names of all current boxes for the current app.
344
+ * @returns The names of the boxes
345
+ */
346
+ getBoxNames(): Promise<BoxName[]>;
347
+ /**
348
+ * Returns the value of the given box for the current app.
349
+ * @param name The name of the box to return either as a string, binary array or `BoxName`
350
+ * @returns The current box value as a byte array
351
+ */
352
+ getBoxValue(name: BoxName | string | Uint8Array): Promise<Uint8Array>;
353
+ /**
354
+ * Returns the value of the given box for the current app.
355
+ * @param name The name of the box to return either as a string, binary array or `BoxName`
356
+ * @param type
357
+ * @returns The current box value as a byte array
358
+ */
359
+ getBoxValueFromABIType(name: BoxName | string | Uint8Array, type: ABIType): Promise<ABIValue>;
360
+ /**
361
+ * Returns the values of all current boxes for the current app.
362
+ * Note: This will issue multiple HTTP requests (one per box) and it's not an atomic operation so values may be out of sync.
363
+ * @param filter Optional filter to filter which boxes' values are returned
364
+ * @returns The (name, value) pair of the boxes with values as raw byte arrays
365
+ */
366
+ getBoxValues(filter?: (name: BoxName) => boolean): Promise<{
367
+ name: BoxName;
368
+ value: Uint8Array;
369
+ }[]>;
370
+ /**
371
+ * Returns the values of all current boxes for the current app decoded using an ABI Type.
372
+ * Note: This will issue multiple HTTP requests (one per box) and it's not an atomic operation so values may be out of sync.
373
+ * @param type The ABI type to decode the values with
374
+ * @param filter Optional filter to filter which boxes' values are returned
375
+ * @returns The (name, value) pair of the boxes with values as the ABI Value
376
+ */
377
+ getBoxValuesFromABIType(type: ABIType, filter?: (name: BoxName) => boolean): Promise<{
378
+ name: BoxName;
379
+ value: ABIValue;
380
+ }[]>;
381
+ /**
382
+ * Returns the arguments for an app call for the given ABI method or raw method specification.
383
+ * @param args The call args specific to this application client
384
+ * @param sender The sender of this call. Will be used to fetch any default argument values if applicable
385
+ * @returns The call args ready to pass into an app call
386
+ */
387
+ getCallArgs(args: AppClientCallArgs | undefined, sender: SendTransactionFrom): Promise<AppCallArgs | undefined>;
388
+ /**
389
+ * Returns the ABI Method parameters for the given method name string for the app represented by this application client instance
390
+ * @param method Either the name of the method or the ABI method spec definition string
391
+ * @returns The ABI method params for the given method
392
+ */
393
+ getABIMethodParams(method: string): ABIMethodParams | undefined;
394
+ /**
395
+ * Returns the ABI Method for the given method name string for the app represented by this application client instance
396
+ * @param method Either the name of the method or the ABI method spec definition string
397
+ * @returns The ABI method for the given method
398
+ */
399
+ getABIMethod(method: string): ABIMethod | undefined;
400
+ /**
401
+ * Gets the reference information for the current application instance.
402
+ * `appId` will be 0 if it can't find an app.
403
+ * @returns The app reference, or if deployed using the `deploy` method, the app metadata too
404
+ */
405
+ getAppReference(): Promise<AppMetadata | AppReference>;
406
+ /**
407
+ * Takes an error that may include a logic error from a smart contract call and re-exposes the error to include source code information via the source map.
408
+ * This is automatically used within `ApplicationClient` but if you pass `skipSending: true` e.g. if doing a group transaction
409
+ * then you can use this in a try/catch block to get better debugging information.
410
+ * @param e The error to parse
411
+ * @param isClear Whether or not the code was running the clear state program
412
+ * @returns The new error, or if there was no logic error or source map then the wrapped error with source details
413
+ */
414
+ exposeLogicError(e: Error, isClear?: boolean): Error;
415
+ }
72
416
  //# sourceMappingURL=app-client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-client.d.ts","sourceRoot":"","sources":["../../src/app-client.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,iBAAiB,EAAE,iCAAiC,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACnI,OAAO,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAEhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,iBAAiB,EAAE,KAAK,EAAE,OAAO,qBAEzE;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,qBAAqB,EAAE,KAAK,EAAE,OAAO,qBAEjF;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,iCAAiC,EAAE,KAAK,EAAE,OAAO,qBAEzG"}
1
+ {"version":3,"file":"app-client.d.ts","sourceRoot":"","sources":["../../src/types/app-client.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,SAAS,CAAA;AAmB7B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAEL,cAAc,EACd,SAAS,EACT,WAAW,EACX,wBAAwB,EACxB,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,OAAO,EAEP,aAAa,EACb,QAAQ,EACR,cAAc,EACd,kBAAkB,EAEnB,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AA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