@aptos-labs/ts-sdk 1.35.0-zeta.0 → 1.35.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 (275) hide show
  1. package/dist/common/{accountAddress-D3UA_cOZ.d.ts → accountAddress-Ce4Cv60D.d.ts} +36 -2
  2. package/dist/common/{chunk-CSUBLTFA.js → chunk-JMOQXLED.js} +10 -2
  3. package/dist/common/chunk-JMOQXLED.js.map +1 -0
  4. package/dist/common/cli/index.d.ts +1 -1
  5. package/dist/common/cli/index.js +2 -2
  6. package/dist/common/index.d.ts +2 -2
  7. package/dist/common/index.js +292 -274
  8. package/dist/common/index.js.map +1 -1
  9. package/dist/esm/account/AbstractKeylessAccount.mjs +24 -24
  10. package/dist/esm/account/AbstractedAccount.mjs +26 -26
  11. package/dist/esm/account/Account.mjs +25 -25
  12. package/dist/esm/account/AccountUtils.mjs +31 -31
  13. package/dist/esm/account/Ed25519Account.mjs +23 -23
  14. package/dist/esm/account/EphemeralKeyPair.mjs +15 -15
  15. package/dist/esm/account/FederatedKeylessAccount.mjs +25 -25
  16. package/dist/esm/account/KeylessAccount.mjs +25 -25
  17. package/dist/esm/account/MultiEd25519Account.mjs +23 -23
  18. package/dist/esm/account/MultiKeyAccount.mjs +27 -27
  19. package/dist/esm/account/SingleKeyAccount.mjs +23 -23
  20. package/dist/esm/account/index.mjs +34 -34
  21. package/dist/esm/account/utils.mjs +15 -15
  22. package/dist/esm/api/account/abstraction.mjs +46 -46
  23. package/dist/esm/api/account.mjs +48 -48
  24. package/dist/esm/api/ans.mjs +46 -46
  25. package/dist/esm/api/aptos.mjs +78 -78
  26. package/dist/esm/api/coin.mjs +44 -44
  27. package/dist/esm/api/digitalAsset.mjs +46 -46
  28. package/dist/esm/api/event.mjs +19 -19
  29. package/dist/esm/api/experimental.mjs +44 -44
  30. package/dist/esm/api/faucet.mjs +18 -18
  31. package/dist/esm/api/fungibleAsset.mjs +46 -46
  32. package/dist/esm/api/general.mjs +44 -44
  33. package/dist/esm/api/index.mjs +78 -78
  34. package/dist/esm/api/keyless.mjs +45 -45
  35. package/dist/esm/api/object.mjs +19 -19
  36. package/dist/esm/api/staking.mjs +19 -19
  37. package/dist/esm/api/table.mjs +10 -10
  38. package/dist/esm/api/transaction.mjs +51 -51
  39. package/dist/esm/api/transactionSubmission/build.mjs +44 -44
  40. package/dist/esm/api/transactionSubmission/management.mjs +46 -46
  41. package/dist/esm/api/transactionSubmission/sign.mjs +43 -43
  42. package/dist/esm/api/transactionSubmission/simulate.mjs +44 -44
  43. package/dist/esm/api/transactionSubmission/submit.mjs +44 -44
  44. package/dist/esm/api/utils.mjs +8 -8
  45. package/dist/esm/bcs/index.mjs +7 -7
  46. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  47. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  48. package/dist/esm/{chunk-XXLSA7W7.mjs → chunk-2JLHWA2G.mjs} +2 -2
  49. package/dist/esm/{chunk-UXAUOSSB.mjs → chunk-2SIDNRJH.mjs} +6 -6
  50. package/dist/esm/{chunk-4BXAKN6A.mjs → chunk-2WTIMHGC.mjs} +4 -4
  51. package/dist/esm/{chunk-3SCNBHUA.mjs → chunk-2ZX5PHCY.mjs} +3 -3
  52. package/dist/esm/{chunk-J7WQ42OC.mjs → chunk-3E2SXJXZ.mjs} +2 -2
  53. package/dist/esm/{chunk-WPV52HGD.mjs → chunk-3T7G4OUL.mjs} +3 -3
  54. package/dist/esm/{chunk-LHQJNJUB.mjs → chunk-54XJAHWK.mjs} +7 -7
  55. package/dist/esm/{chunk-QN5BQMWP.mjs → chunk-56UCIGTO.mjs} +2 -2
  56. package/dist/esm/{chunk-3QMLVT4L.mjs → chunk-6DJZITWL.mjs} +2 -2
  57. package/dist/esm/{chunk-LL4RQKIB.mjs → chunk-6T3V5LXK.mjs} +1 -2
  58. package/dist/esm/{chunk-LL4RQKIB.mjs.map → chunk-6T3V5LXK.mjs.map} +1 -1
  59. package/dist/esm/{chunk-SGKF62FT.mjs → chunk-7J37IHNP.mjs} +2 -2
  60. package/dist/esm/{chunk-TQDWZXFD.mjs → chunk-AEMQUDMU.mjs} +12 -12
  61. package/dist/esm/{chunk-AGKEC2IM.mjs → chunk-BADWWRLN.mjs} +5 -5
  62. package/dist/esm/{chunk-MIVDDJAH.mjs → chunk-BVBIBMAE.mjs} +2 -2
  63. package/dist/esm/{chunk-VGI2LPO3.mjs → chunk-CDJNQ7CS.mjs} +11 -11
  64. package/dist/esm/{chunk-ECTX2FGD.mjs → chunk-CPZPXG7O.mjs} +4 -4
  65. package/dist/esm/{chunk-UKZP2GAB.mjs → chunk-D3IWXA33.mjs} +11 -11
  66. package/dist/esm/{chunk-WEOK7WVL.mjs → chunk-EBFKT35C.mjs} +2 -2
  67. package/dist/esm/{chunk-DUOU3SNQ.mjs → chunk-ESGBNVCA.mjs} +3 -3
  68. package/dist/esm/{chunk-5E2IDRDF.mjs → chunk-F2EFNUWD.mjs} +5 -5
  69. package/dist/esm/{chunk-JOVCSFQC.mjs → chunk-F4VI7BNX.mjs} +2 -2
  70. package/dist/esm/{chunk-3TUV6YMI.mjs → chunk-F65QGYVD.mjs} +3 -3
  71. package/dist/esm/{chunk-SDIZSFCQ.mjs → chunk-GUEJH55K.mjs} +2 -2
  72. package/dist/esm/{chunk-TFW6N66T.mjs → chunk-HRUI6AWF.mjs} +4 -4
  73. package/dist/esm/{chunk-D4MW64RH.mjs → chunk-HTC3Q5JN.mjs} +4 -4
  74. package/dist/esm/{chunk-Y7KAC4I4.mjs → chunk-IARAGRKO.mjs} +4 -4
  75. package/dist/esm/{chunk-4WNIKKIV.mjs → chunk-IEM26R5Q.mjs} +3 -3
  76. package/dist/esm/{chunk-HLTYSM7H.mjs → chunk-IKEPH7D2.mjs} +4 -4
  77. package/dist/esm/{chunk-MG6UFOJW.mjs → chunk-IORAMQ2Y.mjs} +6 -6
  78. package/dist/esm/{chunk-A3TQLIEM.mjs → chunk-IY2ASLSP.mjs} +2 -2
  79. package/dist/esm/{chunk-LFMXR5C2.mjs → chunk-J32AERDF.mjs} +3 -3
  80. package/dist/esm/{chunk-XGUYC57L.mjs → chunk-JJ6MU2DV.mjs} +3 -3
  81. package/dist/esm/{chunk-HQTQEHHZ.mjs → chunk-JQIRRM7G.mjs} +4 -4
  82. package/dist/esm/{chunk-KLZCGNPI.mjs → chunk-KK7SBRDQ.mjs} +4 -4
  83. package/dist/esm/{chunk-MUSTBCQX.mjs → chunk-KW64NP2F.mjs} +2 -2
  84. package/dist/esm/{chunk-I6QE3PKO.mjs → chunk-KZFQOE4N.mjs} +4 -4
  85. package/dist/esm/{chunk-Y4FHNC5I.mjs → chunk-LK4HGGAJ.mjs} +2 -2
  86. package/dist/esm/{chunk-HQ6A6TYS.mjs → chunk-MC4OOX6X.mjs} +34 -34
  87. package/dist/esm/{chunk-I4OHHVRF.mjs → chunk-MD4TZ4HA.mjs} +3 -3
  88. package/dist/esm/{chunk-MHZVL3EA.mjs → chunk-MLGROHE6.mjs} +9 -9
  89. package/dist/esm/{chunk-UOHCJOXI.mjs → chunk-MX2R6BBJ.mjs} +2 -2
  90. package/dist/esm/{chunk-DMFRIING.mjs → chunk-NFBLI3BS.mjs} +2 -2
  91. package/dist/esm/{chunk-ZWD4BJVD.mjs → chunk-OOQS6BEP.mjs} +3 -3
  92. package/dist/esm/{chunk-ZNGTK5IZ.mjs → chunk-OVZOE4GS.mjs} +29 -29
  93. package/dist/esm/{chunk-EMKV5DFX.mjs → chunk-PITSYZA7.mjs} +3 -3
  94. package/dist/esm/{chunk-YIHVPGHN.mjs → chunk-PP2U5UMC.mjs} +4 -4
  95. package/dist/esm/{chunk-LSIXUJ5T.mjs → chunk-PYLTV3KI.mjs} +4 -4
  96. package/dist/esm/{chunk-IPUAVRGL.mjs → chunk-RGHKUKOX.mjs} +5 -5
  97. package/dist/esm/{chunk-P64LPFEC.mjs → chunk-RTNVJKNX.mjs} +4 -4
  98. package/dist/esm/{chunk-KEKNIJHE.mjs → chunk-S5JIXUS6.mjs} +4 -4
  99. package/dist/esm/{chunk-BQ5JTYXK.mjs → chunk-SFF4FJUD.mjs} +3 -3
  100. package/dist/esm/{chunk-QW7RQDZ5.mjs → chunk-SQNS4SFV.mjs} +9 -1
  101. package/dist/esm/{chunk-QW7RQDZ5.mjs.map → chunk-SQNS4SFV.mjs.map} +1 -1
  102. package/dist/esm/{chunk-46VPRC7E.mjs → chunk-SW4ASQPY.mjs} +7 -7
  103. package/dist/esm/{chunk-ESZLRZTK.mjs → chunk-TFDBSPIQ.mjs} +3 -3
  104. package/dist/esm/{chunk-XIBOO3WF.mjs → chunk-TQLOZKH4.mjs} +3 -3
  105. package/dist/esm/{chunk-EFJAJFI3.mjs → chunk-TZZZNGQI.mjs} +2 -2
  106. package/dist/esm/{chunk-HMHFKEHQ.mjs → chunk-U7K7AJMC.mjs} +2 -2
  107. package/dist/esm/{chunk-EBEO4SA4.mjs → chunk-UGKZQUGE.mjs} +4 -4
  108. package/dist/esm/{chunk-KAKSJSCR.mjs → chunk-UKYATVYK.mjs} +2 -2
  109. package/dist/esm/{chunk-K3CXNID3.mjs → chunk-V66UC6YI.mjs} +2 -2
  110. package/dist/esm/{chunk-SN6KXHPA.mjs → chunk-VJ2Z7GO3.mjs} +2 -2
  111. package/dist/esm/{chunk-OQ6XT2GF.mjs → chunk-WPJUSJJQ.mjs} +3 -3
  112. package/dist/esm/{chunk-NMYFY7WN.mjs → chunk-WSI6NVQD.mjs} +3 -3
  113. package/dist/esm/{chunk-ODG7T6OV.mjs → chunk-XB4SVKZP.mjs} +2 -2
  114. package/dist/esm/{chunk-6PMKDSGB.mjs → chunk-XHQMSKZP.mjs} +6 -6
  115. package/dist/esm/{chunk-KPAICS4T.mjs → chunk-XX6C2QGI.mjs} +2 -2
  116. package/dist/esm/{chunk-KCV4HRSJ.mjs → chunk-Y25NJOOO.mjs} +4 -4
  117. package/dist/esm/{chunk-6SNGKTWE.mjs → chunk-YD3KHXBD.mjs} +2 -2
  118. package/dist/esm/{chunk-KEZG4OGH.mjs → chunk-YGFWUFZY.mjs} +41 -25
  119. package/dist/esm/chunk-YGFWUFZY.mjs.map +1 -0
  120. package/dist/esm/{chunk-XGB3QLVI.mjs → chunk-YMHFUSKX.mjs} +3 -3
  121. package/dist/esm/{chunk-2ZOIVB2U.mjs → chunk-ZAPXD4FC.mjs} +2 -2
  122. package/dist/esm/{chunk-S56SMMAK.mjs → chunk-ZATMRCFV.mjs} +3 -3
  123. package/dist/esm/{chunk-T573PCIR.mjs → chunk-ZZWD23YW.mjs} +3 -3
  124. package/dist/esm/cli/index.mjs +1 -1
  125. package/dist/esm/cli/localNode.mjs +1 -1
  126. package/dist/esm/client/core.mjs +4 -4
  127. package/dist/esm/client/get.mjs +4 -4
  128. package/dist/esm/client/index.mjs +14 -14
  129. package/dist/esm/client/post.mjs +5 -5
  130. package/dist/esm/core/account/index.mjs +1 -1
  131. package/dist/esm/core/account/utils/address.mjs +1 -1
  132. package/dist/esm/core/account/utils/index.mjs +1 -1
  133. package/dist/esm/core/accountAddress.mjs +1 -1
  134. package/dist/esm/core/authenticationKey.mjs +1 -1
  135. package/dist/esm/core/crypto/abstraction.mjs +3 -3
  136. package/dist/esm/core/crypto/ed25519.mjs +5 -5
  137. package/dist/esm/core/crypto/ephemeral.mjs +6 -6
  138. package/dist/esm/core/crypto/federatedKeyless.mjs +10 -10
  139. package/dist/esm/core/crypto/index.mjs +16 -16
  140. package/dist/esm/core/crypto/keyless.mjs +9 -9
  141. package/dist/esm/core/crypto/multiEd25519.mjs +14 -14
  142. package/dist/esm/core/crypto/multiKey.mjs +13 -13
  143. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  144. package/dist/esm/core/crypto/proof.mjs +3 -3
  145. package/dist/esm/core/crypto/publicKey.mjs +3 -3
  146. package/dist/esm/core/crypto/secp256k1.mjs +5 -5
  147. package/dist/esm/core/crypto/signature.mjs +3 -3
  148. package/dist/esm/core/crypto/singleKey.mjs +12 -12
  149. package/dist/esm/core/index.mjs +16 -16
  150. package/dist/esm/errors/index.mjs +2 -2
  151. package/dist/esm/index.d.mts +1 -1
  152. package/dist/esm/index.mjs +116 -112
  153. package/dist/esm/internal/abstraction.mjs +44 -44
  154. package/dist/esm/internal/account.mjs +38 -38
  155. package/dist/esm/internal/ans.mjs +45 -45
  156. package/dist/esm/internal/coin.mjs +43 -43
  157. package/dist/esm/internal/digitalAsset.mjs +44 -44
  158. package/dist/esm/internal/event.mjs +16 -16
  159. package/dist/esm/internal/experimental.mjs +43 -43
  160. package/dist/esm/internal/faucet.mjs +17 -17
  161. package/dist/esm/internal/fungibleAsset.mjs +44 -44
  162. package/dist/esm/internal/general.mjs +6 -6
  163. package/dist/esm/internal/keyless.mjs +44 -44
  164. package/dist/esm/internal/object.mjs +16 -16
  165. package/dist/esm/internal/staking.mjs +16 -16
  166. package/dist/esm/internal/table.mjs +7 -7
  167. package/dist/esm/internal/transaction.mjs +7 -7
  168. package/dist/esm/internal/transactionSubmission.mjs +43 -43
  169. package/dist/esm/internal/view.mjs +43 -43
  170. package/dist/esm/transactions/authenticator/account.mjs +15 -15
  171. package/dist/esm/transactions/authenticator/index.mjs +16 -16
  172. package/dist/esm/transactions/authenticator/transaction.mjs +16 -16
  173. package/dist/esm/transactions/index.mjs +60 -60
  174. package/dist/esm/transactions/instances/index.mjs +24 -24
  175. package/dist/esm/transactions/instances/moduleId.mjs +14 -14
  176. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +17 -17
  177. package/dist/esm/transactions/instances/rawTransaction.mjs +16 -16
  178. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +3 -3
  179. package/dist/esm/transactions/instances/signedTransaction.mjs +19 -19
  180. package/dist/esm/transactions/instances/simpleTransaction.mjs +17 -17
  181. package/dist/esm/transactions/instances/transactionPayload.mjs +15 -15
  182. package/dist/esm/transactions/management/accountSequenceNumber.mjs +39 -39
  183. package/dist/esm/transactions/management/index.mjs +45 -45
  184. package/dist/esm/transactions/management/transactionWorker.mjs +45 -45
  185. package/dist/esm/transactions/scriptComposer/index.mjs +42 -42
  186. package/dist/esm/transactions/transactionBuilder/helpers.mjs +15 -15
  187. package/dist/esm/transactions/transactionBuilder/index.mjs +41 -41
  188. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +40 -40
  189. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +22 -22
  190. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +41 -41
  191. package/dist/esm/transactions/typeTag/index.mjs +14 -14
  192. package/dist/esm/transactions/typeTag/parser.mjs +14 -14
  193. package/dist/esm/types/index.d.mts +1 -1
  194. package/dist/esm/types/index.mjs +6 -2
  195. package/dist/esm/types/types.d.mts +36 -2
  196. package/dist/esm/types/types.mjs +5 -1
  197. package/dist/esm/utils/helpers.mjs +1 -1
  198. package/dist/esm/utils/index.mjs +4 -4
  199. package/dist/esm/utils/normalizeBundle.mjs +3 -3
  200. package/package.json +1 -1
  201. package/src/client/post.ts +0 -1
  202. package/src/internal/account.ts +28 -10
  203. package/src/types/types.ts +38 -1
  204. package/dist/common/chunk-CSUBLTFA.js.map +0 -1
  205. package/dist/esm/chunk-KEZG4OGH.mjs.map +0 -1
  206. /package/dist/esm/{chunk-XXLSA7W7.mjs.map → chunk-2JLHWA2G.mjs.map} +0 -0
  207. /package/dist/esm/{chunk-UXAUOSSB.mjs.map → chunk-2SIDNRJH.mjs.map} +0 -0
  208. /package/dist/esm/{chunk-4BXAKN6A.mjs.map → chunk-2WTIMHGC.mjs.map} +0 -0
  209. /package/dist/esm/{chunk-3SCNBHUA.mjs.map → chunk-2ZX5PHCY.mjs.map} +0 -0
  210. /package/dist/esm/{chunk-J7WQ42OC.mjs.map → chunk-3E2SXJXZ.mjs.map} +0 -0
  211. /package/dist/esm/{chunk-WPV52HGD.mjs.map → chunk-3T7G4OUL.mjs.map} +0 -0
  212. /package/dist/esm/{chunk-LHQJNJUB.mjs.map → chunk-54XJAHWK.mjs.map} +0 -0
  213. /package/dist/esm/{chunk-QN5BQMWP.mjs.map → chunk-56UCIGTO.mjs.map} +0 -0
  214. /package/dist/esm/{chunk-3QMLVT4L.mjs.map → chunk-6DJZITWL.mjs.map} +0 -0
  215. /package/dist/esm/{chunk-SGKF62FT.mjs.map → chunk-7J37IHNP.mjs.map} +0 -0
  216. /package/dist/esm/{chunk-TQDWZXFD.mjs.map → chunk-AEMQUDMU.mjs.map} +0 -0
  217. /package/dist/esm/{chunk-AGKEC2IM.mjs.map → chunk-BADWWRLN.mjs.map} +0 -0
  218. /package/dist/esm/{chunk-MIVDDJAH.mjs.map → chunk-BVBIBMAE.mjs.map} +0 -0
  219. /package/dist/esm/{chunk-VGI2LPO3.mjs.map → chunk-CDJNQ7CS.mjs.map} +0 -0
  220. /package/dist/esm/{chunk-ECTX2FGD.mjs.map → chunk-CPZPXG7O.mjs.map} +0 -0
  221. /package/dist/esm/{chunk-UKZP2GAB.mjs.map → chunk-D3IWXA33.mjs.map} +0 -0
  222. /package/dist/esm/{chunk-WEOK7WVL.mjs.map → chunk-EBFKT35C.mjs.map} +0 -0
  223. /package/dist/esm/{chunk-DUOU3SNQ.mjs.map → chunk-ESGBNVCA.mjs.map} +0 -0
  224. /package/dist/esm/{chunk-5E2IDRDF.mjs.map → chunk-F2EFNUWD.mjs.map} +0 -0
  225. /package/dist/esm/{chunk-JOVCSFQC.mjs.map → chunk-F4VI7BNX.mjs.map} +0 -0
  226. /package/dist/esm/{chunk-3TUV6YMI.mjs.map → chunk-F65QGYVD.mjs.map} +0 -0
  227. /package/dist/esm/{chunk-SDIZSFCQ.mjs.map → chunk-GUEJH55K.mjs.map} +0 -0
  228. /package/dist/esm/{chunk-TFW6N66T.mjs.map → chunk-HRUI6AWF.mjs.map} +0 -0
  229. /package/dist/esm/{chunk-D4MW64RH.mjs.map → chunk-HTC3Q5JN.mjs.map} +0 -0
  230. /package/dist/esm/{chunk-Y7KAC4I4.mjs.map → chunk-IARAGRKO.mjs.map} +0 -0
  231. /package/dist/esm/{chunk-4WNIKKIV.mjs.map → chunk-IEM26R5Q.mjs.map} +0 -0
  232. /package/dist/esm/{chunk-HLTYSM7H.mjs.map → chunk-IKEPH7D2.mjs.map} +0 -0
  233. /package/dist/esm/{chunk-MG6UFOJW.mjs.map → chunk-IORAMQ2Y.mjs.map} +0 -0
  234. /package/dist/esm/{chunk-A3TQLIEM.mjs.map → chunk-IY2ASLSP.mjs.map} +0 -0
  235. /package/dist/esm/{chunk-LFMXR5C2.mjs.map → chunk-J32AERDF.mjs.map} +0 -0
  236. /package/dist/esm/{chunk-XGUYC57L.mjs.map → chunk-JJ6MU2DV.mjs.map} +0 -0
  237. /package/dist/esm/{chunk-HQTQEHHZ.mjs.map → chunk-JQIRRM7G.mjs.map} +0 -0
  238. /package/dist/esm/{chunk-KLZCGNPI.mjs.map → chunk-KK7SBRDQ.mjs.map} +0 -0
  239. /package/dist/esm/{chunk-MUSTBCQX.mjs.map → chunk-KW64NP2F.mjs.map} +0 -0
  240. /package/dist/esm/{chunk-I6QE3PKO.mjs.map → chunk-KZFQOE4N.mjs.map} +0 -0
  241. /package/dist/esm/{chunk-Y4FHNC5I.mjs.map → chunk-LK4HGGAJ.mjs.map} +0 -0
  242. /package/dist/esm/{chunk-HQ6A6TYS.mjs.map → chunk-MC4OOX6X.mjs.map} +0 -0
  243. /package/dist/esm/{chunk-I4OHHVRF.mjs.map → chunk-MD4TZ4HA.mjs.map} +0 -0
  244. /package/dist/esm/{chunk-MHZVL3EA.mjs.map → chunk-MLGROHE6.mjs.map} +0 -0
  245. /package/dist/esm/{chunk-UOHCJOXI.mjs.map → chunk-MX2R6BBJ.mjs.map} +0 -0
  246. /package/dist/esm/{chunk-DMFRIING.mjs.map → chunk-NFBLI3BS.mjs.map} +0 -0
  247. /package/dist/esm/{chunk-ZWD4BJVD.mjs.map → chunk-OOQS6BEP.mjs.map} +0 -0
  248. /package/dist/esm/{chunk-ZNGTK5IZ.mjs.map → chunk-OVZOE4GS.mjs.map} +0 -0
  249. /package/dist/esm/{chunk-EMKV5DFX.mjs.map → chunk-PITSYZA7.mjs.map} +0 -0
  250. /package/dist/esm/{chunk-YIHVPGHN.mjs.map → chunk-PP2U5UMC.mjs.map} +0 -0
  251. /package/dist/esm/{chunk-LSIXUJ5T.mjs.map → chunk-PYLTV3KI.mjs.map} +0 -0
  252. /package/dist/esm/{chunk-IPUAVRGL.mjs.map → chunk-RGHKUKOX.mjs.map} +0 -0
  253. /package/dist/esm/{chunk-P64LPFEC.mjs.map → chunk-RTNVJKNX.mjs.map} +0 -0
  254. /package/dist/esm/{chunk-KEKNIJHE.mjs.map → chunk-S5JIXUS6.mjs.map} +0 -0
  255. /package/dist/esm/{chunk-BQ5JTYXK.mjs.map → chunk-SFF4FJUD.mjs.map} +0 -0
  256. /package/dist/esm/{chunk-46VPRC7E.mjs.map → chunk-SW4ASQPY.mjs.map} +0 -0
  257. /package/dist/esm/{chunk-ESZLRZTK.mjs.map → chunk-TFDBSPIQ.mjs.map} +0 -0
  258. /package/dist/esm/{chunk-XIBOO3WF.mjs.map → chunk-TQLOZKH4.mjs.map} +0 -0
  259. /package/dist/esm/{chunk-EFJAJFI3.mjs.map → chunk-TZZZNGQI.mjs.map} +0 -0
  260. /package/dist/esm/{chunk-HMHFKEHQ.mjs.map → chunk-U7K7AJMC.mjs.map} +0 -0
  261. /package/dist/esm/{chunk-EBEO4SA4.mjs.map → chunk-UGKZQUGE.mjs.map} +0 -0
  262. /package/dist/esm/{chunk-KAKSJSCR.mjs.map → chunk-UKYATVYK.mjs.map} +0 -0
  263. /package/dist/esm/{chunk-K3CXNID3.mjs.map → chunk-V66UC6YI.mjs.map} +0 -0
  264. /package/dist/esm/{chunk-SN6KXHPA.mjs.map → chunk-VJ2Z7GO3.mjs.map} +0 -0
  265. /package/dist/esm/{chunk-OQ6XT2GF.mjs.map → chunk-WPJUSJJQ.mjs.map} +0 -0
  266. /package/dist/esm/{chunk-NMYFY7WN.mjs.map → chunk-WSI6NVQD.mjs.map} +0 -0
  267. /package/dist/esm/{chunk-ODG7T6OV.mjs.map → chunk-XB4SVKZP.mjs.map} +0 -0
  268. /package/dist/esm/{chunk-6PMKDSGB.mjs.map → chunk-XHQMSKZP.mjs.map} +0 -0
  269. /package/dist/esm/{chunk-KPAICS4T.mjs.map → chunk-XX6C2QGI.mjs.map} +0 -0
  270. /package/dist/esm/{chunk-KCV4HRSJ.mjs.map → chunk-Y25NJOOO.mjs.map} +0 -0
  271. /package/dist/esm/{chunk-6SNGKTWE.mjs.map → chunk-YD3KHXBD.mjs.map} +0 -0
  272. /package/dist/esm/{chunk-XGB3QLVI.mjs.map → chunk-YMHFUSKX.mjs.map} +0 -0
  273. /package/dist/esm/{chunk-2ZOIVB2U.mjs.map → chunk-ZAPXD4FC.mjs.map} +0 -0
  274. /package/dist/esm/{chunk-S56SMMAK.mjs.map → chunk-ZATMRCFV.mjs.map} +0 -0
  275. /package/dist/esm/{chunk-T573PCIR.mjs.map → chunk-ZZWD23YW.mjs.map} +0 -0
@@ -64,7 +64,9 @@
64
64
 
65
65
 
66
66
 
67
- var _chunkCSUBLTFAjs = require('./chunk-CSUBLTFA.js');
67
+
68
+
69
+ var _chunkJMOQXLEDjs = require('./chunk-JMOQXLED.js');
68
70
 
69
71
  // src/bcs/deserializer.ts
70
72
  var Deserializer = class _Deserializer {
@@ -82,7 +84,7 @@ var Deserializer = class _Deserializer {
82
84
  this.offset = 0;
83
85
  }
84
86
  static fromHex(hex) {
85
- const data = _chunkCSUBLTFAjs.Hex.hexInputToUint8Array(hex);
87
+ const data = _chunkJMOQXLEDjs.Hex.hexInputToUint8Array(hex);
86
88
  return new _Deserializer(data);
87
89
  }
88
90
  /**
@@ -307,7 +309,7 @@ var Deserializer = class _Deserializer {
307
309
  deserializeUleb128AsU32() {
308
310
  let value = BigInt(0);
309
311
  let shift = 0;
310
- while (value < _chunkCSUBLTFAjs.MAX_U32_NUMBER) {
312
+ while (value < _chunkJMOQXLEDjs.MAX_U32_NUMBER) {
311
313
  const byte = this.deserializeU8();
312
314
  value |= BigInt(byte & 127) << BigInt(shift);
313
315
  if ((byte & 128) === 0) {
@@ -315,7 +317,7 @@ var Deserializer = class _Deserializer {
315
317
  }
316
318
  shift += 7;
317
319
  }
318
- if (value > _chunkCSUBLTFAjs.MAX_U32_NUMBER) {
320
+ if (value > _chunkJMOQXLEDjs.MAX_U32_NUMBER) {
319
321
  throw new Error("Overflow while parsing uleb128-encoded uint32 value");
320
322
  }
321
323
  return Number(value);
@@ -373,7 +375,7 @@ var Deserializer = class _Deserializer {
373
375
  };
374
376
 
375
377
  // src/bcs/serializable/fixedBytes.ts
376
- var FixedBytes = class _FixedBytes extends _chunkCSUBLTFAjs.Serializable {
378
+ var FixedBytes = class _FixedBytes extends _chunkJMOQXLEDjs.Serializable {
377
379
  /**
378
380
  * Creates an instance of the class with a specified hexadecimal input.
379
381
  * The value is converted from hexadecimal format to a Uint8Array.
@@ -384,7 +386,7 @@ var FixedBytes = class _FixedBytes extends _chunkCSUBLTFAjs.Serializable {
384
386
  */
385
387
  constructor(value) {
386
388
  super();
387
- this.value = _chunkCSUBLTFAjs.Hex.fromHexInput(value).toUint8Array();
389
+ this.value = _chunkJMOQXLEDjs.Hex.fromHexInput(value).toUint8Array();
388
390
  }
389
391
  /**
390
392
  * Serializes the fixed bytes value using the provided serializer.
@@ -435,7 +437,7 @@ var FixedBytes = class _FixedBytes extends _chunkCSUBLTFAjs.Serializable {
435
437
  };
436
438
 
437
439
  // src/bcs/serializable/entryFunctionBytes.ts
438
- var EntryFunctionBytes = class _EntryFunctionBytes extends _chunkCSUBLTFAjs.Serializable {
440
+ var EntryFunctionBytes = class _EntryFunctionBytes extends _chunkJMOQXLEDjs.Serializable {
439
441
  /**
440
442
  * Creates an instance of the class with a specified hexadecimal input value.
441
443
  *
@@ -501,7 +503,7 @@ var EntryFunctionBytes = class _EntryFunctionBytes extends _chunkCSUBLTFAjs.Seri
501
503
  };
502
504
 
503
505
  // src/bcs/serializable/movePrimitives.ts
504
- var Bool = class _Bool extends _chunkCSUBLTFAjs.Serializable {
506
+ var Bool = class _Bool extends _chunkJMOQXLEDjs.Serializable {
505
507
  /**
506
508
  * Constructs a new instance with a specified value.
507
509
  * This ensures that the value is validated to be within the acceptable range.
@@ -512,7 +514,7 @@ var Bool = class _Bool extends _chunkCSUBLTFAjs.Serializable {
512
514
  */
513
515
  constructor(value) {
514
516
  super();
515
- _chunkCSUBLTFAjs.ensureBoolean.call(void 0, value);
517
+ _chunkJMOQXLEDjs.ensureBoolean.call(void 0, value);
516
518
  this.value = value;
517
519
  }
518
520
  /**
@@ -565,10 +567,10 @@ var Bool = class _Bool extends _chunkCSUBLTFAjs.Serializable {
565
567
  return new _Bool(deserializer.deserializeBool());
566
568
  }
567
569
  };
568
- var U8 = class _U8 extends _chunkCSUBLTFAjs.Serializable {
570
+ var U8 = class _U8 extends _chunkJMOQXLEDjs.Serializable {
569
571
  constructor(value) {
570
572
  super();
571
- _chunkCSUBLTFAjs.validateNumberInRange.call(void 0, value, 0, _chunkCSUBLTFAjs.MAX_U8_NUMBER);
573
+ _chunkJMOQXLEDjs.validateNumberInRange.call(void 0, value, 0, _chunkJMOQXLEDjs.MAX_U8_NUMBER);
572
574
  this.value = value;
573
575
  }
574
576
  serialize(serializer) {
@@ -586,10 +588,10 @@ var U8 = class _U8 extends _chunkCSUBLTFAjs.Serializable {
586
588
  return new _U8(deserializer.deserializeU8());
587
589
  }
588
590
  };
589
- var U16 = class _U16 extends _chunkCSUBLTFAjs.Serializable {
591
+ var U16 = class _U16 extends _chunkJMOQXLEDjs.Serializable {
590
592
  constructor(value) {
591
593
  super();
592
- _chunkCSUBLTFAjs.validateNumberInRange.call(void 0, value, 0, _chunkCSUBLTFAjs.MAX_U16_NUMBER);
594
+ _chunkJMOQXLEDjs.validateNumberInRange.call(void 0, value, 0, _chunkJMOQXLEDjs.MAX_U16_NUMBER);
593
595
  this.value = value;
594
596
  }
595
597
  serialize(serializer) {
@@ -607,10 +609,10 @@ var U16 = class _U16 extends _chunkCSUBLTFAjs.Serializable {
607
609
  return new _U16(deserializer.deserializeU16());
608
610
  }
609
611
  };
610
- var U32 = class _U32 extends _chunkCSUBLTFAjs.Serializable {
612
+ var U32 = class _U32 extends _chunkJMOQXLEDjs.Serializable {
611
613
  constructor(value) {
612
614
  super();
613
- _chunkCSUBLTFAjs.validateNumberInRange.call(void 0, value, 0, _chunkCSUBLTFAjs.MAX_U32_NUMBER);
615
+ _chunkJMOQXLEDjs.validateNumberInRange.call(void 0, value, 0, _chunkJMOQXLEDjs.MAX_U32_NUMBER);
614
616
  this.value = value;
615
617
  }
616
618
  serialize(serializer) {
@@ -628,10 +630,10 @@ var U32 = class _U32 extends _chunkCSUBLTFAjs.Serializable {
628
630
  return new _U32(deserializer.deserializeU32());
629
631
  }
630
632
  };
631
- var U64 = class _U64 extends _chunkCSUBLTFAjs.Serializable {
633
+ var U64 = class _U64 extends _chunkJMOQXLEDjs.Serializable {
632
634
  constructor(value) {
633
635
  super();
634
- _chunkCSUBLTFAjs.validateNumberInRange.call(void 0, value, BigInt(0), _chunkCSUBLTFAjs.MAX_U64_BIG_INT);
636
+ _chunkJMOQXLEDjs.validateNumberInRange.call(void 0, value, BigInt(0), _chunkJMOQXLEDjs.MAX_U64_BIG_INT);
635
637
  this.value = BigInt(value);
636
638
  }
637
639
  serialize(serializer) {
@@ -649,10 +651,10 @@ var U64 = class _U64 extends _chunkCSUBLTFAjs.Serializable {
649
651
  return new _U64(deserializer.deserializeU64());
650
652
  }
651
653
  };
652
- var U128 = class _U128 extends _chunkCSUBLTFAjs.Serializable {
654
+ var U128 = class _U128 extends _chunkJMOQXLEDjs.Serializable {
653
655
  constructor(value) {
654
656
  super();
655
- _chunkCSUBLTFAjs.validateNumberInRange.call(void 0, value, BigInt(0), _chunkCSUBLTFAjs.MAX_U128_BIG_INT);
657
+ _chunkJMOQXLEDjs.validateNumberInRange.call(void 0, value, BigInt(0), _chunkJMOQXLEDjs.MAX_U128_BIG_INT);
656
658
  this.value = BigInt(value);
657
659
  }
658
660
  serialize(serializer) {
@@ -670,10 +672,10 @@ var U128 = class _U128 extends _chunkCSUBLTFAjs.Serializable {
670
672
  return new _U128(deserializer.deserializeU128());
671
673
  }
672
674
  };
673
- var U256 = class _U256 extends _chunkCSUBLTFAjs.Serializable {
675
+ var U256 = class _U256 extends _chunkJMOQXLEDjs.Serializable {
674
676
  constructor(value) {
675
677
  super();
676
- _chunkCSUBLTFAjs.validateNumberInRange.call(void 0, value, BigInt(0), _chunkCSUBLTFAjs.MAX_U256_BIG_INT);
678
+ _chunkJMOQXLEDjs.validateNumberInRange.call(void 0, value, BigInt(0), _chunkJMOQXLEDjs.MAX_U256_BIG_INT);
677
679
  this.value = BigInt(value);
678
680
  }
679
681
  serialize(serializer) {
@@ -693,7 +695,7 @@ var U256 = class _U256 extends _chunkCSUBLTFAjs.Serializable {
693
695
  };
694
696
 
695
697
  // src/bcs/serializable/moveStructs.ts
696
- var MoveVector = class _MoveVector extends _chunkCSUBLTFAjs.Serializable {
698
+ var MoveVector = class _MoveVector extends _chunkJMOQXLEDjs.Serializable {
697
699
  /**
698
700
  * Initializes a new instance of the class with an optional value.
699
701
  * This constructor sets up the internal vector based on the provided value.
@@ -763,7 +765,7 @@ var MoveVector = class _MoveVector extends _chunkCSUBLTFAjs.Serializable {
763
765
  } else if (Array.isArray(values) && typeof values[0] === "number") {
764
766
  numbers = values;
765
767
  } else if (typeof values === "string") {
766
- const hex = _chunkCSUBLTFAjs.Hex.fromHexInput(values);
768
+ const hex = _chunkJMOQXLEDjs.Hex.fromHexInput(values);
767
769
  numbers = Array.from(hex.toUint8Array());
768
770
  } else if (values instanceof Uint8Array) {
769
771
  numbers = Array.from(values);
@@ -928,10 +930,10 @@ var MoveVector = class _MoveVector extends _chunkCSUBLTFAjs.Serializable {
928
930
  return new _MoveVector(values);
929
931
  }
930
932
  };
931
- var Serialized = class _Serialized extends _chunkCSUBLTFAjs.Serializable {
933
+ var Serialized = class _Serialized extends _chunkJMOQXLEDjs.Serializable {
932
934
  constructor(value) {
933
935
  super();
934
- this.value = _chunkCSUBLTFAjs.Hex.fromHexInput(value).toUint8Array();
936
+ this.value = _chunkJMOQXLEDjs.Hex.fromHexInput(value).toUint8Array();
935
937
  }
936
938
  serialize(serializer) {
937
939
  serializer.serializeBytes(this.value);
@@ -961,7 +963,7 @@ var Serialized = class _Serialized extends _chunkCSUBLTFAjs.Serializable {
961
963
  return new MoveVector(vec);
962
964
  }
963
965
  };
964
- var MoveString = class _MoveString extends _chunkCSUBLTFAjs.Serializable {
966
+ var MoveString = class _MoveString extends _chunkJMOQXLEDjs.Serializable {
965
967
  constructor(value) {
966
968
  super();
967
969
  this.value = value;
@@ -983,7 +985,7 @@ var MoveString = class _MoveString extends _chunkCSUBLTFAjs.Serializable {
983
985
  return new _MoveString(deserializer.deserializeStr());
984
986
  }
985
987
  };
986
- var MoveOption = class _MoveOption extends _chunkCSUBLTFAjs.Serializable {
988
+ var MoveOption = class _MoveOption extends _chunkJMOQXLEDjs.Serializable {
987
989
  constructor(value) {
988
990
  super();
989
991
  if (typeof value !== "undefined" && value !== null) {
@@ -1173,7 +1175,7 @@ var _ed25519 = require('@noble/curves/ed25519');
1173
1175
 
1174
1176
  // src/core/authenticationKey.ts
1175
1177
  var _sha3 = require('@noble/hashes/sha3');
1176
- var _AuthenticationKey = class _AuthenticationKey extends _chunkCSUBLTFAjs.Serializable {
1178
+ var _AuthenticationKey = class _AuthenticationKey extends _chunkJMOQXLEDjs.Serializable {
1177
1179
  /**
1178
1180
  * Creates an instance of the AuthenticationKey using the provided hex input.
1179
1181
  * This ensures that the hex input is valid and conforms to the required length for an Authentication Key.
@@ -1188,7 +1190,7 @@ var _AuthenticationKey = class _AuthenticationKey extends _chunkCSUBLTFAjs.Seria
1188
1190
  constructor(args) {
1189
1191
  super();
1190
1192
  const { data } = args;
1191
- const hex = _chunkCSUBLTFAjs.Hex.fromHexInput(data);
1193
+ const hex = _chunkJMOQXLEDjs.Hex.fromHexInput(data);
1192
1194
  if (hex.toUint8Array().length !== _AuthenticationKey.LENGTH) {
1193
1195
  throw new Error(`Authentication Key length should be ${_AuthenticationKey.LENGTH}`);
1194
1196
  }
@@ -1240,7 +1242,7 @@ var _AuthenticationKey = class _AuthenticationKey extends _chunkCSUBLTFAjs.Seria
1240
1242
  */
1241
1243
  static fromSchemeAndBytes(args) {
1242
1244
  const { scheme, input } = args;
1243
- const inputBytes = _chunkCSUBLTFAjs.Hex.fromHexInput(input).toUint8Array();
1245
+ const inputBytes = _chunkJMOQXLEDjs.Hex.fromHexInput(input).toUint8Array();
1244
1246
  const hashInput = new Uint8Array([...inputBytes, scheme]);
1245
1247
  const hash = _sha3.sha3_256.create();
1246
1248
  hash.update(hashInput);
@@ -1282,7 +1284,7 @@ var _AuthenticationKey = class _AuthenticationKey extends _chunkCSUBLTFAjs.Seria
1282
1284
  * @category Serialization
1283
1285
  */
1284
1286
  derivedAddress() {
1285
- return new (0, _chunkCSUBLTFAjs.AccountAddress)(this.data.toUint8Array());
1287
+ return new (0, _chunkJMOQXLEDjs.AccountAddress)(this.data.toUint8Array());
1286
1288
  }
1287
1289
  };
1288
1290
  /**
@@ -1350,7 +1352,7 @@ var _PrivateKey = class _PrivateKey {
1350
1352
  if (typeof formattedPrivateKey === "string" && formattedPrivateKey.startsWith(aip80Prefix)) {
1351
1353
  formattedPrivateKey = formattedPrivateKey.split("-")[2];
1352
1354
  }
1353
- return `${aip80Prefix}${_chunkCSUBLTFAjs.Hex.fromHexInput(formattedPrivateKey).toString()}`;
1355
+ return `${aip80Prefix}${_chunkJMOQXLEDjs.Hex.fromHexInput(formattedPrivateKey).toString()}`;
1354
1356
  }
1355
1357
  /**
1356
1358
  * Parse a HexInput that may be a HexString, Uint8Array, or a AIP-80 compliant string to a Hex instance.
@@ -1366,14 +1368,14 @@ var _PrivateKey = class _PrivateKey {
1366
1368
  const aip80Prefix = _PrivateKey.AIP80_PREFIXES[type];
1367
1369
  if (typeof value === "string") {
1368
1370
  if (!strict && !value.startsWith(aip80Prefix)) {
1369
- data = _chunkCSUBLTFAjs.Hex.fromHexInput(value);
1371
+ data = _chunkJMOQXLEDjs.Hex.fromHexInput(value);
1370
1372
  if (strict !== false) {
1371
1373
  console.warn(
1372
1374
  "[Aptos SDK] It is recommended that private keys are AIP-80 compliant (https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md). You can fix the private key by formatting it with `PrivateKey.formatPrivateKey(privateKey: string, type: 'ed25519' | 'secp256k1'): string`."
1373
1375
  );
1374
1376
  }
1375
1377
  } else if (value.startsWith(aip80Prefix)) {
1376
- data = _chunkCSUBLTFAjs.Hex.fromHexString(value.split("-")[2]);
1378
+ data = _chunkJMOQXLEDjs.Hex.fromHexString(value.split("-")[2]);
1377
1379
  } else {
1378
1380
  if (strict) {
1379
1381
  throw new Error("Invalid HexString input while parsing private key. Must AIP-80 compliant string.");
@@ -1381,7 +1383,7 @@ var _PrivateKey = class _PrivateKey {
1381
1383
  throw new Error("Invalid HexString input while parsing private key.");
1382
1384
  }
1383
1385
  } else {
1384
- data = _chunkCSUBLTFAjs.Hex.fromHexInput(value);
1386
+ data = _chunkJMOQXLEDjs.Hex.fromHexInput(value);
1385
1387
  }
1386
1388
  return data;
1387
1389
  }
@@ -1399,7 +1401,7 @@ _PrivateKey.AIP80_PREFIXES = {
1399
1401
  var PrivateKey = _PrivateKey;
1400
1402
 
1401
1403
  // src/core/crypto/publicKey.ts
1402
- var PublicKey = class extends _chunkCSUBLTFAjs.Serializable {
1404
+ var PublicKey = class extends _chunkJMOQXLEDjs.Serializable {
1403
1405
  /**
1404
1406
  * Get the raw public key bytes
1405
1407
  * @group Implementation
@@ -1417,14 +1419,14 @@ var PublicKey = class extends _chunkCSUBLTFAjs.Serializable {
1417
1419
  */
1418
1420
  toString() {
1419
1421
  const bytes = this.toUint8Array();
1420
- return _chunkCSUBLTFAjs.Hex.fromHexInput(bytes).toString();
1422
+ return _chunkJMOQXLEDjs.Hex.fromHexInput(bytes).toString();
1421
1423
  }
1422
1424
  };
1423
1425
  var AccountPublicKey = class extends PublicKey {
1424
1426
  };
1425
1427
 
1426
1428
  // src/core/crypto/signature.ts
1427
- var Signature = class extends _chunkCSUBLTFAjs.Serializable {
1429
+ var Signature = class extends _chunkJMOQXLEDjs.Serializable {
1428
1430
  /**
1429
1431
  * Get the raw signature bytes
1430
1432
  * @group Implementation
@@ -1441,14 +1443,14 @@ var Signature = class extends _chunkCSUBLTFAjs.Serializable {
1441
1443
  */
1442
1444
  toString() {
1443
1445
  const bytes = this.toUint8Array();
1444
- return _chunkCSUBLTFAjs.Hex.fromHexInput(bytes).toString();
1446
+ return _chunkJMOQXLEDjs.Hex.fromHexInput(bytes).toString();
1445
1447
  }
1446
1448
  };
1447
1449
 
1448
1450
  // src/core/crypto/utils.ts
1449
1451
  var convertSigningMessage = (message) => {
1450
1452
  if (typeof message === "string") {
1451
- const isValid = _chunkCSUBLTFAjs.Hex.isValid(message);
1453
+ const isValid = _chunkJMOQXLEDjs.Hex.isValid(message);
1452
1454
  if (!isValid.valid) {
1453
1455
  return new TextEncoder().encode(message);
1454
1456
  }
@@ -1516,7 +1518,7 @@ var _Ed25519PublicKey = class _Ed25519PublicKey extends AccountPublicKey {
1516
1518
  */
1517
1519
  constructor(hexInput) {
1518
1520
  super();
1519
- const hex = _chunkCSUBLTFAjs.Hex.fromHexInput(hexInput);
1521
+ const hex = _chunkJMOQXLEDjs.Hex.fromHexInput(hexInput);
1520
1522
  if (hex.toUint8Array().length !== _Ed25519PublicKey.LENGTH) {
1521
1523
  throw new Error(`PublicKey length should be ${_Ed25519PublicKey.LENGTH}`);
1522
1524
  }
@@ -1538,7 +1540,7 @@ var _Ed25519PublicKey = class _Ed25519PublicKey extends AccountPublicKey {
1538
1540
  return false;
1539
1541
  }
1540
1542
  const messageToVerify = convertSigningMessage(message);
1541
- const messageBytes = _chunkCSUBLTFAjs.Hex.fromHexInput(messageToVerify).toUint8Array();
1543
+ const messageBytes = _chunkJMOQXLEDjs.Hex.fromHexInput(messageToVerify).toUint8Array();
1542
1544
  const signatureBytes = signature.toUint8Array();
1543
1545
  const publicKeyBytes = this.key.toUint8Array();
1544
1546
  return _ed25519.ed25519.verify(signatureBytes, messageBytes, publicKeyBytes);
@@ -1626,7 +1628,7 @@ var _Ed25519PublicKey = class _Ed25519PublicKey extends AccountPublicKey {
1626
1628
  */
1627
1629
  _Ed25519PublicKey.LENGTH = 32;
1628
1630
  var Ed25519PublicKey = _Ed25519PublicKey;
1629
- var _Ed25519PrivateKey = class _Ed25519PrivateKey extends _chunkCSUBLTFAjs.Serializable {
1631
+ var _Ed25519PrivateKey = class _Ed25519PrivateKey extends _chunkJMOQXLEDjs.Serializable {
1630
1632
  // region Constructors
1631
1633
  /**
1632
1634
  * Create a new PrivateKey instance from a Uint8Array or String.
@@ -1720,7 +1722,7 @@ var _Ed25519PrivateKey = class _Ed25519PrivateKey extends _chunkCSUBLTFAjs.Seria
1720
1722
  */
1721
1723
  sign(message) {
1722
1724
  const messageToSign = convertSigningMessage(message);
1723
- const messageBytes = _chunkCSUBLTFAjs.Hex.fromHexInput(messageToSign).toUint8Array();
1725
+ const messageBytes = _chunkJMOQXLEDjs.Hex.fromHexInput(messageToSign).toUint8Array();
1724
1726
  const signatureBytes = _ed25519.ed25519.sign(messageBytes, this.signingKey.toUint8Array());
1725
1727
  return new Ed25519Signature(signatureBytes);
1726
1728
  }
@@ -1804,7 +1806,7 @@ var _Ed25519Signature = class _Ed25519Signature extends Signature {
1804
1806
  // region Constructors
1805
1807
  constructor(hexInput) {
1806
1808
  super();
1807
- const data = _chunkCSUBLTFAjs.Hex.fromHexInput(hexInput);
1809
+ const data = _chunkJMOQXLEDjs.Hex.fromHexInput(hexInput);
1808
1810
  if (data.toUint8Array().length !== _Ed25519Signature.LENGTH) {
1809
1811
  throw new Error(`Signature length should be ${_Ed25519Signature.LENGTH}`);
1810
1812
  }
@@ -1850,13 +1852,13 @@ var _Secp256k1PublicKey = class _Secp256k1PublicKey extends PublicKey {
1850
1852
  */
1851
1853
  constructor(hexInput) {
1852
1854
  super();
1853
- const hex = _chunkCSUBLTFAjs.Hex.fromHexInput(hexInput);
1855
+ const hex = _chunkJMOQXLEDjs.Hex.fromHexInput(hexInput);
1854
1856
  const { length } = hex.toUint8Array();
1855
1857
  if (length === _Secp256k1PublicKey.LENGTH) {
1856
1858
  this.key = hex;
1857
1859
  } else if (length === _Secp256k1PublicKey.COMPRESSED_LENGTH) {
1858
1860
  const point = _secp256k1.secp256k1.ProjectivePoint.fromHex(hex.toUint8Array());
1859
- this.key = _chunkCSUBLTFAjs.Hex.fromHexInput(point.toRawBytes(false));
1861
+ this.key = _chunkJMOQXLEDjs.Hex.fromHexInput(point.toRawBytes(false));
1860
1862
  } else {
1861
1863
  throw new Error(
1862
1864
  `PublicKey length should be ${_Secp256k1PublicKey.LENGTH} or ${_Secp256k1PublicKey.COMPRESSED_LENGTH}, received ${length}`
@@ -1878,7 +1880,7 @@ var _Secp256k1PublicKey = class _Secp256k1PublicKey extends PublicKey {
1878
1880
  verifySignature(args) {
1879
1881
  const { message, signature } = args;
1880
1882
  const messageToVerify = convertSigningMessage(message);
1881
- const messageBytes = _chunkCSUBLTFAjs.Hex.fromHexInput(messageToVerify).toUint8Array();
1883
+ const messageBytes = _chunkJMOQXLEDjs.Hex.fromHexInput(messageToVerify).toUint8Array();
1882
1884
  const messageSha3Bytes = _sha3.sha3_256.call(void 0, messageBytes);
1883
1885
  const signatureBytes = signature.toUint8Array();
1884
1886
  return _secp256k1.secp256k1.verify(signatureBytes, messageSha3Bytes, this.key.toUint8Array(), { lowS: true });
@@ -1953,7 +1955,7 @@ _Secp256k1PublicKey.LENGTH = 65;
1953
1955
  // If it's compressed, it is only 33 bytes
1954
1956
  _Secp256k1PublicKey.COMPRESSED_LENGTH = 33;
1955
1957
  var Secp256k1PublicKey = _Secp256k1PublicKey;
1956
- var _Secp256k1PrivateKey = class _Secp256k1PrivateKey extends _chunkCSUBLTFAjs.Serializable {
1958
+ var _Secp256k1PrivateKey = class _Secp256k1PrivateKey extends _chunkJMOQXLEDjs.Serializable {
1957
1959
  // region Constructors
1958
1960
  /**
1959
1961
  * Create a new PrivateKey instance from a Uint8Array or String.
@@ -2033,7 +2035,7 @@ var _Secp256k1PrivateKey = class _Secp256k1PrivateKey extends _chunkCSUBLTFAjs.S
2033
2035
  */
2034
2036
  sign(message) {
2035
2037
  const messageToSign = convertSigningMessage(message);
2036
- const messageBytes = _chunkCSUBLTFAjs.Hex.fromHexInput(messageToSign);
2038
+ const messageBytes = _chunkJMOQXLEDjs.Hex.fromHexInput(messageToSign);
2037
2039
  const messageHashBytes = _sha3.sha3_256.call(void 0, messageBytes.toUint8Array());
2038
2040
  const signature = _secp256k1.secp256k1.sign(messageHashBytes, this.key.toUint8Array(), { lowS: true });
2039
2041
  return new Secp256k1Signature(signature.toCompactRawBytes());
@@ -2128,7 +2130,7 @@ var _Secp256k1Signature = class _Secp256k1Signature extends Signature {
2128
2130
  */
2129
2131
  constructor(hexInput) {
2130
2132
  super();
2131
- const data = _chunkCSUBLTFAjs.Hex.fromHexInput(hexInput);
2133
+ const data = _chunkJMOQXLEDjs.Hex.fromHexInput(hexInput);
2132
2134
  if (data.toUint8Array().length !== _Secp256k1Signature.LENGTH) {
2133
2135
  throw new Error(
2134
2136
  `Signature length should be ${_Secp256k1Signature.LENGTH}, received ${data.toUint8Array().length}`
@@ -2269,7 +2271,7 @@ var EphemeralSignature = class _EphemeralSignature extends Signature {
2269
2271
  * @category Serialization
2270
2272
  */
2271
2273
  static fromHex(hexInput) {
2272
- const data = _chunkCSUBLTFAjs.Hex.fromHexInput(hexInput);
2274
+ const data = _chunkJMOQXLEDjs.Hex.fromHexInput(hexInput);
2273
2275
  const deserializer = new Deserializer(data.toUint8Array());
2274
2276
  return _EphemeralSignature.deserialize(deserializer);
2275
2277
  }
@@ -2407,7 +2409,7 @@ function poseidonHash(inputs) {
2407
2409
  }
2408
2410
 
2409
2411
  // src/core/crypto/proof.ts
2410
- var Proof = class extends _chunkCSUBLTFAjs.Serializable {
2412
+ var Proof = class extends _chunkJMOQXLEDjs.Serializable {
2411
2413
  };
2412
2414
 
2413
2415
  // src/version.ts
@@ -2714,7 +2716,7 @@ Details: ${details}`;
2714
2716
  AptosApiError: ${innerError.message}`;
2715
2717
  } else if (innerError !== void 0) {
2716
2718
  result += `
2717
- Error: ${_chunkCSUBLTFAjs.getErrorMessage.call(void 0, innerError)}`;
2719
+ Error: ${_chunkJMOQXLEDjs.getErrorMessage.call(void 0, innerError)}`;
2718
2720
  }
2719
2721
  result += `
2720
2722
  KeylessErrorResolutionTip: ${tip}`;
@@ -3098,7 +3100,6 @@ async function postBinaryAptosFullNode(options) {
3098
3100
  }
3099
3101
  async function postAptosIndexer(options) {
3100
3102
  const { aptosConfig } = options;
3101
- console.log("request", JSON.stringify(options.body, null, 2));
3102
3103
  return post({
3103
3104
  ...options,
3104
3105
  type: "Indexer" /* INDEXER */,
@@ -3176,7 +3177,7 @@ var _KeylessPublicKey = class _KeylessPublicKey extends AccountPublicKey {
3176
3177
  // TODO: Fix the JSDoc for the below values
3177
3178
  constructor(iss, idCommitment) {
3178
3179
  super();
3179
- const idcBytes = _chunkCSUBLTFAjs.Hex.fromHexInput(idCommitment).toUint8Array();
3180
+ const idcBytes = _chunkJMOQXLEDjs.Hex.fromHexInput(idCommitment).toUint8Array();
3180
3181
  if (idcBytes.length !== _KeylessPublicKey.ID_COMMITMENT_LENGTH) {
3181
3182
  throw new Error(`Id Commitment length in bytes should be ${_KeylessPublicKey.ID_COMMITMENT_LENGTH}`);
3182
3183
  }
@@ -3191,7 +3192,7 @@ var _KeylessPublicKey = class _KeylessPublicKey extends AccountPublicKey {
3191
3192
  * @category Serialization
3192
3193
  */
3193
3194
  authKey() {
3194
- const serializer = new (0, _chunkCSUBLTFAjs.Serializer)();
3195
+ const serializer = new (0, _chunkJMOQXLEDjs.Serializer)();
3195
3196
  serializer.serializeU32AsUleb128(3 /* Keyless */);
3196
3197
  serializer.serializeFixedBytes(this.bcsToBytes());
3197
3198
  return AuthenticationKey.fromSchemeAndBytes({
@@ -3333,7 +3334,7 @@ var KeylessPublicKey = _KeylessPublicKey;
3333
3334
  function computeIdCommitment(args) {
3334
3335
  const { uidKey, uidVal, aud, pepper } = args;
3335
3336
  const fields = [
3336
- bytesToBigIntLE(_chunkCSUBLTFAjs.Hex.fromHexInput(pepper).toUint8Array()),
3337
+ bytesToBigIntLE(_chunkJMOQXLEDjs.Hex.fromHexInput(pepper).toUint8Array()),
3337
3338
  hashStrToField(aud, MAX_AUD_VAL_BYTES),
3338
3339
  hashStrToField(uidVal, MAX_UID_VAL_BYTES),
3339
3340
  hashStrToField(uidKey, MAX_UID_KEY_BYTES)
@@ -3431,10 +3432,10 @@ var EphemeralCertificate = class _EphemeralCertificate extends Signature {
3431
3432
  }
3432
3433
  }
3433
3434
  };
3434
- var G1Bytes = class _G1Bytes extends _chunkCSUBLTFAjs.Serializable {
3435
+ var G1Bytes = class _G1Bytes extends _chunkJMOQXLEDjs.Serializable {
3435
3436
  constructor(data) {
3436
3437
  super();
3437
- this.data = _chunkCSUBLTFAjs.Hex.fromHexInput(data).toUint8Array();
3438
+ this.data = _chunkJMOQXLEDjs.Hex.fromHexInput(data).toUint8Array();
3438
3439
  if (this.data.length !== 32) {
3439
3440
  throw new Error("Input needs to be 32 bytes");
3440
3441
  }
@@ -3447,10 +3448,10 @@ var G1Bytes = class _G1Bytes extends _chunkCSUBLTFAjs.Serializable {
3447
3448
  return new _G1Bytes(bytes);
3448
3449
  }
3449
3450
  };
3450
- var G2Bytes = class _G2Bytes extends _chunkCSUBLTFAjs.Serializable {
3451
+ var G2Bytes = class _G2Bytes extends _chunkJMOQXLEDjs.Serializable {
3451
3452
  constructor(data) {
3452
3453
  super();
3453
- this.data = _chunkCSUBLTFAjs.Hex.fromHexInput(data).toUint8Array();
3454
+ this.data = _chunkJMOQXLEDjs.Hex.fromHexInput(data).toUint8Array();
3454
3455
  if (this.data.length !== 64) {
3455
3456
  throw new Error("Input needs to be 64 bytes");
3456
3457
  }
@@ -3483,7 +3484,7 @@ var Groth16Zkp = class _Groth16Zkp extends Proof {
3483
3484
  return new _Groth16Zkp({ a, b, c });
3484
3485
  }
3485
3486
  };
3486
- var ZkProof = class _ZkProof extends _chunkCSUBLTFAjs.Serializable {
3487
+ var ZkProof = class _ZkProof extends _chunkJMOQXLEDjs.Serializable {
3487
3488
  constructor(proof, variant) {
3488
3489
  super();
3489
3490
  this.proof = proof;
@@ -3574,7 +3575,7 @@ var Groth16VerificationKey = class _Groth16VerificationKey {
3574
3575
  * @returns The SHA3-256 hash of the serialized verification key as a Uint8Array
3575
3576
  */
3576
3577
  hash() {
3577
- const serializer = new (0, _chunkCSUBLTFAjs.Serializer)();
3578
+ const serializer = new (0, _chunkJMOQXLEDjs.Serializer)();
3578
3579
  this.serialize(serializer);
3579
3580
  return _sha3.sha3_256.create().update(serializer.toUint8Array()).digest();
3580
3581
  }
@@ -3640,7 +3641,7 @@ function getIssAudAndUidVal(args) {
3640
3641
  } catch (error) {
3641
3642
  throw KeylessError.fromErrorType({
3642
3643
  type: 12 /* JWT_PARSING_ERROR */,
3643
- details: `Failed to parse JWT - ${_chunkCSUBLTFAjs.getErrorMessage.call(void 0, error)}`
3644
+ details: `Failed to parse JWT - ${_chunkJMOQXLEDjs.getErrorMessage.call(void 0, error)}`
3644
3645
  });
3645
3646
  }
3646
3647
  if (typeof jwtPayload.iss !== "string") {
@@ -3665,7 +3666,7 @@ async function getKeylessConfigurationResource(args) {
3665
3666
  const { data } = await getAptosFullNode({
3666
3667
  aptosConfig,
3667
3668
  originMethod: "getKeylessConfigurationResource",
3668
- path: `accounts/${_chunkCSUBLTFAjs.AccountAddress.from("0x1").toString()}/resource/${resourceType}`,
3669
+ path: `accounts/${_chunkJMOQXLEDjs.AccountAddress.from("0x1").toString()}/resource/${resourceType}`,
3669
3670
  params: { ledger_version: _optionalChain([options, 'optionalAccess', _57 => _57.ledgerVersion]) }
3670
3671
  });
3671
3672
  return data.data;
@@ -3683,7 +3684,7 @@ async function getGroth16VerificationKeyResource(args) {
3683
3684
  const { data } = await getAptosFullNode({
3684
3685
  aptosConfig,
3685
3686
  originMethod: "getGroth16VerificationKeyResource",
3686
- path: `accounts/${_chunkCSUBLTFAjs.AccountAddress.from("0x1").toString()}/resource/${resourceType}`,
3687
+ path: `accounts/${_chunkJMOQXLEDjs.AccountAddress.from("0x1").toString()}/resource/${resourceType}`,
3687
3688
  params: { ledger_version: _optionalChain([options, 'optionalAccess', _58 => _58.ledgerVersion]) }
3688
3689
  });
3689
3690
  return data.data;
@@ -3711,7 +3712,7 @@ async function getKeylessJWKs(args) {
3711
3712
  const { data } = await getAptosFullNode({
3712
3713
  aptosConfig,
3713
3714
  originMethod: "getKeylessJWKs",
3714
- path: `accounts/${_chunkCSUBLTFAjs.AccountAddress.from(jwkAddr).toString()}/resource/${resourceType}`,
3715
+ path: `accounts/${_chunkJMOQXLEDjs.AccountAddress.from(jwkAddr).toString()}/resource/${resourceType}`,
3715
3716
  params: { ledger_version: _optionalChain([options, 'optionalAccess', _60 => _60.ledgerVersion]) }
3716
3717
  });
3717
3718
  resource = data;
@@ -3721,15 +3722,15 @@ async function getKeylessJWKs(args) {
3721
3722
  const jwks = [];
3722
3723
  for (const jwkStruct of entry.jwks) {
3723
3724
  const { data: jwkData } = jwkStruct.variant;
3724
- const deserializer = new Deserializer(_chunkCSUBLTFAjs.Hex.fromHexInput(jwkData).toUint8Array());
3725
+ const deserializer = new Deserializer(_chunkJMOQXLEDjs.Hex.fromHexInput(jwkData).toUint8Array());
3725
3726
  const jwk = MoveJWK.deserialize(deserializer);
3726
3727
  jwks.push(jwk);
3727
3728
  }
3728
- jwkMap.set(_chunkCSUBLTFAjs.hexToAsciiString.call(void 0, entry.issuer), jwks);
3729
+ jwkMap.set(_chunkJMOQXLEDjs.hexToAsciiString.call(void 0, entry.issuer), jwks);
3729
3730
  }
3730
3731
  return jwkMap;
3731
3732
  }
3732
- var MoveJWK = class _MoveJWK extends _chunkCSUBLTFAjs.Serializable {
3733
+ var MoveJWK = class _MoveJWK extends _chunkJMOQXLEDjs.Serializable {
3733
3734
  constructor(args) {
3734
3735
  super();
3735
3736
  const { kid, kty, alg, e, n } = args;
@@ -3748,7 +3749,7 @@ var MoveJWK = class _MoveJWK extends _chunkCSUBLTFAjs.Serializable {
3748
3749
  }
3749
3750
  static fromMoveStruct(struct) {
3750
3751
  const { data } = struct.variant;
3751
- const deserializer = new Deserializer(_chunkCSUBLTFAjs.Hex.fromHexInput(data).toUint8Array());
3752
+ const deserializer = new Deserializer(_chunkJMOQXLEDjs.Hex.fromHexInput(data).toUint8Array());
3752
3753
  return _MoveJWK.deserialize(deserializer);
3753
3754
  }
3754
3755
  static deserialize(deserializer) {
@@ -3776,7 +3777,7 @@ function parseJwtHeader(jwtHeader) {
3776
3777
  var FederatedKeylessPublicKey = class _FederatedKeylessPublicKey extends AccountPublicKey {
3777
3778
  constructor(jwkAddress, keylessPublicKey) {
3778
3779
  super();
3779
- this.jwkAddress = _chunkCSUBLTFAjs.AccountAddress.from(jwkAddress);
3780
+ this.jwkAddress = _chunkJMOQXLEDjs.AccountAddress.from(jwkAddress);
3780
3781
  this.keylessPublicKey = keylessPublicKey;
3781
3782
  }
3782
3783
  /**
@@ -3787,7 +3788,7 @@ var FederatedKeylessPublicKey = class _FederatedKeylessPublicKey extends Account
3787
3788
  * @category Serialization
3788
3789
  */
3789
3790
  authKey() {
3790
- const serializer = new (0, _chunkCSUBLTFAjs.Serializer)();
3791
+ const serializer = new (0, _chunkJMOQXLEDjs.Serializer)();
3791
3792
  serializer.serializeU32AsUleb128(4 /* FederatedKeyless */);
3792
3793
  serializer.serializeFixedBytes(this.bcsToBytes());
3793
3794
  return AuthenticationKey.fromSchemeAndBytes({
@@ -3813,7 +3814,7 @@ var FederatedKeylessPublicKey = class _FederatedKeylessPublicKey extends Account
3813
3814
  this.keylessPublicKey.serialize(serializer);
3814
3815
  }
3815
3816
  static deserialize(deserializer) {
3816
- const jwkAddress = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
3817
+ const jwkAddress = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
3817
3818
  const keylessPublicKey = KeylessPublicKey.deserialize(deserializer);
3818
3819
  return new _FederatedKeylessPublicKey(jwkAddress, keylessPublicKey);
3819
3820
  }
@@ -3839,7 +3840,7 @@ var FederatedKeylessPublicKey = class _FederatedKeylessPublicKey extends Account
3839
3840
  return new _FederatedKeylessPublicKey(args.jwkAddress, KeylessPublicKey.fromJwtAndPepper(args));
3840
3841
  }
3841
3842
  static isInstance(publicKey) {
3842
- return "jwkAddress" in publicKey && publicKey.jwkAddress instanceof _chunkCSUBLTFAjs.AccountAddress && "keylessPublicKey" in publicKey && publicKey.keylessPublicKey instanceof KeylessPublicKey;
3843
+ return "jwkAddress" in publicKey && publicKey.jwkAddress instanceof _chunkJMOQXLEDjs.AccountAddress && "keylessPublicKey" in publicKey && publicKey.keylessPublicKey instanceof KeylessPublicKey;
3843
3844
  }
3844
3845
  };
3845
3846
 
@@ -4619,13 +4620,13 @@ var createObjectAddress = (creatorAddress, seed) => {
4619
4620
  const creatorBytes = creatorAddress.bcsToBytes();
4620
4621
  const seedBytes = typeof seed === "string" ? Buffer.from(seed, "utf8") : seed;
4621
4622
  const bytes = new Uint8Array([...creatorBytes, ...seedBytes, 254 /* DeriveObjectAddressFromSeed */]);
4622
- return new (0, _chunkCSUBLTFAjs.AccountAddress)(_sha3.sha3_256.call(void 0, bytes));
4623
+ return new (0, _chunkJMOQXLEDjs.AccountAddress)(_sha3.sha3_256.call(void 0, bytes));
4623
4624
  };
4624
4625
  var createResourceAddress = (creatorAddress, seed) => {
4625
4626
  const creatorBytes = creatorAddress.bcsToBytes();
4626
4627
  const seedBytes = typeof seed === "string" ? Buffer.from(seed, "utf8") : seed;
4627
4628
  const bytes = new Uint8Array([...creatorBytes, ...seedBytes, 255 /* DeriveResourceAccountAddress */]);
4628
- return new (0, _chunkCSUBLTFAjs.AccountAddress)(_sha3.sha3_256.call(void 0, bytes));
4629
+ return new (0, _chunkJMOQXLEDjs.AccountAddress)(_sha3.sha3_256.call(void 0, bytes));
4629
4630
  };
4630
4631
  var createTokenAddress = (creatorAddress, collectionName, tokenName) => {
4631
4632
  const seed = `${collectionName}::${tokenName}`;
@@ -4633,7 +4634,7 @@ var createTokenAddress = (creatorAddress, collectionName, tokenName) => {
4633
4634
  };
4634
4635
 
4635
4636
  // src/transactions/authenticator/account.ts
4636
- var AccountAuthenticator = class extends _chunkCSUBLTFAjs.Serializable {
4637
+ var AccountAuthenticator = class extends _chunkJMOQXLEDjs.Serializable {
4637
4638
  /**
4638
4639
  * Deserializes an AccountAuthenticator from the provided deserializer.
4639
4640
  * This function helps in reconstructing the AccountAuthenticator object based on the variant index.
@@ -4807,17 +4808,17 @@ var AccountAuthenticatorNoAccountAuthenticator = class _AccountAuthenticatorNoAc
4807
4808
  var AccountAuthenticatorAbstraction = class _AccountAuthenticatorAbstraction extends AccountAuthenticator {
4808
4809
  constructor(functionInfo, signingMessageDigest, authenticator) {
4809
4810
  super();
4810
- if (!_chunkCSUBLTFAjs.isValidFunctionInfo.call(void 0, functionInfo)) {
4811
+ if (!_chunkJMOQXLEDjs.isValidFunctionInfo.call(void 0, functionInfo)) {
4811
4812
  throw new Error(`Invalid function info ${functionInfo} passed into AccountAuthenticatorAbstraction`);
4812
4813
  }
4813
4814
  this.functionInfo = functionInfo;
4814
- this.authenticator = _chunkCSUBLTFAjs.Hex.fromHexInput(authenticator);
4815
- this.signingMessageDigest = _chunkCSUBLTFAjs.Hex.fromHexInput(_chunkCSUBLTFAjs.Hex.fromHexInput(signingMessageDigest).toUint8Array());
4815
+ this.authenticator = _chunkJMOQXLEDjs.Hex.fromHexInput(authenticator);
4816
+ this.signingMessageDigest = _chunkJMOQXLEDjs.Hex.fromHexInput(_chunkJMOQXLEDjs.Hex.fromHexInput(signingMessageDigest).toUint8Array());
4816
4817
  }
4817
4818
  serialize(serializer) {
4818
4819
  serializer.serializeU32AsUleb128(5 /* Abstraction */);
4819
- const { moduleAddress, moduleName, functionName } = _chunkCSUBLTFAjs.getFunctionParts.call(void 0, this.functionInfo);
4820
- _chunkCSUBLTFAjs.AccountAddress.fromString(moduleAddress).serialize(serializer);
4820
+ const { moduleAddress, moduleName, functionName } = _chunkJMOQXLEDjs.getFunctionParts.call(void 0, this.functionInfo);
4821
+ _chunkJMOQXLEDjs.AccountAddress.fromString(moduleAddress).serialize(serializer);
4821
4822
  serializer.serializeStr(moduleName);
4822
4823
  serializer.serializeStr(functionName);
4823
4824
  serializer.serializeU32AsUleb128(0 /* V1 */);
@@ -4825,7 +4826,7 @@ var AccountAuthenticatorAbstraction = class _AccountAuthenticatorAbstraction ext
4825
4826
  serializer.serializeFixedBytes(this.authenticator.toUint8Array());
4826
4827
  }
4827
4828
  static load(deserializer) {
4828
- const moduleAddress = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
4829
+ const moduleAddress = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
4829
4830
  const moduleName = deserializer.deserializeStr();
4830
4831
  const functionName = deserializer.deserializeStr();
4831
4832
  const variant = deserializer.deserializeUleb128AsU32();
@@ -4846,7 +4847,7 @@ var AccountAuthenticatorAbstraction = class _AccountAuthenticatorAbstraction ext
4846
4847
 
4847
4848
 
4848
4849
  // src/transactions/instances/chainId.ts
4849
- var ChainId = class _ChainId extends _chunkCSUBLTFAjs.Serializable {
4850
+ var ChainId = class _ChainId extends _chunkJMOQXLEDjs.Serializable {
4850
4851
  /**
4851
4852
  * Initializes a new instance of the class with the specified chain ID.
4852
4853
  *
@@ -4884,7 +4885,7 @@ var ChainId = class _ChainId extends _chunkCSUBLTFAjs.Serializable {
4884
4885
  };
4885
4886
 
4886
4887
  // src/transactions/instances/identifier.ts
4887
- var Identifier = class _Identifier extends _chunkCSUBLTFAjs.Serializable {
4888
+ var Identifier = class _Identifier extends _chunkJMOQXLEDjs.Serializable {
4888
4889
  /**
4889
4890
  * Creates an instance of the class with a specified identifier.
4890
4891
  *
@@ -4921,7 +4922,7 @@ var Identifier = class _Identifier extends _chunkCSUBLTFAjs.Serializable {
4921
4922
  };
4922
4923
 
4923
4924
  // src/transactions/instances/moduleId.ts
4924
- var ModuleId = class _ModuleId extends _chunkCSUBLTFAjs.Serializable {
4925
+ var ModuleId = class _ModuleId extends _chunkJMOQXLEDjs.Serializable {
4925
4926
  /**
4926
4927
  * Initializes a new instance of the module with the specified account address and name.
4927
4928
  *
@@ -4948,7 +4949,7 @@ var ModuleId = class _ModuleId extends _chunkCSUBLTFAjs.Serializable {
4948
4949
  if (parts.length !== 2) {
4949
4950
  throw new Error("Invalid module id.");
4950
4951
  }
4951
- return new _ModuleId(_chunkCSUBLTFAjs.AccountAddress.fromString(parts[0]), new Identifier(parts[1]));
4952
+ return new _ModuleId(_chunkJMOQXLEDjs.AccountAddress.fromString(parts[0]), new Identifier(parts[1]));
4952
4953
  }
4953
4954
  /**
4954
4955
  * Serializes the address and name properties using the provided serializer.
@@ -4971,14 +4972,14 @@ var ModuleId = class _ModuleId extends _chunkCSUBLTFAjs.Serializable {
4971
4972
  * @category Transactions
4972
4973
  */
4973
4974
  static deserialize(deserializer) {
4974
- const address = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
4975
+ const address = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
4975
4976
  const name = Identifier.deserialize(deserializer);
4976
4977
  return new _ModuleId(address, name);
4977
4978
  }
4978
4979
  };
4979
4980
 
4980
4981
  // src/transactions/typeTag/index.ts
4981
- var TypeTag = class _TypeTag extends _chunkCSUBLTFAjs.Serializable {
4982
+ var TypeTag = class _TypeTag extends _chunkJMOQXLEDjs.Serializable {
4982
4983
  /**
4983
4984
  * Deserializes a StructTag from the provided deserializer.
4984
4985
  * This function allows you to reconstruct a StructTag object from its serialized form.
@@ -4988,7 +4989,7 @@ var TypeTag = class _TypeTag extends _chunkCSUBLTFAjs.Serializable {
4988
4989
  * @category Transactions
4989
4990
  */
4990
4991
  deserialize(deserializer) {
4991
- const address = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
4992
+ const address = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
4992
4993
  const moduleName = Identifier.deserialize(deserializer);
4993
4994
  const name = Identifier.deserialize(deserializer);
4994
4995
  const typeArgs = deserializer.deserializeVector(_TypeTag);
@@ -5381,7 +5382,7 @@ var TypeTagStruct = class _TypeTagStruct extends TypeTag {
5381
5382
  * @category Transactions
5382
5383
  */
5383
5384
  isString() {
5384
- return this.isTypeTag(_chunkCSUBLTFAjs.AccountAddress.ONE, "string", "String");
5385
+ return this.isTypeTag(_chunkJMOQXLEDjs.AccountAddress.ONE, "string", "String");
5385
5386
  }
5386
5387
  /**
5387
5388
  * Checks if the specified account address is of type "option".
@@ -5391,7 +5392,7 @@ var TypeTagStruct = class _TypeTagStruct extends TypeTag {
5391
5392
  * @category Transactions
5392
5393
  */
5393
5394
  isOption() {
5394
- return this.isTypeTag(_chunkCSUBLTFAjs.AccountAddress.ONE, "option", "Option");
5395
+ return this.isTypeTag(_chunkJMOQXLEDjs.AccountAddress.ONE, "option", "Option");
5395
5396
  }
5396
5397
  /**
5397
5398
  * Checks if the provided value is of type 'object'.
@@ -5402,10 +5403,10 @@ var TypeTagStruct = class _TypeTagStruct extends TypeTag {
5402
5403
  * @category Transactions
5403
5404
  */
5404
5405
  isObject() {
5405
- return this.isTypeTag(_chunkCSUBLTFAjs.AccountAddress.ONE, "object", "Object");
5406
+ return this.isTypeTag(_chunkJMOQXLEDjs.AccountAddress.ONE, "object", "Object");
5406
5407
  }
5407
5408
  };
5408
- var StructTag = class _StructTag extends _chunkCSUBLTFAjs.Serializable {
5409
+ var StructTag = class _StructTag extends _chunkJMOQXLEDjs.Serializable {
5409
5410
  constructor(address, module_name, name, type_args) {
5410
5411
  super();
5411
5412
  this.address = address;
@@ -5420,7 +5421,7 @@ var StructTag = class _StructTag extends _chunkCSUBLTFAjs.Serializable {
5420
5421
  serializer.serializeVector(this.typeArgs);
5421
5422
  }
5422
5423
  static deserialize(deserializer) {
5423
- const address = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
5424
+ const address = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
5424
5425
  const moduleName = Identifier.deserialize(deserializer);
5425
5426
  const name = Identifier.deserialize(deserializer);
5426
5427
  const typeArgs = deserializer.deserializeVector(TypeTag);
@@ -5428,16 +5429,16 @@ var StructTag = class _StructTag extends _chunkCSUBLTFAjs.Serializable {
5428
5429
  }
5429
5430
  };
5430
5431
  function aptosCoinStructTag() {
5431
- return new StructTag(_chunkCSUBLTFAjs.AccountAddress.ONE, new Identifier("aptos_coin"), new Identifier("AptosCoin"), []);
5432
+ return new StructTag(_chunkJMOQXLEDjs.AccountAddress.ONE, new Identifier("aptos_coin"), new Identifier("AptosCoin"), []);
5432
5433
  }
5433
5434
  function stringStructTag() {
5434
- return new StructTag(_chunkCSUBLTFAjs.AccountAddress.ONE, new Identifier("string"), new Identifier("String"), []);
5435
+ return new StructTag(_chunkJMOQXLEDjs.AccountAddress.ONE, new Identifier("string"), new Identifier("String"), []);
5435
5436
  }
5436
5437
  function optionStructTag(typeArg) {
5437
- return new StructTag(_chunkCSUBLTFAjs.AccountAddress.ONE, new Identifier("option"), new Identifier("Option"), [typeArg]);
5438
+ return new StructTag(_chunkJMOQXLEDjs.AccountAddress.ONE, new Identifier("option"), new Identifier("Option"), [typeArg]);
5438
5439
  }
5439
5440
  function objectStructTag(typeArg) {
5440
- return new StructTag(_chunkCSUBLTFAjs.AccountAddress.ONE, new Identifier("object"), new Identifier("Object"), [typeArg]);
5441
+ return new StructTag(_chunkJMOQXLEDjs.AccountAddress.ONE, new Identifier("object"), new Identifier("Object"), [typeArg]);
5441
5442
  }
5442
5443
 
5443
5444
  // src/transactions/instances/transactionPayload.ts
@@ -5451,7 +5452,7 @@ function deserializeFromScriptArgument(deserializer) {
5451
5452
  case 2 /* U128 */:
5452
5453
  return U128.deserialize(deserializer);
5453
5454
  case 3 /* Address */:
5454
- return _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
5455
+ return _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
5455
5456
  case 4 /* U8Vector */:
5456
5457
  return MoveVector.deserialize(deserializer, U8);
5457
5458
  case 5 /* Bool */:
@@ -5468,7 +5469,7 @@ function deserializeFromScriptArgument(deserializer) {
5468
5469
  throw new Error(`Unknown variant index for ScriptTransactionArgument: ${index}`);
5469
5470
  }
5470
5471
  }
5471
- var TransactionPayload = class extends _chunkCSUBLTFAjs.Serializable {
5472
+ var TransactionPayload = class extends _chunkJMOQXLEDjs.Serializable {
5472
5473
  /**
5473
5474
  * Deserialize a Transaction Payload
5474
5475
  * @group Implementation
@@ -5730,7 +5731,7 @@ var MultiSig = class _MultiSig {
5730
5731
  }
5731
5732
  }
5732
5733
  static deserialize(deserializer) {
5733
- const multisig_address = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
5734
+ const multisig_address = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
5734
5735
  const payloadPresent = deserializer.deserializeBool();
5735
5736
  let transaction_payload;
5736
5737
  if (payloadPresent) {
@@ -5739,7 +5740,7 @@ var MultiSig = class _MultiSig {
5739
5740
  return new _MultiSig(multisig_address, transaction_payload);
5740
5741
  }
5741
5742
  };
5742
- var MultiSigTransactionPayload = class _MultiSigTransactionPayload extends _chunkCSUBLTFAjs.Serializable {
5743
+ var MultiSigTransactionPayload = class _MultiSigTransactionPayload extends _chunkJMOQXLEDjs.Serializable {
5743
5744
  /**
5744
5745
  * Contains the payload to run a multi-sig account transaction.
5745
5746
  *
@@ -5764,7 +5765,7 @@ var MultiSigTransactionPayload = class _MultiSigTransactionPayload extends _chun
5764
5765
  };
5765
5766
 
5766
5767
  // src/transactions/instances/rawTransaction.ts
5767
- var RawTransaction = class _RawTransaction extends _chunkCSUBLTFAjs.Serializable {
5768
+ var RawTransaction = class _RawTransaction extends _chunkJMOQXLEDjs.Serializable {
5768
5769
  /**
5769
5770
  * RawTransactions contain the metadata and payloads that can be submitted to Aptos chain for execution.
5770
5771
  * RawTransactions must be signed before Aptos chain can execute them.
@@ -5819,7 +5820,7 @@ var RawTransaction = class _RawTransaction extends _chunkCSUBLTFAjs.Serializable
5819
5820
  * @category Transactions
5820
5821
  */
5821
5822
  static deserialize(deserializer) {
5822
- const sender = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
5823
+ const sender = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
5823
5824
  const sequence_number = deserializer.deserializeU64();
5824
5825
  const payload = TransactionPayload.deserialize(deserializer);
5825
5826
  const max_gas_amount = deserializer.deserializeU64();
@@ -5837,7 +5838,7 @@ var RawTransaction = class _RawTransaction extends _chunkCSUBLTFAjs.Serializable
5837
5838
  );
5838
5839
  }
5839
5840
  };
5840
- var RawTransactionWithData = class extends _chunkCSUBLTFAjs.Serializable {
5841
+ var RawTransactionWithData = class extends _chunkJMOQXLEDjs.Serializable {
5841
5842
  /**
5842
5843
  * Deserialize a Raw Transaction With Data
5843
5844
  * @group Implementation
@@ -5878,7 +5879,7 @@ var MultiAgentRawTransaction = class _MultiAgentRawTransaction extends RawTransa
5878
5879
  */
5879
5880
  static load(deserializer) {
5880
5881
  const rawTxn = RawTransaction.deserialize(deserializer);
5881
- const secondarySignerAddresses = deserializer.deserializeVector(_chunkCSUBLTFAjs.AccountAddress);
5882
+ const secondarySignerAddresses = deserializer.deserializeVector(_chunkJMOQXLEDjs.AccountAddress);
5882
5883
  return new _MultiAgentRawTransaction(rawTxn, secondarySignerAddresses);
5883
5884
  }
5884
5885
  };
@@ -5897,14 +5898,14 @@ var FeePayerRawTransaction = class _FeePayerRawTransaction extends RawTransactio
5897
5898
  }
5898
5899
  static load(deserializer) {
5899
5900
  const rawTxn = RawTransaction.deserialize(deserializer);
5900
- const secondarySignerAddresses = deserializer.deserializeVector(_chunkCSUBLTFAjs.AccountAddress);
5901
- const feePayerAddress = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
5901
+ const secondarySignerAddresses = deserializer.deserializeVector(_chunkJMOQXLEDjs.AccountAddress);
5902
+ const feePayerAddress = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
5902
5903
  return new _FeePayerRawTransaction(rawTxn, secondarySignerAddresses, feePayerAddress);
5903
5904
  }
5904
5905
  };
5905
5906
 
5906
5907
  // src/transactions/instances/rotationProofChallenge.ts
5907
- var RotationProofChallenge = class extends _chunkCSUBLTFAjs.Serializable {
5908
+ var RotationProofChallenge = class extends _chunkJMOQXLEDjs.Serializable {
5908
5909
  /**
5909
5910
  * Initializes a new instance of the class with the specified parameters.
5910
5911
  * This constructor sets up the necessary attributes for managing account keys.
@@ -5920,7 +5921,7 @@ var RotationProofChallenge = class extends _chunkCSUBLTFAjs.Serializable {
5920
5921
  constructor(args) {
5921
5922
  super();
5922
5923
  // Resource account address
5923
- this.accountAddress = _chunkCSUBLTFAjs.AccountAddress.ONE;
5924
+ this.accountAddress = _chunkJMOQXLEDjs.AccountAddress.ONE;
5924
5925
  // Module name, i.e: 0x1::account
5925
5926
  this.moduleName = new MoveString("account");
5926
5927
  // The rotation proof challenge struct name that live under the module
@@ -5957,7 +5958,7 @@ var RotationProofChallenge = class extends _chunkCSUBLTFAjs.Serializable {
5957
5958
  };
5958
5959
 
5959
5960
  // src/transactions/authenticator/transaction.ts
5960
- var TransactionAuthenticator = class extends _chunkCSUBLTFAjs.Serializable {
5961
+ var TransactionAuthenticator = class extends _chunkJMOQXLEDjs.Serializable {
5961
5962
  /**
5962
5963
  * Deserializes a TransactionAuthenticator from the provided deserializer.
5963
5964
  * This function helps in reconstructing the TransactionAuthenticator based on the variant index found in the serialized data.
@@ -6071,7 +6072,7 @@ var TransactionAuthenticatorMultiAgent = class _TransactionAuthenticatorMultiAge
6071
6072
  }
6072
6073
  static load(deserializer) {
6073
6074
  const sender = AccountAuthenticator.deserialize(deserializer);
6074
- const secondary_signer_addresses = deserializer.deserializeVector(_chunkCSUBLTFAjs.AccountAddress);
6075
+ const secondary_signer_addresses = deserializer.deserializeVector(_chunkJMOQXLEDjs.AccountAddress);
6075
6076
  const secondary_signers = deserializer.deserializeVector(AccountAuthenticator);
6076
6077
  return new _TransactionAuthenticatorMultiAgent(sender, secondary_signer_addresses, secondary_signers);
6077
6078
  }
@@ -6094,9 +6095,9 @@ var TransactionAuthenticatorFeePayer = class _TransactionAuthenticatorFeePayer e
6094
6095
  }
6095
6096
  static load(deserializer) {
6096
6097
  const sender = AccountAuthenticator.deserialize(deserializer);
6097
- const secondary_signer_addresses = deserializer.deserializeVector(_chunkCSUBLTFAjs.AccountAddress);
6098
+ const secondary_signer_addresses = deserializer.deserializeVector(_chunkJMOQXLEDjs.AccountAddress);
6098
6099
  const secondary_signers = deserializer.deserializeVector(AccountAuthenticator);
6099
- const address = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
6100
+ const address = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
6100
6101
  const authenticator = AccountAuthenticator.deserialize(deserializer);
6101
6102
  const fee_payer = { address, authenticator };
6102
6103
  return new _TransactionAuthenticatorFeePayer(sender, secondary_signer_addresses, secondary_signers, fee_payer);
@@ -6118,7 +6119,7 @@ var TransactionAuthenticatorSingleSender = class _TransactionAuthenticatorSingle
6118
6119
  };
6119
6120
 
6120
6121
  // src/transactions/instances/signedTransaction.ts
6121
- var SignedTransaction = class _SignedTransaction extends _chunkCSUBLTFAjs.Serializable {
6122
+ var SignedTransaction = class _SignedTransaction extends _chunkJMOQXLEDjs.Serializable {
6122
6123
  /**
6123
6124
  * Represents a signed transaction that includes a raw transaction and an authenticator.
6124
6125
  * The authenticator contains a client's public key and the signature of the raw transaction,
@@ -6165,7 +6166,7 @@ var SignedTransaction = class _SignedTransaction extends _chunkCSUBLTFAjs.Serial
6165
6166
  };
6166
6167
 
6167
6168
  // src/transactions/instances/simpleTransaction.ts
6168
- var SimpleTransaction = class _SimpleTransaction extends _chunkCSUBLTFAjs.Serializable {
6169
+ var SimpleTransaction = class _SimpleTransaction extends _chunkJMOQXLEDjs.Serializable {
6169
6170
  /**
6170
6171
  * SimpleTransaction represents a transaction signed by a single account that
6171
6172
  * can be submitted to the Aptos chain for execution.
@@ -6210,14 +6211,14 @@ var SimpleTransaction = class _SimpleTransaction extends _chunkCSUBLTFAjs.Serial
6210
6211
  const feePayerPresent = deserializer.deserializeBool();
6211
6212
  let feePayerAddress;
6212
6213
  if (feePayerPresent) {
6213
- feePayerAddress = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
6214
+ feePayerAddress = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
6214
6215
  }
6215
6216
  return new _SimpleTransaction(rawTransaction, feePayerAddress);
6216
6217
  }
6217
6218
  };
6218
6219
 
6219
6220
  // src/transactions/instances/multiAgentTransaction.ts
6220
- var MultiAgentTransaction = class _MultiAgentTransaction extends _chunkCSUBLTFAjs.Serializable {
6221
+ var MultiAgentTransaction = class _MultiAgentTransaction extends _chunkJMOQXLEDjs.Serializable {
6221
6222
  /**
6222
6223
  * Represents a MultiAgentTransaction that can be submitted to the Aptos chain for execution.
6223
6224
  * This class encapsulates the raw transaction data, the secondary signer addresses, and an optional fee payer address.
@@ -6263,11 +6264,11 @@ var MultiAgentTransaction = class _MultiAgentTransaction extends _chunkCSUBLTFAj
6263
6264
  */
6264
6265
  static deserialize(deserializer) {
6265
6266
  const rawTransaction = RawTransaction.deserialize(deserializer);
6266
- const secondarySignerAddresses = deserializer.deserializeVector(_chunkCSUBLTFAjs.AccountAddress);
6267
+ const secondarySignerAddresses = deserializer.deserializeVector(_chunkJMOQXLEDjs.AccountAddress);
6267
6268
  const feePayerPresent = deserializer.deserializeBool();
6268
6269
  let feePayerAddress;
6269
6270
  if (feePayerPresent) {
6270
- feePayerAddress = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
6271
+ feePayerAddress = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
6271
6272
  }
6272
6273
  return new _MultiAgentTransaction(rawTransaction, secondarySignerAddresses, feePayerAddress);
6273
6274
  }
@@ -6332,7 +6333,7 @@ var Ed25519Account = class _Ed25519Account {
6332
6333
  const { privateKey, address } = args;
6333
6334
  this.privateKey = privateKey;
6334
6335
  this.publicKey = privateKey.publicKey();
6335
- this.accountAddress = address ? _chunkCSUBLTFAjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
6336
+ this.accountAddress = address ? _chunkJMOQXLEDjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
6336
6337
  }
6337
6338
  /**
6338
6339
  * Generates a new Ed25519 account using a randomly generated private key.
@@ -6445,7 +6446,7 @@ var SingleKeyAccount = class _SingleKeyAccount {
6445
6446
  const { privateKey, address } = args;
6446
6447
  this.privateKey = privateKey;
6447
6448
  this.publicKey = new AnyPublicKey(privateKey.publicKey());
6448
- this.accountAddress = address ? _chunkCSUBLTFAjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
6449
+ this.accountAddress = address ? _chunkJMOQXLEDjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
6449
6450
  }
6450
6451
  getAnyPublicKey() {
6451
6452
  return this.publicKey;
@@ -6646,7 +6647,7 @@ var Account = class {
6646
6647
  // src/account/EphemeralKeyPair.ts
6647
6648
  var _utils = require('@noble/hashes/utils');
6648
6649
  var TWO_WEEKS_IN_SECONDS = 1209600;
6649
- var _EphemeralKeyPair = class _EphemeralKeyPair extends _chunkCSUBLTFAjs.Serializable {
6650
+ var _EphemeralKeyPair = class _EphemeralKeyPair extends _chunkJMOQXLEDjs.Serializable {
6650
6651
  /**
6651
6652
  * Creates an instance of the class with a specified private key, optional expiry date, and optional blinder.
6652
6653
  * This constructor initializes the public key, sets the expiry date to a default value if not provided,
@@ -6664,8 +6665,8 @@ var _EphemeralKeyPair = class _EphemeralKeyPair extends _chunkCSUBLTFAjs.Seriali
6664
6665
  const { privateKey, expiryDateSecs, blinder } = args;
6665
6666
  this.privateKey = privateKey;
6666
6667
  this.publicKey = new EphemeralPublicKey(privateKey.publicKey());
6667
- this.expiryDateSecs = expiryDateSecs || _chunkCSUBLTFAjs.floorToWholeHour.call(void 0, _chunkCSUBLTFAjs.nowInSeconds.call(void 0, ) + TWO_WEEKS_IN_SECONDS);
6668
- this.blinder = blinder !== void 0 ? _chunkCSUBLTFAjs.Hex.fromHexInput(blinder).toUint8Array() : generateBlinder();
6668
+ this.expiryDateSecs = expiryDateSecs || _chunkJMOQXLEDjs.floorToWholeHour.call(void 0, _chunkJMOQXLEDjs.nowInSeconds.call(void 0, ) + TWO_WEEKS_IN_SECONDS);
6669
+ this.blinder = blinder !== void 0 ? _chunkJMOQXLEDjs.Hex.fromHexInput(blinder).toUint8Array() : generateBlinder();
6669
6670
  const fields = padAndPackBytesWithLen(this.publicKey.bcsToBytes(), 93);
6670
6671
  fields.push(BigInt(this.expiryDateSecs));
6671
6672
  fields.push(bytesToBigIntLE(this.blinder));
@@ -6787,7 +6788,7 @@ var _eventemitter3 = require('eventemitter3'); var _eventemitter32 = _interopReq
6787
6788
  function isKeylessSigner(obj) {
6788
6789
  return obj !== null && obj !== void 0 && typeof obj.checkKeylessAccountValidity === "function";
6789
6790
  }
6790
- var _AbstractKeylessAccount = class _AbstractKeylessAccount extends _chunkCSUBLTFAjs.Serializable {
6791
+ var _AbstractKeylessAccount = class _AbstractKeylessAccount extends _chunkJMOQXLEDjs.Serializable {
6791
6792
  /**
6792
6793
  * Use the static generator `create(...)` instead.
6793
6794
  * Creates an instance of the KeylessAccount with an optional proof.
@@ -6830,7 +6831,7 @@ var _AbstractKeylessAccount = class _AbstractKeylessAccount extends _chunkCSUBLT
6830
6831
  } = args;
6831
6832
  this.ephemeralKeyPair = ephemeralKeyPair;
6832
6833
  this.publicKey = publicKey;
6833
- this.accountAddress = address ? _chunkCSUBLTFAjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
6834
+ this.accountAddress = address ? _chunkJMOQXLEDjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
6834
6835
  this.uidKey = uidKey;
6835
6836
  this.uidVal = uidVal;
6836
6837
  this.aud = aud;
@@ -6849,16 +6850,16 @@ var _AbstractKeylessAccount = class _AbstractKeylessAccount extends _chunkCSUBLT
6849
6850
  });
6850
6851
  this.init(proof);
6851
6852
  }
6852
- const pepperBytes = _chunkCSUBLTFAjs.Hex.fromHexInput(pepper).toUint8Array();
6853
+ const pepperBytes = _chunkJMOQXLEDjs.Hex.fromHexInput(pepper).toUint8Array();
6853
6854
  if (pepperBytes.length !== _AbstractKeylessAccount.PEPPER_LENGTH) {
6854
6855
  throw new Error(`Pepper length in bytes should be ${_AbstractKeylessAccount.PEPPER_LENGTH}`);
6855
6856
  }
6856
6857
  this.pepper = pepperBytes;
6857
6858
  if (verificationKeyHash !== void 0) {
6858
- if (_chunkCSUBLTFAjs.Hex.hexInputToUint8Array(verificationKeyHash).length !== 32) {
6859
+ if (_chunkJMOQXLEDjs.Hex.hexInputToUint8Array(verificationKeyHash).length !== 32) {
6859
6860
  throw new Error("verificationKeyHash must be 32 bytes");
6860
6861
  }
6861
- this.verificationKeyHash = _chunkCSUBLTFAjs.Hex.hexInputToUint8Array(verificationKeyHash);
6862
+ this.verificationKeyHash = _chunkJMOQXLEDjs.Hex.hexInputToUint8Array(verificationKeyHash);
6862
6863
  }
6863
6864
  }
6864
6865
  getAnyPublicKey() {
@@ -6901,7 +6902,7 @@ var _AbstractKeylessAccount = class _AbstractKeylessAccount extends _chunkCSUBLT
6901
6902
  serializer.serializeOption(this.verificationKeyHash, 32);
6902
6903
  }
6903
6904
  static partialDeserialize(deserializer) {
6904
- const address = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
6905
+ const address = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
6905
6906
  const jwt = deserializer.deserializeStr();
6906
6907
  const uidKey = deserializer.deserializeStr();
6907
6908
  const pepper = deserializer.deserializeFixedBytes(31);
@@ -6980,7 +6981,7 @@ var _AbstractKeylessAccount = class _AbstractKeylessAccount extends _chunkCSUBLT
6980
6981
  }
6981
6982
  if (this.verificationKeyHash !== void 0) {
6982
6983
  const { verificationKey } = await getKeylessConfig({ aptosConfig });
6983
- if (_chunkCSUBLTFAjs.Hex.hexInputToString(verificationKey.hash()) !== _chunkCSUBLTFAjs.Hex.hexInputToString(this.verificationKeyHash)) {
6984
+ if (_chunkJMOQXLEDjs.Hex.hexInputToString(verificationKey.hash()) !== _chunkJMOQXLEDjs.Hex.hexInputToString(this.verificationKeyHash)) {
6984
6985
  throw KeylessError.fromErrorType({
6985
6986
  type: 4 /* INVALID_PROOF_VERIFICATION_KEY_NOT_FOUND */
6986
6987
  });
@@ -7015,7 +7016,7 @@ var _AbstractKeylessAccount = class _AbstractKeylessAccount extends _chunkCSUBLT
7015
7016
  const ephemeralPublicKey = this.ephemeralKeyPair.getPublicKey();
7016
7017
  const ephemeralSignature = this.ephemeralKeyPair.sign(message);
7017
7018
  return new KeylessSignature({
7018
- jwtHeader: _chunkCSUBLTFAjs.base64UrlDecode.call(void 0, this.jwt.split(".")[0]),
7019
+ jwtHeader: _chunkJMOQXLEDjs.base64UrlDecode.call(void 0, this.jwt.split(".")[0]),
7019
7020
  ephemeralCertificate: new EphemeralCertificate(this.proof, 0 /* ZkProof */),
7020
7021
  expiryDateSecs,
7021
7022
  ephemeralPublicKey,
@@ -7107,7 +7108,7 @@ var _AbstractKeylessAccount = class _AbstractKeylessAccount extends _chunkCSUBLT
7107
7108
  };
7108
7109
  _AbstractKeylessAccount.PEPPER_LENGTH = 31;
7109
7110
  var AbstractKeylessAccount = _AbstractKeylessAccount;
7110
- var TransactionAndProof = class extends _chunkCSUBLTFAjs.Serializable {
7111
+ var TransactionAndProof = class extends _chunkJMOQXLEDjs.Serializable {
7111
7112
  constructor(transaction, proof) {
7112
7113
  super();
7113
7114
  /**
@@ -7211,7 +7212,7 @@ var KeylessAccount = class _KeylessAccount extends AbstractKeylessAccount {
7211
7212
  * @returns
7212
7213
  */
7213
7214
  static fromBytes(bytes) {
7214
- return _KeylessAccount.deserialize(new Deserializer(_chunkCSUBLTFAjs.Hex.hexInputToUint8Array(bytes)));
7215
+ return _KeylessAccount.deserialize(new Deserializer(_chunkJMOQXLEDjs.Hex.hexInputToUint8Array(bytes)));
7215
7216
  }
7216
7217
  /**
7217
7218
  * Creates a KeylessAccount instance using the provided parameters.
@@ -7289,7 +7290,7 @@ var FederatedKeylessAccount = class _FederatedKeylessAccount extends AbstractKey
7289
7290
  */
7290
7291
  static deserialize(deserializer) {
7291
7292
  const { address, proof, ephemeralKeyPair, jwt, uidKey, pepper, verificationKeyHash } = AbstractKeylessAccount.partialDeserialize(deserializer);
7292
- const jwkAddress = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
7293
+ const jwkAddress = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
7293
7294
  const { iss, aud, uidVal } = getIssAudAndUidVal({ jwt, uidKey });
7294
7295
  return new _FederatedKeylessAccount({
7295
7296
  address,
@@ -7350,7 +7351,7 @@ var FederatedKeylessAccount = class _FederatedKeylessAccount extends AbstractKey
7350
7351
  uidVal,
7351
7352
  aud,
7352
7353
  pepper,
7353
- jwkAddress: _chunkCSUBLTFAjs.AccountAddress.from(jwkAddress),
7354
+ jwkAddress: _chunkJMOQXLEDjs.AccountAddress.from(jwkAddress),
7354
7355
  jwt,
7355
7356
  proofFetchCallback,
7356
7357
  verificationKeyHash: verificationKey ? verificationKey.hash() : void 0
@@ -7393,7 +7394,7 @@ var MultiKeyAccount = class _MultiKeyAccount {
7393
7394
  );
7394
7395
  }
7395
7396
  this.publicKey = multiKey;
7396
- this.accountAddress = address ? _chunkCSUBLTFAjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
7397
+ this.accountAddress = address ? _chunkJMOQXLEDjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
7397
7398
  const bitPositions = [];
7398
7399
  for (const signer of signers) {
7399
7400
  bitPositions.push(this.publicKey.getIndex(signer.getAnyPublicKey()));
@@ -7548,7 +7549,7 @@ var MultiEd25519Account = class {
7548
7549
  this.signingScheme = 1 /* MultiEd25519 */;
7549
7550
  const { signers, publicKey, address } = args;
7550
7551
  this.publicKey = publicKey;
7551
- this.accountAddress = address ? _chunkCSUBLTFAjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
7552
+ this.accountAddress = address ? _chunkJMOQXLEDjs.AccountAddress.from(address) : this.publicKey.authKey().derivedAddress();
7552
7553
  if (publicKey.threshold > signers.length) {
7553
7554
  throw new Error(
7554
7555
  // eslint-disable-next-line max-len
@@ -7627,10 +7628,10 @@ var MultiEd25519Account = class {
7627
7628
  // src/account/utils.ts
7628
7629
  function deserializeSchemeAndAddress(deserializer) {
7629
7630
  const signingScheme = deserializer.deserializeUleb128AsU32();
7630
- if (!Object.values(_chunkCSUBLTFAjs.SigningScheme).includes(signingScheme)) {
7631
+ if (!Object.values(_chunkJMOQXLEDjs.SigningScheme).includes(signingScheme)) {
7631
7632
  throw new Error(`Deserialization of Account failed: SigningScheme variant ${signingScheme} is invalid`);
7632
7633
  }
7633
- const address = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
7634
+ const address = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
7634
7635
  return { address, signingScheme };
7635
7636
  }
7636
7637
 
@@ -7658,7 +7659,7 @@ function deserializeKeylessAccountCommon(deserializer) {
7658
7659
  var AccountUtils;
7659
7660
  ((AccountUtils2) => {
7660
7661
  function toBytes(account) {
7661
- const serializer = new (0, _chunkCSUBLTFAjs.Serializer)();
7662
+ const serializer = new (0, _chunkJMOQXLEDjs.Serializer)();
7662
7663
  serializer.serializeU32AsUleb128(account.signingScheme);
7663
7664
  account.accountAddress.serialize(serializer);
7664
7665
  switch (account.signingScheme) {
@@ -7710,11 +7711,11 @@ var AccountUtils;
7710
7711
  }
7711
7712
  AccountUtils2.toBytes = toBytes;
7712
7713
  function toHexStringWithoutPrefix(account) {
7713
- return _chunkCSUBLTFAjs.Hex.hexInputToStringWithoutPrefix(toBytes(account));
7714
+ return _chunkJMOQXLEDjs.Hex.hexInputToStringWithoutPrefix(toBytes(account));
7714
7715
  }
7715
7716
  AccountUtils2.toHexStringWithoutPrefix = toHexStringWithoutPrefix;
7716
7717
  function toHexString(account) {
7717
- return _chunkCSUBLTFAjs.Hex.hexInputToString(toBytes(account));
7718
+ return _chunkJMOQXLEDjs.Hex.hexInputToString(toBytes(account));
7718
7719
  }
7719
7720
  AccountUtils2.toHexString = toHexString;
7720
7721
  function deserialize(deserializer) {
@@ -7742,7 +7743,7 @@ var AccountUtils;
7742
7743
  }
7743
7744
  case 4 /* FederatedKeyless */: {
7744
7745
  const keylessComponents = deserializeKeylessAccountCommon(deserializer);
7745
- const jwkAddress = _chunkCSUBLTFAjs.AccountAddress.deserialize(deserializer);
7746
+ const jwkAddress = _chunkJMOQXLEDjs.AccountAddress.deserialize(deserializer);
7746
7747
  const audless = deserializer.deserializeBool();
7747
7748
  const jwtClaims = getIssAudAndUidVal(keylessComponents);
7748
7749
  return new FederatedKeylessAccount({ ...keylessComponents, ...jwtClaims, jwkAddress, audless });
@@ -7828,7 +7829,7 @@ var AccountUtils;
7828
7829
  var AbstractSignature = class _AbstractSignature extends Signature {
7829
7830
  constructor(value) {
7830
7831
  super();
7831
- this.value = _chunkCSUBLTFAjs.Hex.fromHexInput(value);
7832
+ this.value = _chunkJMOQXLEDjs.Hex.fromHexInput(value);
7832
7833
  }
7833
7834
  serialize(serializer) {
7834
7835
  serializer.serializeBytes(this.value.toUint8Array());
@@ -7860,7 +7861,7 @@ var AbstractedAccount = class _AbstractedAccount extends Account {
7860
7861
  constructor({ signer, accountAddress, authenticationFunction }) {
7861
7862
  super();
7862
7863
  this.signingScheme = 2 /* SingleKey */;
7863
- if (!_chunkCSUBLTFAjs.isValidFunctionInfo.call(void 0, authenticationFunction)) {
7864
+ if (!_chunkJMOQXLEDjs.isValidFunctionInfo.call(void 0, authenticationFunction)) {
7864
7865
  throw new Error(`Invalid authentication function ${authenticationFunction} passed into AbstractedAccount`);
7865
7866
  }
7866
7867
  this.authenticationFunction = authenticationFunction;
@@ -7881,7 +7882,7 @@ var AbstractedAccount = class _AbstractedAccount extends Account {
7881
7882
  }) {
7882
7883
  return new _AbstractedAccount({
7883
7884
  signer: (digest) => {
7884
- const serializer = new (0, _chunkCSUBLTFAjs.Serializer)();
7885
+ const serializer = new (0, _chunkJMOQXLEDjs.Serializer)();
7885
7886
  signer.publicKey.serialize(serializer);
7886
7887
  signer.sign(digest).serialize(serializer);
7887
7888
  return serializer.toUint8Array();
@@ -8698,7 +8699,7 @@ async function waitForTransaction(args) {
8698
8699
  } catch (e) {
8699
8700
  handleAPIError(e);
8700
8701
  }
8701
- await _chunkCSUBLTFAjs.sleep.call(void 0, backoffIntervalMs);
8702
+ await _chunkJMOQXLEDjs.sleep.call(void 0, backoffIntervalMs);
8702
8703
  timeElapsed += backoffIntervalMs / 1e3;
8703
8704
  backoffIntervalMs *= backoffMultiplier;
8704
8705
  }
@@ -8748,7 +8749,7 @@ async function waitForIndexer(args) {
8748
8749
  if (indexerVersion >= minimumLedgerVersion) {
8749
8750
  break;
8750
8751
  }
8751
- await _chunkCSUBLTFAjs.sleep.call(void 0, 200);
8752
+ await _chunkJMOQXLEDjs.sleep.call(void 0, 200);
8752
8753
  }
8753
8754
  }
8754
8755
  var WaitForTransactionError = class extends Error {
@@ -8834,7 +8835,7 @@ async function getInfo(args) {
8834
8835
  const { data } = await getAptosFullNode({
8835
8836
  aptosConfig,
8836
8837
  originMethod: "getInfo",
8837
- path: `accounts/${_chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toString()}`
8838
+ path: `accounts/${_chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toString()}`
8838
8839
  });
8839
8840
  return data;
8840
8841
  }
@@ -8843,7 +8844,7 @@ async function getModules(args) {
8843
8844
  return paginateWithObfuscatedCursor({
8844
8845
  aptosConfig,
8845
8846
  originMethod: "getModules",
8846
- path: `accounts/${_chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toString()}/modules`,
8847
+ path: `accounts/${_chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toString()}/modules`,
8847
8848
  params: {
8848
8849
  ledger_version: _optionalChain([options, 'optionalAccess', _81 => _81.ledgerVersion]),
8849
8850
  offset: _optionalChain([options, 'optionalAccess', _82 => _82.offset]),
@@ -8867,7 +8868,7 @@ async function getModuleInner(args) {
8867
8868
  const { data } = await getAptosFullNode({
8868
8869
  aptosConfig,
8869
8870
  originMethod: "getModule",
8870
- path: `accounts/${_chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toString()}/module/${moduleName}`,
8871
+ path: `accounts/${_chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toString()}/module/${moduleName}`,
8871
8872
  params: { ledger_version: _optionalChain([options, 'optionalAccess', _86 => _86.ledgerVersion]) }
8872
8873
  });
8873
8874
  return data;
@@ -8877,7 +8878,7 @@ async function getTransactions2(args) {
8877
8878
  return paginateWithCursor({
8878
8879
  aptosConfig,
8879
8880
  originMethod: "getTransactions",
8880
- path: `accounts/${_chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toString()}/transactions`,
8881
+ path: `accounts/${_chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toString()}/transactions`,
8881
8882
  params: { start: _optionalChain([options, 'optionalAccess', _87 => _87.offset]), limit: _optionalChain([options, 'optionalAccess', _88 => _88.limit]) }
8882
8883
  });
8883
8884
  }
@@ -8886,7 +8887,7 @@ async function getResources(args) {
8886
8887
  return paginateWithObfuscatedCursor({
8887
8888
  aptosConfig,
8888
8889
  originMethod: "getResources",
8889
- path: `accounts/${_chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toString()}/resources`,
8890
+ path: `accounts/${_chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toString()}/resources`,
8890
8891
  params: {
8891
8892
  ledger_version: _optionalChain([options, 'optionalAccess', _89 => _89.ledgerVersion]),
8892
8893
  offset: _optionalChain([options, 'optionalAccess', _90 => _90.offset]),
@@ -8899,7 +8900,7 @@ async function getResource(args) {
8899
8900
  const { data } = await getAptosFullNode({
8900
8901
  aptosConfig,
8901
8902
  originMethod: "getResource",
8902
- path: `accounts/${_chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toString()}/resource/${resourceType}`,
8903
+ path: `accounts/${_chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toString()}/resource/${resourceType}`,
8903
8904
  params: { ledger_version: _optionalChain([options, 'optionalAccess', _92 => _92.ledgerVersion]) }
8904
8905
  });
8905
8906
  return data.data;
@@ -8915,7 +8916,7 @@ async function lookupOriginalAccountAddress(args) {
8915
8916
  const {
8916
8917
  address_map: { handle }
8917
8918
  } = resource;
8918
- const authKeyAddress = _chunkCSUBLTFAjs.AccountAddress.from(authenticationKey);
8919
+ const authKeyAddress = _chunkJMOQXLEDjs.AccountAddress.from(authenticationKey);
8919
8920
  try {
8920
8921
  const originalAddress = await getTableItem({
8921
8922
  aptosConfig,
@@ -8927,7 +8928,7 @@ async function lookupOriginalAccountAddress(args) {
8927
8928
  },
8928
8929
  options
8929
8930
  });
8930
- return _chunkCSUBLTFAjs.AccountAddress.from(originalAddress);
8931
+ return _chunkJMOQXLEDjs.AccountAddress.from(originalAddress);
8931
8932
  } catch (err) {
8932
8933
  if (err instanceof AptosApiError && err.data.error_code === "table_item_not_found") {
8933
8934
  return authKeyAddress;
@@ -8937,7 +8938,7 @@ async function lookupOriginalAccountAddress(args) {
8937
8938
  }
8938
8939
  async function getAccountTokensCount(args) {
8939
8940
  const { aptosConfig, accountAddress } = args;
8940
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toStringLong();
8941
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toStringLong();
8941
8942
  const whereCondition = {
8942
8943
  owner_address: { _eq: address },
8943
8944
  amount: { _gt: 0 }
@@ -8955,7 +8956,7 @@ async function getAccountTokensCount(args) {
8955
8956
  }
8956
8957
  async function getAccountOwnedTokens(args) {
8957
8958
  const { aptosConfig, accountAddress, options } = args;
8958
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toStringLong();
8959
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toStringLong();
8959
8960
  const whereCondition = {
8960
8961
  owner_address: { _eq: address },
8961
8962
  amount: { _gt: 0 }
@@ -8981,8 +8982,8 @@ async function getAccountOwnedTokens(args) {
8981
8982
  }
8982
8983
  async function getAccountOwnedTokensFromCollectionAddress(args) {
8983
8984
  const { aptosConfig, accountAddress, collectionAddress, options } = args;
8984
- const ownerAddress = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toStringLong();
8985
- const collAddress = _chunkCSUBLTFAjs.AccountAddress.from(collectionAddress).toStringLong();
8985
+ const ownerAddress = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toStringLong();
8986
+ const collAddress = _chunkJMOQXLEDjs.AccountAddress.from(collectionAddress).toStringLong();
8986
8987
  const whereCondition = {
8987
8988
  owner_address: { _eq: ownerAddress },
8988
8989
  current_token_data: { collection_id: { _eq: collAddress } },
@@ -9009,7 +9010,7 @@ async function getAccountOwnedTokensFromCollectionAddress(args) {
9009
9010
  }
9010
9011
  async function getAccountCollectionsWithOwnedTokens(args) {
9011
9012
  const { aptosConfig, accountAddress, options } = args;
9012
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toStringLong();
9013
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toStringLong();
9013
9014
  const whereCondition = {
9014
9015
  owner_address: { _eq: address }
9015
9016
  };
@@ -9036,7 +9037,7 @@ async function getAccountCollectionsWithOwnedTokens(args) {
9036
9037
  }
9037
9038
  async function getAccountTransactionsCount(args) {
9038
9039
  const { aptosConfig, accountAddress } = args;
9039
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toStringLong();
9040
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toStringLong();
9040
9041
  const graphqlQuery = {
9041
9042
  query: GetAccountTransactionsCount,
9042
9043
  variables: { address }
@@ -9050,7 +9051,7 @@ async function getAccountTransactionsCount(args) {
9050
9051
  }
9051
9052
  async function getAccountCoinsData(args) {
9052
9053
  const { aptosConfig, accountAddress, options } = args;
9053
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toStringLong();
9054
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toStringLong();
9054
9055
  const whereCondition = {
9055
9056
  ..._optionalChain([options, 'optionalAccess', _108 => _108.where]),
9056
9057
  owner_address: { _eq: address }
@@ -9073,7 +9074,7 @@ async function getAccountCoinsData(args) {
9073
9074
  }
9074
9075
  async function getAccountCoinsCount(args) {
9075
9076
  const { aptosConfig, accountAddress } = args;
9076
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toStringLong();
9077
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toStringLong();
9077
9078
  const graphqlQuery = {
9078
9079
  query: GetAccountCoinsCount,
9079
9080
  variables: { address }
@@ -9090,7 +9091,7 @@ async function getAccountCoinsCount(args) {
9090
9091
  }
9091
9092
  async function getAccountOwnedObjects(args) {
9092
9093
  const { aptosConfig, accountAddress, options } = args;
9093
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toStringLong();
9094
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toStringLong();
9094
9095
  const whereCondition = {
9095
9096
  owner_address: { _eq: address }
9096
9097
  };
@@ -9264,7 +9265,7 @@ async function getAuthKeysForPublicKey(args) {
9264
9265
  }
9265
9266
  async function getLastestTransactionVersionForAddress(args) {
9266
9267
  const { aptosConfig, accountAddress } = args;
9267
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toString();
9268
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toString();
9268
9269
  const whereCondition = {
9269
9270
  signer: { _eq: accountAddress.toString() }
9270
9271
  };
@@ -9272,7 +9273,8 @@ async function getLastestTransactionVersionForAddress(args) {
9272
9273
  query: GetSignatures,
9273
9274
  variables: {
9274
9275
  where_condition: whereCondition,
9275
- limit: 1
9276
+ limit: 1,
9277
+ order_by: { transaction_version: "desc" }
9276
9278
  }
9277
9279
  };
9278
9280
  const { signatures: data } = await queryIndexer({
@@ -9308,7 +9310,7 @@ async function getAccountAddressesForAuthKeys(args) {
9308
9310
  });
9309
9311
  return data.map((entry) => ({
9310
9312
  authKey: new AuthenticationKey({ data: entry.auth_key }),
9311
- accountAddress: new (0, _chunkCSUBLTFAjs.AccountAddress)(_chunkCSUBLTFAjs.Hex.hexInputToUint8Array(entry.address)),
9313
+ accountAddress: new (0, _chunkJMOQXLEDjs.AccountAddress)(_chunkJMOQXLEDjs.Hex.hexInputToUint8Array(entry.address)),
9312
9314
  verified: entry.verified,
9313
9315
  lastTransactionVersion: Number(entry.last_transaction_version)
9314
9316
  }));
@@ -9360,8 +9362,9 @@ async function getPublicKeyFromAccountAddress(args) {
9360
9362
  aptosConfig,
9361
9363
  accountAddress
9362
9364
  });
9365
+ console.log("lastTransactionVersion", lastTransactionVersion);
9363
9366
  const transaction = await getTransactionByVersion({ aptosConfig, ledgerVersion: lastTransactionVersion });
9364
- if (!_chunkCSUBLTFAjs.isUserTransactionResponse.call(void 0, transaction)) {
9367
+ if (!_chunkJMOQXLEDjs.isUserTransactionResponse.call(void 0, transaction)) {
9365
9368
  throw new Error("Transaction is not a user transaction");
9366
9369
  }
9367
9370
  const { signature } = transaction;
@@ -9369,24 +9372,24 @@ async function getPublicKeyFromAccountAddress(args) {
9369
9372
  throw new Error("Transaction has no signature");
9370
9373
  }
9371
9374
  let publicKey;
9372
- if (_chunkCSUBLTFAjs.isEd25519Signature.call(void 0, signature)) {
9375
+ if (_chunkJMOQXLEDjs.isEd25519Signature.call(void 0, signature)) {
9373
9376
  publicKey = new Ed25519PublicKey(signature.public_key);
9374
- } else if (_chunkCSUBLTFAjs.isMultiEd25519Signature.call(void 0, signature)) {
9377
+ } else if (_chunkJMOQXLEDjs.isMultiEd25519Signature.call(void 0, signature)) {
9375
9378
  publicKey = new MultiEd25519PublicKey({
9376
9379
  publicKeys: signature.public_keys.map((pk) => new Ed25519PublicKey(pk)),
9377
9380
  threshold: signature.threshold
9378
9381
  });
9379
- } else if (_chunkCSUBLTFAjs.isSingleSenderSignature.call(void 0, signature)) {
9380
- if (signature.public_key.type === "keyless") {
9381
- const deserializer = Deserializer.fromHex(signature.public_key.value);
9382
- publicKey = new AnyPublicKey(KeylessPublicKey.deserialize(deserializer));
9383
- } else if (signature.public_key.type === "ed25519") {
9384
- publicKey = new AnyPublicKey(new Ed25519PublicKey(signature.public_key.value));
9385
- } else if (signature.public_key.type === "secp256k1_ecdsa") {
9386
- publicKey = new AnyPublicKey(new Secp256k1PublicKey(signature.public_key.value));
9387
- } else {
9388
- throw new Error("Unknown public key type");
9382
+ } else if (_chunkJMOQXLEDjs.isSingleSenderSingleKeySignature.call(void 0, signature)) {
9383
+ publicKey = parsePublicKey(signature.public_key);
9384
+ } else if (_chunkJMOQXLEDjs.isSingleSenderMultiKeySignature.call(void 0, signature)) {
9385
+ const publicKeys = [];
9386
+ for (const pk of signature.public_keys) {
9387
+ publicKeys.push(parsePublicKey(pk));
9389
9388
  }
9389
+ publicKey = new MultiKey({
9390
+ publicKeys,
9391
+ signaturesRequired: signature.signatures_required
9392
+ });
9390
9393
  } else {
9391
9394
  throw new Error("Unknown signature type");
9392
9395
  }
@@ -9397,6 +9400,19 @@ async function getPublicKeyFromAccountAddress(args) {
9397
9400
  }
9398
9401
  return publicKey;
9399
9402
  }
9403
+ function parsePublicKey(data) {
9404
+ if (data.type === "keyless") {
9405
+ const deserializer = Deserializer.fromHex(data.value);
9406
+ return new AnyPublicKey(KeylessPublicKey.deserialize(deserializer));
9407
+ }
9408
+ if (data.type === "ed25519") {
9409
+ return new AnyPublicKey(new Ed25519PublicKey(data.value));
9410
+ }
9411
+ if (data.type === "secp256k1_ecdsa") {
9412
+ return new AnyPublicKey(new Secp256k1PublicKey(data.value));
9413
+ }
9414
+ throw new Error("Unknown public key type");
9415
+ }
9400
9416
 
9401
9417
  // src/api/utils.ts
9402
9418
  async function waitForIndexerOnVersion(args) {
@@ -9520,7 +9536,7 @@ function isBcsBool(arg) {
9520
9536
  return arg instanceof Bool;
9521
9537
  }
9522
9538
  function isBcsAddress(arg) {
9523
- return arg instanceof _chunkCSUBLTFAjs.AccountAddress;
9539
+ return arg instanceof _chunkJMOQXLEDjs.AccountAddress;
9524
9540
  }
9525
9541
  function isBcsString(arg) {
9526
9542
  return arg instanceof MoveString;
@@ -9768,7 +9784,7 @@ function parseTypeTagInner(str, types, allowGenerics) {
9768
9784
  }
9769
9785
  let address;
9770
9786
  try {
9771
- address = _chunkCSUBLTFAjs.AccountAddress.fromString(structParts[0]);
9787
+ address = _chunkJMOQXLEDjs.AccountAddress.fromString(structParts[0]);
9772
9788
  } catch (error) {
9773
9789
  throw new TypeTagParserError(str, "struct address must be valid" /* InvalidAddress */);
9774
9790
  }
@@ -9857,10 +9873,10 @@ async function fetchViewFunctionAbi(moduleAddress, moduleName, functionName, apt
9857
9873
  };
9858
9874
  }
9859
9875
  function convertCallArgument(argument, functionName, functionAbi, position, genericTypeParams) {
9860
- if (argument instanceof _chunkCSUBLTFAjs.CallArgument) {
9876
+ if (argument instanceof _chunkJMOQXLEDjs.CallArgument) {
9861
9877
  return argument;
9862
9878
  }
9863
- return _chunkCSUBLTFAjs.CallArgument.newBytes(
9879
+ return _chunkJMOQXLEDjs.CallArgument.newBytes(
9864
9880
  convertArgument(functionName, functionAbi, argument, position, genericTypeParams).bcsToBytes()
9865
9881
  );
9866
9882
  }
@@ -9891,7 +9907,7 @@ function parseArg(arg, param, position, genericTypeParams) {
9891
9907
  }
9892
9908
  if (param.isAddress()) {
9893
9909
  if (isString(arg)) {
9894
- return _chunkCSUBLTFAjs.AccountAddress.fromString(arg);
9910
+ return _chunkJMOQXLEDjs.AccountAddress.fromString(arg);
9895
9911
  }
9896
9912
  throwTypeMismatch("string | AccountAddress", position);
9897
9913
  }
@@ -9972,7 +9988,7 @@ function parseArg(arg, param, position, genericTypeParams) {
9972
9988
  }
9973
9989
  if (param.isObject()) {
9974
9990
  if (isString(arg)) {
9975
- return _chunkCSUBLTFAjs.AccountAddress.fromString(arg);
9991
+ return _chunkJMOQXLEDjs.AccountAddress.fromString(arg);
9976
9992
  }
9977
9993
  throwTypeMismatch("string | AccountAddress", position);
9978
9994
  }
@@ -10100,7 +10116,7 @@ async function generateTransactionPayload(args) {
10100
10116
  if (isScriptDataInput(args)) {
10101
10117
  return generateTransactionPayloadScript(args);
10102
10118
  }
10103
- const { moduleAddress, moduleName, functionName } = _chunkCSUBLTFAjs.getFunctionParts.call(void 0, args.function);
10119
+ const { moduleAddress, moduleName, functionName } = _chunkJMOQXLEDjs.getFunctionParts.call(void 0, args.function);
10104
10120
  const functionAbi = await fetchAbi({
10105
10121
  key: "entry-function",
10106
10122
  moduleAddress,
@@ -10114,7 +10130,7 @@ async function generateTransactionPayload(args) {
10114
10130
  }
10115
10131
  function generateTransactionPayloadWithABI(args) {
10116
10132
  const functionAbi = args.abi;
10117
- const { moduleAddress, moduleName, functionName } = _chunkCSUBLTFAjs.getFunctionParts.call(void 0, args.function);
10133
+ const { moduleAddress, moduleName, functionName } = _chunkJMOQXLEDjs.getFunctionParts.call(void 0, args.function);
10118
10134
  const typeArguments = standardizeTypeTags(args.typeArguments);
10119
10135
  if (typeArguments.length !== functionAbi.typeParameters.length) {
10120
10136
  throw new Error(
@@ -10153,7 +10169,7 @@ function generateTransactionPayloadWithABI(args) {
10153
10169
  functionArguments
10154
10170
  );
10155
10171
  if ("multisigAddress" in args) {
10156
- const multisigAddress = _chunkCSUBLTFAjs.AccountAddress.from(args.multisigAddress);
10172
+ const multisigAddress = _chunkJMOQXLEDjs.AccountAddress.from(args.multisigAddress);
10157
10173
  return new TransactionPayloadMultiSig(
10158
10174
  new MultiSig(multisigAddress, new MultiSigTransactionPayload(entryFunctionPayload))
10159
10175
  );
@@ -10161,7 +10177,7 @@ function generateTransactionPayloadWithABI(args) {
10161
10177
  return new TransactionPayloadEntryFunction(entryFunctionPayload);
10162
10178
  }
10163
10179
  async function generateViewFunctionPayload(args) {
10164
- const { moduleAddress, moduleName, functionName } = _chunkCSUBLTFAjs.getFunctionParts.call(void 0, args.function);
10180
+ const { moduleAddress, moduleName, functionName } = _chunkJMOQXLEDjs.getFunctionParts.call(void 0, args.function);
10165
10181
  const functionAbi = await fetchAbi({
10166
10182
  key: "view-function",
10167
10183
  moduleAddress,
@@ -10175,7 +10191,7 @@ async function generateViewFunctionPayload(args) {
10175
10191
  }
10176
10192
  function generateViewFunctionPayloadWithABI(args) {
10177
10193
  const functionAbi = args.abi;
10178
- const { moduleAddress, moduleName, functionName } = _chunkCSUBLTFAjs.getFunctionParts.call(void 0, args.function);
10194
+ const { moduleAddress, moduleName, functionName } = _chunkJMOQXLEDjs.getFunctionParts.call(void 0, args.function);
10179
10195
  const typeArguments = standardizeTypeTags(args.typeArguments);
10180
10196
  if (typeArguments.length !== functionAbi.typeParameters.length) {
10181
10197
  throw new Error(
@@ -10194,7 +10210,7 @@ function generateViewFunctionPayloadWithABI(args) {
10194
10210
  function generateTransactionPayloadScript(args) {
10195
10211
  return new TransactionPayloadScript(
10196
10212
  new Script(
10197
- _chunkCSUBLTFAjs.Hex.fromHexInput(args.bytecode).toUint8Array(),
10213
+ _chunkJMOQXLEDjs.Hex.fromHexInput(args.bytecode).toUint8Array(),
10198
10214
  standardizeTypeTags(args.typeArguments),
10199
10215
  args.functionArguments
10200
10216
  )
@@ -10223,7 +10239,7 @@ async function generateRawTransaction(args) {
10223
10239
  }
10224
10240
  return (await getInfo({ aptosConfig, accountAddress: sender })).sequence_number;
10225
10241
  };
10226
- if (feePayerAddress && _chunkCSUBLTFAjs.AccountAddress.from(feePayerAddress).equals(_chunkCSUBLTFAjs.AccountAddress.ZERO)) {
10242
+ if (feePayerAddress && _chunkJMOQXLEDjs.AccountAddress.from(feePayerAddress).equals(_chunkJMOQXLEDjs.AccountAddress.ZERO)) {
10227
10243
  try {
10228
10244
  return await getSequenceNumber();
10229
10245
  } catch (e) {
@@ -10244,7 +10260,7 @@ async function generateRawTransaction(args) {
10244
10260
  expireTimestamp: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _127 => _127.expireTimestamp]), () => ( BigInt(Math.floor(Date.now() / 1e3) + DEFAULT_TXN_EXP_SEC_FROM_NOW)))
10245
10261
  };
10246
10262
  return new RawTransaction(
10247
- _chunkCSUBLTFAjs.AccountAddress.from(sender),
10263
+ _chunkJMOQXLEDjs.AccountAddress.from(sender),
10248
10264
  BigInt(sequenceNumber),
10249
10265
  payload,
10250
10266
  BigInt(maxGasAmount),
@@ -10263,14 +10279,14 @@ async function buildTransaction(args) {
10263
10279
  feePayerAddress
10264
10280
  });
10265
10281
  if ("secondarySignerAddresses" in args) {
10266
- const signers = _nullishCoalesce(_optionalChain([args, 'access', _128 => _128.secondarySignerAddresses, 'optionalAccess', _129 => _129.map, 'call', _130 => _130((signer) => _chunkCSUBLTFAjs.AccountAddress.from(signer))]), () => ( []));
10282
+ const signers = _nullishCoalesce(_optionalChain([args, 'access', _128 => _128.secondarySignerAddresses, 'optionalAccess', _129 => _129.map, 'call', _130 => _130((signer) => _chunkJMOQXLEDjs.AccountAddress.from(signer))]), () => ( []));
10267
10283
  return new MultiAgentTransaction(
10268
10284
  rawTxn,
10269
10285
  signers,
10270
- args.feePayerAddress ? _chunkCSUBLTFAjs.AccountAddress.from(args.feePayerAddress) : void 0
10286
+ args.feePayerAddress ? _chunkJMOQXLEDjs.AccountAddress.from(args.feePayerAddress) : void 0
10271
10287
  );
10272
10288
  }
10273
- return new SimpleTransaction(rawTxn, args.feePayerAddress ? _chunkCSUBLTFAjs.AccountAddress.from(args.feePayerAddress) : void 0);
10289
+ return new SimpleTransaction(rawTxn, args.feePayerAddress ? _chunkJMOQXLEDjs.AccountAddress.from(args.feePayerAddress) : void 0);
10274
10290
  }
10275
10291
  function generateSignedTransactionForSimulation(args) {
10276
10292
  const { signerPublicKey, transaction, secondarySignersPublicKeys, feePayerPublicKey } = args;
@@ -10429,7 +10445,7 @@ function hashValues(input) {
10429
10445
  var TRANSACTION_PREFIX = hashValues(["APTOS::Transaction"]);
10430
10446
  function generateUserTransactionHash(args) {
10431
10447
  const signedTransaction = generateSignedTransaction(args);
10432
- return new (0, _chunkCSUBLTFAjs.Hex)(hashValues([TRANSACTION_PREFIX, new Uint8Array([0]), signedTransaction])).toString();
10448
+ return new (0, _chunkJMOQXLEDjs.Hex)(hashValues([TRANSACTION_PREFIX, new Uint8Array([0]), signedTransaction])).toString();
10433
10449
  }
10434
10450
  async function fetchAbi({
10435
10451
  key,
@@ -10480,7 +10496,7 @@ var AptosScriptComposer = class _AptosScriptComposer {
10480
10496
  //
10481
10497
  // The function would also return a list of `CallArgument` that can be passed on to future calls.
10482
10498
  async addBatchedCalls(input) {
10483
- const { moduleAddress, moduleName, functionName } = _chunkCSUBLTFAjs.getFunctionParts.call(void 0, input.function);
10499
+ const { moduleAddress, moduleName, functionName } = _chunkJMOQXLEDjs.getFunctionParts.call(void 0, input.function);
10484
10500
  const nodeUrl = this.config.getRequestUrl("Fullnode" /* FULLNODE */);
10485
10501
  await this.builder.load_module(nodeUrl, `${moduleAddress}::${moduleName}`);
10486
10502
  if (input.typeArguments !== void 0) {
@@ -10515,7 +10531,7 @@ async function view(args) {
10515
10531
  ...payload,
10516
10532
  aptosConfig
10517
10533
  });
10518
- const serializer = new (0, _chunkCSUBLTFAjs.Serializer)();
10534
+ const serializer = new (0, _chunkJMOQXLEDjs.Serializer)();
10519
10535
  viewFunctionPayload.serialize(serializer);
10520
10536
  const bytes = serializer.toUint8Array();
10521
10537
  const { data } = await postAptosFullNode({
@@ -10602,7 +10618,7 @@ async function buildRawTransaction(args, payload) {
10602
10618
  const { aptosConfig, sender, options } = args;
10603
10619
  let feePayerAddress;
10604
10620
  if (isFeePayerTransactionInput(args)) {
10605
- feePayerAddress = _chunkCSUBLTFAjs.AccountAddress.ZERO.toString();
10621
+ feePayerAddress = _chunkJMOQXLEDjs.AccountAddress.ZERO.toString();
10606
10622
  }
10607
10623
  if (isMultiAgentTransactionInput(args)) {
10608
10624
  const { secondarySignerAddresses } = args;
@@ -10734,7 +10750,7 @@ async function publicPackageTransaction(args) {
10734
10750
  const totalByteCode = moduleBytecode.map((bytecode) => MoveVector.U8(bytecode));
10735
10751
  return generateTransaction({
10736
10752
  aptosConfig,
10737
- sender: _chunkCSUBLTFAjs.AccountAddress.from(account),
10753
+ sender: _chunkJMOQXLEDjs.AccountAddress.from(account),
10738
10754
  data: {
10739
10755
  function: "0x1::code::publish_package_txn",
10740
10756
  functionArguments: [MoveVector.U8(metadataBytes), new MoveVector(totalByteCode)],
@@ -10768,7 +10784,7 @@ async function rotateAuthKey(args) {
10768
10784
  const challenge = new RotationProofChallenge({
10769
10785
  sequenceNumber: BigInt(accountInfo.sequence_number),
10770
10786
  originator: fromAccount.accountAddress,
10771
- currentAuthKey: _chunkCSUBLTFAjs.AccountAddress.from(accountInfo.authentication_key),
10787
+ currentAuthKey: _chunkJMOQXLEDjs.AccountAddress.from(accountInfo.authentication_key),
10772
10788
  newPublicKey: newAccount.publicKey
10773
10789
  });
10774
10790
  const challengeHex = challenge.bcsToBytes();
@@ -10808,7 +10824,7 @@ async function rotateAuthKeyToMultiEd25519(args) {
10808
10824
  const challenge = new RotationProofChallenge({
10809
10825
  sequenceNumber: BigInt(accountInfo.sequence_number),
10810
10826
  originator: fromAccount.accountAddress,
10811
- currentAuthKey: _chunkCSUBLTFAjs.AccountAddress.from(accountInfo.authentication_key),
10827
+ currentAuthKey: _chunkJMOQXLEDjs.AccountAddress.from(accountInfo.authentication_key),
10812
10828
  newPublicKey: newAccount.publicKey
10813
10829
  });
10814
10830
  const challengeHex = challenge.bcsToBytes();
@@ -10885,7 +10901,7 @@ async function rotateAuthKeyWithVerificationTransaction(args) {
10885
10901
  // src/internal/abstraction.ts
10886
10902
  async function addAuthenticationFunctionTransaction(args) {
10887
10903
  const { aptosConfig, sender, authenticationFunction, options } = args;
10888
- const { moduleAddress, moduleName, functionName } = _chunkCSUBLTFAjs.getFunctionParts.call(void 0, authenticationFunction);
10904
+ const { moduleAddress, moduleName, functionName } = _chunkJMOQXLEDjs.getFunctionParts.call(void 0, authenticationFunction);
10889
10905
  return generateTransaction({
10890
10906
  aptosConfig,
10891
10907
  sender,
@@ -10903,7 +10919,7 @@ async function addAuthenticationFunctionTransaction(args) {
10903
10919
  }
10904
10920
  async function removeAuthenticationFunctionTransaction(args) {
10905
10921
  const { aptosConfig, sender, authenticationFunction, options } = args;
10906
- const { moduleAddress, moduleName, functionName } = _chunkCSUBLTFAjs.getFunctionParts.call(void 0, authenticationFunction);
10922
+ const { moduleAddress, moduleName, functionName } = _chunkJMOQXLEDjs.getFunctionParts.call(void 0, authenticationFunction);
10907
10923
  return generateTransaction({
10908
10924
  aptosConfig,
10909
10925
  sender,
@@ -10959,9 +10975,9 @@ var AccountAbstraction = class {
10959
10975
  */
10960
10976
  this.isAccountAbstractionEnabled = async (args) => {
10961
10977
  const functionInfos = await this.getAuthenticationFunction(args);
10962
- const { moduleAddress, moduleName, functionName } = _chunkCSUBLTFAjs.getFunctionParts.call(void 0, args.authenticationFunction);
10978
+ const { moduleAddress, moduleName, functionName } = _chunkJMOQXLEDjs.getFunctionParts.call(void 0, args.authenticationFunction);
10963
10979
  return _nullishCoalesce(_optionalChain([functionInfos, 'optionalAccess', _139 => _139.some, 'call', _140 => _140(
10964
- (functionInfo) => _chunkCSUBLTFAjs.AccountAddress.fromString(moduleAddress).equals(functionInfo.moduleAddress) && moduleName === functionInfo.moduleName && functionName === functionInfo.functionName
10980
+ (functionInfo) => _chunkJMOQXLEDjs.AccountAddress.fromString(moduleAddress).equals(functionInfo.moduleAddress) && moduleName === functionInfo.moduleName && functionName === functionInfo.functionName
10965
10981
  )]), () => ( false));
10966
10982
  };
10967
10983
  /**
@@ -11118,13 +11134,13 @@ var AccountAbstraction = class {
11118
11134
  aptosConfig: this.config,
11119
11135
  payload: {
11120
11136
  function: "0x1::account_abstraction::dispatchable_authenticator",
11121
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(accountAddress)],
11137
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(accountAddress)],
11122
11138
  abi: { typeParameters: [], parameters: [new TypeTagAddress()], returnTypes: [] }
11123
11139
  }
11124
11140
  });
11125
11141
  if (functionInfoOption.length === 0) return void 0;
11126
11142
  return functionInfoOption[0].map((functionInfo) => ({
11127
- moduleAddress: _chunkCSUBLTFAjs.AccountAddress.fromString(functionInfo.module_address),
11143
+ moduleAddress: _chunkJMOQXLEDjs.AccountAddress.fromString(functionInfo.module_address),
11128
11144
  moduleName: functionInfo.module_name,
11129
11145
  functionName: functionInfo.function_name
11130
11146
  }));
@@ -11750,8 +11766,8 @@ var Account2 = class {
11750
11766
  aptosConfig: this.config,
11751
11767
  payload: { function: "0x1::coin::paired_coin", functionArguments: [faMetadataAddress] }
11752
11768
  })).at(0);
11753
- if (pairedCoinTypeStruct.vec.length > 0 && _chunkCSUBLTFAjs.isEncodedStruct.call(void 0, pairedCoinTypeStruct.vec[0])) {
11754
- return _chunkCSUBLTFAjs.parseEncodedStruct.call(void 0, pairedCoinTypeStruct.vec[0]);
11769
+ if (pairedCoinTypeStruct.vec.length > 0 && _chunkJMOQXLEDjs.isEncodedStruct.call(void 0, pairedCoinTypeStruct.vec[0])) {
11770
+ return _chunkJMOQXLEDjs.parseEncodedStruct.call(void 0, pairedCoinTypeStruct.vec[0]);
11755
11771
  }
11756
11772
  } catch (error) {
11757
11773
  }
@@ -11764,17 +11780,17 @@ var Account2 = class {
11764
11780
  }
11765
11781
  let faAddress;
11766
11782
  if (coinType !== void 0 && faMetadataAddress !== void 0) {
11767
- faAddress = _chunkCSUBLTFAjs.AccountAddress.from(faMetadataAddress).toStringLong();
11783
+ faAddress = _chunkJMOQXLEDjs.AccountAddress.from(faMetadataAddress).toStringLong();
11768
11784
  } else if (coinType !== void 0 && faMetadataAddress === void 0) {
11769
11785
  if (coinType === APTOS_COIN) {
11770
- faAddress = _chunkCSUBLTFAjs.AccountAddress.A.toStringLong();
11786
+ faAddress = _chunkJMOQXLEDjs.AccountAddress.A.toStringLong();
11771
11787
  } else {
11772
- faAddress = createObjectAddress(_chunkCSUBLTFAjs.AccountAddress.A, coinType).toStringLong();
11788
+ faAddress = createObjectAddress(_chunkJMOQXLEDjs.AccountAddress.A, coinType).toStringLong();
11773
11789
  }
11774
11790
  } else if (coinType === void 0 && faMetadataAddress !== void 0) {
11775
- const addr = _chunkCSUBLTFAjs.AccountAddress.from(faMetadataAddress);
11791
+ const addr = _chunkJMOQXLEDjs.AccountAddress.from(faMetadataAddress);
11776
11792
  faAddress = addr.toStringLong();
11777
- if (addr === _chunkCSUBLTFAjs.AccountAddress.A) {
11793
+ if (addr === _chunkJMOQXLEDjs.AccountAddress.A) {
11778
11794
  coinAssetType = APTOS_COIN;
11779
11795
  }
11780
11796
  } else {
@@ -12149,7 +12165,7 @@ var defaultDigitalAssetType = "0x4::token::Token";
12149
12165
  async function getDigitalAssetData(args) {
12150
12166
  const { aptosConfig, digitalAssetAddress } = args;
12151
12167
  const whereCondition = {
12152
- token_data_id: { _eq: _chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress).toStringLong() }
12168
+ token_data_id: { _eq: _chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress).toStringLong() }
12153
12169
  };
12154
12170
  const graphqlQuery = {
12155
12171
  query: GetTokenData,
@@ -12167,7 +12183,7 @@ async function getDigitalAssetData(args) {
12167
12183
  async function getCurrentDigitalAssetOwnership(args) {
12168
12184
  const { aptosConfig, digitalAssetAddress } = args;
12169
12185
  const whereCondition = {
12170
- token_data_id: { _eq: _chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress).toStringLong() },
12186
+ token_data_id: { _eq: _chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress).toStringLong() },
12171
12187
  amount: { _gt: 0 }
12172
12188
  };
12173
12189
  const graphqlQuery = {
@@ -12186,7 +12202,7 @@ async function getCurrentDigitalAssetOwnership(args) {
12186
12202
  async function getOwnedDigitalAssets(args) {
12187
12203
  const { aptosConfig, ownerAddress, options } = args;
12188
12204
  const whereCondition = {
12189
- owner_address: { _eq: _chunkCSUBLTFAjs.AccountAddress.from(ownerAddress).toStringLong() },
12205
+ owner_address: { _eq: _chunkJMOQXLEDjs.AccountAddress.from(ownerAddress).toStringLong() },
12190
12206
  amount: { _gt: 0 }
12191
12207
  };
12192
12208
  const graphqlQuery = {
@@ -12208,7 +12224,7 @@ async function getOwnedDigitalAssets(args) {
12208
12224
  async function getDigitalAssetActivity(args) {
12209
12225
  const { aptosConfig, digitalAssetAddress, options } = args;
12210
12226
  const whereCondition = {
12211
- token_data_id: { _eq: _chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress).toStringLong() }
12227
+ token_data_id: { _eq: _chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress).toStringLong() }
12212
12228
  };
12213
12229
  const graphqlQuery = {
12214
12230
  query: GetTokenActivity,
@@ -12256,7 +12272,7 @@ async function createCollectionTransaction(args) {
12256
12272
  functionArguments: [
12257
12273
  // Do not change the order
12258
12274
  new MoveString(args.description),
12259
- new U64(_nullishCoalesce(args.maxSupply, () => ( _chunkCSUBLTFAjs.MAX_U64_BIG_INT))),
12275
+ new U64(_nullishCoalesce(args.maxSupply, () => ( _chunkJMOQXLEDjs.MAX_U64_BIG_INT))),
12260
12276
  new MoveString(args.name),
12261
12277
  new MoveString(args.uri),
12262
12278
  new Bool(_nullishCoalesce(args.mutableDescription, () => ( true))),
@@ -12299,7 +12315,7 @@ async function getCollectionData(args) {
12299
12315
  }
12300
12316
  async function getCollectionDataByCreatorAddressAndCollectionName(args) {
12301
12317
  const { aptosConfig, creatorAddress, collectionName, options } = args;
12302
- const address = _chunkCSUBLTFAjs.AccountAddress.from(creatorAddress);
12318
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(creatorAddress);
12303
12319
  const whereCondition = {
12304
12320
  collection_name: { _eq: collectionName },
12305
12321
  creator_address: { _eq: address.toStringLong() }
@@ -12311,7 +12327,7 @@ async function getCollectionDataByCreatorAddressAndCollectionName(args) {
12311
12327
  }
12312
12328
  async function getCollectionDataByCreatorAddress(args) {
12313
12329
  const { aptosConfig, creatorAddress, options } = args;
12314
- const address = _chunkCSUBLTFAjs.AccountAddress.from(creatorAddress);
12330
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(creatorAddress);
12315
12331
  const whereCondition = {
12316
12332
  creator_address: { _eq: address.toStringLong() }
12317
12333
  };
@@ -12322,7 +12338,7 @@ async function getCollectionDataByCreatorAddress(args) {
12322
12338
  }
12323
12339
  async function getCollectionDataByCollectionId(args) {
12324
12340
  const { aptosConfig, collectionId, options } = args;
12325
- const address = _chunkCSUBLTFAjs.AccountAddress.from(collectionId);
12341
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(collectionId);
12326
12342
  const whereCondition = {
12327
12343
  collection_id: { _eq: address.toStringLong() }
12328
12344
  };
@@ -12333,7 +12349,7 @@ async function getCollectionDataByCollectionId(args) {
12333
12349
  }
12334
12350
  async function getCollectionId(args) {
12335
12351
  const { creatorAddress, collectionName, options, aptosConfig } = args;
12336
- const address = _chunkCSUBLTFAjs.AccountAddress.from(creatorAddress);
12352
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(creatorAddress);
12337
12353
  const whereCondition = {
12338
12354
  collection_name: { _eq: collectionName },
12339
12355
  creator_address: { _eq: address.toStringLong() }
@@ -12408,7 +12424,7 @@ async function transferDigitalAssetTransaction(args) {
12408
12424
  data: {
12409
12425
  function: "0x1::object::transfer",
12410
12426
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType))],
12411
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress), _chunkCSUBLTFAjs.AccountAddress.from(recipient)],
12427
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress), _chunkJMOQXLEDjs.AccountAddress.from(recipient)],
12412
12428
  abi: transferDigitalAssetAbi
12413
12429
  },
12414
12430
  options
@@ -12480,7 +12496,7 @@ async function burnDigitalAssetTransaction(args) {
12480
12496
  data: {
12481
12497
  function: "0x4::aptos_token::burn",
12482
12498
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType))],
12483
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress)],
12499
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress)],
12484
12500
  abi: burnDigitalAssetAbi
12485
12501
  },
12486
12502
  options
@@ -12534,7 +12550,7 @@ async function setDigitalAssetDescriptionTransaction(args) {
12534
12550
  data: {
12535
12551
  function: "0x4::aptos_token::set_description",
12536
12552
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType))],
12537
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress), new MoveString(description)],
12553
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress), new MoveString(description)],
12538
12554
  abi: setDigitalAssetDescriptionAbi
12539
12555
  },
12540
12556
  options
@@ -12552,7 +12568,7 @@ async function setDigitalAssetNameTransaction(args) {
12552
12568
  data: {
12553
12569
  function: "0x4::aptos_token::set_name",
12554
12570
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType))],
12555
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress), new MoveString(name)],
12571
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress), new MoveString(name)],
12556
12572
  abi: setDigitalAssetNameAbi
12557
12573
  },
12558
12574
  options
@@ -12570,7 +12586,7 @@ async function setDigitalAssetURITransaction(args) {
12570
12586
  data: {
12571
12587
  function: "0x4::aptos_token::set_uri",
12572
12588
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType))],
12573
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress), new MoveString(uri)],
12589
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress), new MoveString(uri)],
12574
12590
  abi: setDigitalAssetURIAbi
12575
12591
  },
12576
12592
  options
@@ -12603,7 +12619,7 @@ async function addDigitalAssetPropertyTransaction(args) {
12603
12619
  function: "0x4::aptos_token::add_property",
12604
12620
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType))],
12605
12621
  functionArguments: [
12606
- _chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress),
12622
+ _chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress),
12607
12623
  new MoveString(propertyKey),
12608
12624
  new MoveString(PropertyTypeMap[propertyType]),
12609
12625
  MoveVector.U8(getSinglePropertyValueRaw(propertyValue, PropertyTypeMap[propertyType]))
@@ -12625,7 +12641,7 @@ async function removeDigitalAssetPropertyTransaction(args) {
12625
12641
  data: {
12626
12642
  function: "0x4::aptos_token::remove_property",
12627
12643
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType))],
12628
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress), new MoveString(propertyKey)],
12644
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress), new MoveString(propertyKey)],
12629
12645
  abi: removeDigitalAssetPropertyAbi
12630
12646
  },
12631
12647
  options
@@ -12658,7 +12674,7 @@ async function updateDigitalAssetPropertyTransaction(args) {
12658
12674
  function: "0x4::aptos_token::update_property",
12659
12675
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType))],
12660
12676
  functionArguments: [
12661
- _chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress),
12677
+ _chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress),
12662
12678
  new MoveString(propertyKey),
12663
12679
  new MoveString(PropertyTypeMap[propertyType]),
12664
12680
  /**
@@ -12701,7 +12717,7 @@ async function addDigitalAssetTypedPropertyTransaction(args) {
12701
12717
  data: {
12702
12718
  function: "0x4::aptos_token::add_typed_property",
12703
12719
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType)), PropertyTypeMap[propertyType]],
12704
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress), new MoveString(propertyKey), propertyValue],
12720
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress), new MoveString(propertyKey), propertyValue],
12705
12721
  abi: addDigitalAssetTypedPropertyAbi
12706
12722
  },
12707
12723
  options
@@ -12732,7 +12748,7 @@ async function updateDigitalAssetTypedPropertyTransaction(args) {
12732
12748
  data: {
12733
12749
  function: "0x4::aptos_token::update_typed_property",
12734
12750
  typeArguments: [_nullishCoalesce(digitalAssetType, () => ( defaultDigitalAssetType)), PropertyTypeMap[propertyType]],
12735
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(digitalAssetAddress), new MoveString(propertyKey), propertyValue],
12751
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(digitalAssetAddress), new MoveString(propertyKey), propertyValue],
12736
12752
  abi: updateDigitalAssetTypedPropertyAbi
12737
12753
  },
12738
12754
  options
@@ -12821,7 +12837,7 @@ var DigitalAsset = class {
12821
12837
  processorType: "token_v2_processor" /* TOKEN_V2_PROCESSOR */
12822
12838
  });
12823
12839
  const { creatorAddress, collectionName, options } = args;
12824
- const address = _chunkCSUBLTFAjs.AccountAddress.from(creatorAddress);
12840
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(creatorAddress);
12825
12841
  const whereCondition = {
12826
12842
  collection_name: { _eq: collectionName },
12827
12843
  creator_address: { _eq: address.toStringLong() }
@@ -13754,7 +13770,7 @@ async function getModuleEventsByEventType(args) {
13754
13770
  }
13755
13771
  async function getAccountEventsByCreationNumber(args) {
13756
13772
  const { accountAddress, aptosConfig, creationNumber, options } = args;
13757
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress);
13773
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress);
13758
13774
  const whereCondition = {
13759
13775
  account_address: { _eq: address.toStringLong() },
13760
13776
  creation_number: { _eq: creationNumber }
@@ -13763,7 +13779,7 @@ async function getAccountEventsByCreationNumber(args) {
13763
13779
  }
13764
13780
  async function getAccountEventsByEventType(args) {
13765
13781
  const { accountAddress, aptosConfig, eventType, options } = args;
13766
- const address = _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toStringLong();
13782
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toStringLong();
13767
13783
  const whereCondition = {
13768
13784
  account_address: { _eq: address },
13769
13785
  indexed_type: { _eq: eventType }
@@ -13992,7 +14008,7 @@ async function fundAccount(args) {
13992
14008
  aptosConfig,
13993
14009
  path: "fund",
13994
14010
  body: {
13995
- address: _chunkCSUBLTFAjs.AccountAddress.from(accountAddress).toString(),
14011
+ address: _chunkJMOQXLEDjs.AccountAddress.from(accountAddress).toString(),
13996
14012
  amount
13997
14013
  },
13998
14014
  originMethod: "fundAccount"
@@ -14304,7 +14320,7 @@ var FungibleAsset = class {
14304
14320
  aptosConfig: this.config,
14305
14321
  options: {
14306
14322
  where: {
14307
- creator_address: { _eq: _chunkCSUBLTFAjs.AccountAddress.from(args.creatorAddress).toStringLong() }
14323
+ creator_address: { _eq: _chunkJMOQXLEDjs.AccountAddress.from(args.creatorAddress).toStringLong() }
14308
14324
  }
14309
14325
  }
14310
14326
  });
@@ -14787,7 +14803,7 @@ async function getOwnerAddress(args) {
14787
14803
  }
14788
14804
  });
14789
14805
  const owner = unwrapOption(res[0]);
14790
- return owner ? _chunkCSUBLTFAjs.AccountAddress.from(owner) : void 0;
14806
+ return owner ? _chunkJMOQXLEDjs.AccountAddress.from(owner) : void 0;
14791
14807
  }
14792
14808
  async function registerName(args) {
14793
14809
  const { aptosConfig, expiration, name, sender, targetAddress, toAddress, options, transferable } = args;
@@ -14874,7 +14890,7 @@ async function getPrimaryName(args) {
14874
14890
  aptosConfig,
14875
14891
  payload: {
14876
14892
  function: `${routerAddress}::router::get_primary_name`,
14877
- functionArguments: [_chunkCSUBLTFAjs.AccountAddress.from(address).toString()]
14893
+ functionArguments: [_chunkJMOQXLEDjs.AccountAddress.from(address).toString()]
14878
14894
  }
14879
14895
  });
14880
14896
  const domainName = unwrapOption(res[1]);
@@ -14921,7 +14937,7 @@ async function getTargetAddress(args) {
14921
14937
  }
14922
14938
  });
14923
14939
  const target = unwrapOption(res[0]);
14924
- return target ? _chunkCSUBLTFAjs.AccountAddress.from(target) : void 0;
14940
+ return target ? _chunkJMOQXLEDjs.AccountAddress.from(target) : void 0;
14925
14941
  }
14926
14942
  async function setTargetAddress(args) {
14927
14943
  const { aptosConfig, sender, name, address, options } = args;
@@ -15590,7 +15606,7 @@ var ANS = class {
15590
15606
  // src/internal/staking.ts
15591
15607
  async function getNumberOfDelegators(args) {
15592
15608
  const { aptosConfig, poolAddress } = args;
15593
- const address = _chunkCSUBLTFAjs.AccountAddress.from(poolAddress).toStringLong();
15609
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(poolAddress).toStringLong();
15594
15610
  const query = {
15595
15611
  query: GetNumberOfDelegators,
15596
15612
  variables: { where_condition: { pool_address: { _eq: address } } }
@@ -15615,8 +15631,8 @@ async function getDelegatedStakingActivities(args) {
15615
15631
  const query = {
15616
15632
  query: GetDelegatedStakingActivities,
15617
15633
  variables: {
15618
- delegatorAddress: _chunkCSUBLTFAjs.AccountAddress.from(delegatorAddress).toStringLong(),
15619
- poolAddress: _chunkCSUBLTFAjs.AccountAddress.from(poolAddress).toStringLong()
15634
+ delegatorAddress: _chunkJMOQXLEDjs.AccountAddress.from(delegatorAddress).toStringLong(),
15635
+ poolAddress: _chunkJMOQXLEDjs.AccountAddress.from(poolAddress).toStringLong()
15620
15636
  }
15621
15637
  };
15622
15638
  const data = await queryIndexer({ aptosConfig, query });
@@ -15901,7 +15917,7 @@ var Build = class {
15901
15917
  payload: TransactionPayloadScript.load(new Deserializer(bytes)),
15902
15918
  ...args
15903
15919
  });
15904
- return new SimpleTransaction(rawTxn, args.withFeePayer === true ? _chunkCSUBLTFAjs.AccountAddress.ZERO : void 0);
15920
+ return new SimpleTransaction(rawTxn, args.withFeePayer === true ? _chunkJMOQXLEDjs.AccountAddress.ZERO : void 0);
15905
15921
  }
15906
15922
  /**
15907
15923
  * Build a multi-agent transaction that allows multiple signers to authorize a transaction.
@@ -16007,10 +16023,10 @@ var Simulate = class {
16007
16023
  return simulateTransaction({ aptosConfig: this.config, ...args });
16008
16024
  }
16009
16025
  };
16010
- _chunkCSUBLTFAjs.__decorateClass.call(void 0, [
16026
+ _chunkJMOQXLEDjs.__decorateClass.call(void 0, [
16011
16027
  ValidateFeePayerDataOnSimulation
16012
16028
  ], Simulate.prototype, "simple", 1);
16013
- _chunkCSUBLTFAjs.__decorateClass.call(void 0, [
16029
+ _chunkJMOQXLEDjs.__decorateClass.call(void 0, [
16014
16030
  ValidateFeePayerDataOnSimulation
16015
16031
  ], Simulate.prototype, "multiAgent", 1);
16016
16032
 
@@ -16056,10 +16072,10 @@ var Submit = class {
16056
16072
  return submitTransaction({ aptosConfig: this.config, ...args });
16057
16073
  }
16058
16074
  };
16059
- _chunkCSUBLTFAjs.__decorateClass.call(void 0, [
16075
+ _chunkJMOQXLEDjs.__decorateClass.call(void 0, [
16060
16076
  ValidateFeePayerDataOnSubmission
16061
16077
  ], Submit.prototype, "simple", 1);
16062
- _chunkCSUBLTFAjs.__decorateClass.call(void 0, [
16078
+ _chunkJMOQXLEDjs.__decorateClass.call(void 0, [
16063
16079
  ValidateFeePayerDataOnSubmission
16064
16080
  ], Submit.prototype, "multiAgent", 1);
16065
16081
 
@@ -16116,7 +16132,7 @@ var AccountSequenceNumber = class {
16116
16132
  */
16117
16133
  async nextSequenceNumber() {
16118
16134
  while (this.lock) {
16119
- await _chunkCSUBLTFAjs.sleep.call(void 0, this.sleepTime);
16135
+ await _chunkJMOQXLEDjs.sleep.call(void 0, this.sleepTime);
16120
16136
  }
16121
16137
  this.lock = true;
16122
16138
  let nextNumber = BigInt(0);
@@ -16126,10 +16142,10 @@ var AccountSequenceNumber = class {
16126
16142
  }
16127
16143
  if (this.currentNumber - this.lastUncommintedNumber >= this.maximumInFlight) {
16128
16144
  await this.update();
16129
- const startTime = _chunkCSUBLTFAjs.nowInSeconds.call(void 0, );
16145
+ const startTime = _chunkJMOQXLEDjs.nowInSeconds.call(void 0, );
16130
16146
  while (this.currentNumber - this.lastUncommintedNumber >= this.maximumInFlight) {
16131
- await _chunkCSUBLTFAjs.sleep.call(void 0, this.sleepTime);
16132
- if (_chunkCSUBLTFAjs.nowInSeconds.call(void 0, ) - startTime > this.maxWaitTime) {
16147
+ await _chunkJMOQXLEDjs.sleep.call(void 0, this.sleepTime);
16148
+ if (_chunkJMOQXLEDjs.nowInSeconds.call(void 0, ) - startTime > this.maxWaitTime) {
16133
16149
  console.warn(
16134
16150
  `Waited over 30 seconds for a transaction to commit, re-syncing ${this.account.accountAddress.toString()}`
16135
16151
  );
@@ -16191,20 +16207,20 @@ var AccountSequenceNumber = class {
16191
16207
  async synchronize() {
16192
16208
  if (this.lastUncommintedNumber === this.currentNumber) return;
16193
16209
  while (this.lock) {
16194
- await _chunkCSUBLTFAjs.sleep.call(void 0, this.sleepTime);
16210
+ await _chunkJMOQXLEDjs.sleep.call(void 0, this.sleepTime);
16195
16211
  }
16196
16212
  this.lock = true;
16197
16213
  try {
16198
16214
  await this.update();
16199
- const startTime = _chunkCSUBLTFAjs.nowInSeconds.call(void 0, );
16215
+ const startTime = _chunkJMOQXLEDjs.nowInSeconds.call(void 0, );
16200
16216
  while (this.lastUncommintedNumber !== this.currentNumber) {
16201
- if (_chunkCSUBLTFAjs.nowInSeconds.call(void 0, ) - startTime > this.maxWaitTime) {
16217
+ if (_chunkJMOQXLEDjs.nowInSeconds.call(void 0, ) - startTime > this.maxWaitTime) {
16202
16218
  console.warn(
16203
16219
  `Waited over 30 seconds for a transaction to commit, re-syncing ${this.account.accountAddress.toString()}`
16204
16220
  );
16205
16221
  await this.initialize();
16206
16222
  } else {
16207
- await _chunkCSUBLTFAjs.sleep.call(void 0, this.sleepTime);
16223
+ await _chunkJMOQXLEDjs.sleep.call(void 0, this.sleepTime);
16208
16224
  await this.update();
16209
16225
  }
16210
16226
  }
@@ -17502,7 +17518,7 @@ async function getPepper(args) {
17502
17518
  jwt_b64: jwt,
17503
17519
  epk: ephemeralKeyPair.getPublicKey().bcsToHex().toStringWithoutPrefix(),
17504
17520
  exp_date_secs: ephemeralKeyPair.expiryDateSecs,
17505
- epk_blinder: _chunkCSUBLTFAjs.Hex.fromHexInput(ephemeralKeyPair.blinder).toStringWithoutPrefix(),
17521
+ epk_blinder: _chunkJMOQXLEDjs.Hex.fromHexInput(ephemeralKeyPair.blinder).toStringWithoutPrefix(),
17506
17522
  uid_key: uidKey,
17507
17523
  derivation_path: derivationPath
17508
17524
  };
@@ -17513,7 +17529,7 @@ async function getPepper(args) {
17513
17529
  originMethod: "getPepper",
17514
17530
  overrides: { WITH_CREDENTIALS: false }
17515
17531
  });
17516
- return _chunkCSUBLTFAjs.Hex.fromHexInput(data.pepper).toUint8Array();
17532
+ return _chunkJMOQXLEDjs.Hex.fromHexInput(data.pepper).toUint8Array();
17517
17533
  }
17518
17534
  async function getProof(args) {
17519
17535
  const {
@@ -17524,7 +17540,7 @@ async function getProof(args) {
17524
17540
  uidKey = "sub",
17525
17541
  maxExpHorizonSecs = (await getKeylessConfig({ aptosConfig })).maxExpHorizonSecs
17526
17542
  } = args;
17527
- if (_chunkCSUBLTFAjs.Hex.fromHexInput(pepper).toUint8Array().length !== KeylessAccount.PEPPER_LENGTH) {
17543
+ if (_chunkJMOQXLEDjs.Hex.fromHexInput(pepper).toUint8Array().length !== KeylessAccount.PEPPER_LENGTH) {
17528
17544
  throw new Error(`Pepper needs to be ${KeylessAccount.PEPPER_LENGTH} bytes`);
17529
17545
  }
17530
17546
  const decodedJwt = _jwtdecode.jwtDecode.call(void 0, jwt);
@@ -17537,10 +17553,10 @@ async function getProof(args) {
17537
17553
  const json = {
17538
17554
  jwt_b64: jwt,
17539
17555
  epk: ephemeralKeyPair.getPublicKey().bcsToHex().toStringWithoutPrefix(),
17540
- epk_blinder: _chunkCSUBLTFAjs.Hex.fromHexInput(ephemeralKeyPair.blinder).toStringWithoutPrefix(),
17556
+ epk_blinder: _chunkJMOQXLEDjs.Hex.fromHexInput(ephemeralKeyPair.blinder).toStringWithoutPrefix(),
17541
17557
  exp_date_secs: ephemeralKeyPair.expiryDateSecs,
17542
17558
  exp_horizon_secs: maxExpHorizonSecs,
17543
- pepper: _chunkCSUBLTFAjs.Hex.fromHexInput(pepper).toStringWithoutPrefix(),
17559
+ pepper: _chunkJMOQXLEDjs.Hex.fromHexInput(pepper).toStringWithoutPrefix(),
17544
17560
  uid_key: uidKey
17545
17561
  };
17546
17562
  const { data } = await postAptosProvingService({
@@ -17824,7 +17840,7 @@ async function getObjectData(args) {
17824
17840
  }
17825
17841
  async function getObjectDataByObjectAddress(args) {
17826
17842
  const { aptosConfig, objectAddress, options } = args;
17827
- const address = _chunkCSUBLTFAjs.AccountAddress.from(objectAddress).toStringLong();
17843
+ const address = _chunkJMOQXLEDjs.AccountAddress.from(objectAddress).toStringLong();
17828
17844
  const whereCondition = {
17829
17845
  object_address: { _eq: address }
17830
17846
  };
@@ -17913,7 +17929,7 @@ async function viewBinary(args) {
17913
17929
  ...payload,
17914
17930
  aptosConfig
17915
17931
  });
17916
- const serializer = new (0, _chunkCSUBLTFAjs.Serializer)();
17932
+ const serializer = new (0, _chunkJMOQXLEDjs.Serializer)();
17917
17933
  viewFunctionPayload.serialize(serializer);
17918
17934
  const bytes = serializer.toUint8Array();
17919
17935
  const { data } = await postBinaryAptosFullNode({
@@ -18337,5 +18353,7 @@ applyMixin(Aptos, AptosObject, "object");
18337
18353
 
18338
18354
 
18339
18355
 
18340
- exports.APTOS_BIP44_REGEX = APTOS_BIP44_REGEX; exports.APTOS_COIN = APTOS_COIN; exports.APTOS_FA = APTOS_FA; exports.APTOS_HARDENED_REGEX = APTOS_HARDENED_REGEX; exports.AbstractKeylessAccount = AbstractKeylessAccount; exports.AbstractMultiKey = AbstractMultiKey; exports.AbstractedAccount = AbstractedAccount; exports.Account = Account; exports.AccountAddress = _chunkCSUBLTFAjs.AccountAddress; exports.AccountAuthenticator = AccountAuthenticator; exports.AccountAuthenticatorAbstraction = AccountAuthenticatorAbstraction; exports.AccountAuthenticatorEd25519 = AccountAuthenticatorEd25519; exports.AccountAuthenticatorMultiEd25519 = AccountAuthenticatorMultiEd25519; exports.AccountAuthenticatorMultiKey = AccountAuthenticatorMultiKey; exports.AccountAuthenticatorNoAccountAuthenticator = AccountAuthenticatorNoAccountAuthenticator; exports.AccountAuthenticatorSingleKey = AccountAuthenticatorSingleKey; exports.AccountAuthenticatorVariant = _chunkCSUBLTFAjs.AccountAuthenticatorVariant; exports.AccountPublicKey = AccountPublicKey; exports.AccountSequenceNumber = AccountSequenceNumber; exports.AccountUtils = AccountUtils; exports.AddressInvalidReason = _chunkCSUBLTFAjs.AddressInvalidReason; exports.AnyPublicKey = AnyPublicKey; exports.AnyPublicKeyVariant = _chunkCSUBLTFAjs.AnyPublicKeyVariant; exports.AnySignature = AnySignature; exports.AnySignatureVariant = _chunkCSUBLTFAjs.AnySignatureVariant; exports.Aptos = Aptos; exports.AptosApiError = AptosApiError; exports.AptosApiType = AptosApiType; exports.AptosConfig = AptosConfig; exports.AptosScriptComposer = AptosScriptComposer; exports.AuthenticationKey = AuthenticationKey; exports.Bool = Bool; exports.CKDPriv = CKDPriv; exports.CallArgument = _chunkCSUBLTFAjs.CallArgument; exports.ChainId = ChainId; exports.DEFAULT_MAX_GAS_AMOUNT = DEFAULT_MAX_GAS_AMOUNT; exports.DEFAULT_TXN_EXP_SEC_FROM_NOW = DEFAULT_TXN_EXP_SEC_FROM_NOW; exports.DEFAULT_TXN_TIMEOUT_SEC = DEFAULT_TXN_TIMEOUT_SEC; exports.DeriveScheme = _chunkCSUBLTFAjs.DeriveScheme; exports.Deserializer = Deserializer; exports.EPK_HORIZON_SECS = EPK_HORIZON_SECS; exports.Ed25519Account = Ed25519Account; exports.Ed25519PrivateKey = Ed25519PrivateKey; exports.Ed25519PublicKey = Ed25519PublicKey; exports.Ed25519Signature = Ed25519Signature; exports.EntryFunction = EntryFunction; exports.EntryFunctionBytes = EntryFunctionBytes; exports.EphemeralCertificate = EphemeralCertificate; exports.EphemeralCertificateVariant = _chunkCSUBLTFAjs.EphemeralCertificateVariant; exports.EphemeralKeyPair = EphemeralKeyPair; exports.EphemeralPublicKey = EphemeralPublicKey; exports.EphemeralPublicKeyVariant = _chunkCSUBLTFAjs.EphemeralPublicKeyVariant; exports.EphemeralSignature = EphemeralSignature; exports.EphemeralSignatureVariant = _chunkCSUBLTFAjs.EphemeralSignatureVariant; exports.FIREBASE_AUTH_ISS_PATTERN = FIREBASE_AUTH_ISS_PATTERN; exports.FederatedKeylessAccount = FederatedKeylessAccount; exports.FederatedKeylessPublicKey = FederatedKeylessPublicKey; exports.FeePayerRawTransaction = FeePayerRawTransaction; exports.FixedBytes = FixedBytes; exports.Groth16VerificationKey = Groth16VerificationKey; exports.Groth16Zkp = Groth16Zkp; exports.HARDENED_OFFSET = HARDENED_OFFSET; exports.Hex = _chunkCSUBLTFAjs.Hex; exports.HexInvalidReason = _chunkCSUBLTFAjs.HexInvalidReason; exports.Identifier = Identifier; exports.KeyType = KeyType; exports.KeylessAccount = KeylessAccount; exports.KeylessConfiguration = KeylessConfiguration; exports.KeylessError = KeylessError; exports.KeylessErrorCategory = KeylessErrorCategory; exports.KeylessErrorResolutionTip = KeylessErrorResolutionTip; exports.KeylessErrorType = KeylessErrorType; exports.KeylessPublicKey = KeylessPublicKey; exports.KeylessSignature = KeylessSignature; exports.MAX_AUD_VAL_BYTES = MAX_AUD_VAL_BYTES; exports.MAX_COMMITED_EPK_BYTES = MAX_COMMITED_EPK_BYTES; exports.MAX_EXTRA_FIELD_BYTES = MAX_EXTRA_FIELD_BYTES; exports.MAX_ISS_VAL_BYTES = MAX_ISS_VAL_BYTES; exports.MAX_JWT_HEADER_B64_BYTES = MAX_JWT_HEADER_B64_BYTES; exports.MAX_UID_KEY_BYTES = MAX_UID_KEY_BYTES; exports.MAX_UID_VAL_BYTES = MAX_UID_VAL_BYTES; exports.MimeType = _chunkCSUBLTFAjs.MimeType; exports.ModuleId = ModuleId; exports.MoveAbility = _chunkCSUBLTFAjs.MoveAbility; exports.MoveFunctionVisibility = _chunkCSUBLTFAjs.MoveFunctionVisibility; exports.MoveJWK = MoveJWK; exports.MoveOption = MoveOption; exports.MoveString = MoveString; exports.MoveVector = MoveVector; exports.MultiAgentRawTransaction = MultiAgentRawTransaction; exports.MultiAgentTransaction = MultiAgentTransaction; exports.MultiEd25519Account = MultiEd25519Account; exports.MultiEd25519PublicKey = MultiEd25519PublicKey; exports.MultiEd25519Signature = MultiEd25519Signature; exports.MultiKey = MultiKey; exports.MultiKeyAccount = MultiKeyAccount; exports.MultiKeySignature = MultiKeySignature; exports.MultiSig = MultiSig; exports.MultiSigTransactionPayload = MultiSigTransactionPayload; exports.Network = Network; exports.NetworkToChainId = NetworkToChainId; exports.NetworkToFaucetAPI = NetworkToFaucetAPI; exports.NetworkToIndexerAPI = NetworkToIndexerAPI; exports.NetworkToNetworkName = NetworkToNetworkName; exports.NetworkToNodeAPI = NetworkToNodeAPI; exports.NetworkToPepperAPI = NetworkToPepperAPI; exports.NetworkToProverAPI = NetworkToProverAPI; exports.ParsingError = _chunkCSUBLTFAjs.ParsingError; exports.PrivateKey = PrivateKey; exports.PrivateKeyVariants = _chunkCSUBLTFAjs.PrivateKeyVariants; exports.ProcessorType = ProcessorType; exports.PublicKey = PublicKey; exports.RAW_TRANSACTION_SALT = RAW_TRANSACTION_SALT; exports.RAW_TRANSACTION_WITH_DATA_SALT = RAW_TRANSACTION_WITH_DATA_SALT; exports.RawTransaction = RawTransaction; exports.RawTransactionWithData = RawTransactionWithData; exports.RoleType = _chunkCSUBLTFAjs.RoleType; exports.RotationProofChallenge = RotationProofChallenge; exports.Script = Script; exports.ScriptTransactionArgumentVariants = _chunkCSUBLTFAjs.ScriptTransactionArgumentVariants; exports.Secp256k1PrivateKey = Secp256k1PrivateKey; exports.Secp256k1PublicKey = Secp256k1PublicKey; exports.Secp256k1Signature = Secp256k1Signature; exports.Serializable = _chunkCSUBLTFAjs.Serializable; exports.Serialized = Serialized; exports.Serializer = _chunkCSUBLTFAjs.Serializer; exports.Signature = Signature; exports.SignedTransaction = SignedTransaction; exports.SigningScheme = _chunkCSUBLTFAjs.SigningScheme; exports.SigningSchemeInput = _chunkCSUBLTFAjs.SigningSchemeInput; exports.SimpleTransaction = SimpleTransaction; exports.SingleKeyAccount = SingleKeyAccount; exports.StructTag = StructTag; exports.TransactionAndProof = TransactionAndProof; exports.TransactionAuthenticator = TransactionAuthenticator; exports.TransactionAuthenticatorEd25519 = TransactionAuthenticatorEd25519; exports.TransactionAuthenticatorFeePayer = TransactionAuthenticatorFeePayer; exports.TransactionAuthenticatorMultiAgent = TransactionAuthenticatorMultiAgent; exports.TransactionAuthenticatorMultiEd25519 = TransactionAuthenticatorMultiEd25519; exports.TransactionAuthenticatorSingleSender = TransactionAuthenticatorSingleSender; exports.TransactionAuthenticatorVariant = _chunkCSUBLTFAjs.TransactionAuthenticatorVariant; exports.TransactionPayload = TransactionPayload; exports.TransactionPayloadEntryFunction = TransactionPayloadEntryFunction; exports.TransactionPayloadMultiSig = TransactionPayloadMultiSig; exports.TransactionPayloadScript = TransactionPayloadScript; exports.TransactionPayloadVariants = _chunkCSUBLTFAjs.TransactionPayloadVariants; exports.TransactionResponseType = _chunkCSUBLTFAjs.TransactionResponseType; exports.TransactionVariants = _chunkCSUBLTFAjs.TransactionVariants; exports.TransactionWorker = TransactionWorker; exports.TransactionWorkerEventsEnum = TransactionWorkerEventsEnum; exports.TypeTag = TypeTag; exports.TypeTagAddress = TypeTagAddress; exports.TypeTagBool = TypeTagBool; exports.TypeTagGeneric = TypeTagGeneric; exports.TypeTagParserError = TypeTagParserError; exports.TypeTagParserErrorType = TypeTagParserErrorType; exports.TypeTagReference = TypeTagReference; exports.TypeTagSigner = TypeTagSigner; exports.TypeTagStruct = TypeTagStruct; exports.TypeTagU128 = TypeTagU128; exports.TypeTagU16 = TypeTagU16; exports.TypeTagU256 = TypeTagU256; exports.TypeTagU32 = TypeTagU32; exports.TypeTagU64 = TypeTagU64; exports.TypeTagU8 = TypeTagU8; exports.TypeTagVariants = _chunkCSUBLTFAjs.TypeTagVariants; exports.TypeTagVector = TypeTagVector; exports.U128 = U128; exports.U16 = U16; exports.U256 = U256; exports.U32 = U32; exports.U64 = U64; exports.U8 = U8; exports.ZeroKnowledgeSig = ZeroKnowledgeSig; exports.ZkProof = ZkProof; exports.ZkpVariant = _chunkCSUBLTFAjs.ZkpVariant; exports.aptosBinaryRequest = aptosBinaryRequest; exports.aptosCoinStructTag = aptosCoinStructTag; exports.aptosRequest = aptosRequest; exports.base64UrlDecode = _chunkCSUBLTFAjs.base64UrlDecode; exports.bigIntToBytesLE = bigIntToBytesLE; exports.binaryRequest = binaryRequest; exports.buildTransaction = buildTransaction; exports.bytesToBigIntLE = bytesToBigIntLE; exports.checkOrConvertArgument = checkOrConvertArgument; exports.convertAmountFromHumanReadableToOnChain = _chunkCSUBLTFAjs.convertAmountFromHumanReadableToOnChain; exports.convertAmountFromOnChainToHumanReadable = _chunkCSUBLTFAjs.convertAmountFromOnChainToHumanReadable; exports.convertArgument = convertArgument; exports.convertCallArgument = convertCallArgument; exports.convertNumber = convertNumber; exports.createObjectAddress = createObjectAddress; exports.createResourceAddress = createResourceAddress; exports.createTokenAddress = createTokenAddress; exports.deriveKey = deriveKey; exports.deriveTransactionType = deriveTransactionType; exports.deserializeFromScriptArgument = deserializeFromScriptArgument; exports.ensureBoolean = _chunkCSUBLTFAjs.ensureBoolean; exports.fetchEntryFunctionAbi = fetchEntryFunctionAbi; exports.fetchFunctionAbi = fetchFunctionAbi; exports.fetchMoveFunctionAbi = fetchMoveFunctionAbi; exports.fetchViewFunctionAbi = fetchViewFunctionAbi; exports.findFirstNonSignerArg = findFirstNonSignerArg; exports.floorToWholeHour = _chunkCSUBLTFAjs.floorToWholeHour; exports.generateRawTransaction = generateRawTransaction; exports.generateSignedTransaction = generateSignedTransaction; exports.generateSignedTransactionForSimulation = generateSignedTransactionForSimulation; exports.generateSigningMessage = generateSigningMessage; exports.generateSigningMessageForSerializable = generateSigningMessageForSerializable; exports.generateSigningMessageForTransaction = generateSigningMessageForTransaction; exports.generateTransactionPayload = generateTransactionPayload; exports.generateTransactionPayloadWithABI = generateTransactionPayloadWithABI; exports.generateUserTransactionHash = generateUserTransactionHash; exports.generateViewFunctionPayload = generateViewFunctionPayload; exports.generateViewFunctionPayloadWithABI = generateViewFunctionPayloadWithABI; exports.get = get; exports.getAptosFullNode = getAptosFullNode; exports.getAptosPepperService = getAptosPepperService; exports.getAuthenticatorForSimulation = getAuthenticatorForSimulation; exports.getBinary = getBinary; exports.getBinaryAptosFullNode = getBinaryAptosFullNode; exports.getErrorMessage = _chunkCSUBLTFAjs.getErrorMessage; exports.getFunctionParts = _chunkCSUBLTFAjs.getFunctionParts; exports.getIssAudAndUidVal = getIssAudAndUidVal; exports.getKeylessConfig = getKeylessConfig; exports.getKeylessJWKs = getKeylessJWKs; exports.hashStrToField = hashStrToField; exports.hashValues = hashValues; exports.hexToAsciiString = _chunkCSUBLTFAjs.hexToAsciiString; exports.isBcsAddress = isBcsAddress; exports.isBcsBool = isBcsBool; exports.isBcsFixedBytes = isBcsFixedBytes; exports.isBcsString = isBcsString; exports.isBcsU128 = isBcsU128; exports.isBcsU16 = isBcsU16; exports.isBcsU256 = isBcsU256; exports.isBcsU32 = isBcsU32; exports.isBcsU64 = isBcsU64; exports.isBcsU8 = isBcsU8; exports.isBlockEpilogueTransactionResponse = _chunkCSUBLTFAjs.isBlockEpilogueTransactionResponse; exports.isBlockMetadataTransactionResponse = _chunkCSUBLTFAjs.isBlockMetadataTransactionResponse; exports.isBool = isBool; exports.isCanonicalEd25519Signature = isCanonicalEd25519Signature; exports.isEd25519Signature = _chunkCSUBLTFAjs.isEd25519Signature; exports.isEmptyOption = isEmptyOption; exports.isEncodedEntryFunctionArgument = isEncodedEntryFunctionArgument; exports.isEncodedStruct = _chunkCSUBLTFAjs.isEncodedStruct; exports.isFeePayerSignature = _chunkCSUBLTFAjs.isFeePayerSignature; exports.isGenesisTransactionResponse = _chunkCSUBLTFAjs.isGenesisTransactionResponse; exports.isKeylessSigner = isKeylessSigner; exports.isLargeNumber = isLargeNumber; exports.isMultiAgentSignature = _chunkCSUBLTFAjs.isMultiAgentSignature; exports.isMultiEd25519Signature = _chunkCSUBLTFAjs.isMultiEd25519Signature; exports.isNumber = isNumber; exports.isPendingTransactionResponse = _chunkCSUBLTFAjs.isPendingTransactionResponse; exports.isScriptDataInput = isScriptDataInput; exports.isSecp256k1Signature = _chunkCSUBLTFAjs.isSecp256k1Signature; exports.isSingleKeySigner = isSingleKeySigner; exports.isSingleSenderSignature = _chunkCSUBLTFAjs.isSingleSenderSignature; exports.isStateCheckpointTransactionResponse = _chunkCSUBLTFAjs.isStateCheckpointTransactionResponse; exports.isString = isString; exports.isUserTransactionResponse = _chunkCSUBLTFAjs.isUserTransactionResponse; exports.isValidBIP44Path = isValidBIP44Path; exports.isValidFunctionInfo = _chunkCSUBLTFAjs.isValidFunctionInfo; exports.isValidHardenedPath = isValidHardenedPath; exports.isValidatorTransactionResponse = _chunkCSUBLTFAjs.isValidatorTransactionResponse; exports.mnemonicToSeed = mnemonicToSeed; exports.normalizeBundle = normalizeBundle; exports.nowInSeconds = _chunkCSUBLTFAjs.nowInSeconds; exports.objectStructTag = objectStructTag; exports.optionStructTag = optionStructTag; exports.outOfRangeErrorMessage = _chunkCSUBLTFAjs.outOfRangeErrorMessage; exports.padAndPackBytesWithLen = padAndPackBytesWithLen; exports.paginateWithCursor = paginateWithCursor; exports.paginateWithObfuscatedCursor = paginateWithObfuscatedCursor; exports.parseEncodedStruct = _chunkCSUBLTFAjs.parseEncodedStruct; exports.parseJwtHeader = parseJwtHeader; exports.parseTypeTag = parseTypeTag; exports.poseidonHash = poseidonHash; exports.post = post; exports.postAptosFaucet = postAptosFaucet; exports.postAptosFullNode = postAptosFullNode; exports.postAptosIndexer = postAptosIndexer; exports.postAptosPepperService = postAptosPepperService; exports.postAptosProvingService = postAptosProvingService; exports.postBinary = postBinary; exports.postBinaryAptosFullNode = postBinaryAptosFullNode; exports.promiseFulfilledStatus = promiseFulfilledStatus; exports.request = request; exports.sleep = _chunkCSUBLTFAjs.sleep; exports.splitPath = splitPath; exports.standardizeTypeTags = standardizeTypeTags; exports.stringStructTag = stringStructTag; exports.throwTypeMismatch = throwTypeMismatch; exports.truncateAddress = _chunkCSUBLTFAjs.truncateAddress; exports.validateNumberInRange = _chunkCSUBLTFAjs.validateNumberInRange;
18356
+
18357
+
18358
+ exports.APTOS_BIP44_REGEX = APTOS_BIP44_REGEX; exports.APTOS_COIN = APTOS_COIN; exports.APTOS_FA = APTOS_FA; exports.APTOS_HARDENED_REGEX = APTOS_HARDENED_REGEX; exports.AbstractKeylessAccount = AbstractKeylessAccount; exports.AbstractMultiKey = AbstractMultiKey; exports.AbstractedAccount = AbstractedAccount; exports.Account = Account; exports.AccountAddress = _chunkJMOQXLEDjs.AccountAddress; exports.AccountAuthenticator = AccountAuthenticator; exports.AccountAuthenticatorAbstraction = AccountAuthenticatorAbstraction; exports.AccountAuthenticatorEd25519 = AccountAuthenticatorEd25519; exports.AccountAuthenticatorMultiEd25519 = AccountAuthenticatorMultiEd25519; exports.AccountAuthenticatorMultiKey = AccountAuthenticatorMultiKey; exports.AccountAuthenticatorNoAccountAuthenticator = AccountAuthenticatorNoAccountAuthenticator; exports.AccountAuthenticatorSingleKey = AccountAuthenticatorSingleKey; exports.AccountAuthenticatorVariant = _chunkJMOQXLEDjs.AccountAuthenticatorVariant; exports.AccountPublicKey = AccountPublicKey; exports.AccountSequenceNumber = AccountSequenceNumber; exports.AccountUtils = AccountUtils; exports.AddressInvalidReason = _chunkJMOQXLEDjs.AddressInvalidReason; exports.AnyPublicKey = AnyPublicKey; exports.AnyPublicKeyVariant = _chunkJMOQXLEDjs.AnyPublicKeyVariant; exports.AnySignature = AnySignature; exports.AnySignatureVariant = _chunkJMOQXLEDjs.AnySignatureVariant; exports.Aptos = Aptos; exports.AptosApiError = AptosApiError; exports.AptosApiType = AptosApiType; exports.AptosConfig = AptosConfig; exports.AptosScriptComposer = AptosScriptComposer; exports.AuthenticationKey = AuthenticationKey; exports.Bool = Bool; exports.CKDPriv = CKDPriv; exports.CallArgument = _chunkJMOQXLEDjs.CallArgument; exports.ChainId = ChainId; exports.DEFAULT_MAX_GAS_AMOUNT = DEFAULT_MAX_GAS_AMOUNT; exports.DEFAULT_TXN_EXP_SEC_FROM_NOW = DEFAULT_TXN_EXP_SEC_FROM_NOW; exports.DEFAULT_TXN_TIMEOUT_SEC = DEFAULT_TXN_TIMEOUT_SEC; exports.DeriveScheme = _chunkJMOQXLEDjs.DeriveScheme; exports.Deserializer = Deserializer; exports.EPK_HORIZON_SECS = EPK_HORIZON_SECS; exports.Ed25519Account = Ed25519Account; exports.Ed25519PrivateKey = Ed25519PrivateKey; exports.Ed25519PublicKey = Ed25519PublicKey; exports.Ed25519Signature = Ed25519Signature; exports.EntryFunction = EntryFunction; exports.EntryFunctionBytes = EntryFunctionBytes; exports.EphemeralCertificate = EphemeralCertificate; exports.EphemeralCertificateVariant = _chunkJMOQXLEDjs.EphemeralCertificateVariant; exports.EphemeralKeyPair = EphemeralKeyPair; exports.EphemeralPublicKey = EphemeralPublicKey; exports.EphemeralPublicKeyVariant = _chunkJMOQXLEDjs.EphemeralPublicKeyVariant; exports.EphemeralSignature = EphemeralSignature; exports.EphemeralSignatureVariant = _chunkJMOQXLEDjs.EphemeralSignatureVariant; exports.FIREBASE_AUTH_ISS_PATTERN = FIREBASE_AUTH_ISS_PATTERN; exports.FederatedKeylessAccount = FederatedKeylessAccount; exports.FederatedKeylessPublicKey = FederatedKeylessPublicKey; exports.FeePayerRawTransaction = FeePayerRawTransaction; exports.FixedBytes = FixedBytes; exports.Groth16VerificationKey = Groth16VerificationKey; exports.Groth16Zkp = Groth16Zkp; exports.HARDENED_OFFSET = HARDENED_OFFSET; exports.Hex = _chunkJMOQXLEDjs.Hex; exports.HexInvalidReason = _chunkJMOQXLEDjs.HexInvalidReason; exports.Identifier = Identifier; exports.KeyType = KeyType; exports.KeylessAccount = KeylessAccount; exports.KeylessConfiguration = KeylessConfiguration; exports.KeylessError = KeylessError; exports.KeylessErrorCategory = KeylessErrorCategory; exports.KeylessErrorResolutionTip = KeylessErrorResolutionTip; exports.KeylessErrorType = KeylessErrorType; exports.KeylessPublicKey = KeylessPublicKey; exports.KeylessSignature = KeylessSignature; exports.MAX_AUD_VAL_BYTES = MAX_AUD_VAL_BYTES; exports.MAX_COMMITED_EPK_BYTES = MAX_COMMITED_EPK_BYTES; exports.MAX_EXTRA_FIELD_BYTES = MAX_EXTRA_FIELD_BYTES; exports.MAX_ISS_VAL_BYTES = MAX_ISS_VAL_BYTES; exports.MAX_JWT_HEADER_B64_BYTES = MAX_JWT_HEADER_B64_BYTES; exports.MAX_UID_KEY_BYTES = MAX_UID_KEY_BYTES; exports.MAX_UID_VAL_BYTES = MAX_UID_VAL_BYTES; exports.MimeType = _chunkJMOQXLEDjs.MimeType; exports.ModuleId = ModuleId; exports.MoveAbility = _chunkJMOQXLEDjs.MoveAbility; exports.MoveFunctionVisibility = _chunkJMOQXLEDjs.MoveFunctionVisibility; exports.MoveJWK = MoveJWK; exports.MoveOption = MoveOption; exports.MoveString = MoveString; exports.MoveVector = MoveVector; exports.MultiAgentRawTransaction = MultiAgentRawTransaction; exports.MultiAgentTransaction = MultiAgentTransaction; exports.MultiEd25519Account = MultiEd25519Account; exports.MultiEd25519PublicKey = MultiEd25519PublicKey; exports.MultiEd25519Signature = MultiEd25519Signature; exports.MultiKey = MultiKey; exports.MultiKeyAccount = MultiKeyAccount; exports.MultiKeySignature = MultiKeySignature; exports.MultiSig = MultiSig; exports.MultiSigTransactionPayload = MultiSigTransactionPayload; exports.Network = Network; exports.NetworkToChainId = NetworkToChainId; exports.NetworkToFaucetAPI = NetworkToFaucetAPI; exports.NetworkToIndexerAPI = NetworkToIndexerAPI; exports.NetworkToNetworkName = NetworkToNetworkName; exports.NetworkToNodeAPI = NetworkToNodeAPI; exports.NetworkToPepperAPI = NetworkToPepperAPI; exports.NetworkToProverAPI = NetworkToProverAPI; exports.ParsingError = _chunkJMOQXLEDjs.ParsingError; exports.PrivateKey = PrivateKey; exports.PrivateKeyVariants = _chunkJMOQXLEDjs.PrivateKeyVariants; exports.ProcessorType = ProcessorType; exports.PublicKey = PublicKey; exports.RAW_TRANSACTION_SALT = RAW_TRANSACTION_SALT; exports.RAW_TRANSACTION_WITH_DATA_SALT = RAW_TRANSACTION_WITH_DATA_SALT; exports.RawTransaction = RawTransaction; exports.RawTransactionWithData = RawTransactionWithData; exports.RoleType = _chunkJMOQXLEDjs.RoleType; exports.RotationProofChallenge = RotationProofChallenge; exports.Script = Script; exports.ScriptTransactionArgumentVariants = _chunkJMOQXLEDjs.ScriptTransactionArgumentVariants; exports.Secp256k1PrivateKey = Secp256k1PrivateKey; exports.Secp256k1PublicKey = Secp256k1PublicKey; exports.Secp256k1Signature = Secp256k1Signature; exports.Serializable = _chunkJMOQXLEDjs.Serializable; exports.Serialized = Serialized; exports.Serializer = _chunkJMOQXLEDjs.Serializer; exports.Signature = Signature; exports.SignedTransaction = SignedTransaction; exports.SigningScheme = _chunkJMOQXLEDjs.SigningScheme; exports.SigningSchemeInput = _chunkJMOQXLEDjs.SigningSchemeInput; exports.SimpleTransaction = SimpleTransaction; exports.SingleKeyAccount = SingleKeyAccount; exports.StructTag = StructTag; exports.TransactionAndProof = TransactionAndProof; exports.TransactionAuthenticator = TransactionAuthenticator; exports.TransactionAuthenticatorEd25519 = TransactionAuthenticatorEd25519; exports.TransactionAuthenticatorFeePayer = TransactionAuthenticatorFeePayer; exports.TransactionAuthenticatorMultiAgent = TransactionAuthenticatorMultiAgent; exports.TransactionAuthenticatorMultiEd25519 = TransactionAuthenticatorMultiEd25519; exports.TransactionAuthenticatorSingleSender = TransactionAuthenticatorSingleSender; exports.TransactionAuthenticatorVariant = _chunkJMOQXLEDjs.TransactionAuthenticatorVariant; exports.TransactionPayload = TransactionPayload; exports.TransactionPayloadEntryFunction = TransactionPayloadEntryFunction; exports.TransactionPayloadMultiSig = TransactionPayloadMultiSig; exports.TransactionPayloadScript = TransactionPayloadScript; exports.TransactionPayloadVariants = _chunkJMOQXLEDjs.TransactionPayloadVariants; exports.TransactionResponseType = _chunkJMOQXLEDjs.TransactionResponseType; exports.TransactionVariants = _chunkJMOQXLEDjs.TransactionVariants; exports.TransactionWorker = TransactionWorker; exports.TransactionWorkerEventsEnum = TransactionWorkerEventsEnum; exports.TypeTag = TypeTag; exports.TypeTagAddress = TypeTagAddress; exports.TypeTagBool = TypeTagBool; exports.TypeTagGeneric = TypeTagGeneric; exports.TypeTagParserError = TypeTagParserError; exports.TypeTagParserErrorType = TypeTagParserErrorType; exports.TypeTagReference = TypeTagReference; exports.TypeTagSigner = TypeTagSigner; exports.TypeTagStruct = TypeTagStruct; exports.TypeTagU128 = TypeTagU128; exports.TypeTagU16 = TypeTagU16; exports.TypeTagU256 = TypeTagU256; exports.TypeTagU32 = TypeTagU32; exports.TypeTagU64 = TypeTagU64; exports.TypeTagU8 = TypeTagU8; exports.TypeTagVariants = _chunkJMOQXLEDjs.TypeTagVariants; exports.TypeTagVector = TypeTagVector; exports.U128 = U128; exports.U16 = U16; exports.U256 = U256; exports.U32 = U32; exports.U64 = U64; exports.U8 = U8; exports.ZeroKnowledgeSig = ZeroKnowledgeSig; exports.ZkProof = ZkProof; exports.ZkpVariant = _chunkJMOQXLEDjs.ZkpVariant; exports.aptosBinaryRequest = aptosBinaryRequest; exports.aptosCoinStructTag = aptosCoinStructTag; exports.aptosRequest = aptosRequest; exports.base64UrlDecode = _chunkJMOQXLEDjs.base64UrlDecode; exports.bigIntToBytesLE = bigIntToBytesLE; exports.binaryRequest = binaryRequest; exports.buildTransaction = buildTransaction; exports.bytesToBigIntLE = bytesToBigIntLE; exports.checkOrConvertArgument = checkOrConvertArgument; exports.convertAmountFromHumanReadableToOnChain = _chunkJMOQXLEDjs.convertAmountFromHumanReadableToOnChain; exports.convertAmountFromOnChainToHumanReadable = _chunkJMOQXLEDjs.convertAmountFromOnChainToHumanReadable; exports.convertArgument = convertArgument; exports.convertCallArgument = convertCallArgument; exports.convertNumber = convertNumber; exports.createObjectAddress = createObjectAddress; exports.createResourceAddress = createResourceAddress; exports.createTokenAddress = createTokenAddress; exports.deriveKey = deriveKey; exports.deriveTransactionType = deriveTransactionType; exports.deserializeFromScriptArgument = deserializeFromScriptArgument; exports.ensureBoolean = _chunkJMOQXLEDjs.ensureBoolean; exports.fetchEntryFunctionAbi = fetchEntryFunctionAbi; exports.fetchFunctionAbi = fetchFunctionAbi; exports.fetchMoveFunctionAbi = fetchMoveFunctionAbi; exports.fetchViewFunctionAbi = fetchViewFunctionAbi; exports.findFirstNonSignerArg = findFirstNonSignerArg; exports.floorToWholeHour = _chunkJMOQXLEDjs.floorToWholeHour; exports.generateRawTransaction = generateRawTransaction; exports.generateSignedTransaction = generateSignedTransaction; exports.generateSignedTransactionForSimulation = generateSignedTransactionForSimulation; exports.generateSigningMessage = generateSigningMessage; exports.generateSigningMessageForSerializable = generateSigningMessageForSerializable; exports.generateSigningMessageForTransaction = generateSigningMessageForTransaction; exports.generateTransactionPayload = generateTransactionPayload; exports.generateTransactionPayloadWithABI = generateTransactionPayloadWithABI; exports.generateUserTransactionHash = generateUserTransactionHash; exports.generateViewFunctionPayload = generateViewFunctionPayload; exports.generateViewFunctionPayloadWithABI = generateViewFunctionPayloadWithABI; exports.get = get; exports.getAptosFullNode = getAptosFullNode; exports.getAptosPepperService = getAptosPepperService; exports.getAuthenticatorForSimulation = getAuthenticatorForSimulation; exports.getBinary = getBinary; exports.getBinaryAptosFullNode = getBinaryAptosFullNode; exports.getErrorMessage = _chunkJMOQXLEDjs.getErrorMessage; exports.getFunctionParts = _chunkJMOQXLEDjs.getFunctionParts; exports.getIssAudAndUidVal = getIssAudAndUidVal; exports.getKeylessConfig = getKeylessConfig; exports.getKeylessJWKs = getKeylessJWKs; exports.hashStrToField = hashStrToField; exports.hashValues = hashValues; exports.hexToAsciiString = _chunkJMOQXLEDjs.hexToAsciiString; exports.isBcsAddress = isBcsAddress; exports.isBcsBool = isBcsBool; exports.isBcsFixedBytes = isBcsFixedBytes; exports.isBcsString = isBcsString; exports.isBcsU128 = isBcsU128; exports.isBcsU16 = isBcsU16; exports.isBcsU256 = isBcsU256; exports.isBcsU32 = isBcsU32; exports.isBcsU64 = isBcsU64; exports.isBcsU8 = isBcsU8; exports.isBlockEpilogueTransactionResponse = _chunkJMOQXLEDjs.isBlockEpilogueTransactionResponse; exports.isBlockMetadataTransactionResponse = _chunkJMOQXLEDjs.isBlockMetadataTransactionResponse; exports.isBool = isBool; exports.isCanonicalEd25519Signature = isCanonicalEd25519Signature; exports.isEd25519Signature = _chunkJMOQXLEDjs.isEd25519Signature; exports.isEmptyOption = isEmptyOption; exports.isEncodedEntryFunctionArgument = isEncodedEntryFunctionArgument; exports.isEncodedStruct = _chunkJMOQXLEDjs.isEncodedStruct; exports.isFeePayerSignature = _chunkJMOQXLEDjs.isFeePayerSignature; exports.isGenesisTransactionResponse = _chunkJMOQXLEDjs.isGenesisTransactionResponse; exports.isKeylessSigner = isKeylessSigner; exports.isLargeNumber = isLargeNumber; exports.isMultiAgentSignature = _chunkJMOQXLEDjs.isMultiAgentSignature; exports.isMultiEd25519Signature = _chunkJMOQXLEDjs.isMultiEd25519Signature; exports.isNumber = isNumber; exports.isPendingTransactionResponse = _chunkJMOQXLEDjs.isPendingTransactionResponse; exports.isScriptDataInput = isScriptDataInput; exports.isSecp256k1Signature = _chunkJMOQXLEDjs.isSecp256k1Signature; exports.isSingleKeySigner = isSingleKeySigner; exports.isSingleSenderMultiKeySignature = _chunkJMOQXLEDjs.isSingleSenderMultiKeySignature; exports.isSingleSenderSignature = _chunkJMOQXLEDjs.isSingleSenderSignature; exports.isSingleSenderSingleKeySignature = _chunkJMOQXLEDjs.isSingleSenderSingleKeySignature; exports.isStateCheckpointTransactionResponse = _chunkJMOQXLEDjs.isStateCheckpointTransactionResponse; exports.isString = isString; exports.isUserTransactionResponse = _chunkJMOQXLEDjs.isUserTransactionResponse; exports.isValidBIP44Path = isValidBIP44Path; exports.isValidFunctionInfo = _chunkJMOQXLEDjs.isValidFunctionInfo; exports.isValidHardenedPath = isValidHardenedPath; exports.isValidatorTransactionResponse = _chunkJMOQXLEDjs.isValidatorTransactionResponse; exports.mnemonicToSeed = mnemonicToSeed; exports.normalizeBundle = normalizeBundle; exports.nowInSeconds = _chunkJMOQXLEDjs.nowInSeconds; exports.objectStructTag = objectStructTag; exports.optionStructTag = optionStructTag; exports.outOfRangeErrorMessage = _chunkJMOQXLEDjs.outOfRangeErrorMessage; exports.padAndPackBytesWithLen = padAndPackBytesWithLen; exports.paginateWithCursor = paginateWithCursor; exports.paginateWithObfuscatedCursor = paginateWithObfuscatedCursor; exports.parseEncodedStruct = _chunkJMOQXLEDjs.parseEncodedStruct; exports.parseJwtHeader = parseJwtHeader; exports.parseTypeTag = parseTypeTag; exports.poseidonHash = poseidonHash; exports.post = post; exports.postAptosFaucet = postAptosFaucet; exports.postAptosFullNode = postAptosFullNode; exports.postAptosIndexer = postAptosIndexer; exports.postAptosPepperService = postAptosPepperService; exports.postAptosProvingService = postAptosProvingService; exports.postBinary = postBinary; exports.postBinaryAptosFullNode = postBinaryAptosFullNode; exports.promiseFulfilledStatus = promiseFulfilledStatus; exports.request = request; exports.sleep = _chunkJMOQXLEDjs.sleep; exports.splitPath = splitPath; exports.standardizeTypeTags = standardizeTypeTags; exports.stringStructTag = stringStructTag; exports.throwTypeMismatch = throwTypeMismatch; exports.truncateAddress = _chunkJMOQXLEDjs.truncateAddress; exports.validateNumberInRange = _chunkJMOQXLEDjs.validateNumberInRange;
18341
18359
  //# sourceMappingURL=index.js.map