@aptos-labs/ts-sdk 5.1.3 → 5.1.4

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 (345) hide show
  1. package/dist/common/{account-nCfrFDHy.d.ts → account-DefhsHe3.d.ts} +232 -1
  2. package/dist/common/chunk-HO5ESTN4.js +4 -0
  3. package/dist/common/{chunk-PW6UQAB2.js.map → chunk-HO5ESTN4.js.map} +1 -1
  4. package/dist/common/cli/index.d.ts +1 -1
  5. package/dist/common/cli/index.js +1 -1
  6. package/dist/common/index.d.ts +2 -2
  7. package/dist/common/index.js +31 -31
  8. package/dist/common/index.js.map +1 -1
  9. package/dist/esm/{Ed25519Account-BgSyStyl.d.mts → Ed25519Account-CVg5T_jc.d.mts} +1 -1
  10. package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
  11. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  12. package/dist/esm/account/AbstractedAccount.d.mts +2 -2
  13. package/dist/esm/account/AbstractedAccount.mjs +1 -1
  14. package/dist/esm/account/Account.d.mts +2 -2
  15. package/dist/esm/account/Account.mjs +1 -1
  16. package/dist/esm/account/AccountUtils.d.mts +3 -3
  17. package/dist/esm/account/AccountUtils.mjs +1 -1
  18. package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
  19. package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
  20. package/dist/esm/account/Ed25519Account.d.mts +2 -2
  21. package/dist/esm/account/Ed25519Account.mjs +1 -1
  22. package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
  23. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  24. package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
  25. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  26. package/dist/esm/account/KeylessAccount.d.mts +3 -3
  27. package/dist/esm/account/KeylessAccount.mjs +1 -1
  28. package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
  29. package/dist/esm/account/MultiEd25519Account.mjs +1 -1
  30. package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
  31. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  32. package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
  33. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  34. package/dist/esm/account/index.d.mts +3 -3
  35. package/dist/esm/account/index.mjs +1 -1
  36. package/dist/esm/account/utils.d.mts +1 -1
  37. package/dist/esm/account/utils.mjs +1 -1
  38. package/dist/esm/{account-CAv0-Zs9.d.mts → account-DOs8SpoQ.d.mts} +232 -1
  39. package/dist/esm/api/account/abstraction.d.mts +1 -1
  40. package/dist/esm/api/account/abstraction.mjs +1 -1
  41. package/dist/esm/api/account.d.mts +2 -2
  42. package/dist/esm/api/account.mjs +1 -1
  43. package/dist/esm/api/ans.d.mts +2 -2
  44. package/dist/esm/api/ans.mjs +1 -1
  45. package/dist/esm/api/aptos.d.mts +3 -3
  46. package/dist/esm/api/aptos.mjs +1 -1
  47. package/dist/esm/api/aptosConfig.d.mts +1 -1
  48. package/dist/esm/api/coin.d.mts +1 -1
  49. package/dist/esm/api/coin.mjs +1 -1
  50. package/dist/esm/api/digitalAsset.d.mts +2 -2
  51. package/dist/esm/api/digitalAsset.mjs +1 -1
  52. package/dist/esm/api/faucet.d.mts +1 -1
  53. package/dist/esm/api/faucet.mjs +1 -1
  54. package/dist/esm/api/fungibleAsset.d.mts +2 -2
  55. package/dist/esm/api/fungibleAsset.mjs +1 -1
  56. package/dist/esm/api/general.d.mts +1 -1
  57. package/dist/esm/api/general.mjs +1 -1
  58. package/dist/esm/api/index.d.mts +3 -3
  59. package/dist/esm/api/index.mjs +1 -1
  60. package/dist/esm/api/keyless.d.mts +3 -3
  61. package/dist/esm/api/keyless.mjs +1 -1
  62. package/dist/esm/api/object.d.mts +1 -1
  63. package/dist/esm/api/object.mjs +1 -1
  64. package/dist/esm/api/staking.d.mts +1 -1
  65. package/dist/esm/api/staking.mjs +1 -1
  66. package/dist/esm/api/table.d.mts +1 -1
  67. package/dist/esm/api/table.mjs +1 -1
  68. package/dist/esm/api/transaction.d.mts +2 -2
  69. package/dist/esm/api/transaction.mjs +1 -1
  70. package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
  71. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  72. package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
  73. package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
  74. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  75. package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
  76. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  77. package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
  78. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  79. package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
  80. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  81. package/dist/esm/api/utils.d.mts +1 -1
  82. package/dist/esm/api/utils.mjs +1 -1
  83. package/dist/esm/bcs/consts.d.mts +14 -2
  84. package/dist/esm/bcs/consts.mjs +1 -1
  85. package/dist/esm/bcs/deserializer.d.mts +1 -1
  86. package/dist/esm/bcs/deserializer.mjs +1 -1
  87. package/dist/esm/bcs/index.d.mts +1 -1
  88. package/dist/esm/bcs/index.mjs +1 -1
  89. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
  90. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
  91. package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
  92. package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
  93. package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
  94. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  95. package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
  96. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  97. package/dist/esm/bcs/serializer.d.mts +1 -1
  98. package/dist/esm/bcs/serializer.mjs +1 -1
  99. package/dist/esm/{chunk-DURSBMWP.mjs → chunk-3JDGB4IL.mjs} +2 -2
  100. package/dist/esm/chunk-3JDGB4IL.mjs.map +1 -0
  101. package/dist/esm/{chunk-N6YTF76Q.mjs → chunk-3P474TWM.mjs} +2 -2
  102. package/dist/esm/{chunk-TOBQ5UE6.mjs → chunk-43LWUUXS.mjs} +2 -2
  103. package/dist/esm/chunk-5ABS6RDR.mjs +2 -0
  104. package/dist/esm/chunk-5ABS6RDR.mjs.map +1 -0
  105. package/dist/esm/{chunk-WSR5EBJM.mjs → chunk-5FNZUL2Y.mjs} +2 -2
  106. package/dist/esm/{chunk-XKUIMGKU.mjs → chunk-6IWGTO2J.mjs} +2 -2
  107. package/dist/esm/{chunk-54WUP65H.mjs → chunk-7WIDI4FZ.mjs} +2 -2
  108. package/dist/esm/{chunk-YSP6JG5G.mjs → chunk-AVOTC5EI.mjs} +2 -2
  109. package/dist/esm/{chunk-Q4W3WJ2U.mjs → chunk-BIQOJ3OK.mjs} +2 -2
  110. package/dist/esm/{chunk-ZYE7UTJZ.mjs → chunk-C5UZZHA4.mjs} +2 -2
  111. package/dist/esm/{chunk-MT2RJ7H3.mjs → chunk-DIFSO4N6.mjs} +2 -2
  112. package/dist/esm/{chunk-YZHAI55C.mjs → chunk-G3HAIETV.mjs} +2 -2
  113. package/dist/esm/{chunk-EF4FA5I6.mjs → chunk-GRF3NBRO.mjs} +2 -2
  114. package/dist/esm/{chunk-AGAAGA2X.mjs → chunk-GTRHYHQK.mjs} +2 -2
  115. package/dist/esm/chunk-I42Z32Q2.mjs +2 -0
  116. package/dist/esm/chunk-I42Z32Q2.mjs.map +1 -0
  117. package/dist/esm/{chunk-2XQKGWHQ.mjs → chunk-IKTH33UN.mjs} +2 -2
  118. package/dist/esm/{chunk-M3FCWYLI.mjs → chunk-IQPLJ32K.mjs} +2 -2
  119. package/dist/esm/{chunk-C2ZO2L5W.mjs → chunk-IXRGCQQU.mjs} +2 -2
  120. package/dist/esm/{chunk-BCTM24ZZ.mjs → chunk-JYDVO4K3.mjs} +2 -2
  121. package/dist/esm/chunk-KUF4DKN5.mjs +2 -0
  122. package/dist/esm/chunk-LD3I4CYO.mjs +2 -0
  123. package/dist/esm/{chunk-RGKRCZ36.mjs → chunk-MEG27LEV.mjs} +2 -2
  124. package/dist/esm/{chunk-LA56UDUK.mjs → chunk-PYVKCTUN.mjs} +2 -2
  125. package/dist/esm/{chunk-WCMW2L3P.mjs → chunk-QDJDZ3ON.mjs} +2 -2
  126. package/dist/esm/{chunk-FGFLPH5K.mjs → chunk-RYOICF37.mjs} +2 -2
  127. package/dist/esm/{chunk-ZABLJ2JJ.mjs → chunk-SGZPRMLE.mjs} +2 -2
  128. package/dist/esm/{chunk-I7XT6L7S.mjs → chunk-VO3JD6U6.mjs} +2 -2
  129. package/dist/esm/{chunk-GQ3UIDPQ.mjs → chunk-VS5NYRHW.mjs} +2 -2
  130. package/dist/esm/{chunk-EFQZGHAO.mjs → chunk-VV6OTOMS.mjs} +2 -2
  131. package/dist/esm/chunk-WGRSKMNQ.mjs +2 -0
  132. package/dist/esm/{chunk-EW45LLAP.mjs.map → chunk-WGRSKMNQ.mjs.map} +1 -1
  133. package/dist/esm/{chunk-HX6SDBEX.mjs → chunk-WOEH45Q2.mjs} +2 -2
  134. package/dist/esm/chunk-X2TPNKLV.mjs +2 -0
  135. package/dist/esm/chunk-X2TPNKLV.mjs.map +1 -0
  136. package/dist/esm/{chunk-DRBFLEZL.mjs → chunk-X5BUBEJH.mjs} +2 -2
  137. package/dist/esm/{chunk-FLZPUYXQ.mjs → chunk-Y426VCPM.mjs} +2 -2
  138. package/dist/esm/{chunk-FLZPUYXQ.mjs.map → chunk-Y426VCPM.mjs.map} +1 -1
  139. package/dist/esm/cli/index.d.mts +1 -1
  140. package/dist/esm/cli/index.mjs +1 -1
  141. package/dist/esm/cli/localNode.mjs +1 -1
  142. package/dist/esm/cli/move.d.mts +1 -1
  143. package/dist/esm/client/core.d.mts +1 -1
  144. package/dist/esm/client/core.mjs +1 -1
  145. package/dist/esm/client/get.d.mts +1 -1
  146. package/dist/esm/client/get.mjs +1 -1
  147. package/dist/esm/client/index.d.mts +1 -1
  148. package/dist/esm/client/index.mjs +1 -1
  149. package/dist/esm/client/post.d.mts +1 -1
  150. package/dist/esm/client/post.mjs +1 -1
  151. package/dist/esm/core/account/index.d.mts +1 -1
  152. package/dist/esm/core/account/index.mjs +1 -1
  153. package/dist/esm/core/account/utils/address.d.mts +1 -1
  154. package/dist/esm/core/account/utils/address.mjs +1 -1
  155. package/dist/esm/core/account/utils/index.d.mts +1 -1
  156. package/dist/esm/core/account/utils/index.mjs +1 -1
  157. package/dist/esm/core/accountAddress.d.mts +1 -1
  158. package/dist/esm/core/accountAddress.mjs +1 -1
  159. package/dist/esm/core/authenticationKey.d.mts +1 -1
  160. package/dist/esm/core/authenticationKey.mjs +1 -1
  161. package/dist/esm/core/crypto/abstraction.d.mts +1 -1
  162. package/dist/esm/core/crypto/abstraction.mjs +1 -1
  163. package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
  164. package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
  165. package/dist/esm/core/crypto/ed25519.d.mts +1 -1
  166. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  167. package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
  168. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  169. package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
  170. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  171. package/dist/esm/core/crypto/index.d.mts +2 -2
  172. package/dist/esm/core/crypto/index.mjs +1 -1
  173. package/dist/esm/core/crypto/keyless.d.mts +2 -2
  174. package/dist/esm/core/crypto/keyless.mjs +1 -1
  175. package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
  176. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  177. package/dist/esm/core/crypto/multiKey.d.mts +1 -1
  178. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  179. package/dist/esm/core/crypto/privateKey.d.mts +1 -1
  180. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  181. package/dist/esm/core/crypto/proof.d.mts +1 -1
  182. package/dist/esm/core/crypto/proof.mjs +1 -1
  183. package/dist/esm/core/crypto/publicKey.d.mts +1 -1
  184. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  185. package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
  186. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  187. package/dist/esm/core/crypto/secp256r1.d.mts +1 -1
  188. package/dist/esm/core/crypto/secp256r1.mjs +1 -1
  189. package/dist/esm/core/crypto/signature.d.mts +1 -1
  190. package/dist/esm/core/crypto/signature.mjs +1 -1
  191. package/dist/esm/core/crypto/singleKey.d.mts +1 -1
  192. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  193. package/dist/esm/core/crypto/types.d.mts +1 -1
  194. package/dist/esm/core/crypto/utils.d.mts +1 -1
  195. package/dist/esm/core/crypto/utils.mjs +1 -1
  196. package/dist/esm/core/hex.d.mts +1 -1
  197. package/dist/esm/core/index.d.mts +2 -2
  198. package/dist/esm/core/index.mjs +1 -1
  199. package/dist/esm/errors/index.d.mts +1 -1
  200. package/dist/esm/errors/index.mjs +1 -1
  201. package/dist/esm/{federatedKeyless-C8KXaSM1.d.mts → federatedKeyless-CxdU4W95.d.mts} +1 -1
  202. package/dist/esm/index.d.mts +3 -3
  203. package/dist/esm/index.mjs +1 -1
  204. package/dist/esm/internal/abstraction.d.mts +1 -1
  205. package/dist/esm/internal/abstraction.mjs +1 -1
  206. package/dist/esm/internal/account.d.mts +2 -2
  207. package/dist/esm/internal/account.mjs +1 -1
  208. package/dist/esm/internal/ans.d.mts +2 -2
  209. package/dist/esm/internal/ans.mjs +1 -1
  210. package/dist/esm/internal/coin.d.mts +1 -1
  211. package/dist/esm/internal/coin.mjs +1 -1
  212. package/dist/esm/internal/digitalAsset.d.mts +2 -2
  213. package/dist/esm/internal/digitalAsset.mjs +1 -1
  214. package/dist/esm/internal/faucet.d.mts +1 -1
  215. package/dist/esm/internal/faucet.mjs +1 -1
  216. package/dist/esm/internal/fungibleAsset.d.mts +2 -2
  217. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  218. package/dist/esm/internal/general.d.mts +1 -1
  219. package/dist/esm/internal/general.mjs +1 -1
  220. package/dist/esm/internal/keyless.d.mts +3 -3
  221. package/dist/esm/internal/keyless.mjs +1 -1
  222. package/dist/esm/internal/object.d.mts +1 -1
  223. package/dist/esm/internal/object.mjs +1 -1
  224. package/dist/esm/internal/staking.d.mts +1 -1
  225. package/dist/esm/internal/staking.mjs +1 -1
  226. package/dist/esm/internal/table.d.mts +1 -1
  227. package/dist/esm/internal/table.mjs +1 -1
  228. package/dist/esm/internal/transaction.d.mts +1 -1
  229. package/dist/esm/internal/transaction.mjs +1 -1
  230. package/dist/esm/internal/transactionSubmission.d.mts +2 -2
  231. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  232. package/dist/esm/internal/utils/index.d.mts +1 -1
  233. package/dist/esm/internal/utils/index.mjs +1 -1
  234. package/dist/esm/internal/utils/utils.d.mts +1 -1
  235. package/dist/esm/internal/utils/utils.mjs +1 -1
  236. package/dist/esm/internal/view.d.mts +1 -1
  237. package/dist/esm/internal/view.mjs +1 -1
  238. package/dist/esm/transactions/authenticator/account.d.mts +1 -1
  239. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  240. package/dist/esm/transactions/authenticator/index.d.mts +1 -1
  241. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  242. package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
  243. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  244. package/dist/esm/transactions/index.d.mts +1 -1
  245. package/dist/esm/transactions/index.mjs +1 -1
  246. package/dist/esm/transactions/instances/chainId.d.mts +1 -1
  247. package/dist/esm/transactions/instances/chainId.mjs +1 -1
  248. package/dist/esm/transactions/instances/identifier.d.mts +1 -1
  249. package/dist/esm/transactions/instances/identifier.mjs +1 -1
  250. package/dist/esm/transactions/instances/index.d.mts +1 -1
  251. package/dist/esm/transactions/instances/index.mjs +1 -1
  252. package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
  253. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  254. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
  255. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  256. package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
  257. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  258. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
  259. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  260. package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
  261. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  262. package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
  263. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  264. package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
  265. package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
  266. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  267. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
  268. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  269. package/dist/esm/transactions/management/index.d.mts +2 -2
  270. package/dist/esm/transactions/management/index.mjs +1 -1
  271. package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
  272. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  273. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
  274. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  275. package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
  276. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  277. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
  278. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  279. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
  280. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  281. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +2 -2
  282. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  283. package/dist/esm/transactions/typeTag/index.d.mts +1 -1
  284. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  285. package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
  286. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  287. package/dist/esm/transactions/types.d.mts +1 -1
  288. package/dist/esm/types/index.d.mts +1 -1
  289. package/dist/esm/types/index.mjs +1 -1
  290. package/dist/esm/types/types.d.mts +1 -1
  291. package/dist/esm/types/types.mjs +1 -1
  292. package/dist/esm/utils/helpers.d.mts +1 -1
  293. package/dist/esm/utils/helpers.mjs +1 -1
  294. package/dist/esm/utils/index.d.mts +1 -1
  295. package/dist/esm/utils/index.mjs +1 -1
  296. package/dist/esm/utils/normalizeBundle.d.mts +1 -1
  297. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  298. package/dist/esm/version.d.mts +1 -1
  299. package/dist/esm/version.mjs +1 -1
  300. package/package.json +1 -1
  301. package/src/bcs/consts.ts +15 -1
  302. package/src/bcs/deserializer.ts +105 -0
  303. package/src/bcs/serializable/movePrimitives.ts +237 -1
  304. package/src/bcs/serializer.ts +111 -0
  305. package/src/types/types.ts +30 -0
  306. package/src/version.ts +1 -1
  307. package/dist/common/chunk-PW6UQAB2.js +0 -4
  308. package/dist/esm/chunk-56CNRT2K.mjs +0 -2
  309. package/dist/esm/chunk-56CNRT2K.mjs.map +0 -1
  310. package/dist/esm/chunk-CW35YAMN.mjs +0 -2
  311. package/dist/esm/chunk-DURSBMWP.mjs.map +0 -1
  312. package/dist/esm/chunk-EBMEXURY.mjs +0 -2
  313. package/dist/esm/chunk-EBMEXURY.mjs.map +0 -1
  314. package/dist/esm/chunk-EW45LLAP.mjs +0 -2
  315. package/dist/esm/chunk-ORMOQWWH.mjs +0 -2
  316. package/dist/esm/chunk-ORMOQWWH.mjs.map +0 -1
  317. package/dist/esm/chunk-XJJVJOX5.mjs +0 -2
  318. /package/dist/esm/{chunk-N6YTF76Q.mjs.map → chunk-3P474TWM.mjs.map} +0 -0
  319. /package/dist/esm/{chunk-TOBQ5UE6.mjs.map → chunk-43LWUUXS.mjs.map} +0 -0
  320. /package/dist/esm/{chunk-WSR5EBJM.mjs.map → chunk-5FNZUL2Y.mjs.map} +0 -0
  321. /package/dist/esm/{chunk-XKUIMGKU.mjs.map → chunk-6IWGTO2J.mjs.map} +0 -0
  322. /package/dist/esm/{chunk-54WUP65H.mjs.map → chunk-7WIDI4FZ.mjs.map} +0 -0
  323. /package/dist/esm/{chunk-YSP6JG5G.mjs.map → chunk-AVOTC5EI.mjs.map} +0 -0
  324. /package/dist/esm/{chunk-Q4W3WJ2U.mjs.map → chunk-BIQOJ3OK.mjs.map} +0 -0
  325. /package/dist/esm/{chunk-ZYE7UTJZ.mjs.map → chunk-C5UZZHA4.mjs.map} +0 -0
  326. /package/dist/esm/{chunk-MT2RJ7H3.mjs.map → chunk-DIFSO4N6.mjs.map} +0 -0
  327. /package/dist/esm/{chunk-YZHAI55C.mjs.map → chunk-G3HAIETV.mjs.map} +0 -0
  328. /package/dist/esm/{chunk-EF4FA5I6.mjs.map → chunk-GRF3NBRO.mjs.map} +0 -0
  329. /package/dist/esm/{chunk-AGAAGA2X.mjs.map → chunk-GTRHYHQK.mjs.map} +0 -0
  330. /package/dist/esm/{chunk-2XQKGWHQ.mjs.map → chunk-IKTH33UN.mjs.map} +0 -0
  331. /package/dist/esm/{chunk-M3FCWYLI.mjs.map → chunk-IQPLJ32K.mjs.map} +0 -0
  332. /package/dist/esm/{chunk-C2ZO2L5W.mjs.map → chunk-IXRGCQQU.mjs.map} +0 -0
  333. /package/dist/esm/{chunk-BCTM24ZZ.mjs.map → chunk-JYDVO4K3.mjs.map} +0 -0
  334. /package/dist/esm/{chunk-XJJVJOX5.mjs.map → chunk-KUF4DKN5.mjs.map} +0 -0
  335. /package/dist/esm/{chunk-CW35YAMN.mjs.map → chunk-LD3I4CYO.mjs.map} +0 -0
  336. /package/dist/esm/{chunk-RGKRCZ36.mjs.map → chunk-MEG27LEV.mjs.map} +0 -0
  337. /package/dist/esm/{chunk-LA56UDUK.mjs.map → chunk-PYVKCTUN.mjs.map} +0 -0
  338. /package/dist/esm/{chunk-WCMW2L3P.mjs.map → chunk-QDJDZ3ON.mjs.map} +0 -0
  339. /package/dist/esm/{chunk-FGFLPH5K.mjs.map → chunk-RYOICF37.mjs.map} +0 -0
  340. /package/dist/esm/{chunk-ZABLJ2JJ.mjs.map → chunk-SGZPRMLE.mjs.map} +0 -0
  341. /package/dist/esm/{chunk-I7XT6L7S.mjs.map → chunk-VO3JD6U6.mjs.map} +0 -0
  342. /package/dist/esm/{chunk-GQ3UIDPQ.mjs.map → chunk-VS5NYRHW.mjs.map} +0 -0
  343. /package/dist/esm/{chunk-EFQZGHAO.mjs.map → chunk-VV6OTOMS.mjs.map} +0 -0
  344. /package/dist/esm/{chunk-HX6SDBEX.mjs.map → chunk-WOEH45Q2.mjs.map} +0 -0
  345. /package/dist/esm/{chunk-DRBFLEZL.mjs.map → chunk-X5BUBEJH.mjs.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{a as k}from"./chunk-YOZBVVKL.mjs";import{e as x,f as B}from"./chunk-AGAAGA2X.mjs";import{b as f,d as A}from"./chunk-ZABLJ2JJ.mjs";import{e as b}from"./chunk-YZHAI55C.mjs";import{d as C}from"./chunk-OLILO7VD.mjs";import{a as d}from"./chunk-LA56UDUK.mjs";async function H(o){let{aptosConfig:n,options:t}=o;return A({aptosConfig:n,originMethod:"getTransactions",path:"transactions",params:{start:t?.offset,limit:t?.limit}})}async function W(o){let{aptosConfig:n}=o;return k(async()=>{let{data:t}=await f({aptosConfig:n,originMethod:"getGasPriceEstimation",path:"estimate_gas_price"});return t},`gas-price-${n.network}`,1e3*60*5)()}async function O(o){let{aptosConfig:n,ledgerVersion:t}=o,{data:s}=await f({aptosConfig:n,originMethod:"getTransactionByVersion",path:`transactions/by_version/${t}`});return s}async function y(o){let{aptosConfig:n,transactionHash:t}=o,{data:s}=await f({aptosConfig:n,path:`transactions/by_hash/${t}`,originMethod:"getTransactionByHash"});return s}async function q(o){let{aptosConfig:n,transactionHash:t}=o;try{return(await y({aptosConfig:n,transactionHash:t})).type==="pending_transaction"}catch(s){if(s?.status===404)return!0;throw s}}async function R(o){let{aptosConfig:n,transactionHash:t}=o,{data:s}=await f({aptosConfig:n,path:`transactions/wait_by_hash/${t}`,originMethod:"longWaitForTransaction"});return s}async function z(o){let{aptosConfig:n,transactionHash:t,options:s}=o,r=s?.timeoutSecs??20,u=s?.checkSuccess??!0,e=!0,p=0,i,g,l=200,h=1.5;function c(a){if(!(a instanceof b)||(g=a,a.status!==404&&a.status>=400&&a.status<500))throw a}try{i=await y({aptosConfig:n,transactionHash:t}),e=i.type==="pending_transaction"}catch(a){c(a)}if(e){let a=Date.now();try{i=await R({aptosConfig:n,transactionHash:t}),e=i.type==="pending_transaction"}catch(w){c(w)}p=(Date.now()-a)/1e3}for(;e&&!(p>=r);){try{if(i=await y({aptosConfig:n,transactionHash:t}),e=i.type==="pending_transaction",!e)break}catch(a){c(a)}await d(l),p+=l/1e3,l*=h}if(i===void 0)throw g||new m(`Fetching transaction ${t} failed and timed out after ${r} seconds`,i);if(i.type==="pending_transaction")throw new m(`Transaction ${t} timed out in pending state after ${r} seconds`,i);if(!u)return i;if(!i.success)throw new T(`Transaction ${t} failed with an error: ${i.vm_status}`,i);return i}async function U(o){let{aptosConfig:n,processorType:t}=o,s=BigInt(o.minimumLedgerVersion),r=3e3,u=new Date().getTime(),e=BigInt(-1);for(;e<s;){if(new Date().getTime()-u>r)throw new Error("waitForLastSuccessIndexerVersionSync timeout");if(t===void 0?e=await x({aptosConfig:n}):e=(await B({aptosConfig:n,processorType:t})).last_success_version,e>=s)break;await d(200)}}var m=class extends Error{constructor(n,t){super(n),this.lastSubmittedTransaction=t}},T=class extends Error{constructor(n,t){super(n),this.transaction=t}};async function X(o){let{aptosConfig:n,ledgerVersion:t,options:s}=o,{data:r}=await f({aptosConfig:n,originMethod:"getBlockByVersion",path:`blocks/by_version/${t}`,params:{with_transactions:s?.withTransactions}});return P({block:r,...o})}async function j(o){let{aptosConfig:n,blockHeight:t,options:s}=o,{data:r}=await f({aptosConfig:n,originMethod:"getBlockByHeight",path:`blocks/by_height/${t}`,params:{with_transactions:s?.withTransactions}});return P({block:r,...o})}async function P(o){let{aptosConfig:n,block:t,options:s}=o;if(s?.withTransactions){t.transactions=t.transactions??[];let r=t.transactions[t.transactions.length-1],u=BigInt(t.first_version),e=BigInt(t.last_version),p=r?.version,i;if(p===void 0?i=u-1n:i=BigInt(p),i===e)return t;let g=[],l=100n;for(let c=i+1n;c<e;c+=BigInt(100))g.push(H({aptosConfig:n,options:{offset:c,limit:Math.min(Number(l),Number(e-c+1n))}}));let h=await Promise.all(g);for(let c of h)t.transactions.push(...c)}return t}export{H as a,W as b,O as c,y as d,q as e,R as f,z as g,U as h,m as i,T as j,X as k,j as l};
2
- //# sourceMappingURL=chunk-HX6SDBEX.mjs.map
1
+ import{a as k}from"./chunk-YOZBVVKL.mjs";import{e as x,f as B}from"./chunk-GTRHYHQK.mjs";import{b as f,d as A}from"./chunk-SGZPRMLE.mjs";import{e as b}from"./chunk-G3HAIETV.mjs";import{a as d}from"./chunk-PYVKCTUN.mjs";import{d as C}from"./chunk-OLILO7VD.mjs";async function H(o){let{aptosConfig:n,options:t}=o;return A({aptosConfig:n,originMethod:"getTransactions",path:"transactions",params:{start:t?.offset,limit:t?.limit}})}async function W(o){let{aptosConfig:n}=o;return k(async()=>{let{data:t}=await f({aptosConfig:n,originMethod:"getGasPriceEstimation",path:"estimate_gas_price"});return t},`gas-price-${n.network}`,1e3*60*5)()}async function O(o){let{aptosConfig:n,ledgerVersion:t}=o,{data:s}=await f({aptosConfig:n,originMethod:"getTransactionByVersion",path:`transactions/by_version/${t}`});return s}async function y(o){let{aptosConfig:n,transactionHash:t}=o,{data:s}=await f({aptosConfig:n,path:`transactions/by_hash/${t}`,originMethod:"getTransactionByHash"});return s}async function q(o){let{aptosConfig:n,transactionHash:t}=o;try{return(await y({aptosConfig:n,transactionHash:t})).type==="pending_transaction"}catch(s){if(s?.status===404)return!0;throw s}}async function R(o){let{aptosConfig:n,transactionHash:t}=o,{data:s}=await f({aptosConfig:n,path:`transactions/wait_by_hash/${t}`,originMethod:"longWaitForTransaction"});return s}async function z(o){let{aptosConfig:n,transactionHash:t,options:s}=o,r=s?.timeoutSecs??20,u=s?.checkSuccess??!0,e=!0,p=0,i,g,l=200,h=1.5;function c(a){if(!(a instanceof b)||(g=a,a.status!==404&&a.status>=400&&a.status<500))throw a}try{i=await y({aptosConfig:n,transactionHash:t}),e=i.type==="pending_transaction"}catch(a){c(a)}if(e){let a=Date.now();try{i=await R({aptosConfig:n,transactionHash:t}),e=i.type==="pending_transaction"}catch(w){c(w)}p=(Date.now()-a)/1e3}for(;e&&!(p>=r);){try{if(i=await y({aptosConfig:n,transactionHash:t}),e=i.type==="pending_transaction",!e)break}catch(a){c(a)}await d(l),p+=l/1e3,l*=h}if(i===void 0)throw g||new m(`Fetching transaction ${t} failed and timed out after ${r} seconds`,i);if(i.type==="pending_transaction")throw new m(`Transaction ${t} timed out in pending state after ${r} seconds`,i);if(!u)return i;if(!i.success)throw new T(`Transaction ${t} failed with an error: ${i.vm_status}`,i);return i}async function U(o){let{aptosConfig:n,processorType:t}=o,s=BigInt(o.minimumLedgerVersion),r=3e3,u=new Date().getTime(),e=BigInt(-1);for(;e<s;){if(new Date().getTime()-u>r)throw new Error("waitForLastSuccessIndexerVersionSync timeout");if(t===void 0?e=await x({aptosConfig:n}):e=(await B({aptosConfig:n,processorType:t})).last_success_version,e>=s)break;await d(200)}}var m=class extends Error{constructor(n,t){super(n),this.lastSubmittedTransaction=t}},T=class extends Error{constructor(n,t){super(n),this.transaction=t}};async function X(o){let{aptosConfig:n,ledgerVersion:t,options:s}=o,{data:r}=await f({aptosConfig:n,originMethod:"getBlockByVersion",path:`blocks/by_version/${t}`,params:{with_transactions:s?.withTransactions}});return P({block:r,...o})}async function j(o){let{aptosConfig:n,blockHeight:t,options:s}=o,{data:r}=await f({aptosConfig:n,originMethod:"getBlockByHeight",path:`blocks/by_height/${t}`,params:{with_transactions:s?.withTransactions}});return P({block:r,...o})}async function P(o){let{aptosConfig:n,block:t,options:s}=o;if(s?.withTransactions){t.transactions=t.transactions??[];let r=t.transactions[t.transactions.length-1],u=BigInt(t.first_version),e=BigInt(t.last_version),p=r?.version,i;if(p===void 0?i=u-1n:i=BigInt(p),i===e)return t;let g=[],l=100n;for(let c=i+1n;c<e;c+=BigInt(100))g.push(H({aptosConfig:n,options:{offset:c,limit:Math.min(Number(l),Number(e-c+1n))}}));let h=await Promise.all(g);for(let c of h)t.transactions.push(...c)}return t}export{H as a,W as b,O as c,y as d,q as e,R as f,z as g,U as h,m as i,T as j,X as k,j as l};
2
+ //# sourceMappingURL=chunk-WOEH45Q2.mjs.map
@@ -0,0 +1,2 @@
1
+ var t=255,n=65535,I=4294967295,_=18446744073709551615n,o=340282366920938463463374607431768211455n,M=115792089237316195423570985008687907853269984665640564039457584007913129639935n,U=-128,N=127,r=-32768,p=32767,c=-2147483648,e=2147483647,s=-9223372036854775808n,x=9223372036854775807n,B=-170141183460469231731687303715884105728n,i=170141183460469231731687303715884105727n,A=-57896044618658097711785492504343953926634992332820282019728792003956564819968n,X=57896044618658097711785492504343953926634992332820282019728792003956564819967n;export{t as a,n as b,I as c,_ as d,o as e,M as f,U as g,N as h,r as i,p as j,c as k,e as l,s as m,x as n,B as o,i as p,A as q,X as r};
2
+ //# sourceMappingURL=chunk-X2TPNKLV.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/bcs/consts.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { Uint8, Uint16, Uint32, Uint64, Uint128, Uint256, Int8, Int16, Int32, Int64, Int128, Int256 } from \"../types\";\n\n// Upper bound values for uint8, uint16, uint64 etc. These are all derived as\n// 2^N - 1, where N is the number of bits in the type.\nexport const MAX_U8_NUMBER: Uint8 = 255;\nexport const MAX_U16_NUMBER: Uint16 = 65535;\nexport const MAX_U32_NUMBER: Uint32 = 4294967295;\nexport const MAX_U64_BIG_INT: Uint64 = 18446744073709551615n;\nexport const MAX_U128_BIG_INT: Uint128 = 340282366920938463463374607431768211455n;\nexport const MAX_U256_BIG_INT: Uint256 =\n 115792089237316195423570985008687907853269984665640564039457584007913129639935n;\n\n// Signed integer bounds\nexport const MIN_I8_NUMBER: Int8 = -128;\nexport const MAX_I8_NUMBER: Int8 = 127;\nexport const MIN_I16_NUMBER: Int16 = -32768;\nexport const MAX_I16_NUMBER: Int16 = 32767;\nexport const MIN_I32_NUMBER: Int32 = -2147483648;\nexport const MAX_I32_NUMBER: Int32 = 2147483647;\nexport const MIN_I64_BIG_INT: Int64 = -9223372036854775808n;\nexport const MAX_I64_BIG_INT: Int64 = 9223372036854775807n;\nexport const MIN_I128_BIG_INT: Int128 = -170141183460469231731687303715884105728n;\nexport const MAX_I128_BIG_INT: Int128 = 170141183460469231731687303715884105727n;\nexport const MIN_I256_BIG_INT: Int256 = -57896044618658097711785492504343953926634992332820282019728792003956564819968n;\nexport const MAX_I256_BIG_INT: Int256 = 57896044618658097711785492504343953926634992332820282019728792003956564819967n;\n"],"mappings":"AAOO,IAAMA,EAAuB,IACvBC,EAAyB,MACzBC,EAAyB,WACzBC,EAA0B,sBAC1BC,EAA4B,yCAC5BC,EACX,gFAGWC,EAAsB,KACtBC,EAAsB,IACtBC,EAAwB,OACxBC,EAAwB,MACxBC,EAAwB,YACxBC,EAAwB,WACxBC,EAAyB,CAAC,qBAC1BC,EAAyB,qBACzBC,EAA2B,CAAC,yCAC5BC,EAA2B,yCAC3BC,EAA2B,CAAC,+EAC5BC,EAA2B","names":["MAX_U8_NUMBER","MAX_U16_NUMBER","MAX_U32_NUMBER","MAX_U64_BIG_INT","MAX_U128_BIG_INT","MAX_U256_BIG_INT","MIN_I8_NUMBER","MAX_I8_NUMBER","MIN_I16_NUMBER","MAX_I16_NUMBER","MIN_I32_NUMBER","MAX_I32_NUMBER","MIN_I64_BIG_INT","MAX_I64_BIG_INT","MIN_I128_BIG_INT","MAX_I128_BIG_INT","MIN_I256_BIG_INT","MAX_I256_BIG_INT"]}
@@ -1,2 +1,2 @@
1
- import{h as e}from"./chunk-HX6SDBEX.mjs";async function i(o){o.minimumLedgerVersion!==void 0&&await e({aptosConfig:o.config,minimumLedgerVersion:o.minimumLedgerVersion,processorType:o.processorType})}export{i as a};
2
- //# sourceMappingURL=chunk-DRBFLEZL.mjs.map
1
+ import{h as e}from"./chunk-WOEH45Q2.mjs";async function i(o){o.minimumLedgerVersion!==void 0&&await e({aptosConfig:o.config,minimumLedgerVersion:o.minimumLedgerVersion,processorType:o.processorType})}export{i as a};
2
+ //# sourceMappingURL=chunk-X5BUBEJH.mjs.map
@@ -1,2 +1,2 @@
1
- import{b as s}from"./chunk-STY74NUA.mjs";import{c as t}from"./chunk-56CNRT2K.mjs";var a=class d{constructor(e){this.buffer=new ArrayBuffer(e.length),new Uint8Array(this.buffer).set(e,0),this.offset=0}static fromHex(e){let i=s.hexInputToUint8Array(e);return new d(i)}read(e){if(this.offset+e>this.buffer.byteLength)throw new Error("Reached to the end of buffer");let i=this.buffer.slice(this.offset,this.offset+e);return this.offset+=e,i}remaining(){return this.buffer.byteLength-this.offset}assertFinished(){if(this.remaining()!==0)throw new Error("Buffer has remaining bytes")}deserializeStr(){let e=this.deserializeBytes();return new TextDecoder().decode(e)}deserializeOptionStr(){return this.deserializeOption("string")}deserializeOption(e,i){if(this.deserializeBool()){if(e==="string")return this.deserializeStr();if(e==="bytes")return this.deserializeBytes();if(e==="fixedBytes"){if(i===void 0)throw new Error("Fixed bytes length not provided");return this.deserializeFixedBytes(i)}return this.deserialize(e)}}deserializeBytes(){let e=this.deserializeUleb128AsU32();return new Uint8Array(this.read(e))}deserializeFixedBytes(e){return new Uint8Array(this.read(e))}deserializeBool(){let e=new Uint8Array(this.read(1))[0];if(e!==1&&e!==0)throw new Error("Invalid boolean value");return e===1}deserializeU8(){return new DataView(this.read(1)).getUint8(0)}deserializeU16(){return new DataView(this.read(2)).getUint16(0,!0)}deserializeU32(){return new DataView(this.read(4)).getUint32(0,!0)}deserializeU64(){let e=this.deserializeU32(),i=this.deserializeU32();return BigInt(BigInt(i)<<BigInt(32)|BigInt(e))}deserializeU128(){let e=this.deserializeU64(),i=this.deserializeU64();return BigInt(i<<BigInt(64)|e)}deserializeU256(){let e=this.deserializeU128(),i=this.deserializeU128();return BigInt(i<<BigInt(128)|e)}deserializeUleb128AsU32(){let e=BigInt(0),i=0;for(;e<t;){let r=this.deserializeU8();if(e|=BigInt(r&127)<<BigInt(i),(r&128)===0)break;i+=7}if(e>t)throw new Error("Overflow while parsing uleb128-encoded uint32 value");return Number(e)}deserialize(e){return e.deserialize(this)}deserializeVector(e){let i=this.deserializeUleb128AsU32(),r=new Array;for(let n=0;n<i;n+=1)r.push(this.deserialize(e));return r}};export{a};
2
- //# sourceMappingURL=chunk-FLZPUYXQ.mjs.map
1
+ import{b as s}from"./chunk-STY74NUA.mjs";import{c as n}from"./chunk-X2TPNKLV.mjs";var a=class d{constructor(e){this.buffer=new ArrayBuffer(e.length),new Uint8Array(this.buffer).set(e,0),this.offset=0}static fromHex(e){let i=s.hexInputToUint8Array(e);return new d(i)}read(e){if(this.offset+e>this.buffer.byteLength)throw new Error("Reached to the end of buffer");let i=this.buffer.slice(this.offset,this.offset+e);return this.offset+=e,i}remaining(){return this.buffer.byteLength-this.offset}assertFinished(){if(this.remaining()!==0)throw new Error("Buffer has remaining bytes")}deserializeStr(){let e=this.deserializeBytes();return new TextDecoder().decode(e)}deserializeOptionStr(){return this.deserializeOption("string")}deserializeOption(e,i){if(this.deserializeBool()){if(e==="string")return this.deserializeStr();if(e==="bytes")return this.deserializeBytes();if(e==="fixedBytes"){if(i===void 0)throw new Error("Fixed bytes length not provided");return this.deserializeFixedBytes(i)}return this.deserialize(e)}}deserializeBytes(){let e=this.deserializeUleb128AsU32();return new Uint8Array(this.read(e))}deserializeFixedBytes(e){return new Uint8Array(this.read(e))}deserializeBool(){let e=new Uint8Array(this.read(1))[0];if(e!==1&&e!==0)throw new Error("Invalid boolean value");return e===1}deserializeU8(){return new DataView(this.read(1)).getUint8(0)}deserializeU16(){return new DataView(this.read(2)).getUint16(0,!0)}deserializeU32(){return new DataView(this.read(4)).getUint32(0,!0)}deserializeU64(){let e=this.deserializeU32(),i=this.deserializeU32();return BigInt(BigInt(i)<<BigInt(32)|BigInt(e))}deserializeU128(){let e=this.deserializeU64(),i=this.deserializeU64();return BigInt(i<<BigInt(64)|e)}deserializeU256(){let e=this.deserializeU128(),i=this.deserializeU128();return BigInt(i<<BigInt(128)|e)}deserializeI8(){return new DataView(this.read(1)).getInt8(0)}deserializeI16(){return new DataView(this.read(2)).getInt16(0,!0)}deserializeI32(){return new DataView(this.read(4)).getInt32(0,!0)}deserializeI64(){let e=this.deserializeU32(),i=this.deserializeU32(),t=BigInt(BigInt(i)<<BigInt(32)|BigInt(e)),r=BigInt(1)<<BigInt(63);return t>=r?t-(BigInt(1)<<BigInt(64)):t}deserializeI128(){let e=this.deserializeU64(),i=this.deserializeU64(),t=BigInt(i<<BigInt(64)|e),r=BigInt(1)<<BigInt(127);return t>=r?t-(BigInt(1)<<BigInt(128)):t}deserializeI256(){let e=this.deserializeU128(),i=this.deserializeU128(),t=BigInt(i<<BigInt(128)|e),r=BigInt(1)<<BigInt(255);return t>=r?t-(BigInt(1)<<BigInt(256)):t}deserializeUleb128AsU32(){let e=BigInt(0),i=0;for(;e<n;){let t=this.deserializeU8();if(e|=BigInt(t&127)<<BigInt(i),(t&128)===0)break;i+=7}if(e>n)throw new Error("Overflow while parsing uleb128-encoded uint32 value");return Number(e)}deserialize(e){return e.deserialize(this)}deserializeVector(e){let i=this.deserializeUleb128AsU32(),t=new Array;for(let r=0;r<i;r+=1)t.push(this.deserialize(e));return t}};export{a};
2
+ //# sourceMappingURL=chunk-Y426VCPM.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/bcs/deserializer.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\n/* eslint-disable no-bitwise */\nimport { MAX_U32_NUMBER } from \"./consts\";\nimport { Uint8, Uint16, Uint32, Uint64, Uint128, Uint256, HexInput } from \"../types\";\nimport { Hex } from \"../core/hex\";\n\n/**\n * This interface exists to define Deserializable<T> inputs for functions that\n * deserialize a byte buffer into a type T.\n * It is not intended to be implemented or extended, because Typescript has no support\n * for static methods in interfaces.\n *\n * @template T - The type that this will deserialize into.\n * @group Implementation\n * @category BCS\n */\nexport interface Deserializable<T> {\n /**\n * Deserializes the buffered bytes into an instance of the specified class type.\n * This function provides an alternative syntax for deserialization, allowing users to call\n * `deserializer.deserialize(MyClass)` instead of `MyClass.deserialize(deserializer)`.\n *\n * @param deserializer - The deserializer instance with the buffered bytes.\n * @returns The deserialized value of class type T.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([1, 2, 3]));\n * const value = deserializer.deserialize(MyClass); // where MyClass has a `deserialize` function\n * // value is now an instance of MyClass\n * // equivalent to `const value = MyClass.deserialize(deserializer)`\n * ```\n * @group Implementation\n * @category BCS\n */\n deserialize(deserializer: Deserializer): T;\n}\n\n/**\n * A class that provides methods for deserializing various data types from a byte buffer.\n * It supports deserialization of primitive types, strings, and complex objects using a BCS (Binary Common Serialization) layout.\n * @group Implementation\n * @category BCS\n */\nexport class Deserializer {\n private buffer: ArrayBuffer;\n\n private offset: number;\n\n /**\n * Creates a new instance of the class with a copy of the provided data buffer.\n * This prevents outside mutation of the buffer.\n *\n * @param data - The data to be copied into the internal buffer as a Uint8Array.\n * @group Implementation\n * @category BCS\n */\n constructor(data: Uint8Array) {\n // copies data to prevent outside mutation of buffer.\n this.buffer = new ArrayBuffer(data.length);\n new Uint8Array(this.buffer).set(data, 0);\n this.offset = 0;\n }\n\n static fromHex(hex: HexInput): Deserializer {\n const data = Hex.hexInputToUint8Array(hex);\n return new Deserializer(data);\n }\n\n /**\n * Reads a specified number of bytes from the buffer and advances the offset.\n *\n * @param length - The number of bytes to read from the buffer.\n * @throws Throws an error if the read operation exceeds the buffer's length.\n * @group Implementation\n * @category BCS\n */\n private read(length: number): ArrayBuffer {\n if (this.offset + length > this.buffer.byteLength) {\n throw new Error(\"Reached to the end of buffer\");\n }\n\n const bytes = this.buffer.slice(this.offset, this.offset + length);\n this.offset += length;\n return bytes;\n }\n\n /**\n * Returns the number of bytes remaining in the buffer.\n *\n * This information is useful to determine if there's more data to be read.\n *\n * @returns The number of bytes remaining in the buffer.\n * @group Implementation\n * @category BCS\n */\n remaining(): number {\n return this.buffer.byteLength - this.offset;\n }\n\n /**\n * Asserts that the buffer has no remaining bytes.\n *\n * @throws {Error} Throws an error if there are remaining bytes in the buffer.\n * @group Implementation\n * @category BCS\n */\n assertFinished(): void {\n if (this.remaining() !== 0) {\n throw new Error(\"Buffer has remaining bytes\");\n }\n }\n\n /**\n * Deserializes a UTF-8 encoded string from a byte array. It first reads the length of the string in bytes,\n * followed by the actual byte content, and decodes it into a string.\n *\n * BCS layout for \"string\": string_length | string_content\n * where string_length is a u32 integer encoded as a uleb128 integer, equal to the number of bytes in string_content.\n *\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([8, 49, 50, 51, 52, 97, 98, 99, 100]));\n * assert(deserializer.deserializeStr() === \"1234abcd\");\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeStr(): string {\n const value = this.deserializeBytes();\n const textDecoder = new TextDecoder();\n return textDecoder.decode(value);\n }\n\n /**\n * @deprecated use `deserializeOption(\"string\")` instead.\n *\n * The BCS layout for Optional<String> is 0 if none, else 1 followed by the string length and string content.\n * @returns The deserialized string if it exists, otherwise undefined.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([0x00]));\n * assert(deserializer.deserializeOptionStr() === undefined);\n * const deserializer = new Deserializer(new Uint8Array([1, 8, 49, 50, 51, 52, 97, 98, 99, 100]));\n * assert(deserializer.deserializeOptionStr() === \"1234abcd\");\n * ```\n */\n deserializeOptionStr(): string | undefined {\n return this.deserializeOption(\"string\");\n }\n\n /**\n * Deserializes an optional value from the buffer.\n *\n * The BCS layout for Optional<T> starts with a boolean byte (0 if none, 1 if some),\n * followed by the value if present.\n *\n * @template T - The type of the value to deserialize\n * @param type - Either a Deserializable class or one of the string literals: \"string\", \"bytes\", or \"fixedBytes\"\n * @param len - Required length when type is \"fixedBytes\", ignored otherwise\n * @returns The deserialized value if present, undefined otherwise\n *\n * @throws {Error} When \"fixedBytes\" is specified without a length\n *\n * @example\n * ```typescript\n * // Deserialize an optional string\n * const deserializer = new Deserializer(new Uint8Array([1, 3, 97, 98, 99]));\n * const optStr = deserializer.deserializeOption(\"string\");\n * // optStr === \"abc\"\n *\n * // Deserialize an optional custom type\n * const deserializer = new Deserializer(new Uint8Array([0]));\n * const optValue = deserializer.deserializeOption(MyClass);\n * // optValue === undefined\n *\n * // Deserialize optional bytes\n * const deserializer = new Deserializer(new Uint8Array([1, 3, 1, 2, 3]));\n * const optBytes = deserializer.deserializeOption(\"bytes\");\n * // optBytes === Uint8Array[1, 2, 3]\n *\n * // Deserialize optional fixed bytes\n * const deserializer = new Deserializer(new Uint8Array([1, 1, 2, 3, 4]));\n * const optBytes = deserializer.deserializeOption(\"fixedBytes\", 4);\n * // optBytes === Uint8Array[1, 2, 3, 4]\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeOption(type: \"string\"): string | undefined;\n deserializeOption(type: \"bytes\"): Uint8Array | undefined;\n deserializeOption(type: \"fixedBytes\", len: number): Uint8Array | undefined;\n deserializeOption<T>(type: Deserializable<T>): T | undefined;\n deserializeOption<T>(\n type: Deserializable<T> | \"string\" | \"bytes\" | \"fixedBytes\",\n len?: number,\n ): T | string | Uint8Array | undefined {\n const exists = this.deserializeBool();\n if (!exists) return undefined;\n\n if (type === \"string\") {\n return this.deserializeStr();\n }\n if (type === \"bytes\") {\n return this.deserializeBytes();\n }\n if (type === \"fixedBytes\") {\n if (len === undefined) {\n throw new Error(\"Fixed bytes length not provided\");\n }\n return this.deserializeFixedBytes(len);\n }\n\n return this.deserialize(type);\n }\n\n /**\n * Deserializes an array of bytes.\n *\n * The BCS layout for \"bytes\" consists of a bytes_length followed by the bytes themselves, where bytes_length is a u32 integer\n * encoded as a uleb128 integer, indicating the length of the bytes array.\n *\n * @returns {Uint8Array} The deserialized array of bytes.\n * @group Implementation\n * @category BCS\n */\n deserializeBytes(): Uint8Array {\n const len = this.deserializeUleb128AsU32();\n return new Uint8Array(this.read(len));\n }\n\n /**\n * Deserializes an array of bytes of a specified length.\n *\n * @param len - The number of bytes to read from the source.\n * @group Implementation\n * @category BCS\n */\n deserializeFixedBytes(len: number): Uint8Array {\n return new Uint8Array(this.read(len));\n }\n\n /**\n * Deserializes a boolean value from a byte stream.\n *\n * The BCS layout for a boolean uses one byte, where \"0x01\" represents true and \"0x00\" represents false.\n * An error is thrown if the byte value is not valid.\n *\n * @returns The deserialized boolean value.\n * @throws Throws an error if the boolean value is invalid.\n * @group Implementation\n * @category BCS\n */\n deserializeBool(): boolean {\n const bool = new Uint8Array(this.read(1))[0];\n if (bool !== 1 && bool !== 0) {\n throw new Error(\"Invalid boolean value\");\n }\n return bool === 1;\n }\n\n /**\n * Deserializes a uint8 number from the binary data.\n *\n * BCS layout for \"uint8\": One byte. Binary format in little-endian representation.\n *\n * @returns {number} The deserialized uint8 number.\n * @group Implementation\n * @category BCS\n */\n deserializeU8(): Uint8 {\n return new DataView(this.read(1)).getUint8(0);\n }\n\n /**\n * Deserializes a uint16 number from a binary format in little-endian representation.\n *\n * BCS layout for \"uint16\": Two bytes.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([0x34, 0x12]));\n * assert(deserializer.deserializeU16() === 4660);\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeU16(): Uint16 {\n return new DataView(this.read(2)).getUint16(0, true);\n }\n\n /**\n * Deserializes a uint32 number from a binary format in little-endian representation.\n *\n * BCS layout for \"uint32\": Four bytes.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([0x78, 0x56, 0x34, 0x12]));\n * assert(deserializer.deserializeU32() === 305419896);\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeU32(): Uint32 {\n return new DataView(this.read(4)).getUint32(0, true);\n }\n\n /**\n * Deserializes a uint64 number.\n *\n * This function combines two 32-bit values to return a 64-bit unsigned integer in little-endian representation.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([0x00, 0xEF, 0xCD, 0xAB, 0x78, 0x56, 0x34, 0x12]));\n * assert(deserializer.deserializeU64() === 1311768467750121216);\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeU64(): Uint64 {\n const low = this.deserializeU32();\n const high = this.deserializeU32();\n\n // combine the two 32-bit values and return (little endian)\n return BigInt((BigInt(high) << BigInt(32)) | BigInt(low));\n }\n\n /**\n * Deserializes a uint128 number from its binary representation.\n * This function combines two 64-bit values to return a single uint128 value in little-endian format.\n *\n * @returns {BigInt} The deserialized uint128 number.\n * @group Implementation\n * @category BCS\n */\n deserializeU128(): Uint128 {\n const low = this.deserializeU64();\n const high = this.deserializeU64();\n\n // combine the two 64-bit values and return (little endian)\n return BigInt((high << BigInt(64)) | low);\n }\n\n /**\n * Deserializes a uint256 number from its binary representation.\n *\n * The BCS layout for \"uint256\" consists of thirty-two bytes in little-endian format.\n *\n * @returns {BigInt} The deserialized uint256 number.\n * @group Implementation\n * @category BCS\n */\n deserializeU256(): Uint256 {\n const low = this.deserializeU128();\n const high = this.deserializeU128();\n\n // combine the two 128-bit values and return (little endian)\n return BigInt((high << BigInt(128)) | low);\n }\n\n /**\n * Deserializes a uleb128 encoded uint32 number.\n *\n * This function is used for interpreting lengths of variable-length sequences and tags of enum values in BCS encoding.\n *\n * @throws {Error} Throws an error if the parsed value exceeds the maximum uint32 number.\n * @returns {number} The deserialized uint32 value.\n * @group Implementation\n * @category BCS\n */\n deserializeUleb128AsU32(): Uint32 {\n let value: bigint = BigInt(0);\n let shift = 0;\n\n while (value < MAX_U32_NUMBER) {\n const byte = this.deserializeU8();\n value |= BigInt(byte & 0x7f) << BigInt(shift);\n\n if ((byte & 0x80) === 0) {\n break;\n }\n shift += 7;\n }\n\n if (value > MAX_U32_NUMBER) {\n throw new Error(\"Overflow while parsing uleb128-encoded uint32 value\");\n }\n\n return Number(value);\n }\n\n /**\n * Helper function that primarily exists to support alternative syntax for deserialization.\n * That is, if we have a `const deserializer: new Deserializer(...)`, instead of having to use\n * `MyClass.deserialize(deserializer)`, we can call `deserializer.deserialize(MyClass)`.\n *\n * @example const deserializer = new Deserializer(new Uint8Array([1, 2, 3]));\n * const value = deserializer.deserialize(MyClass); // where MyClass has a `deserialize` function\n * // value is now an instance of MyClass\n * // equivalent to `const value = MyClass.deserialize(deserializer)`\n * @param cls The BCS-deserializable class to deserialize the buffered bytes into.\n *\n * @returns the deserialized value of class type T\n * @group Implementation\n * @category BCS\n */\n deserialize<T>(cls: Deserializable<T>): T {\n // NOTE: `deserialize` in `cls.deserialize(this)` here is a static method defined in `cls`,\n // It is separate from the `deserialize` instance method defined here in Deserializer.\n return cls.deserialize(this);\n }\n\n /**\n * Deserializes an array of BCS Deserializable values given an existing Deserializer instance with a loaded byte buffer.\n *\n * @param cls The BCS-deserializable class to deserialize the buffered bytes into.\n * @returns An array of deserialized values of type T.\n * @example\n * // serialize a vector of addresses\n * const addresses = new Array<AccountAddress>(\n * AccountAddress.from(\"0x1\"),\n * AccountAddress.from(\"0x2\"),\n * AccountAddress.from(\"0xa\"),\n * AccountAddress.from(\"0xb\"),\n * );\n * const serializer = new Serializer();\n * serializer.serializeVector(addresses);\n * const serializedBytes = serializer.toUint8Array();\n *\n * // deserialize the bytes into an array of addresses\n * const deserializer = new Deserializer(serializedBytes);\n * const deserializedAddresses = deserializer.deserializeVector(AccountAddress);\n * // deserializedAddresses is now an array of AccountAddress instances\n * @group Implementation\n * @category BCS\n */\n deserializeVector<T>(cls: Deserializable<T>): Array<T> {\n const length = this.deserializeUleb128AsU32();\n const vector = new Array<T>();\n for (let i = 0; i < length; i += 1) {\n vector.push(this.deserialize(cls));\n }\n return vector;\n }\n}\n"],"mappings":"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","names":["Deserializer","_Deserializer","data","hex","Hex","length","bytes","value","type","len","bool","low","high","shift","MAX_U32_NUMBER","byte","cls","vector","i"]}
1
+ {"version":3,"sources":["../../src/bcs/deserializer.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\n/* eslint-disable no-bitwise */\nimport { MAX_U32_NUMBER } from \"./consts\";\nimport { Uint8, Uint16, Uint32, Uint64, Uint128, Uint256, HexInput } from \"../types\";\nimport { Hex } from \"../core/hex\";\n\n/**\n * This interface exists to define Deserializable<T> inputs for functions that\n * deserialize a byte buffer into a type T.\n * It is not intended to be implemented or extended, because Typescript has no support\n * for static methods in interfaces.\n *\n * @template T - The type that this will deserialize into.\n * @group Implementation\n * @category BCS\n */\nexport interface Deserializable<T> {\n /**\n * Deserializes the buffered bytes into an instance of the specified class type.\n * This function provides an alternative syntax for deserialization, allowing users to call\n * `deserializer.deserialize(MyClass)` instead of `MyClass.deserialize(deserializer)`.\n *\n * @param deserializer - The deserializer instance with the buffered bytes.\n * @returns The deserialized value of class type T.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([1, 2, 3]));\n * const value = deserializer.deserialize(MyClass); // where MyClass has a `deserialize` function\n * // value is now an instance of MyClass\n * // equivalent to `const value = MyClass.deserialize(deserializer)`\n * ```\n * @group Implementation\n * @category BCS\n */\n deserialize(deserializer: Deserializer): T;\n}\n\n/**\n * A class that provides methods for deserializing various data types from a byte buffer.\n * It supports deserialization of primitive types, strings, and complex objects using a BCS (Binary Common Serialization) layout.\n * @group Implementation\n * @category BCS\n */\nexport class Deserializer {\n private buffer: ArrayBuffer;\n\n private offset: number;\n\n /**\n * Creates a new instance of the class with a copy of the provided data buffer.\n * This prevents outside mutation of the buffer.\n *\n * @param data - The data to be copied into the internal buffer as a Uint8Array.\n * @group Implementation\n * @category BCS\n */\n constructor(data: Uint8Array) {\n // copies data to prevent outside mutation of buffer.\n this.buffer = new ArrayBuffer(data.length);\n new Uint8Array(this.buffer).set(data, 0);\n this.offset = 0;\n }\n\n static fromHex(hex: HexInput): Deserializer {\n const data = Hex.hexInputToUint8Array(hex);\n return new Deserializer(data);\n }\n\n /**\n * Reads a specified number of bytes from the buffer and advances the offset.\n *\n * @param length - The number of bytes to read from the buffer.\n * @throws Throws an error if the read operation exceeds the buffer's length.\n * @group Implementation\n * @category BCS\n */\n private read(length: number): ArrayBuffer {\n if (this.offset + length > this.buffer.byteLength) {\n throw new Error(\"Reached to the end of buffer\");\n }\n\n const bytes = this.buffer.slice(this.offset, this.offset + length);\n this.offset += length;\n return bytes;\n }\n\n /**\n * Returns the number of bytes remaining in the buffer.\n *\n * This information is useful to determine if there's more data to be read.\n *\n * @returns The number of bytes remaining in the buffer.\n * @group Implementation\n * @category BCS\n */\n remaining(): number {\n return this.buffer.byteLength - this.offset;\n }\n\n /**\n * Asserts that the buffer has no remaining bytes.\n *\n * @throws {Error} Throws an error if there are remaining bytes in the buffer.\n * @group Implementation\n * @category BCS\n */\n assertFinished(): void {\n if (this.remaining() !== 0) {\n throw new Error(\"Buffer has remaining bytes\");\n }\n }\n\n /**\n * Deserializes a UTF-8 encoded string from a byte array. It first reads the length of the string in bytes,\n * followed by the actual byte content, and decodes it into a string.\n *\n * BCS layout for \"string\": string_length | string_content\n * where string_length is a u32 integer encoded as a uleb128 integer, equal to the number of bytes in string_content.\n *\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([8, 49, 50, 51, 52, 97, 98, 99, 100]));\n * assert(deserializer.deserializeStr() === \"1234abcd\");\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeStr(): string {\n const value = this.deserializeBytes();\n const textDecoder = new TextDecoder();\n return textDecoder.decode(value);\n }\n\n /**\n * @deprecated use `deserializeOption(\"string\")` instead.\n *\n * The BCS layout for Optional<String> is 0 if none, else 1 followed by the string length and string content.\n * @returns The deserialized string if it exists, otherwise undefined.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([0x00]));\n * assert(deserializer.deserializeOptionStr() === undefined);\n * const deserializer = new Deserializer(new Uint8Array([1, 8, 49, 50, 51, 52, 97, 98, 99, 100]));\n * assert(deserializer.deserializeOptionStr() === \"1234abcd\");\n * ```\n */\n deserializeOptionStr(): string | undefined {\n return this.deserializeOption(\"string\");\n }\n\n /**\n * Deserializes an optional value from the buffer.\n *\n * The BCS layout for Optional<T> starts with a boolean byte (0 if none, 1 if some),\n * followed by the value if present.\n *\n * @template T - The type of the value to deserialize\n * @param type - Either a Deserializable class or one of the string literals: \"string\", \"bytes\", or \"fixedBytes\"\n * @param len - Required length when type is \"fixedBytes\", ignored otherwise\n * @returns The deserialized value if present, undefined otherwise\n *\n * @throws {Error} When \"fixedBytes\" is specified without a length\n *\n * @example\n * ```typescript\n * // Deserialize an optional string\n * const deserializer = new Deserializer(new Uint8Array([1, 3, 97, 98, 99]));\n * const optStr = deserializer.deserializeOption(\"string\");\n * // optStr === \"abc\"\n *\n * // Deserialize an optional custom type\n * const deserializer = new Deserializer(new Uint8Array([0]));\n * const optValue = deserializer.deserializeOption(MyClass);\n * // optValue === undefined\n *\n * // Deserialize optional bytes\n * const deserializer = new Deserializer(new Uint8Array([1, 3, 1, 2, 3]));\n * const optBytes = deserializer.deserializeOption(\"bytes\");\n * // optBytes === Uint8Array[1, 2, 3]\n *\n * // Deserialize optional fixed bytes\n * const deserializer = new Deserializer(new Uint8Array([1, 1, 2, 3, 4]));\n * const optBytes = deserializer.deserializeOption(\"fixedBytes\", 4);\n * // optBytes === Uint8Array[1, 2, 3, 4]\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeOption(type: \"string\"): string | undefined;\n deserializeOption(type: \"bytes\"): Uint8Array | undefined;\n deserializeOption(type: \"fixedBytes\", len: number): Uint8Array | undefined;\n deserializeOption<T>(type: Deserializable<T>): T | undefined;\n deserializeOption<T>(\n type: Deserializable<T> | \"string\" | \"bytes\" | \"fixedBytes\",\n len?: number,\n ): T | string | Uint8Array | undefined {\n const exists = this.deserializeBool();\n if (!exists) return undefined;\n\n if (type === \"string\") {\n return this.deserializeStr();\n }\n if (type === \"bytes\") {\n return this.deserializeBytes();\n }\n if (type === \"fixedBytes\") {\n if (len === undefined) {\n throw new Error(\"Fixed bytes length not provided\");\n }\n return this.deserializeFixedBytes(len);\n }\n\n return this.deserialize(type);\n }\n\n /**\n * Deserializes an array of bytes.\n *\n * The BCS layout for \"bytes\" consists of a bytes_length followed by the bytes themselves, where bytes_length is a u32 integer\n * encoded as a uleb128 integer, indicating the length of the bytes array.\n *\n * @returns {Uint8Array} The deserialized array of bytes.\n * @group Implementation\n * @category BCS\n */\n deserializeBytes(): Uint8Array {\n const len = this.deserializeUleb128AsU32();\n return new Uint8Array(this.read(len));\n }\n\n /**\n * Deserializes an array of bytes of a specified length.\n *\n * @param len - The number of bytes to read from the source.\n * @group Implementation\n * @category BCS\n */\n deserializeFixedBytes(len: number): Uint8Array {\n return new Uint8Array(this.read(len));\n }\n\n /**\n * Deserializes a boolean value from a byte stream.\n *\n * The BCS layout for a boolean uses one byte, where \"0x01\" represents true and \"0x00\" represents false.\n * An error is thrown if the byte value is not valid.\n *\n * @returns The deserialized boolean value.\n * @throws Throws an error if the boolean value is invalid.\n * @group Implementation\n * @category BCS\n */\n deserializeBool(): boolean {\n const bool = new Uint8Array(this.read(1))[0];\n if (bool !== 1 && bool !== 0) {\n throw new Error(\"Invalid boolean value\");\n }\n return bool === 1;\n }\n\n /**\n * Deserializes a uint8 number from the binary data.\n *\n * BCS layout for \"uint8\": One byte. Binary format in little-endian representation.\n *\n * @returns {number} The deserialized uint8 number.\n * @group Implementation\n * @category BCS\n */\n deserializeU8(): Uint8 {\n return new DataView(this.read(1)).getUint8(0);\n }\n\n /**\n * Deserializes a uint16 number from a binary format in little-endian representation.\n *\n * BCS layout for \"uint16\": Two bytes.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([0x34, 0x12]));\n * assert(deserializer.deserializeU16() === 4660);\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeU16(): Uint16 {\n return new DataView(this.read(2)).getUint16(0, true);\n }\n\n /**\n * Deserializes a uint32 number from a binary format in little-endian representation.\n *\n * BCS layout for \"uint32\": Four bytes.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([0x78, 0x56, 0x34, 0x12]));\n * assert(deserializer.deserializeU32() === 305419896);\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeU32(): Uint32 {\n return new DataView(this.read(4)).getUint32(0, true);\n }\n\n /**\n * Deserializes a uint64 number.\n *\n * This function combines two 32-bit values to return a 64-bit unsigned integer in little-endian representation.\n * @example\n * ```typescript\n * const deserializer = new Deserializer(new Uint8Array([0x00, 0xEF, 0xCD, 0xAB, 0x78, 0x56, 0x34, 0x12]));\n * assert(deserializer.deserializeU64() === 1311768467750121216);\n * ```\n * @group Implementation\n * @category BCS\n */\n deserializeU64(): Uint64 {\n const low = this.deserializeU32();\n const high = this.deserializeU32();\n\n // combine the two 32-bit values and return (little endian)\n return BigInt((BigInt(high) << BigInt(32)) | BigInt(low));\n }\n\n /**\n * Deserializes a uint128 number from its binary representation.\n * This function combines two 64-bit values to return a single uint128 value in little-endian format.\n *\n * @returns {BigInt} The deserialized uint128 number.\n * @group Implementation\n * @category BCS\n */\n deserializeU128(): Uint128 {\n const low = this.deserializeU64();\n const high = this.deserializeU64();\n\n // combine the two 64-bit values and return (little endian)\n return BigInt((high << BigInt(64)) | low);\n }\n\n /**\n * Deserializes a uint256 number from its binary representation.\n *\n * The BCS layout for \"uint256\" consists of thirty-two bytes in little-endian format.\n *\n * @returns {BigInt} The deserialized uint256 number.\n * @group Implementation\n * @category BCS\n */\n deserializeU256(): Uint256 {\n const low = this.deserializeU128();\n const high = this.deserializeU128();\n\n // combine the two 128-bit values and return (little endian)\n return BigInt((high << BigInt(128)) | low);\n }\n\n /**\n * Deserializes an 8-bit signed integer from the binary data.\n * BCS layout for \"int8\": One byte. Binary format in little-endian representation.\n *\n * @returns {number} The deserialized int8 number.\n * @group Implementation\n * @category BCS\n */\n deserializeI8(): number {\n return new DataView(this.read(1)).getInt8(0);\n }\n\n /**\n * Deserializes a 16-bit signed integer from a binary format in little-endian representation.\n * BCS layout for \"int16\": Two bytes.\n *\n * @returns {number} The deserialized int16 number.\n * @group Implementation\n * @category BCS\n */\n deserializeI16(): number {\n return new DataView(this.read(2)).getInt16(0, true);\n }\n\n /**\n * Deserializes a 32-bit signed integer from a binary format in little-endian representation.\n * BCS layout for \"int32\": Four bytes.\n *\n * @returns {number} The deserialized int32 number.\n * @group Implementation\n * @category BCS\n */\n deserializeI32(): number {\n return new DataView(this.read(4)).getInt32(0, true);\n }\n\n /**\n * Deserializes a 64-bit signed integer.\n * This function combines two 32-bit values to return a 64-bit signed integer in little-endian representation.\n *\n * @returns {bigint} The deserialized int64 number.\n * @group Implementation\n * @category BCS\n */\n deserializeI64(): bigint {\n const low = this.deserializeU32();\n const high = this.deserializeU32();\n\n // combine the two 32-bit values (little endian)\n const unsigned = BigInt((BigInt(high) << BigInt(32)) | BigInt(low));\n\n // Convert from unsigned to signed using two's complement\n const signBit = BigInt(1) << BigInt(63);\n if (unsigned >= signBit) {\n return unsigned - (BigInt(1) << BigInt(64));\n }\n return unsigned;\n }\n\n /**\n * Deserializes a 128-bit signed integer from its binary representation.\n * This function combines two 64-bit values to return a single int128 value in little-endian format.\n *\n * @returns {bigint} The deserialized int128 number.\n * @group Implementation\n * @category BCS\n */\n deserializeI128(): bigint {\n const low = this.deserializeU64();\n const high = this.deserializeU64();\n\n // combine the two 64-bit values (little endian)\n const unsigned = BigInt((high << BigInt(64)) | low);\n\n // Convert from unsigned to signed using two's complement\n const signBit = BigInt(1) << BigInt(127);\n if (unsigned >= signBit) {\n return unsigned - (BigInt(1) << BigInt(128));\n }\n return unsigned;\n }\n\n /**\n * Deserializes a 256-bit signed integer from its binary representation.\n * BCS layout for \"int256\": Thirty-two bytes in little-endian format.\n *\n * @returns {bigint} The deserialized int256 number.\n * @group Implementation\n * @category BCS\n */\n deserializeI256(): bigint {\n const low = this.deserializeU128();\n const high = this.deserializeU128();\n\n // combine the two 128-bit values (little endian)\n const unsigned = BigInt((high << BigInt(128)) | low);\n\n // Convert from unsigned to signed using two's complement\n const signBit = BigInt(1) << BigInt(255);\n if (unsigned >= signBit) {\n return unsigned - (BigInt(1) << BigInt(256));\n }\n return unsigned;\n }\n\n /**\n * Deserializes a uleb128 encoded uint32 number.\n *\n * This function is used for interpreting lengths of variable-length sequences and tags of enum values in BCS encoding.\n *\n * @throws {Error} Throws an error if the parsed value exceeds the maximum uint32 number.\n * @returns {number} The deserialized uint32 value.\n * @group Implementation\n * @category BCS\n */\n deserializeUleb128AsU32(): Uint32 {\n let value: bigint = BigInt(0);\n let shift = 0;\n\n while (value < MAX_U32_NUMBER) {\n const byte = this.deserializeU8();\n value |= BigInt(byte & 0x7f) << BigInt(shift);\n\n if ((byte & 0x80) === 0) {\n break;\n }\n shift += 7;\n }\n\n if (value > MAX_U32_NUMBER) {\n throw new Error(\"Overflow while parsing uleb128-encoded uint32 value\");\n }\n\n return Number(value);\n }\n\n /**\n * Helper function that primarily exists to support alternative syntax for deserialization.\n * That is, if we have a `const deserializer: new Deserializer(...)`, instead of having to use\n * `MyClass.deserialize(deserializer)`, we can call `deserializer.deserialize(MyClass)`.\n *\n * @example const deserializer = new Deserializer(new Uint8Array([1, 2, 3]));\n * const value = deserializer.deserialize(MyClass); // where MyClass has a `deserialize` function\n * // value is now an instance of MyClass\n * // equivalent to `const value = MyClass.deserialize(deserializer)`\n * @param cls The BCS-deserializable class to deserialize the buffered bytes into.\n *\n * @returns the deserialized value of class type T\n * @group Implementation\n * @category BCS\n */\n deserialize<T>(cls: Deserializable<T>): T {\n // NOTE: `deserialize` in `cls.deserialize(this)` here is a static method defined in `cls`,\n // It is separate from the `deserialize` instance method defined here in Deserializer.\n return cls.deserialize(this);\n }\n\n /**\n * Deserializes an array of BCS Deserializable values given an existing Deserializer instance with a loaded byte buffer.\n *\n * @param cls The BCS-deserializable class to deserialize the buffered bytes into.\n * @returns An array of deserialized values of type T.\n * @example\n * // serialize a vector of addresses\n * const addresses = new Array<AccountAddress>(\n * AccountAddress.from(\"0x1\"),\n * AccountAddress.from(\"0x2\"),\n * AccountAddress.from(\"0xa\"),\n * AccountAddress.from(\"0xb\"),\n * );\n * const serializer = new Serializer();\n * serializer.serializeVector(addresses);\n * const serializedBytes = serializer.toUint8Array();\n *\n * // deserialize the bytes into an array of addresses\n * const deserializer = new Deserializer(serializedBytes);\n * const deserializedAddresses = deserializer.deserializeVector(AccountAddress);\n * // deserializedAddresses is now an array of AccountAddress instances\n * @group Implementation\n * @category BCS\n */\n deserializeVector<T>(cls: Deserializable<T>): Array<T> {\n const length = this.deserializeUleb128AsU32();\n const vector = new Array<T>();\n for (let i = 0; i < length; i += 1) {\n vector.push(this.deserialize(cls));\n }\n return vector;\n }\n}\n"],"mappings":"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","names":["Deserializer","_Deserializer","data","hex","Hex","length","bytes","value","type","len","bool","low","high","unsigned","signBit","shift","MAX_U32_NUMBER","byte","cls","vector","i"]}
@@ -1,7 +1,7 @@
1
1
  export { LocalNode } from './localNode.mjs';
2
2
  export { Move } from './move.mjs';
3
3
  import 'child_process';
4
- import '../account-CAv0-Zs9.mjs';
4
+ import '../account-DOs8SpoQ.mjs';
5
5
  import '../types/indexer.mjs';
6
6
  import '../types/generated/operations.mjs';
7
7
  import '../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{a as o}from"../chunk-GQ3UIDPQ.mjs";import{a as r}from"../chunk-35DKMW7Q.mjs";import"../chunk-LA56UDUK.mjs";import"../chunk-ZYE7UTJZ.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{o as LocalNode,r as Move};
1
+ import{a as o}from"../chunk-VS5NYRHW.mjs";import{a as r}from"../chunk-35DKMW7Q.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-3JDGB4IL.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-KDMSOCZY.mjs";export{o as LocalNode,r as Move};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-GQ3UIDPQ.mjs";import"../chunk-LA56UDUK.mjs";import"../chunk-ZYE7UTJZ.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as LocalNode};
1
+ import{a}from"../chunk-VS5NYRHW.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-3JDGB4IL.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-KDMSOCZY.mjs";export{a as LocalNode};
2
2
  //# sourceMappingURL=localNode.mjs.map
@@ -1,4 +1,4 @@
1
- import { n as AccountAddress } from '../account-CAv0-Zs9.mjs';
1
+ import { t as AccountAddress } from '../account-DOs8SpoQ.mjs';
2
2
  import { Network } from '../utils/apiEndpoints.mjs';
3
3
  import '../types/indexer.mjs';
4
4
  import '../types/generated/operations.mjs';
@@ -1,4 +1,4 @@
1
- import { c7 as ClientRequest, c9 as Client, c8 as ClientResponse, ca as AptosRequest, A as AptosConfig, cb as AptosResponse } from '../account-CAv0-Zs9.mjs';
1
+ import { cj as ClientRequest, cl as Client, ck as ClientResponse, cm as AptosRequest, A as AptosConfig, cn as AptosResponse } from '../account-DOs8SpoQ.mjs';
2
2
  import { AptosApiType } from '../utils/const.mjs';
3
3
  import '../types/indexer.mjs';
4
4
  import '../types/generated/operations.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b}from"../chunk-C2ZO2L5W.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-CW35YAMN.mjs";import"../chunk-YZHAI55C.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-LA56UDUK.mjs";import"../chunk-ZYE7UTJZ.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-EW45LLAP.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,a as request};
1
+ import{a,b}from"../chunk-IXRGCQQU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-BIQOJ3OK.mjs";import"../chunk-5ABS6RDR.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-3JDGB4IL.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-WGRSKMNQ.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,a as request};
2
2
  //# sourceMappingURL=core.mjs.map
@@ -1,4 +1,4 @@
1
- import { A as AptosConfig, bu as MimeType, bT as AnyNumber, b_ as ClientConfig, cb as AptosResponse } from '../account-CAv0-Zs9.mjs';
1
+ import { A as AptosConfig, bA as MimeType, c3 as AnyNumber, ca as ClientConfig, cn as AptosResponse } from '../account-DOs8SpoQ.mjs';
2
2
  import { AptosApiType } from '../utils/const.mjs';
3
3
  import '../types/indexer.mjs';
4
4
  import '../types/generated/operations.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e,f}from"../chunk-ZABLJ2JJ.mjs";import"../chunk-C2ZO2L5W.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-CW35YAMN.mjs";import"../chunk-YZHAI55C.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-LA56UDUK.mjs";import"../chunk-ZYE7UTJZ.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-EW45LLAP.mjs";import"../chunk-KDMSOCZY.mjs";export{a as get,b as getAptosFullNode,c as getAptosPepperService,f as getPageWithObfuscatedCursor,d as paginateWithCursor,e as paginateWithObfuscatedCursor};
1
+ import{a,b,c,d,e,f}from"../chunk-SGZPRMLE.mjs";import"../chunk-IXRGCQQU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-BIQOJ3OK.mjs";import"../chunk-5ABS6RDR.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-3JDGB4IL.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-WGRSKMNQ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as get,b as getAptosFullNode,c as getAptosPepperService,f as getPageWithObfuscatedCursor,d as paginateWithCursor,e as paginateWithObfuscatedCursor};
2
2
  //# sourceMappingURL=get.mjs.map
@@ -1,7 +1,7 @@
1
1
  export { aptosRequest, request } from './core.mjs';
2
2
  export { GetAptosRequestOptions, GetRequestOptions, get, getAptosFullNode, getAptosPepperService, getPageWithObfuscatedCursor, paginateWithCursor, paginateWithObfuscatedCursor } from './get.mjs';
3
3
  export { PostAptosRequestOptions, PostRequestOptions, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService } from './post.mjs';
4
- import '../account-CAv0-Zs9.mjs';
4
+ import '../account-DOs8SpoQ.mjs';
5
5
  import '../types/indexer.mjs';
6
6
  import '../types/generated/operations.mjs';
7
7
  import '../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import"../chunk-7ECCT6PK.mjs";import{a as c,b as d,c as e,d as f,e as g,f as h}from"../chunk-ZABLJ2JJ.mjs";import{a as i,b as j,c as k,d as l,e as m,f as n}from"../chunk-BCTM24ZZ.mjs";import{a,b}from"../chunk-C2ZO2L5W.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-CW35YAMN.mjs";import"../chunk-YZHAI55C.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-LA56UDUK.mjs";import"../chunk-ZYE7UTJZ.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-EW45LLAP.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,c as get,d as getAptosFullNode,e as getAptosPepperService,h as getPageWithObfuscatedCursor,f as paginateWithCursor,g as paginateWithObfuscatedCursor,i as post,l as postAptosFaucet,j as postAptosFullNode,k as postAptosIndexer,m as postAptosPepperService,n as postAptosProvingService,a as request};
1
+ import"../chunk-7ECCT6PK.mjs";import{a as i,b as j,c as k,d as l,e as m,f as n}from"../chunk-JYDVO4K3.mjs";import{a as c,b as d,c as e,d as f,e as g,f as h}from"../chunk-SGZPRMLE.mjs";import{a,b}from"../chunk-IXRGCQQU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-BIQOJ3OK.mjs";import"../chunk-5ABS6RDR.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-3JDGB4IL.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-WGRSKMNQ.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,c as get,d as getAptosFullNode,e as getAptosPepperService,h as getPageWithObfuscatedCursor,f as paginateWithCursor,g as paginateWithObfuscatedCursor,i as post,l as postAptosFaucet,j as postAptosFullNode,k as postAptosIndexer,m as postAptosPepperService,n as postAptosProvingService,a as request};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- import { A as AptosConfig, bu as MimeType, bT as AnyNumber, b_ as ClientConfig, cb as AptosResponse } from '../account-CAv0-Zs9.mjs';
1
+ import { A as AptosConfig, bA as MimeType, c3 as AnyNumber, ca as ClientConfig, cn as AptosResponse } from '../account-DOs8SpoQ.mjs';
2
2
  import { AptosApiType } from '../utils/const.mjs';
3
3
  import '../types/indexer.mjs';
4
4
  import '../types/generated/operations.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e,f}from"../chunk-BCTM24ZZ.mjs";import"../chunk-C2ZO2L5W.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-CW35YAMN.mjs";import"../chunk-YZHAI55C.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-LA56UDUK.mjs";import"../chunk-ZYE7UTJZ.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-EW45LLAP.mjs";import"../chunk-KDMSOCZY.mjs";export{a as post,d as postAptosFaucet,b as postAptosFullNode,c as postAptosIndexer,e as postAptosPepperService,f as postAptosProvingService};
1
+ import{a,b,c,d,e,f}from"../chunk-JYDVO4K3.mjs";import"../chunk-IXRGCQQU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-BIQOJ3OK.mjs";import"../chunk-5ABS6RDR.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-3JDGB4IL.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-WGRSKMNQ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as post,d as postAptosFaucet,b as postAptosFullNode,c as postAptosIndexer,e as postAptosPepperService,f as postAptosProvingService};
2
2
  //# sourceMappingURL=post.mjs.map
@@ -1,5 +1,5 @@
1
1
  export { createObjectAddress, createResourceAddress, createTokenAddress, createUserDerivedObjectAddress } from './utils/address.mjs';
2
- import '../../account-CAv0-Zs9.mjs';
2
+ import '../../account-DOs8SpoQ.mjs';
3
3
  import '../../types/indexer.mjs';
4
4
  import '../../types/generated/operations.mjs';
5
5
  import '../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c,d}from"../../chunk-ZYE7UTJZ.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-DURSBMWP.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,d as createTokenAddress,c as createUserDerivedObjectAddress};
1
+ import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c,d}from"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-3JDGB4IL.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,d as createTokenAddress,c as createUserDerivedObjectAddress};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- import { n as AccountAddress } from '../../../account-CAv0-Zs9.mjs';
1
+ import { t as AccountAddress } from '../../../account-DOs8SpoQ.mjs';
2
2
  import '../../../types/indexer.mjs';
3
3
  import '../../../types/generated/operations.mjs';
4
4
  import '../../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b,c,d}from"../../../chunk-ZYE7UTJZ.mjs";import"../../../chunk-RGKRCZ36.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-DURSBMWP.mjs";import"../../../chunk-EBMEXURY.mjs";import"../../../chunk-STY74NUA.mjs";import"../../../chunk-IF4UU2MT.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,d as createTokenAddress,c as createUserDerivedObjectAddress};
1
+ import{a,b,c,d}from"../../../chunk-C5UZZHA4.mjs";import"../../../chunk-MEG27LEV.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-3JDGB4IL.mjs";import"../../../chunk-I42Z32Q2.mjs";import"../../../chunk-STY74NUA.mjs";import"../../../chunk-IF4UU2MT.mjs";import"../../../chunk-X2TPNKLV.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,d as createTokenAddress,c as createUserDerivedObjectAddress};
2
2
  //# sourceMappingURL=address.mjs.map
@@ -1,5 +1,5 @@
1
1
  export { createObjectAddress, createResourceAddress, createTokenAddress, createUserDerivedObjectAddress } from './address.mjs';
2
- import '../../../account-CAv0-Zs9.mjs';
2
+ import '../../../account-DOs8SpoQ.mjs';
3
3
  import '../../../types/indexer.mjs';
4
4
  import '../../../types/generated/operations.mjs';
5
5
  import '../../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import"../../../chunk-4QMXOWHP.mjs";import{a,b,c,d}from"../../../chunk-ZYE7UTJZ.mjs";import"../../../chunk-RGKRCZ36.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-DURSBMWP.mjs";import"../../../chunk-EBMEXURY.mjs";import"../../../chunk-STY74NUA.mjs";import"../../../chunk-IF4UU2MT.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,d as createTokenAddress,c as createUserDerivedObjectAddress};
1
+ import"../../../chunk-4QMXOWHP.mjs";import{a,b,c,d}from"../../../chunk-C5UZZHA4.mjs";import"../../../chunk-MEG27LEV.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-3JDGB4IL.mjs";import"../../../chunk-I42Z32Q2.mjs";import"../../../chunk-STY74NUA.mjs";import"../../../chunk-IF4UU2MT.mjs";import"../../../chunk-X2TPNKLV.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,d as createTokenAddress,c as createUserDerivedObjectAddress};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- export { n as AccountAddress, m as AccountAddressInput, l as AddressInvalidReason } from '../account-CAv0-Zs9.mjs';
1
+ export { t as AccountAddress, s as AccountAddressInput, r as AddressInvalidReason } from '../account-DOs8SpoQ.mjs';
2
2
  import './common.mjs';
3
3
  import '../types/indexer.mjs';
4
4
  import '../types/generated/operations.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b}from"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{b as AccountAddress,a as AddressInvalidReason};
1
+ import{a,b}from"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-3JDGB4IL.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-KDMSOCZY.mjs";export{b as AccountAddress,a as AddressInvalidReason};
2
2
  //# sourceMappingURL=accountAddress.mjs.map
@@ -1,4 +1,4 @@
1
- export { p as AuthenticationKey } from '../account-CAv0-Zs9.mjs';
1
+ export { u as AuthenticationKey } from '../account-DOs8SpoQ.mjs';
2
2
  import '../types/indexer.mjs';
3
3
  import '../types/generated/operations.mjs';
4
4
  import '../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-FGFLPH5K.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-DURSBMWP.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AuthenticationKey};
1
+ import{a}from"../chunk-RYOICF37.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-3JDGB4IL.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AuthenticationKey};
2
2
  //# sourceMappingURL=authenticationKey.mjs.map
@@ -1,4 +1,4 @@
1
- import { G as AccountPublicKey, n as AccountAddress, p as AuthenticationKey, V as VerifySignatureArgs, z as VerifySignatureAsyncArgs, b as Serializer, K as Signature, bv as HexInput, a as Deserializer } from '../../account-CAv0-Zs9.mjs';
1
+ import { N as AccountPublicKey, t as AccountAddress, u as AuthenticationKey, V as VerifySignatureArgs, K as VerifySignatureAsyncArgs, b as Serializer, T as Signature, bB as HexInput, a as Deserializer } from '../../account-DOs8SpoQ.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../chunk-EF4FA5I6.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-DURSBMWP.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as AbstractPublicKey,a as AbstractSignature};
1
+ import{a,b}from"../../chunk-GRF3NBRO.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-3JDGB4IL.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as AbstractPublicKey,a as AbstractSignature};
2
2
  //# sourceMappingURL=abstraction.mjs.map
@@ -1,4 +1,4 @@
1
- import { bv as HexInput, C as PublicKey, K as Signature } from '../../account-CAv0-Zs9.mjs';
1
+ import { bB as HexInput, L as PublicKey, T as Signature } from '../../account-DOs8SpoQ.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{T as a,U as b}from"../../chunk-M3FCWYLI.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-YSP6JG5G.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import"../../chunk-I7XT6L7S.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-EF4FA5I6.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-54WUP65H.mjs";import"../../chunk-EFQZGHAO.mjs";import"../../chunk-DRBFLEZL.mjs";import"../../chunk-HX6SDBEX.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-AGAAGA2X.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-ZABLJ2JJ.mjs";import"../../chunk-BCTM24ZZ.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-C2ZO2L5W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-YZHAI55C.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-LA56UDUK.mjs";import"../../chunk-ZYE7UTJZ.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-DURSBMWP.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-EW45LLAP.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as deserializePublicKey,b as deserializeSignature};
1
+ import{T as a,U as b}from"../../chunk-IQPLJ32K.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-AVOTC5EI.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-VO3JD6U6.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-GRF3NBRO.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7WIDI4FZ.mjs";import"../../chunk-VV6OTOMS.mjs";import"../../chunk-X5BUBEJH.mjs";import"../../chunk-WOEH45Q2.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GTRHYHQK.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-JYDVO4K3.mjs";import"../../chunk-SGZPRMLE.mjs";import"../../chunk-IXRGCQQU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-3JDGB4IL.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-WGRSKMNQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as deserializePublicKey,b as deserializeSignature};
2
2
  //# sourceMappingURL=deserializationUtils.mjs.map
@@ -1,4 +1,4 @@
1
- export { r as Ed25519PrivateKey, E as Ed25519PublicKey, s as Ed25519Signature, q as isCanonicalEd25519Signature } from '../../account-CAv0-Zs9.mjs';
1
+ export { x as Ed25519PrivateKey, E as Ed25519PublicKey, y as Ed25519Signature, w as isCanonicalEd25519Signature } from '../../account-DOs8SpoQ.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{P as a,Q as b,R as c,S as d}from"../../chunk-M3FCWYLI.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-YSP6JG5G.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import"../../chunk-I7XT6L7S.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-EF4FA5I6.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-54WUP65H.mjs";import"../../chunk-EFQZGHAO.mjs";import"../../chunk-DRBFLEZL.mjs";import"../../chunk-HX6SDBEX.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-AGAAGA2X.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-ZABLJ2JJ.mjs";import"../../chunk-BCTM24ZZ.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-C2ZO2L5W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-YZHAI55C.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-LA56UDUK.mjs";import"../../chunk-ZYE7UTJZ.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-DURSBMWP.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-EW45LLAP.mjs";import"../../chunk-KDMSOCZY.mjs";export{c as Ed25519PrivateKey,b as Ed25519PublicKey,d as Ed25519Signature,a as isCanonicalEd25519Signature};
1
+ import{P as a,Q as b,R as c,S as d}from"../../chunk-IQPLJ32K.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-AVOTC5EI.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-VO3JD6U6.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-GRF3NBRO.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7WIDI4FZ.mjs";import"../../chunk-VV6OTOMS.mjs";import"../../chunk-X5BUBEJH.mjs";import"../../chunk-WOEH45Q2.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GTRHYHQK.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-JYDVO4K3.mjs";import"../../chunk-SGZPRMLE.mjs";import"../../chunk-IXRGCQQU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-3JDGB4IL.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-WGRSKMNQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{c as Ed25519PrivateKey,b as Ed25519PublicKey,d as Ed25519Signature,a as isCanonicalEd25519Signature};
2
2
  //# sourceMappingURL=ed25519.mjs.map
@@ -1,4 +1,4 @@
1
- import { C as PublicKey, bJ as EphemeralPublicKeyVariant, bv as HexInput, K as Signature, b as Serializer, a as Deserializer, A as AptosConfig } from '../../account-CAv0-Zs9.mjs';
1
+ import { L as PublicKey, bP as EphemeralPublicKeyVariant, bB as HexInput, T as Signature, b as Serializer, a as Deserializer, A as AptosConfig } from '../../account-DOs8SpoQ.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../chunk-M3FCWYLI.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-YSP6JG5G.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import"../../chunk-I7XT6L7S.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-EF4FA5I6.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-54WUP65H.mjs";import"../../chunk-EFQZGHAO.mjs";import"../../chunk-DRBFLEZL.mjs";import"../../chunk-HX6SDBEX.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-AGAAGA2X.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-ZABLJ2JJ.mjs";import"../../chunk-BCTM24ZZ.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-C2ZO2L5W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-YZHAI55C.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-LA56UDUK.mjs";import"../../chunk-ZYE7UTJZ.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-DURSBMWP.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-EW45LLAP.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EphemeralPublicKey,b as EphemeralSignature};
1
+ import{a,b}from"../../chunk-IQPLJ32K.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-AVOTC5EI.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-VO3JD6U6.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-GRF3NBRO.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7WIDI4FZ.mjs";import"../../chunk-VV6OTOMS.mjs";import"../../chunk-X5BUBEJH.mjs";import"../../chunk-WOEH45Q2.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GTRHYHQK.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-JYDVO4K3.mjs";import"../../chunk-SGZPRMLE.mjs";import"../../chunk-IXRGCQQU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-3JDGB4IL.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-WGRSKMNQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EphemeralPublicKey,b as EphemeralSignature};
2
2
  //# sourceMappingURL=ephemeral.mjs.map
@@ -1,5 +1,5 @@
1
- import '../../account-CAv0-Zs9.mjs';
2
- export { F as FederatedKeylessPublicKey } from '../../federatedKeyless-C8KXaSM1.mjs';
1
+ import '../../account-DOs8SpoQ.mjs';
2
+ export { F as FederatedKeylessPublicKey } from '../../federatedKeyless-CxdU4W95.mjs';
3
3
  import '../../types/indexer.mjs';
4
4
  import '../../types/generated/operations.mjs';
5
5
  import '../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{B as a}from"../../chunk-M3FCWYLI.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-YSP6JG5G.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import"../../chunk-I7XT6L7S.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-EF4FA5I6.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-54WUP65H.mjs";import"../../chunk-EFQZGHAO.mjs";import"../../chunk-DRBFLEZL.mjs";import"../../chunk-HX6SDBEX.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-AGAAGA2X.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-ZABLJ2JJ.mjs";import"../../chunk-BCTM24ZZ.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-C2ZO2L5W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-YZHAI55C.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-LA56UDUK.mjs";import"../../chunk-ZYE7UTJZ.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-DURSBMWP.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-EW45LLAP.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as FederatedKeylessPublicKey};
1
+ import{B as a}from"../../chunk-IQPLJ32K.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-AVOTC5EI.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-VO3JD6U6.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-GRF3NBRO.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7WIDI4FZ.mjs";import"../../chunk-VV6OTOMS.mjs";import"../../chunk-X5BUBEJH.mjs";import"../../chunk-WOEH45Q2.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GTRHYHQK.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-JYDVO4K3.mjs";import"../../chunk-SGZPRMLE.mjs";import"../../chunk-IXRGCQQU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-3JDGB4IL.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-WGRSKMNQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as FederatedKeylessPublicKey};
2
2
  //# sourceMappingURL=federatedKeyless.mjs.map
@@ -1,7 +1,7 @@
1
1
  export { AbstractPublicKey, AbstractSignature } from './abstraction.mjs';
2
- export { w as AbstractMultiKey, G as AccountPublicKey, N as AnyPublicKey, O as AnySignature, r as Ed25519PrivateKey, E as Ed25519PublicKey, s as Ed25519Signature, t as MultiEd25519PublicKey, u as MultiEd25519Signature, x as MultiKey, y as MultiKeySignature, P as PrivateKey, L as PrivateKeyInput, C as PublicKey, I as Secp256k1PrivateKey, H as Secp256k1PublicKey, J as Secp256k1Signature, K as Signature, V as VerifySignatureArgs, z as VerifySignatureAsyncArgs, q as isCanonicalEd25519Signature } from '../../account-CAv0-Zs9.mjs';
2
+ export { G as AbstractMultiKey, N as AccountPublicKey, X as AnyPublicKey, Y as AnySignature, x as Ed25519PrivateKey, E as Ed25519PublicKey, y as Ed25519Signature, z as MultiEd25519PublicKey, C as MultiEd25519Signature, H as MultiKey, J as MultiKeySignature, P as PrivateKey, W as PrivateKeyInput, L as PublicKey, Q as Secp256k1PrivateKey, O as Secp256k1PublicKey, R as Secp256k1Signature, T as Signature, V as VerifySignatureArgs, K as VerifySignatureAsyncArgs, w as isCanonicalEd25519Signature } from '../../account-DOs8SpoQ.mjs';
3
3
  export { EphemeralPublicKey, EphemeralSignature } from './ephemeral.mjs';
4
- export { E as EPK_HORIZON_SECS, j as EphemeralCertificate, F as FederatedKeylessPublicKey, k as Groth16ProofAndStatement, n as Groth16VerificationKey, G as Groth16Zkp, m as KeylessConfiguration, K as KeylessPublicKey, i as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, d as MAX_EXTRA_FIELD_BYTES, c as MAX_ISS_VAL_BYTES, e as MAX_JWT_HEADER_B64_BYTES, a as MAX_UID_KEY_BYTES, b as MAX_UID_VAL_BYTES, r as MoveJWK, l as ZeroKnowledgeSig, Z as ZkProof, h as fetchJWK, p as getIssAudAndUidVal, o as getKeylessConfig, q as getKeylessJWKs, s as parseJwtHeader, v as verifyKeylessSignature, g as verifyKeylessSignatureWithJwkAndConfig } from '../../federatedKeyless-C8KXaSM1.mjs';
4
+ export { E as EPK_HORIZON_SECS, j as EphemeralCertificate, F as FederatedKeylessPublicKey, k as Groth16ProofAndStatement, n as Groth16VerificationKey, G as Groth16Zkp, m as KeylessConfiguration, K as KeylessPublicKey, i as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, d as MAX_EXTRA_FIELD_BYTES, c as MAX_ISS_VAL_BYTES, e as MAX_JWT_HEADER_B64_BYTES, a as MAX_UID_KEY_BYTES, b as MAX_UID_VAL_BYTES, r as MoveJWK, l as ZeroKnowledgeSig, Z as ZkProof, h as fetchJWK, p as getIssAudAndUidVal, o as getKeylessConfig, q as getKeylessJWKs, s as parseJwtHeader, v as verifyKeylessSignature, g as verifyKeylessSignatureWithJwkAndConfig } from '../../federatedKeyless-CxdU4W95.mjs';
5
5
  export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, CKDPriv, DerivedKeys, HARDENED_OFFSET, KeyType, deriveKey, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, splitPath } from './hdKey.mjs';
6
6
  export { bigIntToBytesLE, bytesToBigIntLE, hashStrToField, padAndPackBytesWithLen, poseidonHash } from './poseidon.mjs';
7
7
  export { Secp256r1PrivateKey, Secp256r1PublicKey, Secp256r1Signature, WebAuthnSignature } from './secp256r1.mjs';
@@ -1,2 +1,2 @@
1
- import{A as V,B as W,C as X,D as Y,E as Z,F as ca,G as da,H as ea,I as fa,J as ga,K as ha,L as ia,P as ja,Q as ka,R as la,S as ma,T as na,U as oa,a as q,b as r,c as x,d as y,e as z,f as A,g as B,h as C,i as D,j as E,k as F,l as G,m as H,n as I,o as J,p as K,q as L,r as M,s as N,t as O,u as P,v as Q,w as R,x as S,y as T,z as U}from"../../chunk-M3FCWYLI.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-YSP6JG5G.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import{a as _,b as $,c as aa,d as ba}from"../../chunk-I7XT6L7S.mjs";import"../../chunk-5HXLZHDW.mjs";import{a as s,b as t,c as u,d as v,e as w}from"../../chunk-GOXRBEIJ.mjs";import{a as p}from"../../chunk-2PASUPUO.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a as d,b as e}from"../../chunk-EF4FA5I6.mjs";import{a as c}from"../../chunk-WCMW2L3P.mjs";import{a,b}from"../../chunk-WSR5EBJM.mjs";import{a as f,b as g,c as h,d as i,e as j,f as k,g as l,h as m,i as n,j as o}from"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-54WUP65H.mjs";import"../../chunk-EFQZGHAO.mjs";import"../../chunk-DRBFLEZL.mjs";import"../../chunk-HX6SDBEX.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-AGAAGA2X.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-ZABLJ2JJ.mjs";import"../../chunk-BCTM24ZZ.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-C2ZO2L5W.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-YZHAI55C.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-LA56UDUK.mjs";import"../../chunk-ZYE7UTJZ.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-DURSBMWP.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-EW45LLAP.mjs";import"../../chunk-KDMSOCZY.mjs";export{g as APTOS_BIP44_REGEX,f as APTOS_HARDENED_REGEX,ea as AbstractMultiKey,e as AbstractPublicKey,d as AbstractSignature,b as AccountPublicKey,ca as AnyPublicKey,da as AnySignature,m as CKDPriv,x as EPK_HORIZON_SECS,la as Ed25519PrivateKey,ka as Ed25519PublicKey,ma as Ed25519Signature,K as EphemeralCertificate,q as EphemeralPublicKey,r as EphemeralSignature,W as FederatedKeylessPublicKey,M as Groth16ProofAndStatement,Q as Groth16VerificationKey,L as Groth16Zkp,i as HARDENED_OFFSET,h as KeyType,P as KeylessConfiguration,F as KeylessPublicKey,J as KeylessSignature,y as MAX_AUD_VAL_BYTES,E as MAX_COMMITED_EPK_BYTES,C as MAX_EXTRA_FIELD_BYTES,B as MAX_ISS_VAL_BYTES,D as MAX_JWT_HEADER_B64_BYTES,z as MAX_UID_KEY_BYTES,A as MAX_UID_VAL_BYTES,U as MoveJWK,ha as MultiEd25519PublicKey,ia as MultiEd25519Signature,fa as MultiKey,ga as MultiKeySignature,p as PrivateKey,a as PublicKey,Y as Secp256k1PrivateKey,X as Secp256k1PublicKey,Z as Secp256k1Signature,$ as Secp256r1PrivateKey,_ as Secp256r1PublicKey,ba as Secp256r1Signature,c as Signature,aa as WebAuthnSignature,O as ZeroKnowledgeSig,N as ZkProof,v as bigIntToBytesLE,u as bytesToBigIntLE,l as deriveKey,na as deserializePublicKey,oa as deserializeSignature,I as fetchJWK,S as getIssAudAndUidVal,R as getKeylessConfig,T as getKeylessJWKs,s as hashStrToField,ja as isCanonicalEd25519Signature,j as isValidBIP44Path,k as isValidHardenedPath,o as mnemonicToSeed,t as padAndPackBytesWithLen,V as parseJwtHeader,w as poseidonHash,n as splitPath,G as verifyKeylessSignature,H as verifyKeylessSignatureWithJwkAndConfig};
1
+ import{A as V,B as W,C as X,D as Y,E as Z,F as ca,G as da,H as ea,I as fa,J as ga,K as ha,L as ia,P as ja,Q as ka,R as la,S as ma,T as na,U as oa,a as q,b as r,c as x,d as y,e as z,f as A,g as B,h as C,i as D,j as E,k as F,l as G,m as H,n as I,o as J,p as K,q as L,r as M,s as N,t as O,u as P,v as Q,w as R,x as S,y as T,z as U}from"../../chunk-IQPLJ32K.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-AVOTC5EI.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a as s,b as t,c as u,d as v,e as w}from"../../chunk-GOXRBEIJ.mjs";import"../../chunk-KUF4DKN5.mjs";import{a as _,b as $,c as aa,d as ba}from"../../chunk-VO3JD6U6.mjs";import{a as p}from"../../chunk-2PASUPUO.mjs";import{a as d,b as e}from"../../chunk-GRF3NBRO.mjs";import{a as c}from"../../chunk-QDJDZ3ON.mjs";import{a,b}from"../../chunk-5FNZUL2Y.mjs";import{a as f,b as g,c as h,d as i,e as j,f as k,g as l,h as m,i as n,j as o}from"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7WIDI4FZ.mjs";import"../../chunk-VV6OTOMS.mjs";import"../../chunk-X5BUBEJH.mjs";import"../../chunk-WOEH45Q2.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GTRHYHQK.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-JYDVO4K3.mjs";import"../../chunk-SGZPRMLE.mjs";import"../../chunk-IXRGCQQU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-3JDGB4IL.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-WGRSKMNQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{g as APTOS_BIP44_REGEX,f as APTOS_HARDENED_REGEX,ea as AbstractMultiKey,e as AbstractPublicKey,d as AbstractSignature,b as AccountPublicKey,ca as AnyPublicKey,da as AnySignature,m as CKDPriv,x as EPK_HORIZON_SECS,la as Ed25519PrivateKey,ka as Ed25519PublicKey,ma as Ed25519Signature,K as EphemeralCertificate,q as EphemeralPublicKey,r as EphemeralSignature,W as FederatedKeylessPublicKey,M as Groth16ProofAndStatement,Q as Groth16VerificationKey,L as Groth16Zkp,i as HARDENED_OFFSET,h as KeyType,P as KeylessConfiguration,F as KeylessPublicKey,J as KeylessSignature,y as MAX_AUD_VAL_BYTES,E as MAX_COMMITED_EPK_BYTES,C as MAX_EXTRA_FIELD_BYTES,B as MAX_ISS_VAL_BYTES,D as MAX_JWT_HEADER_B64_BYTES,z as MAX_UID_KEY_BYTES,A as MAX_UID_VAL_BYTES,U as MoveJWK,ha as MultiEd25519PublicKey,ia as MultiEd25519Signature,fa as MultiKey,ga as MultiKeySignature,p as PrivateKey,a as PublicKey,Y as Secp256k1PrivateKey,X as Secp256k1PublicKey,Z as Secp256k1Signature,$ as Secp256r1PrivateKey,_ as Secp256r1PublicKey,ba as Secp256r1Signature,c as Signature,aa as WebAuthnSignature,O as ZeroKnowledgeSig,N as ZkProof,v as bigIntToBytesLE,u as bytesToBigIntLE,l as deriveKey,na as deserializePublicKey,oa as deserializeSignature,I as fetchJWK,S as getIssAudAndUidVal,R as getKeylessConfig,T as getKeylessJWKs,s as hashStrToField,ja as isCanonicalEd25519Signature,j as isValidBIP44Path,k as isValidHardenedPath,o as mnemonicToSeed,t as padAndPackBytesWithLen,V as parseJwtHeader,w as poseidonHash,n as splitPath,G as verifyKeylessSignature,H as verifyKeylessSignatureWithJwkAndConfig};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,8 +1,8 @@
1
- import '../../account-CAv0-Zs9.mjs';
1
+ import '../../account-DOs8SpoQ.mjs';
2
2
  import './ephemeral.mjs';
3
3
  import './proof.mjs';
4
4
  import '../../types/keyless.mjs';
5
- export { E as EPK_HORIZON_SECS, j as EphemeralCertificate, k as Groth16ProofAndStatement, n as Groth16VerificationKey, G as Groth16Zkp, m as KeylessConfiguration, K as KeylessPublicKey, i as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, d as MAX_EXTRA_FIELD_BYTES, c as MAX_ISS_VAL_BYTES, e as MAX_JWT_HEADER_B64_BYTES, a as MAX_UID_KEY_BYTES, b as MAX_UID_VAL_BYTES, r as MoveJWK, l as ZeroKnowledgeSig, Z as ZkProof, h as fetchJWK, p as getIssAudAndUidVal, o as getKeylessConfig, q as getKeylessJWKs, s as parseJwtHeader, v as verifyKeylessSignature, g as verifyKeylessSignatureWithJwkAndConfig } from '../../federatedKeyless-C8KXaSM1.mjs';
5
+ export { E as EPK_HORIZON_SECS, j as EphemeralCertificate, k as Groth16ProofAndStatement, n as Groth16VerificationKey, G as Groth16Zkp, m as KeylessConfiguration, K as KeylessPublicKey, i as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, d as MAX_EXTRA_FIELD_BYTES, c as MAX_ISS_VAL_BYTES, e as MAX_JWT_HEADER_B64_BYTES, a as MAX_UID_KEY_BYTES, b as MAX_UID_VAL_BYTES, r as MoveJWK, l as ZeroKnowledgeSig, Z as ZkProof, h as fetchJWK, p as getIssAudAndUidVal, o as getKeylessConfig, q as getKeylessJWKs, s as parseJwtHeader, v as verifyKeylessSignature, g as verifyKeylessSignatureWithJwkAndConfig } from '../../federatedKeyless-CxdU4W95.mjs';
6
6
  import '@noble/curves/abstract/weierstrass';
7
7
  import '@noble/curves/abstract/tower';
8
8
  import '../../types/indexer.mjs';