@aptos-labs/ts-sdk 4.0.0-zeta.0 → 5.0.0

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 (753) hide show
  1. package/dist/common/{account-D4dsN-1K.d.ts → account-BDwBREvt.d.ts} +29 -3
  2. package/dist/common/chunk-6MMUUJHX.js +4 -0
  3. package/dist/common/chunk-6MMUUJHX.js.map +1 -0
  4. package/dist/common/cli/index.d.ts +1 -1
  5. package/dist/common/cli/index.js +1 -480
  6. package/dist/common/cli/index.js.map +1 -1
  7. package/dist/common/index.d.ts +195 -463
  8. package/dist/common/index.js +447 -19859
  9. package/dist/common/index.js.map +1 -1
  10. package/dist/esm/{Ed25519Account-ndmdpFe9.d.mts → Ed25519Account-8ETkcAk_.d.mts} +1 -1
  11. package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
  12. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -66
  13. package/dist/esm/account/AbstractedAccount.d.mts +3 -2
  14. package/dist/esm/account/AbstractedAccount.mjs +1 -62
  15. package/dist/esm/account/Account.d.mts +2 -2
  16. package/dist/esm/account/Account.mjs +1 -62
  17. package/dist/esm/account/AccountUtils.d.mts +3 -3
  18. package/dist/esm/account/AccountUtils.mjs +1 -62
  19. package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
  20. package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -62
  21. package/dist/esm/account/Ed25519Account.d.mts +2 -2
  22. package/dist/esm/account/Ed25519Account.mjs +1 -62
  23. package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
  24. package/dist/esm/account/EphemeralKeyPair.mjs +1 -62
  25. package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
  26. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -62
  27. package/dist/esm/account/KeylessAccount.d.mts +3 -3
  28. package/dist/esm/account/KeylessAccount.mjs +1 -62
  29. package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
  30. package/dist/esm/account/MultiEd25519Account.mjs +1 -62
  31. package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
  32. package/dist/esm/account/MultiKeyAccount.mjs +1 -62
  33. package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
  34. package/dist/esm/account/SingleKeyAccount.mjs +1 -64
  35. package/dist/esm/account/index.d.mts +3 -3
  36. package/dist/esm/account/index.mjs +1 -90
  37. package/dist/esm/account/utils.d.mts +1 -1
  38. package/dist/esm/account/utils.mjs +1 -62
  39. package/dist/esm/{account--Q9z_xMN.d.mts → account-ClxOwjdh.d.mts} +28 -3
  40. package/dist/esm/api/account/abstraction.d.mts +1 -1
  41. package/dist/esm/api/account/abstraction.mjs +1 -62
  42. package/dist/esm/api/account.d.mts +2 -6
  43. package/dist/esm/api/account.mjs +1 -62
  44. package/dist/esm/api/ans.d.mts +2 -2
  45. package/dist/esm/api/ans.mjs +1 -62
  46. package/dist/esm/api/aptos.d.mts +6 -6
  47. package/dist/esm/api/aptos.mjs +1 -62
  48. package/dist/esm/api/aptosConfig.d.mts +1 -1
  49. package/dist/esm/api/aptosConfig.mjs +1 -9
  50. package/dist/esm/api/coin.d.mts +1 -1
  51. package/dist/esm/api/coin.mjs +1 -62
  52. package/dist/esm/api/digitalAsset.d.mts +2 -2
  53. package/dist/esm/api/digitalAsset.mjs +1 -62
  54. package/dist/esm/api/faucet.d.mts +1 -1
  55. package/dist/esm/api/faucet.mjs +1 -62
  56. package/dist/esm/api/fungibleAsset.d.mts +2 -2
  57. package/dist/esm/api/fungibleAsset.mjs +1 -62
  58. package/dist/esm/api/general.d.mts +1 -1
  59. package/dist/esm/api/general.mjs +1 -62
  60. package/dist/esm/api/index.d.mts +3 -4
  61. package/dist/esm/api/index.mjs +1 -67
  62. package/dist/esm/api/keyless.d.mts +3 -3
  63. package/dist/esm/api/keyless.mjs +1 -62
  64. package/dist/esm/api/object.d.mts +1 -1
  65. package/dist/esm/api/object.mjs +1 -62
  66. package/dist/esm/api/staking.d.mts +1 -1
  67. package/dist/esm/api/staking.mjs +1 -62
  68. package/dist/esm/api/table.d.mts +1 -1
  69. package/dist/esm/api/table.mjs +1 -39
  70. package/dist/esm/api/transaction.d.mts +2 -2
  71. package/dist/esm/api/transaction.mjs +1 -62
  72. package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
  73. package/dist/esm/api/transactionSubmission/build.mjs +1 -62
  74. package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
  75. package/dist/esm/api/transactionSubmission/helpers.mjs +1 -9
  76. package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
  77. package/dist/esm/api/transactionSubmission/management.mjs +1 -62
  78. package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
  79. package/dist/esm/api/transactionSubmission/sign.mjs +1 -182
  80. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  81. package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
  82. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -62
  83. package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
  84. package/dist/esm/api/transactionSubmission/submit.mjs +1 -62
  85. package/dist/esm/api/utils.d.mts +1 -1
  86. package/dist/esm/api/utils.mjs +1 -37
  87. package/dist/esm/bcs/consts.d.mts +1 -1
  88. package/dist/esm/bcs/consts.mjs +1 -17
  89. package/dist/esm/bcs/deserializer.d.mts +1 -1
  90. package/dist/esm/bcs/deserializer.mjs +1 -10
  91. package/dist/esm/bcs/index.d.mts +1 -1
  92. package/dist/esm/bcs/index.mjs +1 -60
  93. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
  94. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -12
  95. package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
  96. package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -11
  97. package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
  98. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -26
  99. package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
  100. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -22
  101. package/dist/esm/bcs/serializer.d.mts +1 -1
  102. package/dist/esm/bcs/serializer.mjs +1 -18
  103. package/dist/esm/chunk-35DKMW7Q.mjs +2 -0
  104. package/dist/esm/{chunk-GUA5YTIK.mjs.map → chunk-35DKMW7Q.mjs.map} +1 -1
  105. package/dist/esm/chunk-4RXKALLC.mjs +2 -0
  106. package/dist/esm/{chunk-SFLQPB72.mjs.map → chunk-4RXKALLC.mjs.map} +1 -1
  107. package/dist/esm/chunk-56CNRT2K.mjs +2 -0
  108. package/dist/esm/{chunk-SBB4YEPT.mjs.map → chunk-56CNRT2K.mjs.map} +1 -1
  109. package/dist/esm/chunk-5FI4545P.mjs +2 -0
  110. package/dist/esm/{chunk-DTLPTPJW.mjs.map → chunk-5FI4545P.mjs.map} +1 -1
  111. package/dist/esm/chunk-6WDVDEQZ.mjs +7 -0
  112. package/dist/esm/{chunk-A4IKXI43.mjs.map → chunk-6WDVDEQZ.mjs.map} +1 -1
  113. package/dist/esm/chunk-7DQDJ2SA.mjs +2 -0
  114. package/dist/esm/{chunk-SCWOUBOV.mjs.map → chunk-7DQDJ2SA.mjs.map} +1 -1
  115. package/dist/esm/chunk-A5L76YP7.mjs +2 -0
  116. package/dist/esm/{chunk-PT2QHUB6.mjs.map → chunk-A5L76YP7.mjs.map} +1 -1
  117. package/dist/esm/chunk-B563XRSZ.mjs +2 -0
  118. package/dist/esm/{chunk-Q5W46UAQ.mjs.map → chunk-B563XRSZ.mjs.map} +1 -1
  119. package/dist/esm/chunk-C3Q23D22.mjs +2 -0
  120. package/dist/esm/{chunk-F7W7KS5C.mjs.map → chunk-C3Q23D22.mjs.map} +1 -1
  121. package/dist/esm/chunk-CW35YAMN.mjs +2 -0
  122. package/dist/esm/{chunk-2EQWS4BO.mjs.map → chunk-CW35YAMN.mjs.map} +1 -1
  123. package/dist/esm/chunk-DIGP2ALY.mjs +4 -0
  124. package/dist/esm/chunk-DIGP2ALY.mjs.map +1 -0
  125. package/dist/esm/chunk-DNRUDMMV.mjs +2 -0
  126. package/dist/esm/{chunk-KJY6HBMF.mjs.map → chunk-DNRUDMMV.mjs.map} +1 -1
  127. package/dist/esm/chunk-EBMEXURY.mjs +2 -0
  128. package/dist/esm/{chunk-FJJ3KCPC.mjs.map → chunk-EBMEXURY.mjs.map} +1 -1
  129. package/dist/esm/chunk-EM52Z7T7.mjs +2 -0
  130. package/dist/esm/{chunk-XBBBLYRH.mjs.map → chunk-EM52Z7T7.mjs.map} +1 -1
  131. package/dist/esm/chunk-ES2KP6BS.mjs +2 -0
  132. package/dist/esm/{chunk-EPKBDH2H.mjs.map → chunk-ES2KP6BS.mjs.map} +1 -1
  133. package/dist/esm/chunk-FGFLPH5K.mjs +2 -0
  134. package/dist/esm/{chunk-6ZZZXQX5.mjs.map → chunk-FGFLPH5K.mjs.map} +1 -1
  135. package/dist/esm/chunk-FLZPUYXQ.mjs +2 -0
  136. package/dist/esm/{chunk-YJJUYS67.mjs.map → chunk-FLZPUYXQ.mjs.map} +1 -1
  137. package/dist/esm/chunk-GFFKEZ56.mjs +2 -0
  138. package/dist/esm/{chunk-GREMFKLA.mjs.map → chunk-GFFKEZ56.mjs.map} +1 -1
  139. package/dist/esm/chunk-GMQCQDW4.mjs +2 -0
  140. package/dist/esm/{chunk-QIM243UU.mjs.map → chunk-GMQCQDW4.mjs.map} +1 -1
  141. package/dist/esm/chunk-GOXRBEIJ.mjs +2 -0
  142. package/dist/esm/{chunk-APM7OSLS.mjs.map → chunk-GOXRBEIJ.mjs.map} +1 -1
  143. package/dist/esm/chunk-HNBKTJPN.mjs +2 -0
  144. package/dist/esm/{chunk-SQ3VDIBO.mjs.map → chunk-HNBKTJPN.mjs.map} +1 -1
  145. package/dist/esm/chunk-HNBVYE3N.mjs +2 -0
  146. package/dist/esm/{chunk-DUYTCDXO.mjs.map → chunk-HNBVYE3N.mjs.map} +1 -1
  147. package/dist/esm/chunk-IF4UU2MT.mjs +2 -0
  148. package/dist/esm/{chunk-QPT4BSAB.mjs.map → chunk-IF4UU2MT.mjs.map} +1 -1
  149. package/dist/esm/chunk-IJE2LVZG.mjs +2 -0
  150. package/dist/esm/{chunk-O3EP3HB3.mjs.map → chunk-IJE2LVZG.mjs.map} +1 -1
  151. package/dist/esm/chunk-KDMSOCZY.mjs +2 -0
  152. package/dist/esm/chunk-LWL57YFU.mjs +2 -0
  153. package/dist/esm/{chunk-ORIVGO5I.mjs.map → chunk-LWL57YFU.mjs.map} +1 -1
  154. package/dist/esm/chunk-MT2RJ7H3.mjs +2 -0
  155. package/dist/esm/{chunk-HKXZMGVA.mjs.map → chunk-MT2RJ7H3.mjs.map} +1 -1
  156. package/dist/esm/chunk-N3O3ULF7.mjs +2 -0
  157. package/dist/esm/{chunk-4OAWQT57.mjs.map → chunk-N3O3ULF7.mjs.map} +1 -1
  158. package/dist/esm/chunk-N6YTF76Q.mjs +2 -0
  159. package/dist/esm/{chunk-NATYEXGE.mjs.map → chunk-N6YTF76Q.mjs.map} +1 -1
  160. package/dist/esm/chunk-OLILO7VD.mjs +2 -0
  161. package/dist/esm/{chunk-FHHBIGGL.mjs.map → chunk-OLILO7VD.mjs.map} +1 -1
  162. package/dist/esm/chunk-ORMOQWWH.mjs +2 -0
  163. package/dist/esm/{chunk-TSXVHRQB.mjs.map → chunk-ORMOQWWH.mjs.map} +1 -1
  164. package/dist/esm/chunk-Q4W3WJ2U.mjs +2 -0
  165. package/dist/esm/{chunk-TPJY5GTS.mjs.map → chunk-Q4W3WJ2U.mjs.map} +1 -1
  166. package/dist/esm/chunk-QREVMGQZ.mjs +2 -0
  167. package/dist/esm/{chunk-BQCCGCK4.mjs.map → chunk-QREVMGQZ.mjs.map} +1 -1
  168. package/dist/esm/chunk-RCSJFTST.mjs +2 -0
  169. package/dist/esm/{chunk-3WEOSEUE.mjs.map → chunk-RCSJFTST.mjs.map} +1 -1
  170. package/dist/esm/chunk-RGKRCZ36.mjs +4 -0
  171. package/dist/esm/{chunk-P6RWWRGG.mjs.map → chunk-RGKRCZ36.mjs.map} +1 -1
  172. package/dist/esm/chunk-ROT6S6BM.mjs +2 -0
  173. package/dist/esm/{chunk-UKXKN5YN.mjs.map → chunk-ROT6S6BM.mjs.map} +1 -1
  174. package/dist/esm/chunk-RQX6JOEN.mjs +2 -0
  175. package/dist/esm/{chunk-WZD3K77H.mjs.map → chunk-RQX6JOEN.mjs.map} +1 -1
  176. package/dist/esm/chunk-STY74NUA.mjs +2 -0
  177. package/dist/esm/{chunk-GHQTJGG6.mjs.map → chunk-STY74NUA.mjs.map} +1 -1
  178. package/dist/esm/chunk-TGRLDWXV.mjs +2 -0
  179. package/dist/esm/{chunk-UAXZDOSV.mjs.map → chunk-TGRLDWXV.mjs.map} +1 -1
  180. package/dist/esm/chunk-TOBQ5UE6.mjs +2 -0
  181. package/dist/esm/{chunk-IBRCEHIR.mjs.map → chunk-TOBQ5UE6.mjs.map} +1 -1
  182. package/dist/esm/{chunk-A5FS7NAD.mjs → chunk-UL777LTI.mjs} +31 -380
  183. package/dist/esm/{chunk-A5FS7NAD.mjs.map → chunk-UL777LTI.mjs.map} +1 -1
  184. package/dist/esm/chunk-V74WPKSY.mjs +2 -0
  185. package/dist/esm/{chunk-CYKMZPCW.mjs.map → chunk-V74WPKSY.mjs.map} +1 -1
  186. package/dist/esm/chunk-WCMW2L3P.mjs +2 -0
  187. package/dist/esm/{chunk-MOQKSDHO.mjs.map → chunk-WCMW2L3P.mjs.map} +1 -1
  188. package/dist/esm/chunk-WSR5EBJM.mjs +2 -0
  189. package/dist/esm/{chunk-ITS22VZT.mjs.map → chunk-WSR5EBJM.mjs.map} +1 -1
  190. package/dist/esm/chunk-XJJVJOX5.mjs +2 -0
  191. package/dist/esm/{chunk-53SXUNRK.mjs.map → chunk-XJJVJOX5.mjs.map} +1 -1
  192. package/dist/esm/chunk-XKUIMGKU.mjs +2 -0
  193. package/dist/esm/{chunk-55VEYGKK.mjs.map → chunk-XKUIMGKU.mjs.map} +1 -1
  194. package/dist/esm/chunk-YOZBVVKL.mjs +2 -0
  195. package/dist/esm/{chunk-BEYIOC2H.mjs.map → chunk-YOZBVVKL.mjs.map} +1 -1
  196. package/dist/esm/chunk-ZP4DWSQA.mjs +2 -0
  197. package/dist/esm/chunk-ZP4DWSQA.mjs.map +1 -0
  198. package/dist/esm/cli/index.d.mts +1 -1
  199. package/dist/esm/cli/index.mjs +1 -21
  200. package/dist/esm/cli/localNode.mjs +1 -17
  201. package/dist/esm/cli/move.d.mts +1 -1
  202. package/dist/esm/cli/move.mjs +1 -7
  203. package/dist/esm/client/core.d.mts +1 -1
  204. package/dist/esm/client/core.mjs +1 -31
  205. package/dist/esm/client/get.d.mts +1 -1
  206. package/dist/esm/client/get.mjs +1 -40
  207. package/dist/esm/client/index.d.mts +1 -1
  208. package/dist/esm/client/index.mjs +1 -60
  209. package/dist/esm/client/post.d.mts +1 -1
  210. package/dist/esm/client/post.mjs +1 -40
  211. package/dist/esm/core/account/index.d.mts +1 -1
  212. package/dist/esm/core/account/index.mjs +1 -21
  213. package/dist/esm/core/account/utils/address.d.mts +1 -1
  214. package/dist/esm/core/account/utils/address.mjs +1 -19
  215. package/dist/esm/core/account/utils/index.d.mts +1 -1
  216. package/dist/esm/core/account/utils/index.mjs +1 -20
  217. package/dist/esm/core/accountAddress.d.mts +1 -1
  218. package/dist/esm/core/accountAddress.mjs +1 -16
  219. package/dist/esm/core/authenticationKey.d.mts +1 -1
  220. package/dist/esm/core/authenticationKey.mjs +1 -15
  221. package/dist/esm/core/common.mjs +1 -7
  222. package/dist/esm/core/crypto/abstraction.d.mts +1 -1
  223. package/dist/esm/core/crypto/abstraction.mjs +1 -26
  224. package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
  225. package/dist/esm/core/crypto/deserializationUtils.mjs +1 -64
  226. package/dist/esm/core/crypto/ed25519.d.mts +1 -1
  227. package/dist/esm/core/crypto/ed25519.mjs +1 -68
  228. package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
  229. package/dist/esm/core/crypto/ephemeral.mjs +1 -64
  230. package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
  231. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -62
  232. package/dist/esm/core/crypto/hdKey.mjs +1 -25
  233. package/dist/esm/core/crypto/index.d.mts +2 -2
  234. package/dist/esm/core/crypto/index.mjs +1 -196
  235. package/dist/esm/core/crypto/keyless.d.mts +2 -2
  236. package/dist/esm/core/crypto/keyless.mjs +1 -110
  237. package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
  238. package/dist/esm/core/crypto/multiEd25519.mjs +1 -64
  239. package/dist/esm/core/crypto/multiKey.d.mts +1 -1
  240. package/dist/esm/core/crypto/multiKey.mjs +1 -66
  241. package/dist/esm/core/crypto/poseidon.mjs +1 -15
  242. package/dist/esm/core/crypto/privateKey.d.mts +1 -1
  243. package/dist/esm/core/crypto/privateKey.mjs +1 -12
  244. package/dist/esm/core/crypto/proof.d.mts +1 -1
  245. package/dist/esm/core/crypto/proof.mjs +1 -20
  246. package/dist/esm/core/crypto/publicKey.d.mts +1 -1
  247. package/dist/esm/core/crypto/publicKey.mjs +1 -22
  248. package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
  249. package/dist/esm/core/crypto/secp256k1.mjs +1 -66
  250. package/dist/esm/core/crypto/signature.d.mts +1 -1
  251. package/dist/esm/core/crypto/signature.mjs +1 -20
  252. package/dist/esm/core/crypto/singleKey.d.mts +1 -1
  253. package/dist/esm/core/crypto/singleKey.mjs +1 -64
  254. package/dist/esm/core/crypto/types.d.mts +1 -1
  255. package/dist/esm/core/crypto/types.mjs +1 -1
  256. package/dist/esm/core/crypto/utils.d.mts +1 -1
  257. package/dist/esm/core/crypto/utils.mjs +1 -66
  258. package/dist/esm/core/hex.d.mts +1 -1
  259. package/dist/esm/core/hex.mjs +1 -12
  260. package/dist/esm/core/index.d.mts +2 -2
  261. package/dist/esm/core/index.mjs +1 -221
  262. package/dist/esm/errors/index.d.mts +1 -1
  263. package/dist/esm/errors/index.mjs +1 -26
  264. package/dist/esm/{federatedKeyless-CiyplsOB.d.mts → federatedKeyless-CUPEnP-W.d.mts} +1 -1
  265. package/dist/esm/index.d.mts +4 -5
  266. package/dist/esm/index.mjs +1 -716
  267. package/dist/esm/internal/abstraction.d.mts +1 -1
  268. package/dist/esm/internal/abstraction.mjs +1 -66
  269. package/dist/esm/internal/account.d.mts +2 -2
  270. package/dist/esm/internal/account.mjs +1 -108
  271. package/dist/esm/internal/ans.d.mts +2 -2
  272. package/dist/esm/internal/ans.mjs +1 -100
  273. package/dist/esm/internal/coin.d.mts +1 -1
  274. package/dist/esm/internal/coin.mjs +1 -62
  275. package/dist/esm/internal/digitalAsset.d.mts +2 -2
  276. package/dist/esm/internal/digitalAsset.mjs +1 -108
  277. package/dist/esm/internal/faucet.d.mts +1 -1
  278. package/dist/esm/internal/faucet.mjs +1 -62
  279. package/dist/esm/internal/fungibleAsset.d.mts +2 -2
  280. package/dist/esm/internal/fungibleAsset.mjs +1 -70
  281. package/dist/esm/internal/general.d.mts +1 -1
  282. package/dist/esm/internal/general.mjs +1 -44
  283. package/dist/esm/internal/keyless.d.mts +3 -3
  284. package/dist/esm/internal/keyless.mjs +1 -68
  285. package/dist/esm/internal/object.d.mts +1 -1
  286. package/dist/esm/internal/object.mjs +1 -64
  287. package/dist/esm/internal/staking.d.mts +1 -1
  288. package/dist/esm/internal/staking.mjs +1 -66
  289. package/dist/esm/internal/table.d.mts +1 -1
  290. package/dist/esm/internal/table.mjs +1 -39
  291. package/dist/esm/internal/transaction.d.mts +1 -1
  292. package/dist/esm/internal/transaction.mjs +1 -58
  293. package/dist/esm/internal/transactionSubmission.d.mts +2 -2
  294. package/dist/esm/internal/transactionSubmission.mjs +1 -82
  295. package/dist/esm/internal/utils/index.d.mts +1 -1
  296. package/dist/esm/internal/utils/index.mjs +1 -37
  297. package/dist/esm/internal/utils/utils.d.mts +1 -1
  298. package/dist/esm/internal/utils/utils.mjs +1 -36
  299. package/dist/esm/internal/view.d.mts +1 -1
  300. package/dist/esm/internal/view.mjs +1 -64
  301. package/dist/esm/transactions/authenticator/account.d.mts +1 -1
  302. package/dist/esm/transactions/authenticator/account.mjs +1 -74
  303. package/dist/esm/transactions/authenticator/index.d.mts +1 -1
  304. package/dist/esm/transactions/authenticator/index.mjs +1 -86
  305. package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
  306. package/dist/esm/transactions/authenticator/transaction.mjs +1 -72
  307. package/dist/esm/transactions/index.d.mts +1 -1
  308. package/dist/esm/transactions/index.mjs +1 -277
  309. package/dist/esm/transactions/instances/chainId.d.mts +1 -1
  310. package/dist/esm/transactions/instances/chainId.mjs +1 -11
  311. package/dist/esm/transactions/instances/identifier.d.mts +1 -1
  312. package/dist/esm/transactions/instances/identifier.mjs +1 -11
  313. package/dist/esm/transactions/instances/index.d.mts +1 -1
  314. package/dist/esm/transactions/instances/index.mjs +1 -119
  315. package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
  316. package/dist/esm/transactions/instances/moduleId.mjs +1 -62
  317. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
  318. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -62
  319. package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
  320. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -68
  321. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
  322. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -21
  323. package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
  324. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -62
  325. package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
  326. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -62
  327. package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
  328. package/dist/esm/transactions/instances/transactionArgument.mjs +1 -1
  329. package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
  330. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -94
  331. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
  332. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -62
  333. package/dist/esm/transactions/management/asyncQueue.mjs +1 -9
  334. package/dist/esm/transactions/management/index.d.mts +2 -2
  335. package/dist/esm/transactions/management/index.mjs +1 -68
  336. package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
  337. package/dist/esm/transactions/management/transactionWorker.mjs +1 -66
  338. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
  339. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -100
  340. package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
  341. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -148
  342. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
  343. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -76
  344. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
  345. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -68
  346. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
  347. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -84
  348. package/dist/esm/transactions/typeTag/index.d.mts +1 -1
  349. package/dist/esm/transactions/typeTag/index.mjs +1 -98
  350. package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
  351. package/dist/esm/transactions/typeTag/parser.mjs +1 -66
  352. package/dist/esm/transactions/types.d.mts +1 -1
  353. package/dist/esm/transactions/types.mjs +1 -1
  354. package/dist/esm/types/abstraction.d.mts +9 -3
  355. package/dist/esm/types/abstraction.mjs +1 -7
  356. package/dist/esm/types/generated/queries.mjs +1 -65
  357. package/dist/esm/types/generated/types.mjs +1 -758
  358. package/dist/esm/types/generated/types.mjs.map +1 -1
  359. package/dist/esm/types/index.d.mts +1 -1
  360. package/dist/esm/types/index.mjs +1 -83
  361. package/dist/esm/types/indexer.mjs +1 -1
  362. package/dist/esm/types/types.d.mts +1 -1
  363. package/dist/esm/types/types.mjs +1 -81
  364. package/dist/esm/utils/apiEndpoints.mjs +1 -21
  365. package/dist/esm/utils/const.d.mts +2 -1
  366. package/dist/esm/utils/const.mjs +1 -25
  367. package/dist/esm/utils/helpers.d.mts +1 -1
  368. package/dist/esm/utils/helpers.mjs +1 -42
  369. package/dist/esm/utils/index.d.mts +2 -2
  370. package/dist/esm/utils/index.mjs +1 -93
  371. package/dist/esm/utils/memoize.mjs +1 -9
  372. package/dist/esm/utils/normalizeBundle.d.mts +1 -1
  373. package/dist/esm/utils/normalizeBundle.mjs +1 -20
  374. package/dist/esm/version.d.mts +1 -1
  375. package/dist/esm/version.mjs +1 -7
  376. package/package.json +26 -26
  377. package/src/account/AbstractedAccount.ts +16 -3
  378. package/src/account/DerivableAbstractedAccount.ts +3 -1
  379. package/src/api/account.ts +4 -16
  380. package/src/api/index.ts +0 -1
  381. package/src/transactions/authenticator/account.ts +71 -17
  382. package/src/types/abstraction.ts +9 -2
  383. package/src/utils/const.ts +2 -0
  384. package/src/version.ts +1 -1
  385. package/dist/common/chunk-MU4IJVW5.js +0 -1390
  386. package/dist/common/chunk-MU4IJVW5.js.map +0 -1
  387. package/dist/esm/api/manager.d.mts +0 -313
  388. package/dist/esm/api/manager.mjs +0 -63
  389. package/dist/esm/chunk-2EQWS4BO.mjs +0 -15
  390. package/dist/esm/chunk-3WEOSEUE.mjs +0 -221
  391. package/dist/esm/chunk-4OAWQT57.mjs +0 -281
  392. package/dist/esm/chunk-53SXUNRK.mjs +0 -12
  393. package/dist/esm/chunk-55VEYGKK.mjs +0 -46
  394. package/dist/esm/chunk-6ZZZXQX5.mjs +0 -138
  395. package/dist/esm/chunk-A4IKXI43.mjs +0 -339
  396. package/dist/esm/chunk-APM7OSLS.mjs +0 -122
  397. package/dist/esm/chunk-BEYIOC2H.mjs +0 -34
  398. package/dist/esm/chunk-BQCCGCK4.mjs +0 -22
  399. package/dist/esm/chunk-CYKMZPCW.mjs +0 -71
  400. package/dist/esm/chunk-DTLPTPJW.mjs +0 -7
  401. package/dist/esm/chunk-DUYTCDXO.mjs +0 -29
  402. package/dist/esm/chunk-EPKBDH2H.mjs +0 -177
  403. package/dist/esm/chunk-F7W7KS5C.mjs +0 -52
  404. package/dist/esm/chunk-FHHBIGGL.mjs +0 -43
  405. package/dist/esm/chunk-FJJ3KCPC.mjs +0 -376
  406. package/dist/esm/chunk-GHQTJGG6.mjs +0 -196
  407. package/dist/esm/chunk-GREMFKLA.mjs +0 -84
  408. package/dist/esm/chunk-GUA5YTIK.mjs +0 -362
  409. package/dist/esm/chunk-HKXZMGVA.mjs +0 -73
  410. package/dist/esm/chunk-HXS6ZS4S.mjs +0 -16311
  411. package/dist/esm/chunk-HXS6ZS4S.mjs.map +0 -1
  412. package/dist/esm/chunk-IBRCEHIR.mjs +0 -77
  413. package/dist/esm/chunk-ITS22VZT.mjs +0 -48
  414. package/dist/esm/chunk-KJY6HBMF.mjs +0 -114
  415. package/dist/esm/chunk-MOQKSDHO.mjs +0 -33
  416. package/dist/esm/chunk-NATYEXGE.mjs +0 -45
  417. package/dist/esm/chunk-O3EP3HB3.mjs +0 -257
  418. package/dist/esm/chunk-ORIVGO5I.mjs +0 -73
  419. package/dist/esm/chunk-OWG3TOG6.mjs +0 -11
  420. package/dist/esm/chunk-OWG3TOG6.mjs.map +0 -1
  421. package/dist/esm/chunk-P6RWWRGG.mjs +0 -440
  422. package/dist/esm/chunk-PT2QHUB6.mjs +0 -96
  423. package/dist/esm/chunk-Q5W46UAQ.mjs +0 -123
  424. package/dist/esm/chunk-QIM243UU.mjs +0 -89
  425. package/dist/esm/chunk-QPT4BSAB.mjs +0 -20
  426. package/dist/esm/chunk-SAWN7RJP.mjs +0 -15
  427. package/dist/esm/chunk-SAWN7RJP.mjs.map +0 -1
  428. package/dist/esm/chunk-SBB4YEPT.mjs +0 -17
  429. package/dist/esm/chunk-SCWOUBOV.mjs +0 -101
  430. package/dist/esm/chunk-SFLQPB72.mjs +0 -63
  431. package/dist/esm/chunk-SQ3VDIBO.mjs +0 -47
  432. package/dist/esm/chunk-TPJY5GTS.mjs +0 -502
  433. package/dist/esm/chunk-TSXVHRQB.mjs +0 -216
  434. package/dist/esm/chunk-UAXZDOSV.mjs +0 -19
  435. package/dist/esm/chunk-UKXKN5YN.mjs +0 -72
  436. package/dist/esm/chunk-WZD3K77H.mjs +0 -53
  437. package/dist/esm/chunk-XBBBLYRH.mjs +0 -66
  438. package/dist/esm/chunk-YJJUYS67.mjs +0 -329
  439. package/src/api/manager.ts +0 -872
  440. package/src/internal/move/jwks/build/jwk/BuildInfo.yaml +0 -56
  441. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/account.mv +0 -0
  442. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator.mv +0 -0
  443. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_factory.mv +0 -0
  444. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aggregator_v2.mv +0 -0
  445. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_account.mv +0 -0
  446. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_coin.mv +0 -0
  447. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/aptos_governance.mv +0 -0
  448. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/block.mv +0 -0
  449. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_id.mv +0 -0
  450. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/chain_status.mv +0 -0
  451. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/code.mv +0 -0
  452. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/coin.mv +0 -0
  453. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/config_buffer.mv +0 -0
  454. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/consensus_config.mv +0 -0
  455. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/create_signer.mv +0 -0
  456. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/delegation_pool.mv +0 -0
  457. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dispatchable_fungible_asset.mv +0 -0
  458. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/dkg.mv +0 -0
  459. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/event.mv +0 -0
  460. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/execution_config.mv +0 -0
  461. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/function_info.mv +0 -0
  462. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/fungible_asset.mv +0 -0
  463. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/gas_schedule.mv +0 -0
  464. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/genesis.mv +0 -0
  465. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/governance_proposal.mv +0 -0
  466. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/guid.mv +0 -0
  467. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwk_consensus_config.mv +0 -0
  468. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/jwks.mv +0 -0
  469. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/keyless_account.mv +0 -0
  470. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/managed_coin.mv +0 -0
  471. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/multisig_account.mv +0 -0
  472. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object.mv +0 -0
  473. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/object_code_deployment.mv +0 -0
  474. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/optional_aggregator.mv +0 -0
  475. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/primary_fungible_store.mv +0 -0
  476. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness.mv +0 -0
  477. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_api_v0_config.mv +0 -0
  478. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config.mv +0 -0
  479. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/randomness_config_seqnum.mv +0 -0
  480. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration.mv +0 -0
  481. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_state.mv +0 -0
  482. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/reconfiguration_with_dkg.mv +0 -0
  483. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/resource_account.mv +0 -0
  484. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/stake.mv +0 -0
  485. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_config.mv +0 -0
  486. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_contract.mv +0 -0
  487. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/staking_proxy.mv +0 -0
  488. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/state_storage.mv +0 -0
  489. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/storage_gas.mv +0 -0
  490. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/system_addresses.mv +0 -0
  491. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/timestamp.mv +0 -0
  492. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_context.mv +0 -0
  493. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_fee.mv +0 -0
  494. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/transaction_validation.mv +0 -0
  495. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/util.mv +0 -0
  496. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/validator_consensus_info.mv +0 -0
  497. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/version.mv +0 -0
  498. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/vesting.mv +0 -0
  499. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosFramework/voting.mv +0 -0
  500. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/any.mv +0 -0
  501. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/aptos_hash.mv +0 -0
  502. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/big_vector.mv +0 -0
  503. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381.mv +0 -0
  504. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bls12381_algebra.mv +0 -0
  505. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/bn254_algebra.mv +0 -0
  506. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/capability.mv +0 -0
  507. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/comparator.mv +0 -0
  508. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/copyable_any.mv +0 -0
  509. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/crypto_algebra.mv +0 -0
  510. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/debug.mv +0 -0
  511. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ed25519.mv +0 -0
  512. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/fixed_point64.mv +0 -0
  513. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/from_bcs.mv +0 -0
  514. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math128.mv +0 -0
  515. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math64.mv +0 -0
  516. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed.mv +0 -0
  517. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/math_fixed64.mv +0 -0
  518. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/multi_ed25519.mv +0 -0
  519. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64.mv +0 -0
  520. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/pool_u64_unbound.mv +0 -0
  521. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255.mv +0 -0
  522. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_bulletproofs.mv +0 -0
  523. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_elgamal.mv +0 -0
  524. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/ristretto255_pedersen.mv +0 -0
  525. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/secp256k1.mv +0 -0
  526. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/simple_map.mv +0 -0
  527. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_table.mv +0 -0
  528. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/smart_vector.mv +0 -0
  529. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/string_utils.mv +0 -0
  530. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table.mv +0 -0
  531. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/table_with_length.mv +0 -0
  532. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/AptosStdlib/type_info.mv +0 -0
  533. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/acl.mv +0 -0
  534. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bcs.mv +0 -0
  535. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/bit_vector.mv +0 -0
  536. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/error.mv +0 -0
  537. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/features.mv +0 -0
  538. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/fixed_point32.mv +0 -0
  539. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/hash.mv +0 -0
  540. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/option.mv +0 -0
  541. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/signer.mv +0 -0
  542. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/string.mv +0 -0
  543. package/src/internal/move/jwks/build/jwk/bytecode_modules/dependencies/MoveStdlib/vector.mv +0 -0
  544. package/src/internal/move/jwks/build/jwk/bytecode_scripts/main.mv +0 -0
  545. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/account.mvsm +0 -0
  546. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator.mvsm +0 -0
  547. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_factory.mvsm +0 -0
  548. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aggregator_v2.mvsm +0 -0
  549. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_account.mvsm +0 -0
  550. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_coin.mvsm +0 -0
  551. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/aptos_governance.mvsm +0 -0
  552. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/block.mvsm +0 -0
  553. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_id.mvsm +0 -0
  554. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/chain_status.mvsm +0 -0
  555. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/code.mvsm +0 -0
  556. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/coin.mvsm +0 -0
  557. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/config_buffer.mvsm +0 -0
  558. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/consensus_config.mvsm +0 -0
  559. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/create_signer.mvsm +0 -0
  560. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/delegation_pool.mvsm +0 -0
  561. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dispatchable_fungible_asset.mvsm +0 -0
  562. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/dkg.mvsm +0 -0
  563. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/event.mvsm +0 -0
  564. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/execution_config.mvsm +0 -0
  565. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/function_info.mvsm +0 -0
  566. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/fungible_asset.mvsm +0 -0
  567. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/gas_schedule.mvsm +0 -0
  568. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/genesis.mvsm +0 -0
  569. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/governance_proposal.mvsm +0 -0
  570. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/guid.mvsm +0 -0
  571. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwk_consensus_config.mvsm +0 -0
  572. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/jwks.mvsm +0 -0
  573. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/keyless_account.mvsm +0 -0
  574. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/managed_coin.mvsm +0 -0
  575. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/multisig_account.mvsm +0 -0
  576. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object.mvsm +0 -0
  577. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/object_code_deployment.mvsm +0 -0
  578. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/optional_aggregator.mvsm +0 -0
  579. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/primary_fungible_store.mvsm +0 -0
  580. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness.mvsm +0 -0
  581. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_api_v0_config.mvsm +0 -0
  582. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config.mvsm +0 -0
  583. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/randomness_config_seqnum.mvsm +0 -0
  584. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration.mvsm +0 -0
  585. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_state.mvsm +0 -0
  586. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/reconfiguration_with_dkg.mvsm +0 -0
  587. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/resource_account.mvsm +0 -0
  588. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/stake.mvsm +0 -0
  589. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_config.mvsm +0 -0
  590. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_contract.mvsm +0 -0
  591. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/staking_proxy.mvsm +0 -0
  592. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/state_storage.mvsm +0 -0
  593. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/storage_gas.mvsm +0 -0
  594. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/system_addresses.mvsm +0 -0
  595. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/timestamp.mvsm +0 -0
  596. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_context.mvsm +0 -0
  597. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_fee.mvsm +0 -0
  598. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/transaction_validation.mvsm +0 -0
  599. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/util.mvsm +0 -0
  600. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/validator_consensus_info.mvsm +0 -0
  601. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/version.mvsm +0 -0
  602. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/vesting.mvsm +0 -0
  603. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosFramework/voting.mvsm +0 -0
  604. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/any.mvsm +0 -0
  605. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/aptos_hash.mvsm +0 -0
  606. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/big_vector.mvsm +0 -0
  607. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381.mvsm +0 -0
  608. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bls12381_algebra.mvsm +0 -0
  609. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/bn254_algebra.mvsm +0 -0
  610. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/capability.mvsm +0 -0
  611. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/comparator.mvsm +0 -0
  612. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/copyable_any.mvsm +0 -0
  613. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/crypto_algebra.mvsm +0 -0
  614. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/debug.mvsm +0 -0
  615. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ed25519.mvsm +0 -0
  616. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/fixed_point64.mvsm +0 -0
  617. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/from_bcs.mvsm +0 -0
  618. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math128.mvsm +0 -0
  619. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math64.mvsm +0 -0
  620. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed.mvsm +0 -0
  621. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/math_fixed64.mvsm +0 -0
  622. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/multi_ed25519.mvsm +0 -0
  623. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64.mvsm +0 -0
  624. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/pool_u64_unbound.mvsm +0 -0
  625. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255.mvsm +0 -0
  626. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_bulletproofs.mvsm +0 -0
  627. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_elgamal.mvsm +0 -0
  628. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/ristretto255_pedersen.mvsm +0 -0
  629. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/secp256k1.mvsm +0 -0
  630. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/simple_map.mvsm +0 -0
  631. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_table.mvsm +0 -0
  632. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/smart_vector.mvsm +0 -0
  633. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/string_utils.mvsm +0 -0
  634. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table.mvsm +0 -0
  635. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/table_with_length.mvsm +0 -0
  636. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/AptosStdlib/type_info.mvsm +0 -0
  637. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/acl.mvsm +0 -0
  638. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bcs.mvsm +0 -0
  639. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/bit_vector.mvsm +0 -0
  640. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/error.mvsm +0 -0
  641. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/features.mvsm +0 -0
  642. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/fixed_point32.mvsm +0 -0
  643. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/hash.mvsm +0 -0
  644. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/option.mvsm +0 -0
  645. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/signer.mvsm +0 -0
  646. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/string.mvsm +0 -0
  647. package/src/internal/move/jwks/build/jwk/source_maps/dependencies/MoveStdlib/vector.mvsm +0 -0
  648. package/src/internal/move/jwks/build/jwk/source_maps/main.mvsm +0 -0
  649. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/account.move +0 -1533
  650. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator.move +0 -48
  651. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_factory.move +0 -66
  652. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aggregator_v2.move +0 -280
  653. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_account.move +0 -443
  654. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_coin.move +0 -204
  655. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/aptos_governance.move +0 -1387
  656. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/block.move +0 -394
  657. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_id.move +0 -41
  658. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/chain_status.move +0 -48
  659. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/code.move +0 -367
  660. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/coin.move +0 -2214
  661. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/config_buffer.move +0 -101
  662. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/consensus_config.move +0 -77
  663. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/create_signer.move +0 -21
  664. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/delegation_pool.move +0 -5568
  665. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dispatchable_fungible_asset.move +0 -228
  666. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/dkg.move +0 -121
  667. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/event.move +0 -92
  668. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/execution_config.move +0 -66
  669. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/function_info.move +0 -100
  670. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/fungible_asset.move +0 -1566
  671. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/gas_schedule.move +0 -176
  672. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/genesis.move +0 -550
  673. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/governance_proposal.move +0 -23
  674. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/guid.move +0 -68
  675. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwk_consensus_config.move +0 -148
  676. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/jwks.move +0 -817
  677. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/keyless_account.move +0 -312
  678. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/managed_coin.move +0 -205
  679. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/multisig_account.move +0 -2477
  680. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object.move +0 -1073
  681. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/object_code_deployment.move +0 -147
  682. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/optional_aggregator.move +0 -295
  683. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/primary_fungible_store.move +0 -405
  684. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness.move +0 -574
  685. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_api_v0_config.move +0 -57
  686. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config.move +0 -153
  687. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/randomness_config_seqnum.move +0 -49
  688. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration.move +0 -237
  689. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_state.move +0 -132
  690. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/reconfiguration_with_dkg.move +0 -69
  691. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/resource_account.move +0 -267
  692. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/stake.move +0 -3286
  693. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_config.move +0 -686
  694. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_contract.move +0 -1618
  695. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/staking_proxy.move +0 -228
  696. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/state_storage.move +0 -90
  697. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/storage_gas.move +0 -622
  698. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/system_addresses.move +0 -82
  699. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/timestamp.move +0 -88
  700. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_context.move +0 -262
  701. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_fee.move +0 -457
  702. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/transaction_validation.move +0 -501
  703. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/util.move +0 -16
  704. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/validator_consensus_info.move +0 -42
  705. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/version.move +0 -115
  706. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/vesting.move +0 -2183
  707. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosFramework/voting.move +0 -1279
  708. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/any.move +0 -57
  709. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/aptos_hash.move +0 -253
  710. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/big_vector.move +0 -469
  711. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381.move +0 -985
  712. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bls12381_algebra.move +0 -802
  713. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/bn254_algebra.move +0 -855
  714. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/capability.move +0 -193
  715. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/comparator.move +0 -173
  716. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/copyable_any.move +0 -45
  717. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/crypto_algebra.move +0 -351
  718. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/debug.move +0 -278
  719. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ed25519.move +0 -262
  720. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/fixed_point64.move +0 -447
  721. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/from_bcs.move +0 -91
  722. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math128.move +0 -381
  723. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math64.move +0 -336
  724. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed.move +0 -139
  725. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/math_fixed64.move +0 -142
  726. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/multi_ed25519.move +0 -482
  727. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64.move +0 -571
  728. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/pool_u64_unbound.move +0 -270
  729. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255.move +0 -1310
  730. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_bulletproofs.move +0 -253
  731. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_elgamal.move +0 -234
  732. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/ristretto255_pedersen.move +0 -158
  733. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/secp256k1.move +0 -114
  734. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/simple_map.move +0 -319
  735. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_table.move +0 -769
  736. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/smart_vector.move +0 -766
  737. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/string_utils.move +0 -148
  738. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table.move +0 -152
  739. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/table_with_length.move +0 -141
  740. package/src/internal/move/jwks/build/jwk/sources/dependencies/AptosStdlib/type_info.move +0 -351
  741. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/acl.move +0 -46
  742. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bcs.move +0 -27
  743. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/bit_vector.move +0 -239
  744. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/error.move +0 -88
  745. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/features.move +0 -780
  746. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/fixed_point32.move +0 -295
  747. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/hash.move +0 -8
  748. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/option.move +0 -356
  749. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/signer.move +0 -21
  750. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/string.move +0 -93
  751. package/src/internal/move/jwks/build/jwk/sources/dependencies/MoveStdlib/vector.move +0 -669
  752. package/src/internal/move/jwks/build/jwk/sources/main.move +0 -20
  753. /package/dist/esm/{api/manager.mjs.map → chunk-KDMSOCZY.mjs.map} +0 -0
@@ -1,440 +0,0 @@
1
- import {
2
- Serializable
3
- } from "./chunk-FJJ3KCPC.mjs";
4
- import {
5
- ParsingError
6
- } from "./chunk-QPT4BSAB.mjs";
7
-
8
- // src/core/accountAddress.ts
9
- import { bytesToHex, hexToBytes } from "@noble/hashes/utils";
10
- var AddressInvalidReason = /* @__PURE__ */ ((AddressInvalidReason2) => {
11
- AddressInvalidReason2["INCORRECT_NUMBER_OF_BYTES"] = "incorrect_number_of_bytes";
12
- AddressInvalidReason2["INVALID_HEX_CHARS"] = "invalid_hex_chars";
13
- AddressInvalidReason2["TOO_SHORT"] = "too_short";
14
- AddressInvalidReason2["TOO_LONG"] = "too_long";
15
- AddressInvalidReason2["LEADING_ZERO_X_REQUIRED"] = "leading_zero_x_required";
16
- AddressInvalidReason2["LONG_FORM_REQUIRED_UNLESS_SPECIAL"] = "long_form_required_unless_special";
17
- AddressInvalidReason2["INVALID_PADDING_ZEROES"] = "INVALID_PADDING_ZEROES";
18
- AddressInvalidReason2["INVALID_PADDING_STRICTNESS"] = "INVALID_PADDING_STRICTNESS";
19
- return AddressInvalidReason2;
20
- })(AddressInvalidReason || {});
21
- var _AccountAddress = class _AccountAddress extends Serializable {
22
- /**
23
- * Creates an instance of AccountAddress from a Uint8Array.
24
- *
25
- * This function ensures that the input data is exactly 32 bytes long, which is required for a valid account address.
26
- *
27
- * @param input A Uint8Array representing an account address.
28
- * @throws ParsingError if the input length is not equal to 32 bytes.
29
- * @group Implementation
30
- * @category Serialization
31
- */
32
- constructor(input) {
33
- super();
34
- if (input.length !== _AccountAddress.LENGTH) {
35
- throw new ParsingError(
36
- "AccountAddress data should be exactly 32 bytes long",
37
- "incorrect_number_of_bytes" /* INCORRECT_NUMBER_OF_BYTES */
38
- );
39
- }
40
- this.data = input;
41
- }
42
- /**
43
- * Determines if the address is classified as special, which is defined as 0x0 to 0xf inclusive.
44
- * In other words, the last byte of the address must be < 0b10000 (16)
45
- * and every other byte must be zero.
46
- *
47
- * For more information on how special addresses are defined, see AIP-40:
48
- * https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-40.md.
49
- *
50
- * @returns true if the address is special, false otherwise.
51
- * @group Implementation
52
- * @category Serialization
53
- */
54
- isSpecial() {
55
- return this.data.slice(0, this.data.length - 1).every((byte) => byte === 0) && this.data[this.data.length - 1] < 16;
56
- }
57
- // ===
58
- // Methods for representing an instance of AccountAddress as other types.
59
- // ===
60
- /**
61
- * Return the AccountAddress as a string as per AIP-40.
62
- * https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-40.md.
63
- * This representation returns special addresses in SHORT form (0xf)
64
- * and other addresses in LONG form (0x + 64 characters).
65
- *
66
- * @returns AccountAddress as a string conforming to AIP-40.
67
- * @group Implementation
68
- * @category Serialization
69
- */
70
- toString() {
71
- return `0x${this.toStringWithoutPrefix()}`;
72
- }
73
- /**
74
- * Return the AccountAddress as a string conforming to AIP-40 but without the leading 0x.
75
- *
76
- * NOTE: Prefer to use `toString` where possible.
77
- *
78
- * @returns AccountAddress as a string without the leading 0x.
79
- * @group Implementation
80
- * @category Serialization
81
- */
82
- toStringWithoutPrefix() {
83
- let hex = bytesToHex(this.data);
84
- if (this.isSpecial()) {
85
- hex = hex[hex.length - 1];
86
- }
87
- return hex;
88
- }
89
- /**
90
- * Convert the account address to a string in LONG format, which is always 0x followed by 64 hex characters.
91
- *
92
- * NOTE: Prefer to use `toString` where possible, as it formats special addresses using the SHORT form (no leading 0s).
93
- *
94
- * @returns AccountAddress as a string in LONG form.
95
- * @group Implementation
96
- * @category Serialization
97
- */
98
- toStringLong() {
99
- return `0x${this.toStringLongWithoutPrefix()}`;
100
- }
101
- /**
102
- * Returns the account address as a string in LONG form without a leading 0x.
103
- * This function will include leading zeroes and will produce a string of 64 hex characters.
104
- *
105
- * NOTE: Prefer to use `toString` where possible, as it formats special addresses using the SHORT form (no leading 0s).
106
- *
107
- * @returns {string} The account address in LONG form.
108
- * @group Implementation
109
- * @category Serialization
110
- */
111
- toStringLongWithoutPrefix() {
112
- return bytesToHex(this.data);
113
- }
114
- /**
115
- * Convert the account address to a string in SHORT format, which is 0x followed by the shortest
116
- * possible representation (no leading zeros).
117
- *
118
- * @returns AccountAddress as a string in SHORT form.
119
- * @group Implementation
120
- * @category Serialization
121
- */
122
- toStringShort() {
123
- return `0x${this.toStringShortWithoutPrefix()}`;
124
- }
125
- /**
126
- * Returns a lossless short string representation of the address by trimming leading zeros.
127
- * If the address consists of all zeros, returns "0".
128
- *
129
- * @returns A string representation of the address without leading zeros
130
- * @group Implementation
131
- * @category Serialization
132
- */
133
- toStringShortWithoutPrefix() {
134
- const hex = bytesToHex(this.data).replace(/^0+/, "");
135
- return hex === "" ? "0" : hex;
136
- }
137
- /**
138
- * Get the inner data as a Uint8Array.
139
- * The inner data is already a Uint8Array, so no conversion takes place.
140
- *
141
- * @returns Hex data as Uint8Array
142
- * @group Implementation
143
- * @category Serialization
144
- */
145
- toUint8Array() {
146
- return this.data;
147
- }
148
- /**
149
- * Serialize the AccountAddress to a Serializer instance's data buffer.
150
- * @param serializer The serializer to serialize the AccountAddress to.
151
- * @returns void
152
- * @example
153
- * const serializer = new Serializer();
154
- * const address = AccountAddress.fromString("0x1");
155
- * address.serialize(serializer);
156
- * const bytes = serializer.toUint8Array();
157
- * // `bytes` is now the BCS-serialized address.
158
- * @group Implementation
159
- * @category Serialization
160
- */
161
- serialize(serializer) {
162
- serializer.serializeFixedBytes(this.data);
163
- }
164
- /**
165
- * Serializes the current instance into a byte sequence suitable for entry functions.
166
- * This allows for the proper encoding of data when interacting with entry functions in the blockchain.
167
- *
168
- * @param serializer - The serializer instance used to convert the data into bytes.
169
- * @group Implementation
170
- * @category Serialization
171
- */
172
- serializeForEntryFunction(serializer) {
173
- const bcsBytes = this.bcsToBytes();
174
- serializer.serializeBytes(bcsBytes);
175
- }
176
- /**
177
- * Serializes the current instance for use in a script function by encoding it into a byte sequence.
178
- * This process involves serializing the variant index and the instance data, making it suitable for transmission.
179
- *
180
- * @param serializer - The serializer instance used to perform the serialization.
181
- * @group Implementation
182
- * @category Serialization
183
- */
184
- serializeForScriptFunction(serializer) {
185
- serializer.serializeU32AsUleb128(3 /* Address */);
186
- serializer.serialize(this);
187
- }
188
- /**
189
- * Deserialize an AccountAddress from the byte buffer in a Deserializer instance.
190
- * This function allows you to convert a byte representation of an AccountAddress into an instance of AccountAddress.
191
- * @param deserializer The deserializer to deserialize the AccountAddress from.
192
- * @returns An instance of AccountAddress.
193
- * @example
194
- * const bytes = hexToBytes("0x0102030405060708091011121314151617181920212223242526272829303132");
195
- * const deserializer = new Deserializer(bytes);
196
- * const address = AccountAddress.deserialize(deserializer);
197
- * // `address` is now an instance of AccountAddress.
198
- * @group Implementation
199
- * @category Serialization
200
- */
201
- static deserialize(deserializer) {
202
- const bytes = deserializer.deserializeFixedBytes(_AccountAddress.LENGTH);
203
- return new _AccountAddress(bytes);
204
- }
205
- // ===
206
- // Methods for creating an instance of AccountAddress from other types.
207
- // ===
208
- /**
209
- * NOTE: This function has strict parsing behavior. For relaxed behavior, please use
210
- * the `fromString` function.
211
- *
212
- * Creates an instance of AccountAddress from a hex string.
213
- *
214
- * This function allows only the strictest formats defined by AIP-40. In short this
215
- * means only the following formats are accepted:
216
- *
217
- * - LONG
218
- * - SHORT for special addresses
219
- *
220
- * Where:
221
- * - LONG is defined as 0x + 64 hex characters.
222
- * - SHORT for special addresses is 0x0 to 0xf inclusive without padding zeroes.
223
- *
224
- * This means the following are not accepted:
225
- * - SHORT for non-special addresses.
226
- * - Any address without a leading 0x.
227
- *
228
- * @param input - A hex string representing an account address.
229
- *
230
- * @throws {ParsingError} If the hex string does not start with 0x or is not in a valid format.
231
- *
232
- * @remarks
233
- *
234
- * This function has strict parsing behavior. For relaxed behavior, please use the `fromString` function.
235
- *
236
- * @see AIP-40 documentation for more details on address formats:
237
- * https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-40.md.
238
- *
239
- * @returns An instance of AccountAddress.
240
- * @group Implementation
241
- * @category Serialization
242
- */
243
- static fromStringStrict(input) {
244
- if (!input.startsWith("0x")) {
245
- throw new ParsingError("Hex string must start with a leading 0x.", "leading_zero_x_required" /* LEADING_ZERO_X_REQUIRED */);
246
- }
247
- const address = _AccountAddress.fromString(input);
248
- if (input.length !== _AccountAddress.LONG_STRING_LENGTH + 2) {
249
- if (!address.isSpecial()) {
250
- throw new ParsingError(
251
- `The given hex string ${input} is not a special address, it must be represented as 0x + 64 chars.`,
252
- "long_form_required_unless_special" /* LONG_FORM_REQUIRED_UNLESS_SPECIAL */
253
- );
254
- } else if (input.length !== 3) {
255
- throw new ParsingError(
256
- // eslint-disable-next-line max-len
257
- `The given hex string ${input} is a special address not in LONG form, it must be 0x0 to 0xf without padding zeroes.`,
258
- "INVALID_PADDING_ZEROES" /* INVALID_PADDING_ZEROES */
259
- );
260
- }
261
- }
262
- return address;
263
- }
264
- /**
265
- * NOTE: This function has relaxed parsing behavior. For strict behavior, please use
266
- * the `fromStringStrict` function. Where possible use `fromStringStrict` rather than this
267
- * function, `fromString`.
268
- *
269
- * Creates an instance of AccountAddress from a hex string.
270
- *
271
- * This function allows all formats defined by AIP-40. In short this means the
272
- * following formats are accepted:
273
- *
274
- * - LONG, with or without leading 0x
275
- * - SHORT*, with or without leading 0x
276
- *
277
- * Where:
278
- * - LONG is 64 hex characters.
279
- * - SHORT* is 1 to 63 hex characters inclusive. The address can have missing values up to `maxMissingChars` before it is padded.
280
- * - Padding zeroes are allowed, e.g. 0x0123 is valid.
281
- *
282
- * Learn more about the different address formats by reading AIP-40:
283
- * https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-40.md.
284
- *
285
- * @param input A hex string representing an account address.
286
- * @param args.maxMissingChars The number of characters that can be missing in a padded address before it is invalid.
287
- *
288
- * @returns An instance of AccountAddress.
289
- *
290
- * @throws ParsingError if the hex string is too short, too long, or contains invalid characters.
291
- * @group Implementation
292
- * @category Serialization
293
- */
294
- static fromString(input, { maxMissingChars = 4 } = {}) {
295
- let parsedInput = input;
296
- if (input.startsWith("0x")) {
297
- parsedInput = input.slice(2);
298
- }
299
- if (parsedInput.length === 0) {
300
- throw new ParsingError(
301
- "Hex string is too short, must be 1 to 64 chars long, excluding the leading 0x.",
302
- "too_short" /* TOO_SHORT */
303
- );
304
- }
305
- if (parsedInput.length > 64) {
306
- throw new ParsingError(
307
- "Hex string is too long, must be 1 to 64 chars long, excluding the leading 0x.",
308
- "too_long" /* TOO_LONG */
309
- );
310
- }
311
- if (maxMissingChars > 63 || maxMissingChars < 0) {
312
- throw new ParsingError(
313
- `maxMissingChars must be between or equal to 0 and 63. Received ${maxMissingChars}`,
314
- "INVALID_PADDING_STRICTNESS" /* INVALID_PADDING_STRICTNESS */
315
- );
316
- }
317
- let addressBytes;
318
- try {
319
- addressBytes = hexToBytes(parsedInput.padStart(64, "0"));
320
- } catch (error) {
321
- throw new ParsingError(`Hex characters are invalid: ${error?.message}`, "invalid_hex_chars" /* INVALID_HEX_CHARS */);
322
- }
323
- const address = new _AccountAddress(addressBytes);
324
- if (parsedInput.length < 64 - maxMissingChars) {
325
- if (!address.isSpecial()) {
326
- throw new ParsingError(
327
- `Hex string is too short, must be ${64 - maxMissingChars} to 64 chars long, excluding the leading 0x. You may need to fix
328
- the addresss by padding it with 0s before passing it to \`fromString\` (e.g. <addressString>.padStart(64, '0')).
329
- Received ${input}`,
330
- "too_short" /* TOO_SHORT */
331
- );
332
- }
333
- }
334
- return address;
335
- }
336
- /**
337
- * Convenience method for creating an AccountAddress from various input types.
338
- * This function accepts a string, Uint8Array, or an existing AccountAddress instance and returns the corresponding
339
- * AccountAddress.
340
- *
341
- * @param input - The input to convert into an AccountAddress. This can be a string representation of an address, a Uint8Array,
342
- * or an existing AccountAddress.
343
- * @param args.maxMissingChars The number of characters that can be missing in a padded address before it is invalid.
344
- * @group Implementation
345
- * @category Serialization
346
- */
347
- static from(input, { maxMissingChars = 4 } = {}) {
348
- if (typeof input === "string") {
349
- return _AccountAddress.fromString(input, { maxMissingChars });
350
- }
351
- if (input instanceof Uint8Array) {
352
- return new _AccountAddress(input);
353
- }
354
- return input;
355
- }
356
- /**
357
- * Create an AccountAddress from various input types, including strings, Uint8Array, and AccountAddress instances.
358
- *
359
- * @param input - The input to convert into an AccountAddress, which can be a string, a Uint8Array, or an AccountAddress.
360
- * @group Implementation
361
- * @category Serialization
362
- */
363
- static fromStrict(input) {
364
- if (typeof input === "string") {
365
- return _AccountAddress.fromStringStrict(input);
366
- }
367
- if (input instanceof Uint8Array) {
368
- return new _AccountAddress(input);
369
- }
370
- return input;
371
- }
372
- // ===
373
- // Methods for checking validity.
374
- // ===
375
- /**
376
- * Check if the provided input is a valid AccountAddress.
377
- *
378
- * @param args - The arguments for validation.
379
- * @param args.input - A hex string representing an account address.
380
- * @param args.strict - If true, use strict parsing behavior; if false, use relaxed parsing behavior.
381
- *
382
- * @returns An object indicating whether the address is valid. If valid, valid = true; if not, valid = false with additional details.
383
- * If the address is invalid, invalidReason will explain why it is invalid, and invalidReasonMessage will provide the error message.
384
- * @group Implementation
385
- * @category Serialization
386
- */
387
- static isValid(args) {
388
- try {
389
- if (args.strict) {
390
- _AccountAddress.fromStrict(args.input);
391
- } else {
392
- _AccountAddress.from(args.input);
393
- }
394
- return { valid: true };
395
- } catch (error) {
396
- return {
397
- valid: false,
398
- invalidReason: error?.invalidReason,
399
- invalidReasonMessage: error?.message
400
- };
401
- }
402
- }
403
- /**
404
- * Determine if two AccountAddresses are equal based on their underlying byte data.
405
- *
406
- * @param other - The AccountAddress to compare to.
407
- * @returns true if the AccountAddresses are equal, false if not.
408
- * @group Implementation
409
- * @category Serialization
410
- */
411
- equals(other) {
412
- if (this.data.length !== other.data.length) return false;
413
- return this.data.every((value, index) => value === other.data[index]);
414
- }
415
- };
416
- /**
417
- * The number of bytes that make up an account address.
418
- * @group Implementation
419
- * @category Serialization
420
- */
421
- _AccountAddress.LENGTH = 32;
422
- /**
423
- * The length of an address string in LONG form without a leading 0x.
424
- * @group Implementation
425
- * @category Serialization
426
- */
427
- _AccountAddress.LONG_STRING_LENGTH = 64;
428
- _AccountAddress.ZERO = _AccountAddress.from("0x0");
429
- _AccountAddress.ONE = _AccountAddress.from("0x1");
430
- _AccountAddress.TWO = _AccountAddress.from("0x2");
431
- _AccountAddress.THREE = _AccountAddress.from("0x3");
432
- _AccountAddress.FOUR = _AccountAddress.from("0x4");
433
- _AccountAddress.A = _AccountAddress.from("0xA");
434
- var AccountAddress = _AccountAddress;
435
-
436
- export {
437
- AddressInvalidReason,
438
- AccountAddress
439
- };
440
- //# sourceMappingURL=chunk-P6RWWRGG.mjs.map
@@ -1,96 +0,0 @@
1
- // src/transactions/management/asyncQueue.ts
2
- var AsyncQueue = class {
3
- constructor() {
4
- this.queue = [];
5
- // The pendingDequeue is used to handle the resolution of promises when items are enqueued and dequeued.
6
- this.pendingDequeue = [];
7
- this.cancelled = false;
8
- }
9
- /**
10
- * Adds an item to the queue. If there are pending dequeued promises, it resolves the oldest promise with the enqueued item
11
- * immediately; otherwise, it adds the item to the queue.
12
- *
13
- * @param item - The item to be added to the queue.
14
- * @group Implementation
15
- * @category Transactions
16
- */
17
- enqueue(item) {
18
- this.cancelled = false;
19
- if (this.pendingDequeue.length > 0) {
20
- const promise = this.pendingDequeue.shift();
21
- promise?.resolve(item);
22
- return;
23
- }
24
- this.queue.push(item);
25
- }
26
- /**
27
- * Dequeues the next item from the queue and returns a promise that resolves to it.
28
- * If the queue is empty, it creates a new promise that will be resolved when an item is enqueued.
29
- *
30
- * @returns Promise<T>
31
- * @group Implementation
32
- * @category Transactions
33
- */
34
- async dequeue() {
35
- if (this.queue.length > 0) {
36
- return Promise.resolve(this.queue.shift());
37
- }
38
- return new Promise((resolve, reject) => {
39
- this.pendingDequeue.push({ resolve, reject });
40
- });
41
- }
42
- /**
43
- * Determine whether the queue is empty.
44
- *
45
- * @returns boolean - Returns true if the queue has no elements, otherwise false.
46
- * @group Implementation
47
- * @category Transactions
48
- */
49
- isEmpty() {
50
- return this.queue.length === 0;
51
- }
52
- /**
53
- * Cancels all pending promises in the queue and rejects them with an AsyncQueueCancelledError.
54
- * This ensures that any awaiting code can handle the cancellation appropriately.
55
- *
56
- * @returns {void}
57
- * @group Implementation
58
- * @category Transactions
59
- */
60
- cancel() {
61
- this.cancelled = true;
62
- this.pendingDequeue.forEach(async ({ reject }) => {
63
- reject(new AsyncQueueCancelledError("Task cancelled"));
64
- });
65
- this.pendingDequeue = [];
66
- this.queue.length = 0;
67
- }
68
- /**
69
- * Determine whether the queue has been cancelled.
70
- *
71
- * @returns boolean - Returns true if the queue is cancelled, otherwise false.
72
- * @group Implementation
73
- * @category Transactions
74
- */
75
- isCancelled() {
76
- return this.cancelled;
77
- }
78
- /**
79
- * Retrieve the length of the pending dequeue.
80
- *
81
- * @returns number - The number of items currently in the pending dequeue.
82
- * @group Implementation
83
- * @category Transactions
84
- */
85
- pendingDequeueLength() {
86
- return this.pendingDequeue.length;
87
- }
88
- };
89
- var AsyncQueueCancelledError = class extends Error {
90
- };
91
-
92
- export {
93
- AsyncQueue,
94
- AsyncQueueCancelledError
95
- };
96
- //# sourceMappingURL=chunk-PT2QHUB6.mjs.map
@@ -1,123 +0,0 @@
1
- import {
2
- sleep
3
- } from "./chunk-SCWOUBOV.mjs";
4
-
5
- // src/cli/localNode.ts
6
- import { spawn } from "child_process";
7
- import kill from "tree-kill";
8
- import { platform } from "os";
9
- var LocalNode = class {
10
- constructor(args) {
11
- this.MAXIMUM_WAIT_TIME_SEC = 75;
12
- this.READINESS_ENDPOINT = "http://127.0.0.1:8070/";
13
- this.showStdout = true;
14
- this.process = null;
15
- this.showStdout = args?.showStdout ?? true;
16
- }
17
- /**
18
- * Kills the current process and all its descendant processes.
19
- *
20
- * @returns {Promise<void>} A promise that resolves to true if the process was successfully killed.
21
- * @throws {Error} If there is an error while attempting to kill the process.
22
- * @group Implementation
23
- * @category CLI
24
- */
25
- async stop() {
26
- await new Promise((resolve, reject) => {
27
- if (!this.process?.pid) return;
28
- kill(this.process.pid, (err) => {
29
- if (err) {
30
- reject(err);
31
- } else {
32
- resolve(true);
33
- }
34
- });
35
- });
36
- }
37
- /**
38
- * Runs a localnet and waits for the process to be up.
39
- * If the local node process is already running, it returns without starting the process.
40
- *
41
- * @returns {Promise<void>} A promise that resolves when the process is up.
42
- * @group Implementation
43
- * @category CLI
44
- */
45
- async run() {
46
- const nodeIsUp = await this.checkIfProcessIsUp();
47
- if (nodeIsUp) {
48
- return;
49
- }
50
- this.start();
51
- await this.waitUntilProcessIsUp();
52
- }
53
- /**
54
- * Starts the localnet by running the Aptos node with the specified command-line arguments.
55
- *
56
- * @returns {void}
57
- *
58
- * @throws {Error} If there is an issue starting the localnet.
59
- * @group Implementation
60
- * @category CLI
61
- */
62
- start() {
63
- const cliCommand = "npx";
64
- const cliArgs = ["aptos", "node", "run-localnet", "--force-restart", "--assume-yes", "--with-indexer-api"];
65
- const currentPlatform = platform();
66
- const spawnConfig = {
67
- env: { ...process.env, ENABLE_KEYLESS_DEFAULT: "1" },
68
- ...currentPlatform === "win32" && { shell: true }
69
- };
70
- this.process = spawn(cliCommand, cliArgs, spawnConfig);
71
- this.process.stdout?.on("data", (data) => {
72
- const str = data.toString();
73
- if (this.showStdout) {
74
- console.log(str);
75
- }
76
- });
77
- }
78
- /**
79
- * Waits for the localnet process to be operational within a specified maximum wait time.
80
- * This function continuously checks if the process is up and will throw an error if it fails to start.
81
- *
82
- * @returns Promise<boolean> - Resolves to true if the process is up, otherwise throws an error.
83
- * @group Implementation
84
- * @category CLI
85
- */
86
- async waitUntilProcessIsUp() {
87
- let operational = await this.checkIfProcessIsUp();
88
- const start = Date.now() / 1e3;
89
- let last = start;
90
- while (!operational && start + this.MAXIMUM_WAIT_TIME_SEC > last) {
91
- await sleep(1e3);
92
- operational = await this.checkIfProcessIsUp();
93
- last = Date.now() / 1e3;
94
- }
95
- if (!operational) {
96
- throw new Error("Process failed to start");
97
- }
98
- return true;
99
- }
100
- /**
101
- * Checks if the localnet is up by querying the readiness endpoint.
102
- *
103
- * @returns Promise<boolean> - A promise that resolves to true if the localnet is up, otherwise false.
104
- * @group Implementation
105
- * @category CLI
106
- */
107
- async checkIfProcessIsUp() {
108
- try {
109
- const data = await fetch(this.READINESS_ENDPOINT);
110
- if (data.status === 200) {
111
- return true;
112
- }
113
- return false;
114
- } catch (err) {
115
- return false;
116
- }
117
- }
118
- };
119
-
120
- export {
121
- LocalNode
122
- };
123
- //# sourceMappingURL=chunk-Q5W46UAQ.mjs.map