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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/dist/common/{accountAddress-BtD_TE5q.d.ts → accountAddress-OUd5ov6z.d.ts} +56 -10
  2. package/dist/common/cli/index.d.ts +1 -1
  3. package/dist/common/index.d.ts +156 -32
  4. package/dist/common/index.js +28 -28
  5. package/dist/common/index.js.map +1 -1
  6. package/dist/esm/account/Account.mjs +1 -1
  7. package/dist/esm/account/Ed25519Account.mjs +1 -1
  8. package/dist/esm/account/EphemeralKeyPair.d.mts +4 -4
  9. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  10. package/dist/esm/account/KeylessAccount.d.mts +68 -9
  11. package/dist/esm/account/KeylessAccount.mjs +1 -1
  12. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  13. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  14. package/dist/esm/account/index.d.mts +2 -2
  15. package/dist/esm/account/index.mjs +1 -1
  16. package/dist/esm/api/account.mjs +1 -1
  17. package/dist/esm/api/ans.mjs +1 -1
  18. package/dist/esm/api/aptos.d.mts +5 -4
  19. package/dist/esm/api/aptos.mjs +1 -1
  20. package/dist/esm/api/aptosConfig.mjs +1 -1
  21. package/dist/esm/api/coin.mjs +1 -1
  22. package/dist/esm/api/digitalAsset.mjs +1 -1
  23. package/dist/esm/api/event.mjs +1 -1
  24. package/dist/esm/api/faucet.mjs +1 -1
  25. package/dist/esm/api/fungibleAsset.mjs +1 -1
  26. package/dist/esm/api/general.mjs +1 -1
  27. package/dist/esm/api/index.d.mts +5 -4
  28. package/dist/esm/api/index.mjs +1 -1
  29. package/dist/esm/api/keyless.d.mts +15 -10
  30. package/dist/esm/api/keyless.mjs +1 -1
  31. package/dist/esm/api/staking.mjs +1 -1
  32. package/dist/esm/api/table.mjs +1 -1
  33. package/dist/esm/api/transaction.mjs +1 -1
  34. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  35. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  36. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  37. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  38. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  39. package/dist/esm/api/utils.mjs +1 -1
  40. package/dist/esm/bcs/deserializer.d.mts +14 -8
  41. package/dist/esm/bcs/deserializer.mjs +1 -1
  42. package/dist/esm/bcs/index.mjs +1 -1
  43. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
  44. package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
  45. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  46. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  47. package/dist/esm/bcs/serializer.d.mts +40 -0
  48. package/dist/esm/bcs/serializer.mjs +1 -1
  49. package/dist/esm/{chunk-TVRJ3M7B.mjs → chunk-272NA6H5.mjs} +1 -1
  50. package/dist/esm/{chunk-TVRJ3M7B.mjs.map → chunk-272NA6H5.mjs.map} +1 -1
  51. package/dist/esm/{chunk-OT37OTT7.mjs → chunk-34WI7I3Z.mjs} +2 -2
  52. package/dist/esm/{chunk-Z2ZR4PTF.mjs → chunk-3DP4R3FI.mjs} +2 -2
  53. package/dist/esm/{chunk-IJE5YSXW.mjs → chunk-3J53BCEQ.mjs} +2 -2
  54. package/dist/esm/{chunk-NWWXZ7EW.mjs → chunk-3SXTTG2X.mjs} +2 -2
  55. package/dist/esm/{chunk-7H3HRFVM.mjs → chunk-3YIUOKWW.mjs} +2 -2
  56. package/dist/esm/{chunk-REBMGDZ5.mjs → chunk-45ESRYGP.mjs} +2 -2
  57. package/dist/esm/{chunk-5V2RGYYK.mjs → chunk-4RXGVY2H.mjs} +2 -2
  58. package/dist/esm/{chunk-MWUJCP27.mjs → chunk-4VAYXBD2.mjs} +2 -2
  59. package/dist/esm/{chunk-6KNAIXZ3.mjs → chunk-5SGIYAB7.mjs} +2 -2
  60. package/dist/esm/chunk-5VLCYHNJ.mjs +2 -0
  61. package/dist/esm/chunk-5VLCYHNJ.mjs.map +1 -0
  62. package/dist/esm/{chunk-Q3AUNZDW.mjs → chunk-6F3HFDL3.mjs} +2 -2
  63. package/dist/esm/{chunk-FBLSW5TB.mjs → chunk-6MDYCC7P.mjs} +2 -2
  64. package/dist/esm/{chunk-M7HZOQ6A.mjs → chunk-7CJAEAQZ.mjs} +2 -2
  65. package/dist/esm/{chunk-Y33VGXNI.mjs → chunk-7Y6AWDBZ.mjs} +2 -2
  66. package/dist/esm/{chunk-COW5IGYC.mjs → chunk-AUAL3H36.mjs} +2 -2
  67. package/dist/esm/{chunk-6M53MDWB.mjs → chunk-AUV4VAXK.mjs} +2 -2
  68. package/dist/esm/{chunk-MTLETLKV.mjs → chunk-AVWAYKNS.mjs} +2 -2
  69. package/dist/esm/{chunk-EIRSA5UU.mjs → chunk-BNA3SGG6.mjs} +2 -2
  70. package/dist/esm/{chunk-Y5BON557.mjs → chunk-CEGCSC3T.mjs} +2 -2
  71. package/dist/esm/chunk-CIPPNT3W.mjs +2 -0
  72. package/dist/esm/chunk-CIPPNT3W.mjs.map +1 -0
  73. package/dist/esm/{chunk-UFJGYMEB.mjs → chunk-CZOUSIAD.mjs} +2 -2
  74. package/dist/esm/chunk-D76FE35G.mjs +2 -0
  75. package/dist/esm/chunk-D76FE35G.mjs.map +1 -0
  76. package/dist/esm/{chunk-SBQRBBRS.mjs → chunk-DSVNXD5A.mjs} +2 -2
  77. package/dist/esm/{chunk-IEZO4PIG.mjs → chunk-EJ7ODMDA.mjs} +2 -2
  78. package/dist/esm/{chunk-ONIYM7IU.mjs → chunk-EJURLI4L.mjs} +2 -2
  79. package/dist/esm/chunk-FUQDDIKQ.mjs +2 -0
  80. package/dist/esm/chunk-FUQDDIKQ.mjs.map +1 -0
  81. package/dist/esm/chunk-FWTJQHJR.mjs +2 -0
  82. package/dist/esm/chunk-FWTJQHJR.mjs.map +1 -0
  83. package/dist/esm/{chunk-W637YAND.mjs → chunk-GHHIUWPP.mjs} +2 -2
  84. package/dist/esm/{chunk-EB7AI4B4.mjs → chunk-GS5Z3HO7.mjs} +2 -2
  85. package/dist/esm/{chunk-4USAUOCE.mjs → chunk-HGRU3HWY.mjs} +2 -2
  86. package/dist/esm/{chunk-TEJ7BXJK.mjs → chunk-HOX6Q6ZP.mjs} +2 -2
  87. package/dist/esm/chunk-HQK6MF3G.mjs +2 -0
  88. package/dist/esm/chunk-IMVC2JKU.mjs +2 -0
  89. package/dist/esm/{chunk-N7CE244N.mjs.map → chunk-IMVC2JKU.mjs.map} +1 -1
  90. package/dist/esm/{chunk-RUSWW265.mjs → chunk-ISXBJPLD.mjs} +2 -2
  91. package/dist/esm/{chunk-MKUAW7KW.mjs → chunk-IU6REVKX.mjs} +2 -2
  92. package/dist/esm/{chunk-Z6JERVLX.mjs → chunk-IWKIZLFW.mjs} +2 -2
  93. package/dist/esm/{chunk-LQH7T3TE.mjs → chunk-J534ICWA.mjs} +2 -2
  94. package/dist/esm/{chunk-STYDBDYL.mjs → chunk-J577ODDM.mjs} +2 -2
  95. package/dist/esm/chunk-JBTLE33X.mjs +2 -0
  96. package/dist/esm/{chunk-JKZHPY24.mjs.map → chunk-JBTLE33X.mjs.map} +1 -1
  97. package/dist/esm/{chunk-EPTCPBVW.mjs → chunk-LLRWILVZ.mjs} +2 -2
  98. package/dist/esm/{chunk-I5JWDZIP.mjs → chunk-M4Q4XDVR.mjs} +2 -2
  99. package/dist/esm/chunk-M4Q4XDVR.mjs.map +1 -0
  100. package/dist/esm/chunk-MEOBWD6V.mjs +2 -0
  101. package/dist/esm/chunk-MEOBWD6V.mjs.map +1 -0
  102. package/dist/esm/{chunk-ZNEBMSNC.mjs → chunk-MLQT5I6K.mjs} +2 -2
  103. package/dist/esm/{chunk-C3L4ETUF.mjs → chunk-MSGHGK52.mjs} +2 -2
  104. package/dist/esm/{chunk-7STYQ5ZE.mjs → chunk-NGTNMV6Q.mjs} +2 -2
  105. package/dist/esm/{chunk-OX5GWFHX.mjs → chunk-NH466YFP.mjs} +2 -2
  106. package/dist/esm/{chunk-ZCCYHFPK.mjs → chunk-NMD45OTM.mjs} +2 -2
  107. package/dist/esm/{chunk-UWI5D7FD.mjs → chunk-NUBYALZP.mjs} +2 -2
  108. package/dist/esm/{chunk-KKP4FBWZ.mjs → chunk-OFC75EWS.mjs} +2 -2
  109. package/dist/esm/{chunk-T6OEZ4KP.mjs → chunk-OOYRJQPD.mjs} +2 -2
  110. package/dist/esm/chunk-OZ3GSAFK.mjs +2 -0
  111. package/dist/esm/chunk-OZ3GSAFK.mjs.map +1 -0
  112. package/dist/esm/{chunk-EU6CX56Q.mjs → chunk-PENBUSGL.mjs} +2 -2
  113. package/dist/esm/{chunk-A3UVZHDJ.mjs → chunk-PG7KSUMN.mjs} +2 -2
  114. package/dist/esm/{chunk-HGZGTBA4.mjs → chunk-PGP2XMDE.mjs} +2 -2
  115. package/dist/esm/{chunk-JM2B5E2I.mjs → chunk-Q6LFIZ3L.mjs} +1 -1
  116. package/dist/esm/chunk-Q6LFIZ3L.mjs.map +1 -0
  117. package/dist/esm/{chunk-EADBYPUD.mjs → chunk-QJIMZI32.mjs} +2 -2
  118. package/dist/esm/{chunk-YHO2EBXH.mjs → chunk-QLE5JL4X.mjs} +2 -2
  119. package/dist/esm/{chunk-KFUOOBMJ.mjs → chunk-QOOHLRRJ.mjs} +2 -2
  120. package/dist/esm/{chunk-UO5LUYGO.mjs → chunk-QYEJOEWB.mjs} +2 -2
  121. package/dist/esm/{chunk-NQMF46E5.mjs → chunk-R4HLV32L.mjs} +2 -2
  122. package/dist/esm/chunk-RAHMGSBW.mjs +2 -0
  123. package/dist/esm/{chunk-CNH2RAJQ.mjs.map → chunk-RAHMGSBW.mjs.map} +1 -1
  124. package/dist/esm/{chunk-C34M4T77.mjs → chunk-RWYPGTNL.mjs} +2 -2
  125. package/dist/esm/{chunk-3FVRXELT.mjs → chunk-SCHMTP4N.mjs} +2 -2
  126. package/dist/esm/chunk-SCHZ67F3.mjs +2 -0
  127. package/dist/esm/chunk-SCHZ67F3.mjs.map +1 -0
  128. package/dist/esm/{chunk-3Y6JNFPD.mjs → chunk-SCRIQQV3.mjs} +2 -2
  129. package/dist/esm/{chunk-W36IQO5K.mjs → chunk-SNBE5YAC.mjs} +2 -2
  130. package/dist/esm/{chunk-NCDP26DV.mjs → chunk-SSDWEOF7.mjs} +2 -2
  131. package/dist/esm/{chunk-N466X3S6.mjs → chunk-SZ6KR73C.mjs} +2 -2
  132. package/dist/esm/{chunk-F5C4SZZ7.mjs → chunk-THURV6CN.mjs} +2 -2
  133. package/dist/esm/{chunk-5RRZMXND.mjs → chunk-TU6VKYDC.mjs} +2 -2
  134. package/dist/esm/{chunk-UDU5L4XH.mjs → chunk-UFMIMN7W.mjs} +2 -2
  135. package/dist/esm/{chunk-LO7B3CWN.mjs → chunk-ULW5LX5H.mjs} +2 -2
  136. package/dist/esm/{chunk-4KEEUDZA.mjs → chunk-V6M7FGQT.mjs} +2 -2
  137. package/dist/esm/{chunk-3VGX3TXH.mjs → chunk-VBODXPT3.mjs} +2 -2
  138. package/dist/esm/{chunk-MGOHPDX4.mjs → chunk-VMVSUH2K.mjs} +2 -2
  139. package/dist/esm/{chunk-T23OVRNF.mjs → chunk-WHSN42R2.mjs} +2 -2
  140. package/dist/esm/{chunk-LEBJNW6Y.mjs → chunk-WJIICWOB.mjs} +2 -2
  141. package/dist/esm/{chunk-PYUU4OEL.mjs → chunk-WOLLRMXR.mjs} +2 -2
  142. package/dist/esm/{chunk-QZRWRX6P.mjs → chunk-WSVJNBSJ.mjs} +2 -2
  143. package/dist/esm/{chunk-QZRWRX6P.mjs.map → chunk-WSVJNBSJ.mjs.map} +1 -1
  144. package/dist/esm/{chunk-VT6XJSRO.mjs → chunk-WXLSJF4A.mjs} +1 -1
  145. package/dist/esm/chunk-WXLSJF4A.mjs.map +1 -0
  146. package/dist/esm/{chunk-NC5HHEEM.mjs → chunk-XQ7I34AL.mjs} +2 -2
  147. package/dist/esm/{chunk-MWN63XBE.mjs → chunk-Y24BMR2W.mjs} +2 -2
  148. package/dist/esm/{chunk-WAXCU6D6.mjs → chunk-YLQJBXUF.mjs} +2 -2
  149. package/dist/esm/chunk-ZAXWW7VW.mjs +2 -0
  150. package/dist/esm/chunk-ZAXWW7VW.mjs.map +1 -0
  151. package/dist/esm/{chunk-6RBUXB5I.mjs → chunk-ZV5P2GSJ.mjs} +2 -2
  152. package/dist/esm/cli/index.mjs +1 -1
  153. package/dist/esm/client/core.mjs +1 -1
  154. package/dist/esm/client/get.d.mts +6 -0
  155. package/dist/esm/client/get.mjs +1 -1
  156. package/dist/esm/client/index.mjs +1 -1
  157. package/dist/esm/client/post.d.mts +6 -0
  158. package/dist/esm/client/post.mjs +1 -1
  159. package/dist/esm/core/account/index.mjs +1 -1
  160. package/dist/esm/core/account/utils/address.mjs +1 -1
  161. package/dist/esm/core/account/utils/index.mjs +1 -1
  162. package/dist/esm/core/accountAddress.mjs +1 -1
  163. package/dist/esm/core/authenticationKey.mjs +1 -1
  164. package/dist/esm/core/crypto/cryptoHasher.d.mts +21 -0
  165. package/dist/esm/core/crypto/cryptoHasher.mjs +2 -0
  166. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  167. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  168. package/dist/esm/core/crypto/index.d.mts +2 -1
  169. package/dist/esm/core/crypto/index.mjs +1 -1
  170. package/dist/esm/core/crypto/keyless.d.mts +52 -8
  171. package/dist/esm/core/crypto/keyless.mjs +1 -1
  172. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  173. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  174. package/dist/esm/core/crypto/poseidon.d.mts +14 -2
  175. package/dist/esm/core/crypto/poseidon.mjs +1 -1
  176. package/dist/esm/core/crypto/proof.mjs +1 -1
  177. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  178. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  179. package/dist/esm/core/crypto/signature.mjs +1 -1
  180. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  181. package/dist/esm/core/index.d.mts +2 -1
  182. package/dist/esm/core/index.mjs +1 -1
  183. package/dist/esm/index.d.mts +5 -4
  184. package/dist/esm/index.mjs +1 -1
  185. package/dist/esm/internal/account.mjs +1 -1
  186. package/dist/esm/internal/ans.mjs +1 -1
  187. package/dist/esm/internal/coin.mjs +1 -1
  188. package/dist/esm/internal/digitalAsset.mjs +1 -1
  189. package/dist/esm/internal/event.mjs +1 -1
  190. package/dist/esm/internal/faucet.mjs +1 -1
  191. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  192. package/dist/esm/internal/general.mjs +1 -1
  193. package/dist/esm/internal/keyless.d.mts +10 -8
  194. package/dist/esm/internal/keyless.mjs +1 -1
  195. package/dist/esm/internal/staking.mjs +1 -1
  196. package/dist/esm/internal/table.mjs +1 -1
  197. package/dist/esm/internal/transaction.mjs +1 -1
  198. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  199. package/dist/esm/internal/view.mjs +1 -1
  200. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  201. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  202. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  203. package/dist/esm/transactions/index.d.mts +1 -2
  204. package/dist/esm/transactions/index.mjs +1 -1
  205. package/dist/esm/transactions/instances/chainId.mjs +1 -1
  206. package/dist/esm/transactions/instances/identifier.mjs +1 -1
  207. package/dist/esm/transactions/instances/index.mjs +1 -1
  208. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  209. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  210. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  211. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  212. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  213. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  214. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  215. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  216. package/dist/esm/transactions/management/index.mjs +1 -1
  217. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  218. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  219. package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -2
  220. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  221. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  222. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -11
  223. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  224. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
  225. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  226. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  227. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  228. package/dist/esm/types/index.d.mts +2 -2
  229. package/dist/esm/types/index.mjs +1 -1
  230. package/dist/esm/types/keyless.d.mts +37 -1
  231. package/dist/esm/utils/apiEndpoints.mjs +1 -1
  232. package/dist/esm/utils/index.mjs +1 -1
  233. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  234. package/dist/esm/version.d.mts +1 -1
  235. package/dist/esm/version.mjs +1 -1
  236. package/package.json +1 -1
  237. package/src/account/EphemeralKeyPair.ts +6 -6
  238. package/src/account/KeylessAccount.ts +68 -30
  239. package/src/api/keyless.ts +15 -4
  240. package/src/bcs/deserializer.ts +15 -9
  241. package/src/bcs/serializer.ts +40 -0
  242. package/src/client/core.ts +4 -7
  243. package/src/client/get.ts +6 -0
  244. package/src/client/post.ts +6 -0
  245. package/src/core/crypto/cryptoHasher.ts +16 -0
  246. package/src/core/crypto/keyless.ts +159 -23
  247. package/src/core/crypto/poseidon.ts +17 -8
  248. package/src/internal/keyless.ts +81 -15
  249. package/src/transactions/transactionBuilder/signingMessage.ts +0 -13
  250. package/src/transactions/transactionBuilder/transactionBuilder.ts +4 -2
  251. package/src/types/index.ts +2 -2
  252. package/src/types/keyless.ts +36 -0
  253. package/src/utils/apiEndpoints.ts +4 -2
  254. package/src/version.ts +1 -1
  255. package/dist/esm/bcs/cryptoHasher.d.mts +0 -15
  256. package/dist/esm/bcs/cryptoHasher.mjs +0 -2
  257. package/dist/esm/chunk-5ADNWXP2.mjs +0 -2
  258. package/dist/esm/chunk-5ADNWXP2.mjs.map +0 -1
  259. package/dist/esm/chunk-5YI2GEG5.mjs +0 -2
  260. package/dist/esm/chunk-5YI2GEG5.mjs.map +0 -1
  261. package/dist/esm/chunk-CNH2RAJQ.mjs +0 -2
  262. package/dist/esm/chunk-I5JWDZIP.mjs.map +0 -1
  263. package/dist/esm/chunk-JKZHPY24.mjs +0 -2
  264. package/dist/esm/chunk-JM2B5E2I.mjs.map +0 -1
  265. package/dist/esm/chunk-KPZDC5ZE.mjs +0 -2
  266. package/dist/esm/chunk-KPZDC5ZE.mjs.map +0 -1
  267. package/dist/esm/chunk-LECNIPW7.mjs +0 -2
  268. package/dist/esm/chunk-LECNIPW7.mjs.map +0 -1
  269. package/dist/esm/chunk-N7CE244N.mjs +0 -2
  270. package/dist/esm/chunk-R2P2XANA.mjs +0 -2
  271. package/dist/esm/chunk-R2P2XANA.mjs.map +0 -1
  272. package/dist/esm/chunk-UTXJOB3O.mjs +0 -2
  273. package/dist/esm/chunk-VT6XJSRO.mjs.map +0 -1
  274. package/dist/esm/chunk-W4IWORPF.mjs +0 -2
  275. package/dist/esm/chunk-W4IWORPF.mjs.map +0 -1
  276. package/dist/esm/chunk-WDE54GRQ.mjs +0 -2
  277. package/dist/esm/chunk-WDE54GRQ.mjs.map +0 -1
  278. package/dist/esm/chunk-YZPQVZ7S.mjs +0 -2
  279. package/dist/esm/chunk-YZPQVZ7S.mjs.map +0 -1
  280. package/dist/esm/chunk-ZUQJLFR2.mjs +0 -2
  281. package/dist/esm/chunk-ZUQJLFR2.mjs.map +0 -1
  282. package/src/bcs/cryptoHasher.ts +0 -6
  283. /package/dist/esm/{chunk-OT37OTT7.mjs.map → chunk-34WI7I3Z.mjs.map} +0 -0
  284. /package/dist/esm/{chunk-Z2ZR4PTF.mjs.map → chunk-3DP4R3FI.mjs.map} +0 -0
  285. /package/dist/esm/{chunk-IJE5YSXW.mjs.map → chunk-3J53BCEQ.mjs.map} +0 -0
  286. /package/dist/esm/{chunk-NWWXZ7EW.mjs.map → chunk-3SXTTG2X.mjs.map} +0 -0
  287. /package/dist/esm/{chunk-7H3HRFVM.mjs.map → chunk-3YIUOKWW.mjs.map} +0 -0
  288. /package/dist/esm/{chunk-REBMGDZ5.mjs.map → chunk-45ESRYGP.mjs.map} +0 -0
  289. /package/dist/esm/{chunk-5V2RGYYK.mjs.map → chunk-4RXGVY2H.mjs.map} +0 -0
  290. /package/dist/esm/{chunk-MWUJCP27.mjs.map → chunk-4VAYXBD2.mjs.map} +0 -0
  291. /package/dist/esm/{chunk-6KNAIXZ3.mjs.map → chunk-5SGIYAB7.mjs.map} +0 -0
  292. /package/dist/esm/{chunk-Q3AUNZDW.mjs.map → chunk-6F3HFDL3.mjs.map} +0 -0
  293. /package/dist/esm/{chunk-FBLSW5TB.mjs.map → chunk-6MDYCC7P.mjs.map} +0 -0
  294. /package/dist/esm/{chunk-M7HZOQ6A.mjs.map → chunk-7CJAEAQZ.mjs.map} +0 -0
  295. /package/dist/esm/{chunk-Y33VGXNI.mjs.map → chunk-7Y6AWDBZ.mjs.map} +0 -0
  296. /package/dist/esm/{chunk-COW5IGYC.mjs.map → chunk-AUAL3H36.mjs.map} +0 -0
  297. /package/dist/esm/{chunk-6M53MDWB.mjs.map → chunk-AUV4VAXK.mjs.map} +0 -0
  298. /package/dist/esm/{chunk-MTLETLKV.mjs.map → chunk-AVWAYKNS.mjs.map} +0 -0
  299. /package/dist/esm/{chunk-EIRSA5UU.mjs.map → chunk-BNA3SGG6.mjs.map} +0 -0
  300. /package/dist/esm/{chunk-Y5BON557.mjs.map → chunk-CEGCSC3T.mjs.map} +0 -0
  301. /package/dist/esm/{chunk-UFJGYMEB.mjs.map → chunk-CZOUSIAD.mjs.map} +0 -0
  302. /package/dist/esm/{chunk-SBQRBBRS.mjs.map → chunk-DSVNXD5A.mjs.map} +0 -0
  303. /package/dist/esm/{chunk-IEZO4PIG.mjs.map → chunk-EJ7ODMDA.mjs.map} +0 -0
  304. /package/dist/esm/{chunk-ONIYM7IU.mjs.map → chunk-EJURLI4L.mjs.map} +0 -0
  305. /package/dist/esm/{chunk-W637YAND.mjs.map → chunk-GHHIUWPP.mjs.map} +0 -0
  306. /package/dist/esm/{chunk-EB7AI4B4.mjs.map → chunk-GS5Z3HO7.mjs.map} +0 -0
  307. /package/dist/esm/{chunk-4USAUOCE.mjs.map → chunk-HGRU3HWY.mjs.map} +0 -0
  308. /package/dist/esm/{chunk-TEJ7BXJK.mjs.map → chunk-HOX6Q6ZP.mjs.map} +0 -0
  309. /package/dist/esm/{chunk-UTXJOB3O.mjs.map → chunk-HQK6MF3G.mjs.map} +0 -0
  310. /package/dist/esm/{chunk-RUSWW265.mjs.map → chunk-ISXBJPLD.mjs.map} +0 -0
  311. /package/dist/esm/{chunk-MKUAW7KW.mjs.map → chunk-IU6REVKX.mjs.map} +0 -0
  312. /package/dist/esm/{chunk-Z6JERVLX.mjs.map → chunk-IWKIZLFW.mjs.map} +0 -0
  313. /package/dist/esm/{chunk-LQH7T3TE.mjs.map → chunk-J534ICWA.mjs.map} +0 -0
  314. /package/dist/esm/{chunk-STYDBDYL.mjs.map → chunk-J577ODDM.mjs.map} +0 -0
  315. /package/dist/esm/{chunk-EPTCPBVW.mjs.map → chunk-LLRWILVZ.mjs.map} +0 -0
  316. /package/dist/esm/{chunk-ZNEBMSNC.mjs.map → chunk-MLQT5I6K.mjs.map} +0 -0
  317. /package/dist/esm/{chunk-C3L4ETUF.mjs.map → chunk-MSGHGK52.mjs.map} +0 -0
  318. /package/dist/esm/{chunk-7STYQ5ZE.mjs.map → chunk-NGTNMV6Q.mjs.map} +0 -0
  319. /package/dist/esm/{chunk-OX5GWFHX.mjs.map → chunk-NH466YFP.mjs.map} +0 -0
  320. /package/dist/esm/{chunk-ZCCYHFPK.mjs.map → chunk-NMD45OTM.mjs.map} +0 -0
  321. /package/dist/esm/{chunk-UWI5D7FD.mjs.map → chunk-NUBYALZP.mjs.map} +0 -0
  322. /package/dist/esm/{chunk-KKP4FBWZ.mjs.map → chunk-OFC75EWS.mjs.map} +0 -0
  323. /package/dist/esm/{chunk-T6OEZ4KP.mjs.map → chunk-OOYRJQPD.mjs.map} +0 -0
  324. /package/dist/esm/{chunk-EU6CX56Q.mjs.map → chunk-PENBUSGL.mjs.map} +0 -0
  325. /package/dist/esm/{chunk-A3UVZHDJ.mjs.map → chunk-PG7KSUMN.mjs.map} +0 -0
  326. /package/dist/esm/{chunk-HGZGTBA4.mjs.map → chunk-PGP2XMDE.mjs.map} +0 -0
  327. /package/dist/esm/{chunk-EADBYPUD.mjs.map → chunk-QJIMZI32.mjs.map} +0 -0
  328. /package/dist/esm/{chunk-YHO2EBXH.mjs.map → chunk-QLE5JL4X.mjs.map} +0 -0
  329. /package/dist/esm/{chunk-KFUOOBMJ.mjs.map → chunk-QOOHLRRJ.mjs.map} +0 -0
  330. /package/dist/esm/{chunk-UO5LUYGO.mjs.map → chunk-QYEJOEWB.mjs.map} +0 -0
  331. /package/dist/esm/{chunk-NQMF46E5.mjs.map → chunk-R4HLV32L.mjs.map} +0 -0
  332. /package/dist/esm/{chunk-C34M4T77.mjs.map → chunk-RWYPGTNL.mjs.map} +0 -0
  333. /package/dist/esm/{chunk-3FVRXELT.mjs.map → chunk-SCHMTP4N.mjs.map} +0 -0
  334. /package/dist/esm/{chunk-3Y6JNFPD.mjs.map → chunk-SCRIQQV3.mjs.map} +0 -0
  335. /package/dist/esm/{chunk-W36IQO5K.mjs.map → chunk-SNBE5YAC.mjs.map} +0 -0
  336. /package/dist/esm/{chunk-NCDP26DV.mjs.map → chunk-SSDWEOF7.mjs.map} +0 -0
  337. /package/dist/esm/{chunk-N466X3S6.mjs.map → chunk-SZ6KR73C.mjs.map} +0 -0
  338. /package/dist/esm/{chunk-F5C4SZZ7.mjs.map → chunk-THURV6CN.mjs.map} +0 -0
  339. /package/dist/esm/{chunk-5RRZMXND.mjs.map → chunk-TU6VKYDC.mjs.map} +0 -0
  340. /package/dist/esm/{chunk-UDU5L4XH.mjs.map → chunk-UFMIMN7W.mjs.map} +0 -0
  341. /package/dist/esm/{chunk-LO7B3CWN.mjs.map → chunk-ULW5LX5H.mjs.map} +0 -0
  342. /package/dist/esm/{chunk-4KEEUDZA.mjs.map → chunk-V6M7FGQT.mjs.map} +0 -0
  343. /package/dist/esm/{chunk-3VGX3TXH.mjs.map → chunk-VBODXPT3.mjs.map} +0 -0
  344. /package/dist/esm/{chunk-MGOHPDX4.mjs.map → chunk-VMVSUH2K.mjs.map} +0 -0
  345. /package/dist/esm/{chunk-T23OVRNF.mjs.map → chunk-WHSN42R2.mjs.map} +0 -0
  346. /package/dist/esm/{chunk-LEBJNW6Y.mjs.map → chunk-WJIICWOB.mjs.map} +0 -0
  347. /package/dist/esm/{chunk-PYUU4OEL.mjs.map → chunk-WOLLRMXR.mjs.map} +0 -0
  348. /package/dist/esm/{chunk-NC5HHEEM.mjs.map → chunk-XQ7I34AL.mjs.map} +0 -0
  349. /package/dist/esm/{chunk-MWN63XBE.mjs.map → chunk-Y24BMR2W.mjs.map} +0 -0
  350. /package/dist/esm/{chunk-WAXCU6D6.mjs.map → chunk-YLQJBXUF.mjs.map} +0 -0
  351. /package/dist/esm/{chunk-6RBUXB5I.mjs.map → chunk-ZV5P2GSJ.mjs.map} +0 -0
  352. /package/dist/esm/{bcs → core/crypto}/cryptoHasher.mjs.map +0 -0
@@ -747,9 +747,9 @@ type GasEstimation = {
747
747
  */
748
748
  prioritized_gas_estimate?: number;
749
749
  };
750
- type MoveResource = {
750
+ type MoveResource<T = {}> = {
751
751
  type: MoveStructId;
752
- data: {};
752
+ data: T;
753
753
  };
754
754
  type AccountData = {
755
755
  sequence_number: string;
@@ -1463,16 +1463,22 @@ declare class Deserializer {
1463
1463
  */
1464
1464
  deserializeOptionStr(): string | undefined;
1465
1465
  /**
1466
- * Deserializes a an optional string.
1466
+ * Deserializes a an optional deserializable class.
1467
+ *
1468
+ * BCS layout for Optional<T>: 0 if none, else 1 | bcs representation of class
1467
1469
  *
1468
- * BCS layout for Optional<String>: 0 if none, else 1 | string_length | string_content
1469
1470
  * @example
1470
- * ```ts
1471
- * const deserializer = new Deserializer(new Uint8Array([0x00]));
1472
- * assert(deserializer.deserializeOptionStr() === undefined);
1473
- * const deserializer = new Deserializer(new Uint8Array([1, 8, 49, 50, 51, 52, 97, 98, 99, 100]));
1474
- * assert(deserializer.deserializeOptionStr() === "1234abcd");
1475
- * ```
1471
+ * const deserializer = new Deserializer(new Uint8Array([1, 2, 3]));
1472
+ * const value = deserializer.deserializeOption(MyClass); // where MyClass has a `deserialize` function
1473
+ * // value is now an instance of MyClass
1474
+ *
1475
+ * const deserializer = new Deserializer(new Uint8Array([0]));
1476
+ * const value = deserializer.deserializeOption(MyClass); // where MyClass has a `deserialize` function
1477
+ * // value is undefined
1478
+ *
1479
+ * @param cls The BCS-deserializable class to deserialize the buffered bytes into.
1480
+ *
1481
+ * @returns the deserialized value of class type T
1476
1482
  */
1477
1483
  deserializeOption<T>(cls: Deserializable<T>): T | undefined;
1478
1484
  /**
@@ -1896,7 +1902,47 @@ declare class Serializer {
1896
1902
  * // `bcs::to_bytes(&vector<address> [@0x1, @0x2, @0xa, @0xb])`;
1897
1903
  */
1898
1904
  serializeVector<T extends Serializable>(values: Array<T>): void;
1905
+ /**
1906
+ * Serializes a BCS Serializable values into a serializer instance or undefined.
1907
+ * Note that this does not return anything. The bytes are added to the serializer instance's byte buffer.
1908
+ *
1909
+ * @param values The array of BCS Serializable values
1910
+ *
1911
+ * @example
1912
+ * ```ts
1913
+ * const serializer = new Serializer();
1914
+ * serializer.serializeOption(new AccountAddress(...));
1915
+ * const serializedBytes = serializer.toUint8Array();
1916
+ * // serializedBytes is now the BCS-serialized byte representation of AccountAddress
1917
+ *
1918
+ * const serializer = new Serializer();
1919
+ * serializer.serializeOption(undefined);
1920
+ * assert(serializer.toUint8Array() === new Uint8Array([0x00]));
1921
+ * ```
1922
+ */
1899
1923
  serializeOption<T extends Serializable>(value?: T): void;
1924
+ /**
1925
+ * Serializes an optional string. UTF8 string is supported.
1926
+ *
1927
+ * The existence of the string is encoded first, 0 if undefined and 1 if it exists.
1928
+ * Them the number of bytes in the string content is serialized, as a uleb128-encoded u32 integer.
1929
+ * Then the string content is serialized as UTF8 encoded bytes.
1930
+ *
1931
+ * BCS layout for optional "string": 1 | string_length | string_content
1932
+ * where string_length is a u32 integer encoded as a uleb128 integer, equal to the number of bytes in string_content.
1933
+ *
1934
+ * BCS layout for undefined: 0
1935
+ * @example
1936
+ * ```ts
1937
+ * const serializer = new Serializer();
1938
+ * serializer.serializeOptionStr("1234abcd");
1939
+ * assert(serializer.toUint8Array() === new Uint8Array([1, 8, 49, 50, 51, 52, 97, 98, 99, 100]));
1940
+ *
1941
+ * const serializer = new Serializer();
1942
+ * serializer.serializeOptionStr(undefined);
1943
+ * assert(serializer.toUint8Array() === new Uint8Array([0]));
1944
+ * ```
1945
+ */
1900
1946
  serializeOptionStr(value?: string): void;
1901
1947
  }
1902
1948
  declare function ensureBoolean(value: unknown): asserts value is boolean;
@@ -1,5 +1,5 @@
1
1
  import { ChildProcessWithoutNullStreams } from 'child_process';
2
- import { N as Network, g as AccountAddress } from '../accountAddress-BtD_TE5q.js';
2
+ import { N as Network, g as AccountAddress } from '../accountAddress-OUd5ov6z.js';
3
3
 
4
4
  declare class LocalNode {
5
5
  readonly MAXIMUM_WAIT_TIME_SEC = 75;
@@ -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-BtD_TE5q.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-BtD_TE5q.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 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';
3
3
  import EventEmitter from 'eventemitter3';
4
4
 
5
5
  type Maybe<T> = T | null;
@@ -1436,6 +1436,14 @@ declare abstract class Proof extends Serializable {
1436
1436
  toString(): string;
1437
1437
  }
1438
1438
 
1439
+ type Groth16VerificationKeyResponse = {
1440
+ alpha_g1: string;
1441
+ beta_g2: string;
1442
+ delta_g2: string;
1443
+ gamma_abc_g1: [string, string];
1444
+ gamma_g2: string;
1445
+ };
1446
+
1439
1447
  declare const EPK_HORIZON_SECS = 10000000;
1440
1448
  declare const MAX_AUD_VAL_BYTES = 120;
1441
1449
  declare const MAX_UID_KEY_BYTES = 30;
@@ -1451,7 +1459,15 @@ declare const MAX_COMMITED_EPK_BYTES = 93;
1451
1459
  */
1452
1460
  declare class KeylessPublicKey extends AccountPublicKey {
1453
1461
  static readonly ID_COMMITMENT_LENGTH: number;
1462
+ /**
1463
+ * The value of the 'iss' claim on the JWT which identifies the OIDC provider.
1464
+ */
1454
1465
  readonly iss: string;
1466
+ /**
1467
+ * A value representing a cryptographic commitment to a user identity.
1468
+ *
1469
+ * It is calculated from the aud, uidKey, uidVal, pepper.
1470
+ */
1455
1471
  readonly idCommitment: Uint8Array;
1456
1472
  constructor(iss: string, idCommitment: HexInput);
1457
1473
  /**
@@ -1520,7 +1536,7 @@ declare class KeylessSignature extends Signature {
1520
1536
  /**
1521
1537
  * The expiry timestamp in seconds of the EphemeralKeyPair used to sign
1522
1538
  */
1523
- readonly expiryDateSecs: bigint | number;
1539
+ readonly expiryDateSecs: number;
1524
1540
  /**
1525
1541
  * The ephemeral public key used to verify the signature
1526
1542
  */
@@ -1532,7 +1548,7 @@ declare class KeylessSignature extends Signature {
1532
1548
  constructor(args: {
1533
1549
  jwtHeader: string;
1534
1550
  ephemeralCertificate: EphemeralCertificate;
1535
- expiryDateSecs: bigint | number;
1551
+ expiryDateSecs: number;
1536
1552
  ephemeralPublicKey: EphemeralPublicKey;
1537
1553
  ephemeralSignature: EphemeralSignature;
1538
1554
  });
@@ -1545,6 +1561,7 @@ declare class KeylessSignature extends Signature {
1545
1561
  serialize(serializer: Serializer): void;
1546
1562
  static deserialize(deserializer: Deserializer): KeylessSignature;
1547
1563
  static load(deserializer: Deserializer): KeylessSignature;
1564
+ static getSimulationSignature(): KeylessSignature;
1548
1565
  static isSignature(signature: Signature): signature is KeylessSignature;
1549
1566
  }
1550
1567
  /**
@@ -1566,6 +1583,18 @@ declare class EphemeralCertificate extends Signature {
1566
1583
  serialize(serializer: Serializer): void;
1567
1584
  static deserialize(deserializer: Deserializer): EphemeralCertificate;
1568
1585
  }
1586
+ declare class G1Bytes extends Serializable {
1587
+ data: Uint8Array;
1588
+ constructor(data: HexInput);
1589
+ serialize(serializer: Serializer): void;
1590
+ static deserialize(deserializer: Deserializer): G1Bytes;
1591
+ }
1592
+ declare class G2Bytes extends Serializable {
1593
+ data: Uint8Array;
1594
+ constructor(data: HexInput);
1595
+ serialize(serializer: Serializer): void;
1596
+ static deserialize(deserializer: Deserializer): G2Bytes;
1597
+ }
1569
1598
  /**
1570
1599
  * A representation of a Groth16 proof. The points are the compressed serialization of affine reprentation of the proof.
1571
1600
  */
@@ -1573,15 +1602,15 @@ declare class Groth16Zkp extends Proof {
1573
1602
  /**
1574
1603
  * The bytes of G1 proof point a
1575
1604
  */
1576
- a: Uint8Array;
1605
+ a: G1Bytes;
1577
1606
  /**
1578
1607
  * The bytes of G2 proof point b
1579
1608
  */
1580
- b: Uint8Array;
1609
+ b: G2Bytes;
1581
1610
  /**
1582
1611
  * The bytes of G1 proof point c
1583
1612
  */
1584
- c: Uint8Array;
1613
+ c: G1Bytes;
1585
1614
  constructor(args: {
1586
1615
  a: HexInput;
1587
1616
  b: HexInput;
@@ -1616,11 +1645,12 @@ declare class ZeroKnowledgeSig extends Signature {
1616
1645
  */
1617
1646
  readonly expHorizonSecs: bigint;
1618
1647
  /**
1619
- * A key value pair on the JWT token that can be made public
1648
+ * A key value pair on the JWT token that can be specified on the signature which would reveal the value on chain.
1649
+ * Can be used to assert identity or other attributes.
1620
1650
  */
1621
1651
  readonly extraField?: string;
1622
1652
  /**
1623
- * Set in the case of signing by recovery services
1653
+ * The 'aud' value of the recovery service which is set when recovering an account.
1624
1654
  */
1625
1655
  readonly overrideAudVal?: string;
1626
1656
  /**
@@ -1650,6 +1680,27 @@ declare class ZeroKnowledgeSig extends Signature {
1650
1680
  static deserialize(deserializer: Deserializer): ZeroKnowledgeSig;
1651
1681
  static load(deserializer: Deserializer): ZeroKnowledgeSig;
1652
1682
  }
1683
+ declare class KeylessConfiguration {
1684
+ readonly verficationKey: Groth16VerificationKey;
1685
+ readonly maxExpHorizonSecs: number;
1686
+ constructor(verficationKey: Groth16VerificationKey, maxExpHorizonSecs: number);
1687
+ static create(res: Groth16VerificationKeyResponse, maxExpHorizonSecs: number): KeylessConfiguration;
1688
+ }
1689
+ declare class Groth16VerificationKey {
1690
+ readonly alphaG1: G1Bytes;
1691
+ readonly betaG2: G2Bytes;
1692
+ readonly deltaG2: G2Bytes;
1693
+ readonly gammaAbcG1: G1Bytes[];
1694
+ readonly gammaG2: G2Bytes;
1695
+ constructor(args: {
1696
+ alphaG1: HexInput;
1697
+ betaG2: HexInput;
1698
+ deltaG2: HexInput;
1699
+ gammaAbcG1: [HexInput, HexInput];
1700
+ gammaG2: HexInput;
1701
+ });
1702
+ static fromGroth16VerificationKeyResponse(res: Groth16VerificationKeyResponse): Groth16VerificationKey;
1703
+ }
1653
1704
 
1654
1705
  /**
1655
1706
  * Represents the Secp256k1 ecdsa public key
@@ -3171,7 +3222,7 @@ declare class EphemeralKeyPair extends Serializable {
3171
3222
  * A timestamp in seconds indicating when the ephemeral key pair is expired. After expiry, a new
3172
3223
  * EphemeralKeyPair must be generated and a new JWT needs to be created.
3173
3224
  */
3174
- readonly expiryDateSecs: bigint | number;
3225
+ readonly expiryDateSecs: number;
3175
3226
  /**
3176
3227
  * The value passed to the IdP when the user authenticates. It comprises of a hash of the
3177
3228
  * ephermeral public key, expiry date, and blinder.
@@ -3189,7 +3240,7 @@ declare class EphemeralKeyPair extends Serializable {
3189
3240
  private publicKey;
3190
3241
  constructor(args: {
3191
3242
  privateKey: PrivateKey;
3192
- expiryDateSecs?: AnyNumber;
3243
+ expiryDateSecs?: number;
3193
3244
  blinder?: HexInput;
3194
3245
  });
3195
3246
  /**
@@ -3213,7 +3264,7 @@ declare class EphemeralKeyPair extends Serializable {
3213
3264
  */
3214
3265
  static generate(args?: {
3215
3266
  scheme: EphemeralPublicKeyVariant;
3216
- expiryDateSecs?: bigint | number;
3267
+ expiryDateSecs?: number;
3217
3268
  }): EphemeralKeyPair;
3218
3269
  /**
3219
3270
  * From the ephemeral public key, expiry timestamp, and blinder, calculate the nonce to be used at authentication via OIDC.
@@ -3274,6 +3325,12 @@ declare class AptosApiError extends Error {
3274
3325
  type AptsoDomainSeparator = `APTOS::${string}`;
3275
3326
  declare abstract class CryptoHashable extends Serializable {
3276
3327
  abstract readonly domainSeparator: AptsoDomainSeparator;
3328
+ /**
3329
+ * Hashes the bcs serialized from of the class. This is the typescript corollary to the BCSCryptoHash macro in aptos-core.
3330
+ *
3331
+ * @returns Uint8Array
3332
+ */
3333
+ hash(): Uint8Array;
3277
3334
  }
3278
3335
 
3279
3336
  declare const IssuerToJwkEndpoint: Record<string, string>;
@@ -3289,21 +3346,73 @@ declare class KeylessError extends Error {
3289
3346
  constructor(type: KeylessErrorType);
3290
3347
  static fromAptosApiError(error: AptosApiError, signer: KeylessAccount): Promise<KeylessError>;
3291
3348
  }
3349
+ /**
3350
+ * Account implementation for the Keyless authentication scheme.
3351
+ *
3352
+ * Used to represent a Keyless based account and sign transactions with it.
3353
+ *
3354
+ * Use KeylessAccount.fromJWTAndProof to instantiate a KeylessAccount with a JWT, proof and EphemeralKeyPair.
3355
+ *
3356
+ * When the proof expires or the JWT becomes invalid, the KeylessAccount must be instantiated again with a new JWT,
3357
+ * EphemeralKeyPair, and corresponding proof.
3358
+ */
3292
3359
  declare class KeylessAccount extends Serializable implements Account$1 {
3293
3360
  static readonly PEPPER_LENGTH: number;
3361
+ /**
3362
+ * The KeylessPublicKey associated with the account
3363
+ */
3294
3364
  readonly publicKey: KeylessPublicKey;
3365
+ /**
3366
+ * The EphemeralKeyPair used to generate sign.
3367
+ */
3295
3368
  readonly ephemeralKeyPair: EphemeralKeyPair;
3369
+ /**
3370
+ * The claim on the JWT to identify a user. This is typically 'sub' or 'email'.
3371
+ */
3296
3372
  readonly uidKey: string;
3373
+ /**
3374
+ * The value of the uidKey claim on the JWT. This intended to be a stable user identifier.
3375
+ */
3297
3376
  readonly uidVal: string;
3377
+ /**
3378
+ * The value of the 'aud' claim on the JWT, also known as client ID. This is the identifier for the dApp's
3379
+ * OIDC registration with the identity provider.
3380
+ */
3298
3381
  readonly aud: string;
3382
+ /**
3383
+ * A value contains 31 bytes of entropy that preserves privacy of the account. Typically fetched from a pepper provider.
3384
+ */
3299
3385
  readonly pepper: Uint8Array;
3386
+ /**
3387
+ * Account address associated with the account
3388
+ */
3300
3389
  readonly accountAddress: AccountAddress;
3390
+ /**
3391
+ * The zero knowledge signature (if ready) which contains the proof used to validate the EphemeralKeyPair.
3392
+ */
3301
3393
  proof: ZeroKnowledgeSig | undefined;
3394
+ /**
3395
+ * The proof of the EphemeralKeyPair or a promise that provides the proof. This is used to allow for awaiting on
3396
+ * fetching the proof.
3397
+ */
3302
3398
  readonly proofOrPromise: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
3399
+ /**
3400
+ * Signing scheme used to sign transactions
3401
+ */
3303
3402
  readonly signingScheme: SigningScheme;
3403
+ /**
3404
+ * The JWT token used to derive the account
3405
+ */
3304
3406
  private jwt;
3407
+ /**
3408
+ * A value that caches the JWT's validity. A JWT becomes invalid when it's corresponding JWK is rotated from the
3409
+ * identity provider's JWK keyset.
3410
+ */
3305
3411
  private isJwtValid;
3306
- readonly emitter: EventEmitter<ProofFetchEvents>;
3412
+ /**
3413
+ * An event emitter used to assist in handling asycronous proof fetching.
3414
+ */
3415
+ private readonly emitter;
3307
3416
  constructor(args: {
3308
3417
  address?: AccountAddress;
3309
3418
  ephemeralKeyPair: EphemeralKeyPair;
@@ -3329,12 +3438,6 @@ declare class KeylessAccount extends Serializable implements Account$1 {
3329
3438
  * @return boolean
3330
3439
  */
3331
3440
  isExpired(): boolean;
3332
- /**
3333
- * Checks if the the JWK used to verify the token still exists on the issuer's JWK uri.
3334
- * Caches the result.
3335
- * @return boolean
3336
- */
3337
- checkJwkValidity(): Promise<boolean>;
3338
3441
  /**
3339
3442
  * Sign a message using Keyless.
3340
3443
  * @param message the message to sign, as binary input
@@ -3379,9 +3482,22 @@ declare class KeylessAccount extends Serializable implements Account$1 {
3379
3482
  proofFetchCallback?: ProofFetchCallback;
3380
3483
  }): KeylessAccount;
3381
3484
  }
3485
+ /**
3486
+ * A container class to hold a transaction and a proof. It implements CryptoHashable which is used to create
3487
+ * the signing message for Keyless transactions. We sign over the proof to ensure non-malleability.
3488
+ */
3382
3489
  declare class TransactionAndProof extends CryptoHashable {
3490
+ /**
3491
+ * The transaction to sign.
3492
+ */
3383
3493
  transaction: AnyRawTransactionInstance;
3494
+ /**
3495
+ * The zero knowledge proof used in signing the transaction.
3496
+ */
3384
3497
  proof?: ZkProof;
3498
+ /**
3499
+ * The domain separator prefix used when hashing.
3500
+ */
3385
3501
  domainSeparator: AptsoDomainSeparator;
3386
3502
  constructor(transaction: AnyRawTransactionInstance, proof?: ZkProof);
3387
3503
  serialize(serializer: Serializer): void;
@@ -4626,7 +4742,7 @@ declare function buildTransaction(args: InputGenerateMultiAgentRawTransactionArg
4626
4742
  * @returns A signed serialized transaction that can be simulated
4627
4743
  */
4628
4744
  declare function generateSignedTransactionForSimulation(args: InputSimulateTransactionData): Uint8Array;
4629
- declare function getAuthenticatorForSimulation(pk: PublicKey): AccountAuthenticatorEd25519 | AccountAuthenticatorSingleKey;
4745
+ declare function getAuthenticatorForSimulation(publicKey: PublicKey): AccountAuthenticatorEd25519 | AccountAuthenticatorSingleKey;
4630
4746
  /**
4631
4747
  * Prepare a transaction to be submitted to chain
4632
4748
  *
@@ -4705,15 +4821,6 @@ declare function deriveTransactionType(transaction: AnyRawTransaction): AnyRawTr
4705
4821
  * @returns The Uint8Array of the signing message
4706
4822
  */
4707
4823
  declare function generateSigningMessage(bytes: Uint8Array, domainSeparator: string): Uint8Array;
4708
- /**
4709
- * Generates the 'signing message' form of a serilizable value. It bcs serializes the value and uses the name of
4710
- * its constructor as the domain separator.
4711
- *
4712
- * @param hashable An object that has a bcs serialized form
4713
- *
4714
- * @returns The Uint8Array of the signing message
4715
- */
4716
- declare function generateSigningMessageForBcsCryptoHashable(hashable: CryptoHashable): Uint8Array;
4717
4824
  /**
4718
4825
  * Generates the 'signing message' form of a transaction. It derives the type of transaction and
4719
4826
  * applies the appropriate domain separator based on if there is extra data such as a fee payer or
@@ -6086,6 +6193,13 @@ declare class Table {
6086
6193
  declare class Keyless {
6087
6194
  readonly config: AptosConfig;
6088
6195
  constructor(config: AptosConfig);
6196
+ /**
6197
+ * Gets the parameters of how Keyless Accounts are configured on chain.
6198
+ *
6199
+ * @param args.options.ledgerVersion The ledger version to query, if not provided it will get the latest version
6200
+ * @returns KeylessConfiguration
6201
+ */
6202
+ getKeylessConfig(options?: LedgerVersionArg): Promise<KeylessConfiguration>;
6089
6203
  /**
6090
6204
  * Fetches the pepper from the Aptos pepper service API.
6091
6205
  *
@@ -6104,7 +6218,6 @@ declare class Keyless {
6104
6218
  * @param args.ephemeralKeyPair the EphemeralKeyPair used to generate the nonce in the JWT token
6105
6219
  * @param args.uidKey a key in the JWT token to use to set the uidVal in the IdCommitment
6106
6220
  * @param args.pepper the pepper
6107
- * @param args.extraFieldKey a key in the JWT token used to reveal a value on chain
6108
6221
  * @param args.proofFetchCallback a callback function that if set, the fetch of the proof will be done asyncronously. Once
6109
6222
  * if finishes the callback function will be called.
6110
6223
  * @returns A KeylessAccount that can be used to sign transactions
@@ -6114,7 +6227,6 @@ declare class Keyless {
6114
6227
  ephemeralKeyPair: EphemeralKeyPair;
6115
6228
  uidKey?: string;
6116
6229
  pepper?: HexInput;
6117
- extraFieldKey?: string;
6118
6230
  proofFetchCallback?: ProofFetchCallback;
6119
6231
  }): Promise<KeylessAccount>;
6120
6232
  }
@@ -6218,6 +6330,12 @@ type GetAptosRequestOptions = Omit<GetRequestOptions, "type">;
6218
6330
  */
6219
6331
  declare function get<Req extends {}, Res extends {}>(options: GetRequestOptions): Promise<AptosResponse<Req, Res>>;
6220
6332
  declare function getAptosFullNode<Req extends {}, Res extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6333
+ /**
6334
+ * Makes a get request to the pepper service
6335
+ *
6336
+ * @param options GetAptosRequestOptions
6337
+ * @returns AptosResponse
6338
+ */
6221
6339
  declare function getAptosPepperService<Req extends {}, Res extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6222
6340
  declare function paginateWithCursor<Req extends Record<string, any>, Res extends Array<{}>>(options: GetAptosRequestOptions): Promise<Res>;
6223
6341
 
@@ -6270,7 +6388,13 @@ declare function post<Req extends {}, Res extends {}>(options: PostRequestOption
6270
6388
  declare function postAptosFullNode<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6271
6389
  declare function postAptosIndexer<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6272
6390
  declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6391
+ /**
6392
+ * Makes a post request to the pepper service
6393
+ *
6394
+ * @param options GetAptosRequestOptions
6395
+ * @returns AptosResponse
6396
+ */
6273
6397
  declare function postAptosPepperService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6274
6398
  declare function postAptosProvingService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6275
6399
 
6276
- 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, 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, generateSigningMessageForBcsCryptoHashable, 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 };
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 };