@aptos-labs/ts-sdk 1.16.0-zeta.1 → 1.16.0-zeta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/dist/common/{accountAddress-OUd5ov6z.d.ts → accountAddress-YfW6h4Ja.d.ts} +1 -1
  2. package/dist/common/{chunk-VLEH6QBR.js → chunk-HPZUSDYP.js} +1 -1
  3. package/dist/common/{chunk-VLEH6QBR.js.map → chunk-HPZUSDYP.js.map} +1 -1
  4. package/dist/common/cli/index.d.ts +1 -1
  5. package/dist/common/cli/index.js +1 -1
  6. package/dist/common/index.d.ts +46 -58
  7. package/dist/common/index.js +27 -27
  8. package/dist/common/index.js.map +1 -1
  9. package/dist/esm/account/Account.mjs +1 -1
  10. package/dist/esm/account/Ed25519Account.mjs +1 -1
  11. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  12. package/dist/esm/account/KeylessAccount.d.mts +1 -14
  13. package/dist/esm/account/KeylessAccount.mjs +1 -1
  14. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  15. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  16. package/dist/esm/account/index.d.mts +1 -2
  17. package/dist/esm/account/index.mjs +1 -1
  18. package/dist/esm/api/account.mjs +1 -1
  19. package/dist/esm/api/ans.mjs +1 -1
  20. package/dist/esm/api/aptos.d.mts +0 -1
  21. package/dist/esm/api/aptos.mjs +1 -1
  22. package/dist/esm/api/aptosConfig.mjs +1 -1
  23. package/dist/esm/api/coin.mjs +1 -1
  24. package/dist/esm/api/digitalAsset.mjs +1 -1
  25. package/dist/esm/api/event.mjs +1 -1
  26. package/dist/esm/api/faucet.mjs +1 -1
  27. package/dist/esm/api/fungibleAsset.mjs +1 -1
  28. package/dist/esm/api/general.mjs +1 -1
  29. package/dist/esm/api/index.d.mts +0 -1
  30. package/dist/esm/api/index.mjs +1 -1
  31. package/dist/esm/api/keyless.d.mts +0 -1
  32. package/dist/esm/api/keyless.mjs +1 -1
  33. package/dist/esm/api/staking.mjs +1 -1
  34. package/dist/esm/api/table.mjs +1 -1
  35. package/dist/esm/api/transaction.mjs +1 -1
  36. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  37. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  38. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  39. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  40. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  41. package/dist/esm/api/utils.mjs +1 -1
  42. package/dist/esm/bcs/deserializer.mjs +1 -1
  43. package/dist/esm/bcs/index.mjs +1 -1
  44. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
  45. package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
  46. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  47. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  48. package/dist/esm/bcs/serializer.mjs +1 -1
  49. package/dist/esm/{chunk-V6M7FGQT.mjs → chunk-27PC47S7.mjs} +2 -2
  50. package/dist/esm/{chunk-SNBE5YAC.mjs → chunk-2NGHKNUS.mjs} +2 -2
  51. package/dist/esm/{chunk-SZ6KR73C.mjs → chunk-37FFZSIM.mjs} +2 -2
  52. package/dist/esm/{chunk-WXLSJF4A.mjs → chunk-3IFR6T3V.mjs} +1 -1
  53. package/dist/esm/chunk-3IFR6T3V.mjs.map +1 -0
  54. package/dist/esm/chunk-3RJZNUCQ.mjs +2 -0
  55. package/dist/esm/{chunk-3DP4R3FI.mjs → chunk-472OGHMG.mjs} +2 -2
  56. package/dist/esm/chunk-4TDMJQOJ.mjs +2 -0
  57. package/dist/esm/chunk-4TDMJQOJ.mjs.map +1 -0
  58. package/dist/esm/{chunk-J577ODDM.mjs → chunk-4VPCPASN.mjs} +2 -2
  59. package/dist/esm/{chunk-7CJAEAQZ.mjs → chunk-5YH2YL3L.mjs} +2 -2
  60. package/dist/esm/{chunk-LLRWILVZ.mjs → chunk-6DFVM2W6.mjs} +2 -2
  61. package/dist/esm/{chunk-WJIICWOB.mjs → chunk-6FK6OA37.mjs} +2 -2
  62. package/dist/esm/{chunk-6MDYCC7P.mjs → chunk-6GGHUBUA.mjs} +2 -2
  63. package/dist/esm/{chunk-SCHMTP4N.mjs → chunk-7BW2N4IE.mjs} +2 -2
  64. package/dist/esm/{chunk-SSDWEOF7.mjs → chunk-7JLHN655.mjs} +2 -2
  65. package/dist/esm/{chunk-DSVNXD5A.mjs → chunk-7XRUPEQ4.mjs} +2 -2
  66. package/dist/esm/{chunk-6F3HFDL3.mjs → chunk-B76XCRLH.mjs} +2 -2
  67. package/dist/esm/{chunk-AVWAYKNS.mjs → chunk-BO44HPGU.mjs} +2 -2
  68. package/dist/esm/{chunk-WSVJNBSJ.mjs → chunk-CVCM46UN.mjs} +2 -2
  69. package/dist/esm/{chunk-PGP2XMDE.mjs → chunk-DPWEHSHH.mjs} +2 -2
  70. package/dist/esm/{chunk-J534ICWA.mjs → chunk-E4XMEVB7.mjs} +2 -2
  71. package/dist/esm/{chunk-NGTNMV6Q.mjs → chunk-EFMAZTIM.mjs} +2 -2
  72. package/dist/esm/{chunk-R4HLV32L.mjs → chunk-EQN6FVO7.mjs} +2 -2
  73. package/dist/esm/{chunk-WHSN42R2.mjs → chunk-F3ZVWLDH.mjs} +2 -2
  74. package/dist/esm/{chunk-THURV6CN.mjs → chunk-FF4L66LJ.mjs} +2 -2
  75. package/dist/esm/{chunk-GS5Z3HO7.mjs → chunk-FGGRPEQ3.mjs} +2 -2
  76. package/dist/esm/{chunk-EJ7ODMDA.mjs → chunk-FIG65OJD.mjs} +2 -2
  77. package/dist/esm/chunk-FLALKQIK.mjs +2 -0
  78. package/dist/esm/{chunk-JBTLE33X.mjs.map → chunk-FLALKQIK.mjs.map} +1 -1
  79. package/dist/esm/{chunk-UFMIMN7W.mjs → chunk-FUKWM4HL.mjs} +2 -2
  80. package/dist/esm/{chunk-MSGHGK52.mjs → chunk-GRHLQDHF.mjs} +2 -2
  81. package/dist/esm/{chunk-VMVSUH2K.mjs → chunk-GSCM444Z.mjs} +2 -2
  82. package/dist/esm/{chunk-OOYRJQPD.mjs → chunk-GTUBZWAF.mjs} +2 -2
  83. package/dist/esm/{chunk-SCHZ67F3.mjs → chunk-GY6LFCB2.mjs} +2 -2
  84. package/dist/esm/{chunk-SCHZ67F3.mjs.map → chunk-GY6LFCB2.mjs.map} +1 -1
  85. package/dist/esm/{chunk-NUBYALZP.mjs → chunk-H4AGIUGI.mjs} +2 -2
  86. package/dist/esm/{chunk-SCRIQQV3.mjs → chunk-HZOBRRQP.mjs} +2 -2
  87. package/dist/esm/{chunk-RAHMGSBW.mjs → chunk-I7GRECEJ.mjs} +2 -2
  88. package/dist/esm/{chunk-ZV5P2GSJ.mjs → chunk-IBN7ETCB.mjs} +2 -2
  89. package/dist/esm/{chunk-QOOHLRRJ.mjs → chunk-IGMXAPHY.mjs} +2 -2
  90. package/dist/esm/{chunk-HOX6Q6ZP.mjs → chunk-IPSITJFX.mjs} +2 -2
  91. package/dist/esm/{chunk-ZAXWW7VW.mjs → chunk-IVVWQKCF.mjs} +1 -1
  92. package/dist/esm/chunk-IVVWQKCF.mjs.map +1 -0
  93. package/dist/esm/{chunk-XQ7I34AL.mjs → chunk-IXFYYWAC.mjs} +2 -2
  94. package/dist/esm/{chunk-45ESRYGP.mjs → chunk-J6VDYVNB.mjs} +2 -2
  95. package/dist/esm/{chunk-CEGCSC3T.mjs → chunk-JKRWCFUQ.mjs} +2 -2
  96. package/dist/esm/{chunk-M4Q4XDVR.mjs → chunk-JOXU5RWH.mjs} +2 -2
  97. package/dist/esm/{chunk-3J53BCEQ.mjs → chunk-JWGG6XFS.mjs} +2 -2
  98. package/dist/esm/{chunk-Y24BMR2W.mjs → chunk-K2KJX32L.mjs} +2 -2
  99. package/dist/esm/{chunk-FUQDDIKQ.mjs → chunk-KCRCX6BL.mjs} +2 -2
  100. package/dist/esm/{chunk-FUQDDIKQ.mjs.map → chunk-KCRCX6BL.mjs.map} +1 -1
  101. package/dist/esm/{chunk-OZ3GSAFK.mjs → chunk-KGHBTSDR.mjs} +2 -2
  102. package/dist/esm/{chunk-5SGIYAB7.mjs → chunk-KMVSI4PC.mjs} +2 -2
  103. package/dist/esm/{chunk-FWTJQHJR.mjs → chunk-KNMQU2TA.mjs} +2 -2
  104. package/dist/esm/chunk-KNMQU2TA.mjs.map +1 -0
  105. package/dist/esm/{chunk-7Y6AWDBZ.mjs → chunk-KSSJ3CT5.mjs} +2 -2
  106. package/dist/esm/{chunk-BNA3SGG6.mjs → chunk-KUMZXNMD.mjs} +2 -2
  107. package/dist/esm/{chunk-3SXTTG2X.mjs → chunk-L5CPAOUM.mjs} +2 -2
  108. package/dist/esm/{chunk-QJIMZI32.mjs → chunk-LMEJ5K6B.mjs} +2 -2
  109. package/dist/esm/chunk-LYOUEPDG.mjs +2 -0
  110. package/dist/esm/{chunk-5VLCYHNJ.mjs.map → chunk-LYOUEPDG.mjs.map} +1 -1
  111. package/dist/esm/{chunk-YLQJBXUF.mjs → chunk-MEOGVBMZ.mjs} +2 -2
  112. package/dist/esm/{chunk-VBODXPT3.mjs → chunk-MLX6DFMR.mjs} +2 -2
  113. package/dist/esm/{chunk-OFC75EWS.mjs → chunk-MX5Z3EHG.mjs} +2 -2
  114. package/dist/esm/{chunk-4VAYXBD2.mjs → chunk-NW3WUTTD.mjs} +2 -2
  115. package/dist/esm/{chunk-QLE5JL4X.mjs → chunk-NW6LGHE7.mjs} +2 -2
  116. package/dist/esm/{chunk-NMD45OTM.mjs → chunk-OJL36Q4H.mjs} +2 -2
  117. package/dist/esm/{chunk-ULW5LX5H.mjs → chunk-OJUFU5TJ.mjs} +2 -2
  118. package/dist/esm/{chunk-EJURLI4L.mjs → chunk-PAY7N36H.mjs} +2 -2
  119. package/dist/esm/{chunk-ISXBJPLD.mjs → chunk-PHEA3NOJ.mjs} +2 -2
  120. package/dist/esm/{chunk-NH466YFP.mjs → chunk-PUP6XMAV.mjs} +2 -2
  121. package/dist/esm/{chunk-PG7KSUMN.mjs → chunk-PWYL5QZP.mjs} +2 -2
  122. package/dist/esm/{chunk-JCDZ2WXX.mjs → chunk-QHB5A5YP.mjs} +1 -1
  123. package/dist/esm/chunk-QHB5A5YP.mjs.map +1 -0
  124. package/dist/esm/{chunk-CZOUSIAD.mjs → chunk-R4KIZ2FK.mjs} +2 -2
  125. package/dist/esm/{chunk-AUV4VAXK.mjs → chunk-RTO3YBWQ.mjs} +2 -2
  126. package/dist/esm/{chunk-34WI7I3Z.mjs → chunk-RURI53PG.mjs} +2 -2
  127. package/dist/esm/{chunk-TU6VKYDC.mjs → chunk-RX5SPT5S.mjs} +2 -2
  128. package/dist/esm/{chunk-HGRU3HWY.mjs → chunk-RYRID5HT.mjs} +2 -2
  129. package/dist/esm/{chunk-IWKIZLFW.mjs → chunk-SBEZ64HG.mjs} +2 -2
  130. package/dist/esm/{chunk-RWYPGTNL.mjs → chunk-SNDFJWYM.mjs} +2 -2
  131. package/dist/esm/{chunk-CIPPNT3W.mjs → chunk-T4HO5JMQ.mjs} +2 -2
  132. package/dist/esm/chunk-T4HO5JMQ.mjs.map +1 -0
  133. package/dist/esm/{chunk-3YIUOKWW.mjs → chunk-T5YEMU53.mjs} +2 -2
  134. package/dist/esm/{chunk-MLQT5I6K.mjs → chunk-TUCCV62K.mjs} +2 -2
  135. package/dist/esm/{chunk-7QGIAVW4.mjs → chunk-UBON2G6Y.mjs} +2 -2
  136. package/dist/esm/{chunk-272NA6H5.mjs → chunk-UMLUOYFK.mjs} +1 -1
  137. package/dist/esm/{chunk-272NA6H5.mjs.map → chunk-UMLUOYFK.mjs.map} +1 -1
  138. package/dist/esm/chunk-VCAURUJ3.mjs +2 -0
  139. package/dist/esm/chunk-VCAURUJ3.mjs.map +1 -0
  140. package/dist/esm/{chunk-D76FE35G.mjs → chunk-VJ3OBIFQ.mjs} +2 -2
  141. package/dist/esm/{chunk-AUAL3H36.mjs → chunk-WA2NTBYY.mjs} +2 -2
  142. package/dist/esm/{chunk-QYEJOEWB.mjs → chunk-XGDLSWBF.mjs} +2 -2
  143. package/dist/esm/{chunk-PENBUSGL.mjs → chunk-XH33BXEY.mjs} +2 -2
  144. package/dist/esm/{chunk-WOLLRMXR.mjs → chunk-XVZBWW46.mjs} +2 -2
  145. package/dist/esm/{chunk-IMVC2JKU.mjs → chunk-YBXQVY7N.mjs} +2 -2
  146. package/dist/esm/{chunk-IMVC2JKU.mjs.map → chunk-YBXQVY7N.mjs.map} +1 -1
  147. package/dist/esm/{chunk-IU6REVKX.mjs → chunk-YDNOKWV3.mjs} +2 -2
  148. package/dist/esm/{chunk-GHHIUWPP.mjs → chunk-YRUF6N3U.mjs} +2 -2
  149. package/dist/esm/cli/index.mjs +1 -1
  150. package/dist/esm/cli/localNode.mjs +1 -1
  151. package/dist/esm/client/core.mjs +1 -1
  152. package/dist/esm/client/get.mjs +1 -1
  153. package/dist/esm/client/index.mjs +1 -1
  154. package/dist/esm/client/post.mjs +1 -1
  155. package/dist/esm/core/account/index.mjs +1 -1
  156. package/dist/esm/core/account/utils/address.mjs +1 -1
  157. package/dist/esm/core/account/utils/index.mjs +1 -1
  158. package/dist/esm/core/accountAddress.mjs +1 -1
  159. package/dist/esm/core/authenticationKey.mjs +1 -1
  160. package/dist/esm/core/crypto/cryptoHasher.mjs +1 -1
  161. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  162. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  163. package/dist/esm/core/crypto/index.mjs +1 -1
  164. package/dist/esm/core/crypto/keyless.mjs +1 -1
  165. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  166. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  167. package/dist/esm/core/crypto/poseidon.mjs +1 -1
  168. package/dist/esm/core/crypto/proof.mjs +1 -1
  169. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  170. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  171. package/dist/esm/core/crypto/signature.mjs +1 -1
  172. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  173. package/dist/esm/core/index.mjs +1 -1
  174. package/dist/esm/index.d.mts +1 -1
  175. package/dist/esm/index.mjs +1 -1
  176. package/dist/esm/internal/account.mjs +1 -1
  177. package/dist/esm/internal/ans.mjs +1 -1
  178. package/dist/esm/internal/coin.mjs +1 -1
  179. package/dist/esm/internal/digitalAsset.mjs +1 -1
  180. package/dist/esm/internal/event.mjs +1 -1
  181. package/dist/esm/internal/faucet.mjs +1 -1
  182. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  183. package/dist/esm/internal/general.mjs +1 -1
  184. package/dist/esm/internal/keyless.d.mts +0 -1
  185. package/dist/esm/internal/keyless.mjs +1 -1
  186. package/dist/esm/internal/staking.mjs +1 -1
  187. package/dist/esm/internal/table.mjs +1 -1
  188. package/dist/esm/internal/transaction.mjs +1 -1
  189. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  190. package/dist/esm/internal/view.mjs +1 -1
  191. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  192. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  193. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  194. package/dist/esm/transactions/index.mjs +1 -1
  195. package/dist/esm/transactions/instances/chainId.mjs +1 -1
  196. package/dist/esm/transactions/instances/identifier.mjs +1 -1
  197. package/dist/esm/transactions/instances/index.mjs +1 -1
  198. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  199. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  200. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  201. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  202. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  203. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  204. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  205. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  206. package/dist/esm/transactions/management/index.mjs +1 -1
  207. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  208. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  209. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  210. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  211. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  212. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  213. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  214. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  215. package/dist/esm/utils/apiEndpoints.mjs +1 -1
  216. package/dist/esm/utils/helpers.mjs +1 -1
  217. package/dist/esm/utils/index.mjs +1 -1
  218. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  219. package/dist/esm/version.d.mts +1 -1
  220. package/dist/esm/version.mjs +1 -1
  221. package/package.json +1 -2
  222. package/src/account/KeylessAccount.ts +8 -40
  223. package/src/api/keyless.ts +1 -3
  224. package/src/bcs/deserializer.ts +4 -4
  225. package/src/bcs/serializer.ts +2 -2
  226. package/src/client/core.ts +0 -1
  227. package/src/core/crypto/cryptoHasher.ts +1 -1
  228. package/src/core/crypto/keyless.ts +49 -53
  229. package/src/core/crypto/poseidon.ts +5 -3
  230. package/src/internal/keyless.ts +2 -0
  231. package/src/internal/transactionSubmission.ts +2 -2
  232. package/src/types/keyless.ts +22 -22
  233. package/src/utils/apiEndpoints.ts +1 -1
  234. package/src/utils/helpers.ts +0 -1
  235. package/src/version.ts +1 -1
  236. package/dist/esm/chunk-4RXGVY2H.mjs +0 -2
  237. package/dist/esm/chunk-4RXGVY2H.mjs.map +0 -1
  238. package/dist/esm/chunk-5VLCYHNJ.mjs +0 -2
  239. package/dist/esm/chunk-CIPPNT3W.mjs.map +0 -1
  240. package/dist/esm/chunk-FWTJQHJR.mjs.map +0 -1
  241. package/dist/esm/chunk-HQK6MF3G.mjs +0 -2
  242. package/dist/esm/chunk-JBTLE33X.mjs +0 -2
  243. package/dist/esm/chunk-JCDZ2WXX.mjs.map +0 -1
  244. package/dist/esm/chunk-MEOBWD6V.mjs +0 -2
  245. package/dist/esm/chunk-MEOBWD6V.mjs.map +0 -1
  246. package/dist/esm/chunk-WXLSJF4A.mjs.map +0 -1
  247. package/dist/esm/chunk-ZAXWW7VW.mjs.map +0 -1
  248. /package/dist/esm/{chunk-V6M7FGQT.mjs.map → chunk-27PC47S7.mjs.map} +0 -0
  249. /package/dist/esm/{chunk-SNBE5YAC.mjs.map → chunk-2NGHKNUS.mjs.map} +0 -0
  250. /package/dist/esm/{chunk-SZ6KR73C.mjs.map → chunk-37FFZSIM.mjs.map} +0 -0
  251. /package/dist/esm/{chunk-HQK6MF3G.mjs.map → chunk-3RJZNUCQ.mjs.map} +0 -0
  252. /package/dist/esm/{chunk-3DP4R3FI.mjs.map → chunk-472OGHMG.mjs.map} +0 -0
  253. /package/dist/esm/{chunk-J577ODDM.mjs.map → chunk-4VPCPASN.mjs.map} +0 -0
  254. /package/dist/esm/{chunk-7CJAEAQZ.mjs.map → chunk-5YH2YL3L.mjs.map} +0 -0
  255. /package/dist/esm/{chunk-LLRWILVZ.mjs.map → chunk-6DFVM2W6.mjs.map} +0 -0
  256. /package/dist/esm/{chunk-WJIICWOB.mjs.map → chunk-6FK6OA37.mjs.map} +0 -0
  257. /package/dist/esm/{chunk-6MDYCC7P.mjs.map → chunk-6GGHUBUA.mjs.map} +0 -0
  258. /package/dist/esm/{chunk-SCHMTP4N.mjs.map → chunk-7BW2N4IE.mjs.map} +0 -0
  259. /package/dist/esm/{chunk-SSDWEOF7.mjs.map → chunk-7JLHN655.mjs.map} +0 -0
  260. /package/dist/esm/{chunk-DSVNXD5A.mjs.map → chunk-7XRUPEQ4.mjs.map} +0 -0
  261. /package/dist/esm/{chunk-6F3HFDL3.mjs.map → chunk-B76XCRLH.mjs.map} +0 -0
  262. /package/dist/esm/{chunk-AVWAYKNS.mjs.map → chunk-BO44HPGU.mjs.map} +0 -0
  263. /package/dist/esm/{chunk-WSVJNBSJ.mjs.map → chunk-CVCM46UN.mjs.map} +0 -0
  264. /package/dist/esm/{chunk-PGP2XMDE.mjs.map → chunk-DPWEHSHH.mjs.map} +0 -0
  265. /package/dist/esm/{chunk-J534ICWA.mjs.map → chunk-E4XMEVB7.mjs.map} +0 -0
  266. /package/dist/esm/{chunk-NGTNMV6Q.mjs.map → chunk-EFMAZTIM.mjs.map} +0 -0
  267. /package/dist/esm/{chunk-R4HLV32L.mjs.map → chunk-EQN6FVO7.mjs.map} +0 -0
  268. /package/dist/esm/{chunk-WHSN42R2.mjs.map → chunk-F3ZVWLDH.mjs.map} +0 -0
  269. /package/dist/esm/{chunk-THURV6CN.mjs.map → chunk-FF4L66LJ.mjs.map} +0 -0
  270. /package/dist/esm/{chunk-GS5Z3HO7.mjs.map → chunk-FGGRPEQ3.mjs.map} +0 -0
  271. /package/dist/esm/{chunk-EJ7ODMDA.mjs.map → chunk-FIG65OJD.mjs.map} +0 -0
  272. /package/dist/esm/{chunk-UFMIMN7W.mjs.map → chunk-FUKWM4HL.mjs.map} +0 -0
  273. /package/dist/esm/{chunk-MSGHGK52.mjs.map → chunk-GRHLQDHF.mjs.map} +0 -0
  274. /package/dist/esm/{chunk-VMVSUH2K.mjs.map → chunk-GSCM444Z.mjs.map} +0 -0
  275. /package/dist/esm/{chunk-OOYRJQPD.mjs.map → chunk-GTUBZWAF.mjs.map} +0 -0
  276. /package/dist/esm/{chunk-NUBYALZP.mjs.map → chunk-H4AGIUGI.mjs.map} +0 -0
  277. /package/dist/esm/{chunk-SCRIQQV3.mjs.map → chunk-HZOBRRQP.mjs.map} +0 -0
  278. /package/dist/esm/{chunk-RAHMGSBW.mjs.map → chunk-I7GRECEJ.mjs.map} +0 -0
  279. /package/dist/esm/{chunk-ZV5P2GSJ.mjs.map → chunk-IBN7ETCB.mjs.map} +0 -0
  280. /package/dist/esm/{chunk-QOOHLRRJ.mjs.map → chunk-IGMXAPHY.mjs.map} +0 -0
  281. /package/dist/esm/{chunk-HOX6Q6ZP.mjs.map → chunk-IPSITJFX.mjs.map} +0 -0
  282. /package/dist/esm/{chunk-XQ7I34AL.mjs.map → chunk-IXFYYWAC.mjs.map} +0 -0
  283. /package/dist/esm/{chunk-45ESRYGP.mjs.map → chunk-J6VDYVNB.mjs.map} +0 -0
  284. /package/dist/esm/{chunk-CEGCSC3T.mjs.map → chunk-JKRWCFUQ.mjs.map} +0 -0
  285. /package/dist/esm/{chunk-M4Q4XDVR.mjs.map → chunk-JOXU5RWH.mjs.map} +0 -0
  286. /package/dist/esm/{chunk-3J53BCEQ.mjs.map → chunk-JWGG6XFS.mjs.map} +0 -0
  287. /package/dist/esm/{chunk-Y24BMR2W.mjs.map → chunk-K2KJX32L.mjs.map} +0 -0
  288. /package/dist/esm/{chunk-OZ3GSAFK.mjs.map → chunk-KGHBTSDR.mjs.map} +0 -0
  289. /package/dist/esm/{chunk-5SGIYAB7.mjs.map → chunk-KMVSI4PC.mjs.map} +0 -0
  290. /package/dist/esm/{chunk-7Y6AWDBZ.mjs.map → chunk-KSSJ3CT5.mjs.map} +0 -0
  291. /package/dist/esm/{chunk-BNA3SGG6.mjs.map → chunk-KUMZXNMD.mjs.map} +0 -0
  292. /package/dist/esm/{chunk-3SXTTG2X.mjs.map → chunk-L5CPAOUM.mjs.map} +0 -0
  293. /package/dist/esm/{chunk-QJIMZI32.mjs.map → chunk-LMEJ5K6B.mjs.map} +0 -0
  294. /package/dist/esm/{chunk-YLQJBXUF.mjs.map → chunk-MEOGVBMZ.mjs.map} +0 -0
  295. /package/dist/esm/{chunk-VBODXPT3.mjs.map → chunk-MLX6DFMR.mjs.map} +0 -0
  296. /package/dist/esm/{chunk-OFC75EWS.mjs.map → chunk-MX5Z3EHG.mjs.map} +0 -0
  297. /package/dist/esm/{chunk-4VAYXBD2.mjs.map → chunk-NW3WUTTD.mjs.map} +0 -0
  298. /package/dist/esm/{chunk-QLE5JL4X.mjs.map → chunk-NW6LGHE7.mjs.map} +0 -0
  299. /package/dist/esm/{chunk-NMD45OTM.mjs.map → chunk-OJL36Q4H.mjs.map} +0 -0
  300. /package/dist/esm/{chunk-ULW5LX5H.mjs.map → chunk-OJUFU5TJ.mjs.map} +0 -0
  301. /package/dist/esm/{chunk-EJURLI4L.mjs.map → chunk-PAY7N36H.mjs.map} +0 -0
  302. /package/dist/esm/{chunk-ISXBJPLD.mjs.map → chunk-PHEA3NOJ.mjs.map} +0 -0
  303. /package/dist/esm/{chunk-NH466YFP.mjs.map → chunk-PUP6XMAV.mjs.map} +0 -0
  304. /package/dist/esm/{chunk-PG7KSUMN.mjs.map → chunk-PWYL5QZP.mjs.map} +0 -0
  305. /package/dist/esm/{chunk-CZOUSIAD.mjs.map → chunk-R4KIZ2FK.mjs.map} +0 -0
  306. /package/dist/esm/{chunk-AUV4VAXK.mjs.map → chunk-RTO3YBWQ.mjs.map} +0 -0
  307. /package/dist/esm/{chunk-34WI7I3Z.mjs.map → chunk-RURI53PG.mjs.map} +0 -0
  308. /package/dist/esm/{chunk-TU6VKYDC.mjs.map → chunk-RX5SPT5S.mjs.map} +0 -0
  309. /package/dist/esm/{chunk-HGRU3HWY.mjs.map → chunk-RYRID5HT.mjs.map} +0 -0
  310. /package/dist/esm/{chunk-IWKIZLFW.mjs.map → chunk-SBEZ64HG.mjs.map} +0 -0
  311. /package/dist/esm/{chunk-RWYPGTNL.mjs.map → chunk-SNDFJWYM.mjs.map} +0 -0
  312. /package/dist/esm/{chunk-3YIUOKWW.mjs.map → chunk-T5YEMU53.mjs.map} +0 -0
  313. /package/dist/esm/{chunk-MLQT5I6K.mjs.map → chunk-TUCCV62K.mjs.map} +0 -0
  314. /package/dist/esm/{chunk-7QGIAVW4.mjs.map → chunk-UBON2G6Y.mjs.map} +0 -0
  315. /package/dist/esm/{chunk-D76FE35G.mjs.map → chunk-VJ3OBIFQ.mjs.map} +0 -0
  316. /package/dist/esm/{chunk-AUAL3H36.mjs.map → chunk-WA2NTBYY.mjs.map} +0 -0
  317. /package/dist/esm/{chunk-QYEJOEWB.mjs.map → chunk-XGDLSWBF.mjs.map} +0 -0
  318. /package/dist/esm/{chunk-PENBUSGL.mjs.map → chunk-XH33BXEY.mjs.map} +0 -0
  319. /package/dist/esm/{chunk-WOLLRMXR.mjs.map → chunk-XVZBWW46.mjs.map} +0 -0
  320. /package/dist/esm/{chunk-IU6REVKX.mjs.map → chunk-YDNOKWV3.mjs.map} +0 -0
  321. /package/dist/esm/{chunk-GHHIUWPP.mjs.map → chunk-YRUF6N3U.mjs.map} +0 -0
@@ -2211,4 +2211,4 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2211
2211
  equals(other: AccountAddress): boolean;
2212
2212
  }
2213
2213
 
2214
- export { type GetEventsResponse as $, type AnyNumber as A, type GetAccountOwnedTokensFromCollectionResponse as B, type Client as C, Deserializer as D, type EntryFunctionArgument as E, type FullNodeConfig as F, type GetAccountOwnedTokensQueryResponse as G, type HexInput as H, type IndexerConfig as I, type GetAccountCollectionsWithOwnedTokenResponse as J, type GetAccountCoinsDataResponse as K, type LedgerVersionArg as L, type MoveModuleId as M, Network as N, type OrderByArg as O, type PaginationArgs as P, type GetAccountOwnedObjectsResponse as Q, type GetCollectionDataResponse as R, Serializable as S, type TransactionArgument as T, type Uint8 as U, type GetTokenDataResponse as V, type WhereArg as W, type GetCurrentTokenOwnershipResponse as X, type GetOwnedTokensResponse as Y, ZkpVariant as Z, type GetTokenActivityResponse as _, Serializer as a, type TransactionPayloadResponse as a$, type WaitForTransactionOptions as a0, type UserTransactionResponse as a1, type MoveFunction as a2, type GetFungibleAssetMetadataResponse as a3, type GetFungibleAssetActivitiesResponse as a4, type GetCurrentFungibleAssetBalancesResponse as a5, type LedgerInfo as a6, type Block as a7, type MoveValue as a8, type GetChainTopUserTransactionsResponse as a9, AccountAuthenticatorVariant as aA, AnySignatureVariant as aB, EphemeralSignatureVariant as aC, type Uint64 as aD, type Uint128 as aE, type Uint256 as aF, type ClientHeadersType as aG, TransactionResponseType as aH, isPendingTransactionResponse as aI, isUserTransactionResponse as aJ, isGenesisTransactionResponse as aK, isBlockMetadataTransactionResponse as aL, isStateCheckpointTransactionResponse as aM, isValidatorTransactionResponse as aN, type GenesisTransactionResponse as aO, type BlockMetadataTransactionResponse as aP, type StateCheckpointTransactionResponse as aQ, type ValidatorTransactionResponse as aR, type WriteSetChange as aS, type WriteSetChangeDeleteModule as aT, type WriteSetChangeDeleteResource as aU, type WriteSetChangeDeleteTableItem as aV, type WriteSetChangeWriteModule as aW, type WriteSetChangeWriteResource as aX, type WriteSetChangeWriteTableItem as aY, type DecodedTableData as aZ, type DeletedTableData as a_, type GraphqlQuery as aa, type GetProcessorStatusResponse as ab, type GetANSNameResponse as ac, type GetNumberOfDelegatorsResponse as ad, type GetDelegatedStakingActivitiesResponse as ae, type PendingTransactionResponse as af, type CommittedTransactionResponse as ag, type GasEstimation as ah, type TableItemRequest as ai, type GetTableItemsDataResponse as aj, type GetTableItemsMetadataResponse as ak, type ClientRequest as al, type ClientResponse as am, MimeType as an, ensureBoolean as ao, outOfRangeErrorMessage as ap, validateNumberInRange as aq, AddressInvalidReason as ar, ParsingError as as, type ParsingResult as at, HexInvalidReason as au, TypeTagVariants as av, ScriptTransactionArgumentVariants as aw, TransactionPayloadVariants as ax, TransactionVariants as ay, TransactionAuthenticatorVariant as az, type Uint16 as b, type EntryFunctionPayloadResponse as b0, type ScriptPayloadResponse as b1, type MultisigPayloadResponse as b2, type GenesisPayload as b3, type MoveScriptBytecode as b4, type TransactionSignature as b5, isEd25519Signature as b6, isSecp256k1Signature as b7, isMultiAgentSignature as b8, isFeePayerSignature as b9, type MoveModule as bA, type MoveStruct as bB, RoleType as bC, DeriveScheme as bD, type GenerateAccountWithEd25519 as bE, type GenerateAccountWithSingleSignerSecp256k1Key as bF, type GenerateAccount as bG, type OrderBy as bH, type OrderByValue as bI, type TokenStandard as bJ, NetworkToIndexerAPI as bK, NetworkToNodeAPI as bL, NetworkToFaucetAPI as bM, NetworkToPepperAPI as bN, NetworkToProverAPI as bO, NetworkToChainId as bP, NetworkToNetworkName as bQ, isMultiEd25519Signature as ba, type TransactionEd25519Signature as bb, type TransactionSecp256k1Signature as bc, type TransactionMultiEd25519Signature as bd, type TransactionMultiAgentSignature as be, type TransactionFeePayerSignature as bf, type AccountSignature as bg, type WriteSet as bh, type ScriptWriteSet as bi, type DirectWriteSet as bj, type EventGuid as bk, type Event as bl, type MoveUint8Type as bm, type MoveUint16Type as bn, type MoveUint32Type as bo, type MoveUint64Type as bp, type MoveUint128Type as bq, type MoveUint256Type as br, type MoveAddressType as bs, type MoveObjectType as bt, type MoveOptionType as bu, type MoveStructType as bv, type MoveType as bw, MoveFunctionVisibility as bx, MoveAbility as by, type MoveStructField as bz, type Uint32 as c, type Deserializable as d, Hex as e, type AuthenticationKeyScheme as f, AccountAddress as g, AnyPublicKeyVariant as h, EphemeralPublicKeyVariant as i, EphemeralCertificateVariant as j, type ClientConfig as k, type FaucetConfig as l, type AptosSettings as m, type ScriptFunctionArgument as n, type MoveFunctionId as o, type AccountAddressInput as p, type MoveFunctionGenericTypeParam as q, SigningSchemeInput as r, SigningScheme as s, type AptosRequest as t, type AccountData as u, type MoveModuleBytecode as v, type TransactionResponse as w, type MoveResource as x, type MoveStructId as y, type TokenStandardArg as z };
2214
+ export { type WaitForTransactionOptions as $, type AnyNumber as A, type GetAccountCollectionsWithOwnedTokenResponse as B, type Client as C, Deserializer as D, type EntryFunctionArgument as E, type FullNodeConfig as F, type GetAccountOwnedTokensQueryResponse as G, type HexInput as H, type IndexerConfig as I, type GetAccountCoinsDataResponse as J, type GetAccountOwnedObjectsResponse as K, type LedgerVersionArg as L, type MoveModuleId as M, Network as N, type OrderByArg as O, type PaginationArgs as P, type GetCollectionDataResponse as Q, type GetTokenDataResponse as R, Serializable as S, type TransactionArgument as T, type Uint8 as U, type GetCurrentTokenOwnershipResponse as V, type WhereArg as W, type GetOwnedTokensResponse as X, type GetTokenActivityResponse as Y, ZkpVariant as Z, type GetEventsResponse as _, Serializer as a, type TransactionPayloadResponse as a$, type UserTransactionResponse as a0, type MoveFunction as a1, type GetFungibleAssetMetadataResponse as a2, type GetFungibleAssetActivitiesResponse as a3, type GetCurrentFungibleAssetBalancesResponse as a4, type LedgerInfo as a5, type Block as a6, type MoveValue as a7, type GetChainTopUserTransactionsResponse as a8, type GraphqlQuery as a9, AccountAuthenticatorVariant as aA, AnySignatureVariant as aB, EphemeralSignatureVariant as aC, type Uint64 as aD, type Uint128 as aE, type Uint256 as aF, type ClientHeadersType as aG, TransactionResponseType as aH, isPendingTransactionResponse as aI, isUserTransactionResponse as aJ, isGenesisTransactionResponse as aK, isBlockMetadataTransactionResponse as aL, isStateCheckpointTransactionResponse as aM, isValidatorTransactionResponse as aN, type GenesisTransactionResponse as aO, type BlockMetadataTransactionResponse as aP, type StateCheckpointTransactionResponse as aQ, type ValidatorTransactionResponse as aR, type WriteSetChange as aS, type WriteSetChangeDeleteModule as aT, type WriteSetChangeDeleteResource as aU, type WriteSetChangeDeleteTableItem as aV, type WriteSetChangeWriteModule as aW, type WriteSetChangeWriteResource as aX, type WriteSetChangeWriteTableItem as aY, type DecodedTableData as aZ, type DeletedTableData as a_, type GetProcessorStatusResponse as aa, type GetANSNameResponse as ab, type GetNumberOfDelegatorsResponse as ac, type GetDelegatedStakingActivitiesResponse as ad, type PendingTransactionResponse as ae, type CommittedTransactionResponse as af, type GasEstimation as ag, type TableItemRequest as ah, type GetTableItemsDataResponse as ai, type GetTableItemsMetadataResponse as aj, type AptosRequest as ak, type ClientRequest as al, type ClientResponse as am, MimeType as an, ensureBoolean as ao, outOfRangeErrorMessage as ap, validateNumberInRange as aq, AddressInvalidReason as ar, ParsingError as as, type ParsingResult as at, HexInvalidReason as au, TypeTagVariants as av, ScriptTransactionArgumentVariants as aw, TransactionPayloadVariants as ax, TransactionVariants as ay, TransactionAuthenticatorVariant as az, type Uint16 as b, type EntryFunctionPayloadResponse as b0, type ScriptPayloadResponse as b1, type MultisigPayloadResponse as b2, type GenesisPayload as b3, type MoveScriptBytecode as b4, type TransactionSignature as b5, isEd25519Signature as b6, isSecp256k1Signature as b7, isMultiAgentSignature as b8, isFeePayerSignature as b9, type MoveModule as bA, type MoveStruct as bB, RoleType as bC, DeriveScheme as bD, type GenerateAccountWithEd25519 as bE, type GenerateAccountWithSingleSignerSecp256k1Key as bF, type GenerateAccount as bG, type OrderBy as bH, type OrderByValue as bI, type TokenStandard as bJ, NetworkToIndexerAPI as bK, NetworkToNodeAPI as bL, NetworkToFaucetAPI as bM, NetworkToPepperAPI as bN, NetworkToProverAPI as bO, NetworkToChainId as bP, NetworkToNetworkName as bQ, isMultiEd25519Signature as ba, type TransactionEd25519Signature as bb, type TransactionSecp256k1Signature as bc, type TransactionMultiEd25519Signature as bd, type TransactionMultiAgentSignature as be, type TransactionFeePayerSignature as bf, type AccountSignature as bg, type WriteSet as bh, type ScriptWriteSet as bi, type DirectWriteSet as bj, type EventGuid as bk, type Event as bl, type MoveUint8Type as bm, type MoveUint16Type as bn, type MoveUint32Type as bo, type MoveUint64Type as bp, type MoveUint128Type as bq, type MoveUint256Type as br, type MoveAddressType as bs, type MoveObjectType as bt, type MoveOptionType as bu, type MoveStructType as bv, type MoveType as bw, MoveFunctionVisibility as bx, MoveAbility as by, type MoveStructField as bz, type Uint32 as c, type Deserializable as d, Hex as e, type AuthenticationKeyScheme as f, AccountAddress as g, AnyPublicKeyVariant as h, EphemeralPublicKeyVariant as i, EphemeralCertificateVariant as j, type ClientConfig as k, type FaucetConfig as l, type AptosSettings as m, type ScriptFunctionArgument as n, type MoveFunctionId as o, type AccountAddressInput as p, type MoveFunctionGenericTypeParam as q, SigningSchemeInput as r, SigningScheme as s, type AccountData as t, type MoveModuleBytecode as u, type TransactionResponse as v, type MoveResource as w, type MoveStructId as x, type TokenStandardArg as y, type GetAccountOwnedTokensFromCollectionResponse as z };
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var l=(n,e,r,o)=>{for(var t=o>1?void 0:o?u(e,r):e,s=n.length-1,c;s>=0;s--)(c=n[s])&&(t=(o?c(e,r,t):c(t))||t);return o&&t&&i(e,r,t),t};var _jsbase64 = require('js-base64');async function g(n){return new Promise(e=>{setTimeout(e,n)})}function p(){return Math.floor(new Date().getTime()/1e3)}function f(n){let e=new Date(n*1e3);return e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0),Math.floor(e.getTime()/1e3)}function b(n){let e=n.replace(/-/g,"+").replace(/_/g,"/"),r=e+"==".substring(0,(3-e.length%3)%3);return _jsbase64.decode.call(void 0, r)}exports.a = l; exports.b = g; exports.c = p; exports.d = f; exports.e = b;
2
- //# sourceMappingURL=chunk-VLEH6QBR.js.map
2
+ //# sourceMappingURL=chunk-HPZUSDYP.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/helpers.ts"],"names":["decode","sleep","timeMs","resolve","currentTimeInSeconds","floorToWholeHour","timestampInSeconds","date","base64UrlDecode","base64Url","base64","paddedBase64"],"mappings":"wMAGA,OAAS,UAAAA,MAAc,YAMvB,eAAsBC,EAAMC,EAA+B,CACzD,OAAO,IAAI,QAASC,GAAY,CAC9B,WAAWA,EAASD,CAAM,CAC5B,CAAC,CACH,CAGO,SAASE,GAA+B,CAC7C,OAAO,KAAK,MAAM,IAAI,KAAK,EAAE,QAAQ,EAAI,GAAI,CAC/C,CAEO,SAASC,EAAiBC,EAAoC,CACnE,IAAMC,EAAO,IAAI,KAAKD,EAAqB,GAAI,EAE/C,OAAAC,EAAK,WAAW,CAAC,EACjBA,EAAK,WAAW,CAAC,EACjBA,EAAK,gBAAgB,CAAC,EACf,KAAK,MAAMA,EAAK,QAAQ,EAAI,GAAI,CACzC,CAEO,SAASC,EAAgBC,EAA2B,CAEzD,IAAMC,EAASD,EAAU,QAAQ,KAAM,GAAG,EAAE,QAAQ,KAAM,GAAG,EAEvDE,EAAeD,EAAS,KAAK,UAAU,GAAI,EAAKA,EAAO,OAAS,GAAM,CAAC,EAE7E,OADsBV,EAAOW,CAAY,CAE3C","sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { decode } from \"js-base64\";\n\n/**\n * Sleep the current thread for the given amount of time\n * @param timeMs time in milliseconds to sleep\n */\nexport async function sleep(timeMs: number): Promise<null> {\n return new Promise((resolve) => {\n setTimeout(resolve, timeMs);\n });\n}\n\n\nexport function currentTimeInSeconds(): number {\n return Math.floor(new Date().getTime() / 1000);\n}\n\nexport function floorToWholeHour(timestampInSeconds: number): number {\n const date = new Date(timestampInSeconds * 1000);\n // Reset minutes and seconds to zero\n date.setMinutes(0);\n date.setSeconds(0);\n date.setMilliseconds(0);\n return Math.floor(date.getTime() / 1000);\n}\n\nexport function base64UrlDecode(base64Url: string): string {\n // Replace base64url-specific characters\n const base64 = base64Url.replace(/-/g, \"+\").replace(/_/g, \"/\");\n // Pad the string with '=' characters if needed\n const paddedBase64 = base64 + \"==\".substring(0, (3 - (base64.length % 3)) % 3);\n const decodedString = decode(paddedBase64);\n return decodedString;\n}\n"]}
1
+ {"version":3,"sources":["../../src/utils/helpers.ts"],"names":["decode","sleep","timeMs","resolve","currentTimeInSeconds","floorToWholeHour","timestampInSeconds","date","base64UrlDecode","base64Url","base64","paddedBase64"],"mappings":"wMAGA,OAAS,UAAAA,MAAc,YAMvB,eAAsBC,EAAMC,EAA+B,CACzD,OAAO,IAAI,QAASC,GAAY,CAC9B,WAAWA,EAASD,CAAM,CAC5B,CAAC,CACH,CAEO,SAASE,GAA+B,CAC7C,OAAO,KAAK,MAAM,IAAI,KAAK,EAAE,QAAQ,EAAI,GAAI,CAC/C,CAEO,SAASC,EAAiBC,EAAoC,CACnE,IAAMC,EAAO,IAAI,KAAKD,EAAqB,GAAI,EAE/C,OAAAC,EAAK,WAAW,CAAC,EACjBA,EAAK,WAAW,CAAC,EACjBA,EAAK,gBAAgB,CAAC,EACf,KAAK,MAAMA,EAAK,QAAQ,EAAI,GAAI,CACzC,CAEO,SAASC,EAAgBC,EAA2B,CAEzD,IAAMC,EAASD,EAAU,QAAQ,KAAM,GAAG,EAAE,QAAQ,KAAM,GAAG,EAEvDE,EAAeD,EAAS,KAAK,UAAU,GAAI,EAAKA,EAAO,OAAS,GAAM,CAAC,EAE7E,OADsBV,EAAOW,CAAY,CAE3C","sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { decode } from \"js-base64\";\n\n/**\n * Sleep the current thread for the given amount of time\n * @param timeMs time in milliseconds to sleep\n */\nexport async function sleep(timeMs: number): Promise<null> {\n return new Promise((resolve) => {\n setTimeout(resolve, timeMs);\n });\n}\n\nexport function currentTimeInSeconds(): number {\n return Math.floor(new Date().getTime() / 1000);\n}\n\nexport function floorToWholeHour(timestampInSeconds: number): number {\n const date = new Date(timestampInSeconds * 1000);\n // Reset minutes and seconds to zero\n date.setMinutes(0);\n date.setSeconds(0);\n date.setMilliseconds(0);\n return Math.floor(date.getTime() / 1000);\n}\n\nexport function base64UrlDecode(base64Url: string): string {\n // Replace base64url-specific characters\n const base64 = base64Url.replace(/-/g, \"+\").replace(/_/g, \"/\");\n // Pad the string with '=' characters if needed\n const paddedBase64 = base64 + \"==\".substring(0, (3 - (base64.length % 3)) % 3);\n const decodedString = decode(paddedBase64);\n return decodedString;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { ChildProcessWithoutNullStreams } from 'child_process';
2
- import { N as Network, g as AccountAddress } from '../accountAddress-OUd5ov6z.js';
2
+ import { N as Network, g as AccountAddress } from '../accountAddress-YfW6h4Ja.js';
3
3
 
4
4
  declare class LocalNode {
5
5
  readonly MAXIMUM_WAIT_TIME_SEC = 75;
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkVLEH6QBRjs = require('../chunk-VLEH6QBR.js');var _child_process = require('child_process');var _treekill = require('tree-kill'); var _treekill2 = _interopRequireDefault(_treekill);var _os = require('os');var d=class{constructor(){this.MAXIMUM_WAIT_TIME_SEC=75;this.READINESS_ENDPOINT="http://127.0.0.1:8070/";this.process=null}stop(){_optionalChain([this, 'access', _ => _.process, 'optionalAccess', _2 => _2.pid])&&_treekill2.default.call(void 0, this.process.pid)}async run(){await this.checkIfProcessIsUp()||(this.start(),await this.waitUntilProcessIsUp())}start(){let s="npx",t=["aptos","node","run-local-testnet","--force-restart","--assume-yes","--with-indexer-api"],e=_os.platform.call(void 0, ),r;e==="win32"?r=_child_process.spawn.call(void 0, s,t,{shell:!0}):r=_child_process.spawn.call(void 0, s,t),this.process=r,_optionalChain([r, 'access', _3 => _3.stderr, 'optionalAccess', _4 => _4.on, 'call', _5 => _5("data",o=>{let a=o.toString();console.log(a)})]),_optionalChain([r, 'access', _6 => _6.stdout, 'optionalAccess', _7 => _7.on, 'call', _8 => _8("data",o=>{let a=o.toString();console.log(a)})])}async waitUntilProcessIsUp(){let s=await this.checkIfProcessIsUp(),t=Date.now()/1e3,e=t;for(;!s&&t+this.MAXIMUM_WAIT_TIME_SEC>e;)await _chunkVLEH6QBRjs.b.call(void 0, 1e3),s=await this.checkIfProcessIsUp(),e=Date.now()/1e3;if(!s)throw new Error("Process failed to start");return!0}async checkIfProcessIsUp(){try{return(await fetch(this.READINESS_ENDPOINT)).status===200}catch (e2){return!1}}};var l=class{async init(s){let{network:t,profile:e}=s,r=["aptos","init",`--network=${_nullishCoalesce(t, () => ("local"))}`,`--profile=${_nullishCoalesce(e, () => ("default"))}`];return this.runCommand(r)}async compile(s){let{packageDirectoryPath:t,namedAddresses:e}=s,r=["aptos","move","compile","--package-dir",t,"--skip-fetch-latest-git-deps"],o=this.parseNamedAddresses(e);return r.push(...this.prepareNamedAddresses(o)),this.runCommand(r)}async test(s){let{packageDirectoryPath:t,namedAddresses:e}=s,r=["aptos","move","test","--package-dir",t,"--skip-fetch-latest-git-deps"],o=this.parseNamedAddresses(e);return r.push(...this.prepareNamedAddresses(o)),this.runCommand(r)}async publish(s){let{packageDirectoryPath:t,namedAddresses:e,profile:r}=s,o=["aptos","move","publish","--package-dir",t,"--skip-fetch-latest-git-deps",`--profile=${_nullishCoalesce(r, () => ("default"))}`],a=this.parseNamedAddresses(e);return o.push(...this.prepareNamedAddresses(a)),this.runCommand(o)}async runCommand(s){return new Promise((t,e)=>{let r=_os.platform.call(void 0, ),o;r==="win32"?o=_child_process.spawn.call(void 0, "npx",s,{shell:!0}):o=_child_process.spawn.call(void 0, "npx",s),o.stdout.pipe(process.stdout),o.stderr.pipe(process.stderr),process.stdin.pipe(o.stdin),o.on("close",a=>{a===0?t(!0):e(new Error(`Child process exited with code ${a}`))})})}prepareNamedAddresses(s){let t=s.size,e=[];if(t===0)return e;e.push("--named-addresses");let r=0;return s.forEach((o,a)=>{r+=1;let n=`${a}=${o.toString()}`;r<t-1&&(n+=","),e.push(n)}),e}parseNamedAddresses(s){let t=new Map;return Object.keys(s).forEach(e=>{let r=s[e];t.set(e,r)}),t}};exports.LocalNode = d; exports.Move = l;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkHPZUSDYPjs = require('../chunk-HPZUSDYP.js');var _child_process = require('child_process');var _treekill = require('tree-kill'); var _treekill2 = _interopRequireDefault(_treekill);var _os = require('os');var d=class{constructor(){this.MAXIMUM_WAIT_TIME_SEC=75;this.READINESS_ENDPOINT="http://127.0.0.1:8070/";this.process=null}stop(){_optionalChain([this, 'access', _ => _.process, 'optionalAccess', _2 => _2.pid])&&_treekill2.default.call(void 0, this.process.pid)}async run(){await this.checkIfProcessIsUp()||(this.start(),await this.waitUntilProcessIsUp())}start(){let s="npx",t=["aptos","node","run-local-testnet","--force-restart","--assume-yes","--with-indexer-api"],e=_os.platform.call(void 0, ),r;e==="win32"?r=_child_process.spawn.call(void 0, s,t,{shell:!0}):r=_child_process.spawn.call(void 0, s,t),this.process=r,_optionalChain([r, 'access', _3 => _3.stderr, 'optionalAccess', _4 => _4.on, 'call', _5 => _5("data",o=>{let a=o.toString();console.log(a)})]),_optionalChain([r, 'access', _6 => _6.stdout, 'optionalAccess', _7 => _7.on, 'call', _8 => _8("data",o=>{let a=o.toString();console.log(a)})])}async waitUntilProcessIsUp(){let s=await this.checkIfProcessIsUp(),t=Date.now()/1e3,e=t;for(;!s&&t+this.MAXIMUM_WAIT_TIME_SEC>e;)await _chunkHPZUSDYPjs.b.call(void 0, 1e3),s=await this.checkIfProcessIsUp(),e=Date.now()/1e3;if(!s)throw new Error("Process failed to start");return!0}async checkIfProcessIsUp(){try{return(await fetch(this.READINESS_ENDPOINT)).status===200}catch (e2){return!1}}};var l=class{async init(s){let{network:t,profile:e}=s,r=["aptos","init",`--network=${_nullishCoalesce(t, () => ("local"))}`,`--profile=${_nullishCoalesce(e, () => ("default"))}`];return this.runCommand(r)}async compile(s){let{packageDirectoryPath:t,namedAddresses:e}=s,r=["aptos","move","compile","--package-dir",t,"--skip-fetch-latest-git-deps"],o=this.parseNamedAddresses(e);return r.push(...this.prepareNamedAddresses(o)),this.runCommand(r)}async test(s){let{packageDirectoryPath:t,namedAddresses:e}=s,r=["aptos","move","test","--package-dir",t,"--skip-fetch-latest-git-deps"],o=this.parseNamedAddresses(e);return r.push(...this.prepareNamedAddresses(o)),this.runCommand(r)}async publish(s){let{packageDirectoryPath:t,namedAddresses:e,profile:r}=s,o=["aptos","move","publish","--package-dir",t,"--skip-fetch-latest-git-deps",`--profile=${_nullishCoalesce(r, () => ("default"))}`],a=this.parseNamedAddresses(e);return o.push(...this.prepareNamedAddresses(a)),this.runCommand(o)}async runCommand(s){return new Promise((t,e)=>{let r=_os.platform.call(void 0, ),o;r==="win32"?o=_child_process.spawn.call(void 0, "npx",s,{shell:!0}):o=_child_process.spawn.call(void 0, "npx",s),o.stdout.pipe(process.stdout),o.stderr.pipe(process.stderr),process.stdin.pipe(o.stdin),o.on("close",a=>{a===0?t(!0):e(new Error(`Child process exited with code ${a}`))})})}prepareNamedAddresses(s){let t=s.size,e=[];if(t===0)return e;e.push("--named-addresses");let r=0;return s.forEach((o,a)=>{r+=1;let n=`${a}=${o.toString()}`;r<t-1&&(n+=","),e.push(n)}),e}parseNamedAddresses(s){let t=new Map;return Object.keys(s).forEach(e=>{let r=s[e];t.set(e,r)}),t}};exports.LocalNode = d; exports.Move = l;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, j as EphemeralCertificateVariant, Z as ZkpVariant, N as Network, C as Client, k as ClientConfig, F as FullNodeConfig, I as IndexerConfig, l as FaucetConfig, m as AptosSettings, M as MoveModuleId, n as ScriptFunctionArgument, o as MoveFunctionId, p as AccountAddressInput, q as MoveFunctionGenericTypeParam, r as SigningSchemeInput, s as SigningScheme, t as AptosRequest, u as AccountData, P as PaginationArgs, L as LedgerVersionArg, v as MoveModuleBytecode, w as TransactionResponse, x as MoveResource, y as MoveStructId, z as TokenStandardArg, O as OrderByArg, G as GetAccountOwnedTokensQueryResponse, B as GetAccountOwnedTokensFromCollectionResponse, J as GetAccountCollectionsWithOwnedTokenResponse, K as GetAccountCoinsDataResponse, W as WhereArg, Q as GetAccountOwnedObjectsResponse, R as GetCollectionDataResponse, V as GetTokenDataResponse, X as GetCurrentTokenOwnershipResponse, Y as GetOwnedTokensResponse, _ as GetTokenActivityResponse, $ as GetEventsResponse, a0 as WaitForTransactionOptions, a1 as UserTransactionResponse, a2 as MoveFunction, a3 as GetFungibleAssetMetadataResponse, a4 as GetFungibleAssetActivitiesResponse, a5 as GetCurrentFungibleAssetBalancesResponse, a6 as LedgerInfo, a7 as Block, a8 as MoveValue, a9 as GetChainTopUserTransactionsResponse, aa as GraphqlQuery, ab as GetProcessorStatusResponse, ac as GetANSNameResponse, ad as GetNumberOfDelegatorsResponse, ae as GetDelegatedStakingActivitiesResponse, af as PendingTransactionResponse, ag as CommittedTransactionResponse, ah as GasEstimation, ai as TableItemRequest, aj as GetTableItemsDataResponse, ak as GetTableItemsMetadataResponse, al as ClientRequest, am as ClientResponse, an as MimeType } from './accountAddress-OUd5ov6z.js';
2
- export { aA as AccountAuthenticatorVariant, bg as AccountSignature, ar as AddressInvalidReason, aB as AnySignatureVariant, aP as BlockMetadataTransactionResponse, aG as ClientHeadersType, aZ as DecodedTableData, a_ as DeletedTableData, bD as DeriveScheme, bj as DirectWriteSet, b0 as EntryFunctionPayloadResponse, aC as EphemeralSignatureVariant, bl as Event, bk as EventGuid, bG as GenerateAccount, bE as GenerateAccountWithEd25519, bF as GenerateAccountWithSingleSignerSecp256k1Key, b3 as GenesisPayload, aO as GenesisTransactionResponse, au as HexInvalidReason, by as MoveAbility, bs as MoveAddressType, bx as MoveFunctionVisibility, bA as MoveModule, bt as MoveObjectType, bu as MoveOptionType, b4 as MoveScriptBytecode, bB as MoveStruct, bz as MoveStructField, bv as MoveStructType, bw as MoveType, bq as MoveUint128Type, bn as MoveUint16Type, br as MoveUint256Type, bo as MoveUint32Type, bp as MoveUint64Type, bm as MoveUint8Type, b2 as MultisigPayloadResponse, bP as NetworkToChainId, bM as NetworkToFaucetAPI, bK as NetworkToIndexerAPI, bQ as NetworkToNetworkName, bL as NetworkToNodeAPI, bN as NetworkToPepperAPI, bO as NetworkToProverAPI, bH as OrderBy, bI as OrderByValue, as as ParsingError, at as ParsingResult, bC as RoleType, b1 as ScriptPayloadResponse, aw as ScriptTransactionArgumentVariants, bi as ScriptWriteSet, aQ as StateCheckpointTransactionResponse, bJ as TokenStandard, az as TransactionAuthenticatorVariant, bb as TransactionEd25519Signature, bf as TransactionFeePayerSignature, be as TransactionMultiAgentSignature, bd as TransactionMultiEd25519Signature, a$ as TransactionPayloadResponse, ax as TransactionPayloadVariants, aH as TransactionResponseType, bc as TransactionSecp256k1Signature, b5 as TransactionSignature, ay as TransactionVariants, av as TypeTagVariants, aE as Uint128, aF as Uint256, aD as Uint64, aR as ValidatorTransactionResponse, bh as WriteSet, aS as WriteSetChange, aT as WriteSetChangeDeleteModule, aU as WriteSetChangeDeleteResource, aV as WriteSetChangeDeleteTableItem, aW as WriteSetChangeWriteModule, aX as WriteSetChangeWriteResource, aY as WriteSetChangeWriteTableItem, ao as ensureBoolean, aL as isBlockMetadataTransactionResponse, b6 as isEd25519Signature, b9 as isFeePayerSignature, aK as isGenesisTransactionResponse, b8 as isMultiAgentSignature, ba as isMultiEd25519Signature, aI as isPendingTransactionResponse, b7 as isSecp256k1Signature, aM as isStateCheckpointTransactionResponse, aJ as isUserTransactionResponse, aN as isValidatorTransactionResponse, ap as outOfRangeErrorMessage, aq as validateNumberInRange } from './accountAddress-OUd5ov6z.js';
1
+ import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, j as EphemeralCertificateVariant, Z as ZkpVariant, N as Network, C as Client, k as ClientConfig, F as FullNodeConfig, I as IndexerConfig, l as FaucetConfig, m as AptosSettings, M as MoveModuleId, n as ScriptFunctionArgument, o as MoveFunctionId, p as AccountAddressInput, q as MoveFunctionGenericTypeParam, r as SigningSchemeInput, s as SigningScheme, t as AccountData, P as PaginationArgs, L as LedgerVersionArg, u as MoveModuleBytecode, v as TransactionResponse, w as MoveResource, x as MoveStructId, y as TokenStandardArg, O as OrderByArg, G as GetAccountOwnedTokensQueryResponse, z as GetAccountOwnedTokensFromCollectionResponse, B as GetAccountCollectionsWithOwnedTokenResponse, J as GetAccountCoinsDataResponse, W as WhereArg, K as GetAccountOwnedObjectsResponse, Q as GetCollectionDataResponse, R as GetTokenDataResponse, V as GetCurrentTokenOwnershipResponse, X as GetOwnedTokensResponse, Y as GetTokenActivityResponse, _ as GetEventsResponse, $ as WaitForTransactionOptions, a0 as UserTransactionResponse, a1 as MoveFunction, a2 as GetFungibleAssetMetadataResponse, a3 as GetFungibleAssetActivitiesResponse, a4 as GetCurrentFungibleAssetBalancesResponse, a5 as LedgerInfo, a6 as Block, a7 as MoveValue, a8 as GetChainTopUserTransactionsResponse, a9 as GraphqlQuery, aa as GetProcessorStatusResponse, ab as GetANSNameResponse, ac as GetNumberOfDelegatorsResponse, ad as GetDelegatedStakingActivitiesResponse, ae as PendingTransactionResponse, af as CommittedTransactionResponse, ag as GasEstimation, ah as TableItemRequest, ai as GetTableItemsDataResponse, aj as GetTableItemsMetadataResponse, ak as AptosRequest, al as ClientRequest, am as ClientResponse, an as MimeType } from './accountAddress-YfW6h4Ja.js';
2
+ export { aA as AccountAuthenticatorVariant, bg as AccountSignature, ar as AddressInvalidReason, aB as AnySignatureVariant, aP as BlockMetadataTransactionResponse, aG as ClientHeadersType, aZ as DecodedTableData, a_ as DeletedTableData, bD as DeriveScheme, bj as DirectWriteSet, b0 as EntryFunctionPayloadResponse, aC as EphemeralSignatureVariant, bl as Event, bk as EventGuid, bG as GenerateAccount, bE as GenerateAccountWithEd25519, bF as GenerateAccountWithSingleSignerSecp256k1Key, b3 as GenesisPayload, aO as GenesisTransactionResponse, au as HexInvalidReason, by as MoveAbility, bs as MoveAddressType, bx as MoveFunctionVisibility, bA as MoveModule, bt as MoveObjectType, bu as MoveOptionType, b4 as MoveScriptBytecode, bB as MoveStruct, bz as MoveStructField, bv as MoveStructType, bw as MoveType, bq as MoveUint128Type, bn as MoveUint16Type, br as MoveUint256Type, bo as MoveUint32Type, bp as MoveUint64Type, bm as MoveUint8Type, b2 as MultisigPayloadResponse, bP as NetworkToChainId, bM as NetworkToFaucetAPI, bK as NetworkToIndexerAPI, bQ as NetworkToNetworkName, bL as NetworkToNodeAPI, bN as NetworkToPepperAPI, bO as NetworkToProverAPI, bH as OrderBy, bI as OrderByValue, as as ParsingError, at as ParsingResult, bC as RoleType, b1 as ScriptPayloadResponse, aw as ScriptTransactionArgumentVariants, bi as ScriptWriteSet, aQ as StateCheckpointTransactionResponse, bJ as TokenStandard, az as TransactionAuthenticatorVariant, bb as TransactionEd25519Signature, bf as TransactionFeePayerSignature, be as TransactionMultiAgentSignature, bd as TransactionMultiEd25519Signature, a$ as TransactionPayloadResponse, ax as TransactionPayloadVariants, aH as TransactionResponseType, bc as TransactionSecp256k1Signature, b5 as TransactionSignature, ay as TransactionVariants, av as TypeTagVariants, aE as Uint128, aF as Uint256, aD as Uint64, aR as ValidatorTransactionResponse, bh as WriteSet, aS as WriteSetChange, aT as WriteSetChangeDeleteModule, aU as WriteSetChangeDeleteResource, aV as WriteSetChangeDeleteTableItem, aW as WriteSetChangeWriteModule, aX as WriteSetChangeWriteResource, aY as WriteSetChangeWriteTableItem, ao as ensureBoolean, aL as isBlockMetadataTransactionResponse, b6 as isEd25519Signature, b9 as isFeePayerSignature, aK as isGenesisTransactionResponse, b8 as isMultiAgentSignature, ba as isMultiEd25519Signature, aI as isPendingTransactionResponse, b7 as isSecp256k1Signature, aM as isStateCheckpointTransactionResponse, aJ as isUserTransactionResponse, aN as isValidatorTransactionResponse, ap as outOfRangeErrorMessage, aq as validateNumberInRange } from './accountAddress-YfW6h4Ja.js';
3
3
  import EventEmitter from 'eventemitter3';
4
4
 
5
5
  type Maybe<T> = T | null;
@@ -3279,49 +3279,6 @@ declare class EphemeralKeyPair extends Serializable {
3279
3279
  sign(data: HexInput): EphemeralSignature;
3280
3280
  }
3281
3281
 
3282
- /**
3283
- * The API response type
3284
- *
3285
- * @param status - the response status. i.e. 200
3286
- * @param statusText - the response message
3287
- * @param data the response data
3288
- * @param url the url the request was made to
3289
- * @param headers the response headers
3290
- * @param config (optional) - the request object
3291
- * @param request (optional) - the request object
3292
- */
3293
- interface AptosResponse<Req, Res> {
3294
- status: number;
3295
- statusText: string;
3296
- data: Res;
3297
- url: string;
3298
- headers: any;
3299
- config?: any;
3300
- request?: Req;
3301
- }
3302
- /**
3303
- * The type returned from an API error
3304
- *
3305
- * @param name - the error name "AptosApiError"
3306
- * @param url the url the request was made to
3307
- * @param status - the response status. i.e. 400
3308
- * @param statusText - the response message
3309
- * @param data the response data
3310
- * @param request - the AptosRequest
3311
- */
3312
- declare class AptosApiError extends Error {
3313
- readonly url: string;
3314
- readonly status: number;
3315
- readonly statusText: string;
3316
- readonly data: {
3317
- message: string;
3318
- error_code?: string;
3319
- vm_error_code?: number;
3320
- };
3321
- readonly request: AptosRequest;
3322
- constructor(request: AptosRequest, response: AptosResponse<any, any>, message: string);
3323
- }
3324
-
3325
3282
  type AptsoDomainSeparator = `APTOS::${string}`;
3326
3283
  declare abstract class CryptoHashable extends Serializable {
3327
3284
  abstract readonly domainSeparator: AptsoDomainSeparator;
@@ -3334,18 +3291,6 @@ declare abstract class CryptoHashable extends Serializable {
3334
3291
  }
3335
3292
 
3336
3293
  declare const IssuerToJwkEndpoint: Record<string, string>;
3337
- declare enum KeylessErrorType {
3338
- JWK_EXPIRED = 0,
3339
- EPK_EXPIRED = 1,
3340
- PROOF_NOT_FOUND = 2,
3341
- UNKNOWN_INVALID_SIGNATURE = 3,
3342
- UNKNOWN = 4
3343
- }
3344
- declare class KeylessError extends Error {
3345
- readonly type: KeylessErrorType;
3346
- constructor(type: KeylessErrorType);
3347
- static fromAptosApiError(error: AptosApiError, signer: KeylessAccount): Promise<KeylessError>;
3348
- }
3349
3294
  /**
3350
3295
  * Account implementation for the Keyless authentication scheme.
3351
3296
  *
@@ -6261,6 +6206,49 @@ declare class Aptos {
6261
6206
  interface Aptos extends Account, ANS, Coin, DigitalAsset, Event, Faucet, FungibleAsset, General, Keyless, Staking, Table, Omit<Transaction, "build" | "simulate" | "submit" | "batch"> {
6262
6207
  }
6263
6208
 
6209
+ /**
6210
+ * The API response type
6211
+ *
6212
+ * @param status - the response status. i.e. 200
6213
+ * @param statusText - the response message
6214
+ * @param data the response data
6215
+ * @param url the url the request was made to
6216
+ * @param headers the response headers
6217
+ * @param config (optional) - the request object
6218
+ * @param request (optional) - the request object
6219
+ */
6220
+ interface AptosResponse<Req, Res> {
6221
+ status: number;
6222
+ statusText: string;
6223
+ data: Res;
6224
+ url: string;
6225
+ headers: any;
6226
+ config?: any;
6227
+ request?: Req;
6228
+ }
6229
+ /**
6230
+ * The type returned from an API error
6231
+ *
6232
+ * @param name - the error name "AptosApiError"
6233
+ * @param url the url the request was made to
6234
+ * @param status - the response status. i.e. 400
6235
+ * @param statusText - the response message
6236
+ * @param data the response data
6237
+ * @param request - the AptosRequest
6238
+ */
6239
+ declare class AptosApiError extends Error {
6240
+ readonly url: string;
6241
+ readonly status: number;
6242
+ readonly statusText: string;
6243
+ readonly data: {
6244
+ message: string;
6245
+ error_code?: string;
6246
+ vm_error_code?: number;
6247
+ };
6248
+ readonly request: AptosRequest;
6249
+ constructor(request: AptosRequest, response: AptosResponse<any, any>, message: string);
6250
+ }
6251
+
6264
6252
  type DeserializableClass<T extends Serializable> = {
6265
6253
  deserialize(deserializer: Deserializer): T;
6266
6254
  };
@@ -6397,4 +6385,4 @@ declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAp
6397
6385
  declare function postAptosPepperService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6398
6386
  declare function postAptosProvingService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6399
6387
 
6400
- export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, type AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FaucetConfig, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, IssuerToJwkEndpoint, KeyType, KeylessAccount, KeylessConfiguration, KeylessError, KeylessErrorType, KeylessPublicKey, KeylessSignature, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, ModuleId, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveModuleBytecode, MoveModuleId, MoveOption, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentRawTransaction, MultiAgentTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiKeyAccount, MultiKeySignature, MultiSig, MultiSigTransactionPayload, Network, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, type PrivateKey, type PrivateKeyFromDerivationPathArgs, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RotationProofChallenge, Script, ScriptFunctionArgument, type ScriptFunctionArgumentTypes, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, type TypeArgument, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint16, Uint32, Uint8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, type VerifySignatureArgs, type VerifySingleKeySignatureArgs, type ViewFunctionABI, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosCoinStructTag, aptosRequest, buildTransaction, checkOrConvertArgument, convertArgument, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getFunctionParts, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEncodedEntryFunctionArgument, isLargeNumber, isNull, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, normalizeBundle, objectStructTag, optionStructTag, paginateWithCursor, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };
6388
+ export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, type AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FaucetConfig, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, IssuerToJwkEndpoint, KeyType, KeylessAccount, KeylessConfiguration, KeylessPublicKey, KeylessSignature, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, ModuleId, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveModuleBytecode, MoveModuleId, MoveOption, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentRawTransaction, MultiAgentTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiKeyAccount, MultiKeySignature, MultiSig, MultiSigTransactionPayload, Network, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, type PrivateKey, type PrivateKeyFromDerivationPathArgs, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RotationProofChallenge, Script, ScriptFunctionArgument, type ScriptFunctionArgumentTypes, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, type TypeArgument, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint16, Uint32, Uint8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, type VerifySignatureArgs, type VerifySingleKeySignatureArgs, type ViewFunctionABI, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosCoinStructTag, aptosRequest, buildTransaction, checkOrConvertArgument, convertArgument, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getFunctionParts, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEncodedEntryFunctionArgument, isLargeNumber, isNull, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, normalizeBundle, objectStructTag, optionStructTag, paginateWithCursor, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };