@aptos-labs/ts-sdk 0.0.7 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) hide show
  1. package/README.md +26 -10
  2. package/dist/browser/index.d.ts +818 -446
  3. package/dist/browser/index.global.js +30 -30
  4. package/dist/browser/index.global.js.map +1 -1
  5. package/dist/common/index.d.ts +818 -446
  6. package/dist/common/index.js +29 -29
  7. package/dist/common/index.js.map +1 -1
  8. package/dist/esm/api/account.d.mts +72 -47
  9. package/dist/esm/api/account.mjs +1 -1
  10. package/dist/esm/api/ans.d.mts +19 -17
  11. package/dist/esm/api/ans.mjs +1 -1
  12. package/dist/esm/api/aptos.d.mts +1 -0
  13. package/dist/esm/api/aptos.mjs +1 -1
  14. package/dist/esm/api/aptosConfig.d.mts +2 -2
  15. package/dist/esm/api/aptosConfig.mjs +1 -1
  16. package/dist/esm/api/coin.d.mts +4 -3
  17. package/dist/esm/api/coin.mjs +1 -1
  18. package/dist/esm/api/digitalAsset.d.mts +42 -19
  19. package/dist/esm/api/digitalAsset.mjs +1 -1
  20. package/dist/esm/api/event.d.mts +12 -14
  21. package/dist/esm/api/event.mjs +1 -1
  22. package/dist/esm/api/faucet.d.mts +4 -4
  23. package/dist/esm/api/faucet.mjs +1 -1
  24. package/dist/esm/api/fungibleAsset.d.mts +71 -30
  25. package/dist/esm/api/fungibleAsset.mjs +1 -1
  26. package/dist/esm/api/general.d.mts +12 -5
  27. package/dist/esm/api/general.mjs +1 -1
  28. package/dist/esm/api/index.d.mts +1 -0
  29. package/dist/esm/api/index.mjs +1 -1
  30. package/dist/esm/api/staking.d.mts +13 -9
  31. package/dist/esm/api/staking.mjs +1 -1
  32. package/dist/esm/api/transaction.d.mts +36 -2
  33. package/dist/esm/api/transaction.mjs +1 -1
  34. package/dist/esm/api/transactionSubmission/build.d.mts +1 -0
  35. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  36. package/dist/esm/api/transactionSubmission/sign.d.mts +1 -0
  37. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  38. package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -0
  39. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  40. package/dist/esm/api/transactionSubmission/submit.d.mts +1 -0
  41. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  42. package/dist/esm/api/transactionSubmission.d.mts +23 -1
  43. package/dist/esm/api/transactionSubmission.mjs +1 -1
  44. package/dist/esm/api/utils.d.mts +21 -0
  45. package/dist/esm/api/utils.mjs +2 -0
  46. package/dist/esm/bcs/deserializer.d.mts +4 -4
  47. package/dist/esm/bcs/deserializer.mjs +1 -1
  48. package/dist/esm/bcs/index.mjs +1 -1
  49. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
  50. package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
  51. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  52. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  53. package/dist/esm/bcs/serializer.d.mts +4 -4
  54. package/dist/esm/bcs/serializer.mjs +1 -1
  55. package/dist/esm/chunk-26GRNGPL.mjs +2 -0
  56. package/dist/esm/chunk-26GRNGPL.mjs.map +1 -0
  57. package/dist/esm/{chunk-72F5YXGC.mjs → chunk-2AMFCGJ3.mjs} +2 -2
  58. package/dist/esm/chunk-2AMFCGJ3.mjs.map +1 -0
  59. package/dist/esm/{chunk-ZUHN56GM.mjs → chunk-2X3FRUKX.mjs} +2 -2
  60. package/dist/esm/chunk-2X3FRUKX.mjs.map +1 -0
  61. package/dist/esm/chunk-32A35CPU.mjs +2 -0
  62. package/dist/esm/chunk-32A35CPU.mjs.map +1 -0
  63. package/dist/esm/{chunk-JZNLZMUC.mjs → chunk-3QS3MFWJ.mjs} +2 -2
  64. package/dist/esm/{chunk-ARVSIDVB.mjs → chunk-3RMXGSHK.mjs} +2 -2
  65. package/dist/esm/chunk-3RMXGSHK.mjs.map +1 -0
  66. package/dist/esm/chunk-4FDIPWVB.mjs +2 -0
  67. package/dist/esm/chunk-4FDIPWVB.mjs.map +1 -0
  68. package/dist/esm/{chunk-U25N2VWA.mjs → chunk-4K252UDE.mjs} +2 -2
  69. package/dist/esm/{chunk-3VZ3OZKC.mjs → chunk-4XQ5IV6C.mjs} +2 -2
  70. package/dist/esm/chunk-5HZKDT5C.mjs +2 -0
  71. package/dist/esm/chunk-5HZKDT5C.mjs.map +1 -0
  72. package/dist/esm/chunk-5IVRKK5V.mjs +2 -0
  73. package/dist/esm/chunk-5IVRKK5V.mjs.map +1 -0
  74. package/dist/esm/chunk-5SRMD5C6.mjs +2 -0
  75. package/dist/esm/chunk-5SRMD5C6.mjs.map +1 -0
  76. package/dist/esm/chunk-5X46HDCI.mjs +2 -0
  77. package/dist/esm/chunk-5X46HDCI.mjs.map +1 -0
  78. package/dist/esm/{chunk-HVADSXTB.mjs → chunk-6DYNAFAP.mjs} +2 -2
  79. package/dist/esm/chunk-6F4ACCCZ.mjs +2 -0
  80. package/dist/esm/chunk-6F4ACCCZ.mjs.map +1 -0
  81. package/dist/esm/{chunk-4ADA5BE7.mjs → chunk-7B3VSBCX.mjs} +2 -2
  82. package/dist/esm/chunk-7IY2Y73Q.mjs +2 -0
  83. package/dist/esm/chunk-7IY2Y73Q.mjs.map +1 -0
  84. package/dist/esm/chunk-7QJYTQSU.mjs +2 -0
  85. package/dist/esm/chunk-7QJYTQSU.mjs.map +1 -0
  86. package/dist/esm/chunk-ALFESCPU.mjs +2 -0
  87. package/dist/esm/chunk-ALFESCPU.mjs.map +1 -0
  88. package/dist/esm/chunk-BA4TDBYB.mjs +2 -0
  89. package/dist/esm/chunk-BA4TDBYB.mjs.map +1 -0
  90. package/dist/esm/chunk-BDTDWLGO.mjs +2 -0
  91. package/dist/esm/chunk-BDTDWLGO.mjs.map +1 -0
  92. package/dist/esm/{chunk-UDBH4CER.mjs → chunk-BQSE5HHW.mjs} +7 -7
  93. package/dist/esm/chunk-BQSE5HHW.mjs.map +1 -0
  94. package/dist/esm/chunk-C3Y52GHM.mjs +2 -0
  95. package/dist/esm/chunk-C3Y52GHM.mjs.map +1 -0
  96. package/dist/esm/chunk-CBAVJ5EN.mjs +2 -0
  97. package/dist/esm/chunk-CBAVJ5EN.mjs.map +1 -0
  98. package/dist/esm/chunk-DBJTMCAG.mjs +2 -0
  99. package/dist/esm/chunk-DBJTMCAG.mjs.map +1 -0
  100. package/dist/esm/chunk-DYJVDOBH.mjs +2 -0
  101. package/dist/esm/chunk-DYJVDOBH.mjs.map +1 -0
  102. package/dist/esm/chunk-EHJEK7FU.mjs +2 -0
  103. package/dist/esm/chunk-ELWWME6B.mjs +2 -0
  104. package/dist/esm/chunk-ELWWME6B.mjs.map +1 -0
  105. package/dist/esm/chunk-EOC4UI5B.mjs +2 -0
  106. package/dist/esm/{chunk-KC64ESLO.mjs.map → chunk-EOC4UI5B.mjs.map} +1 -1
  107. package/dist/esm/{chunk-BPYLPPEQ.mjs → chunk-F2GFSFPW.mjs} +2 -2
  108. package/dist/esm/{chunk-U6SZNNVL.mjs → chunk-F52GIFKT.mjs} +2 -2
  109. package/dist/esm/{chunk-U6SZNNVL.mjs.map → chunk-F52GIFKT.mjs.map} +1 -1
  110. package/dist/esm/{chunk-KQXRH5FK.mjs → chunk-FGTQT7Q5.mjs} +2 -2
  111. package/dist/esm/chunk-GMOHGD73.mjs +2 -0
  112. package/dist/esm/chunk-GMOHGD73.mjs.map +1 -0
  113. package/dist/esm/{chunk-HO7K2UAK.mjs → chunk-GQI3HWOB.mjs} +2 -2
  114. package/dist/esm/{chunk-UAAI3NCA.mjs → chunk-HQ4DGB7L.mjs} +2 -2
  115. package/dist/esm/chunk-IHYTP2EW.mjs +1 -0
  116. package/dist/esm/chunk-IHYTP2EW.mjs.map +1 -0
  117. package/dist/esm/{chunk-HA6JD5R6.mjs → chunk-IU5JZNH4.mjs} +2 -2
  118. package/dist/esm/{chunk-HA6JD5R6.mjs.map → chunk-IU5JZNH4.mjs.map} +1 -1
  119. package/dist/esm/{chunk-TPWSHFFI.mjs → chunk-KR5JAN32.mjs} +2 -2
  120. package/dist/esm/{chunk-QWVR4RCV.mjs → chunk-KVJ2KGMW.mjs} +2 -2
  121. package/dist/esm/chunk-LBNMY7EM.mjs +2 -0
  122. package/dist/esm/chunk-LBNMY7EM.mjs.map +1 -0
  123. package/dist/esm/chunk-MNFGMNYS.mjs +2 -0
  124. package/dist/esm/chunk-MNFGMNYS.mjs.map +1 -0
  125. package/dist/esm/{chunk-IBH7IOIM.mjs → chunk-N25GOEVL.mjs} +2 -2
  126. package/dist/esm/chunk-NBSXZKMQ.mjs +2 -0
  127. package/dist/esm/chunk-NBSXZKMQ.mjs.map +1 -0
  128. package/dist/esm/chunk-NFGAZSSK.mjs +2 -0
  129. package/dist/esm/{chunk-ND3ZQKTT.mjs.map → chunk-NFGAZSSK.mjs.map} +1 -1
  130. package/dist/esm/chunk-NL72WE3E.mjs +2 -0
  131. package/dist/esm/{chunk-TIH6ARYP.mjs.map → chunk-NL72WE3E.mjs.map} +1 -1
  132. package/dist/esm/{chunk-EWTHPMEE.mjs → chunk-NLONZHYT.mjs} +2 -2
  133. package/dist/esm/{chunk-44MGBJ73.mjs → chunk-NMFS5KAE.mjs} +2 -2
  134. package/dist/esm/{chunk-4KTQIWUP.mjs → chunk-NZ36UN4C.mjs} +2 -2
  135. package/dist/esm/{chunk-YYRDFZE6.mjs → chunk-OWP2MKTX.mjs} +2 -2
  136. package/dist/esm/{chunk-YYRDFZE6.mjs.map → chunk-OWP2MKTX.mjs.map} +1 -1
  137. package/dist/esm/{chunk-WL4OXZLN.mjs → chunk-OXO3Z2MF.mjs} +2 -2
  138. package/dist/esm/{chunk-S36IYY6K.mjs → chunk-PANYJULW.mjs} +2 -2
  139. package/dist/esm/{chunk-DRPMIJH7.mjs → chunk-PEBXSNMJ.mjs} +2 -2
  140. package/dist/esm/chunk-PLY7MQKE.mjs +2 -0
  141. package/dist/esm/chunk-PLY7MQKE.mjs.map +1 -0
  142. package/dist/esm/chunk-PRKZ2KJ4.mjs +2 -0
  143. package/dist/esm/{chunk-R3KWVOFG.mjs.map → chunk-PRKZ2KJ4.mjs.map} +1 -1
  144. package/dist/esm/{chunk-GAI75GOG.mjs → chunk-PZ5JKQSP.mjs} +2 -2
  145. package/dist/esm/chunk-Q3R3KKKP.mjs +2 -0
  146. package/dist/esm/chunk-Q3R3KKKP.mjs.map +1 -0
  147. package/dist/esm/chunk-RCYWJZR4.mjs +2 -0
  148. package/dist/esm/chunk-RCYWJZR4.mjs.map +1 -0
  149. package/dist/esm/chunk-TNUGIBLO.mjs +2 -0
  150. package/dist/esm/chunk-TNUGIBLO.mjs.map +1 -0
  151. package/dist/esm/{chunk-3732I6BR.mjs → chunk-TTICPGX6.mjs} +2 -2
  152. package/dist/esm/chunk-U6Z4FNB7.mjs +2 -0
  153. package/dist/esm/chunk-U6Z4FNB7.mjs.map +1 -0
  154. package/dist/esm/{chunk-GTC7WHMV.mjs → chunk-UDMADMVO.mjs} +1 -1
  155. package/dist/esm/{chunk-GTC7WHMV.mjs.map → chunk-UDMADMVO.mjs.map} +1 -1
  156. package/dist/esm/chunk-UES76WF2.mjs +2 -0
  157. package/dist/esm/chunk-UES76WF2.mjs.map +1 -0
  158. package/dist/esm/chunk-UIVJXLRM.mjs +1 -0
  159. package/dist/esm/chunk-UIVJXLRM.mjs.map +1 -0
  160. package/dist/esm/chunk-UR5E2UDO.mjs +2 -0
  161. package/dist/esm/chunk-UR5E2UDO.mjs.map +1 -0
  162. package/dist/esm/{chunk-X32O46IB.mjs → chunk-VMCFN5CT.mjs} +2 -2
  163. package/dist/esm/{chunk-5LO7FR2P.mjs → chunk-W44E6YAW.mjs} +2 -2
  164. package/dist/esm/chunk-W4JEP5GW.mjs +2 -0
  165. package/dist/esm/{chunk-FYIFBLHU.mjs.map → chunk-W4JEP5GW.mjs.map} +1 -1
  166. package/dist/esm/chunk-WXISFVRU.mjs +2 -0
  167. package/dist/esm/chunk-WXISFVRU.mjs.map +1 -0
  168. package/dist/esm/chunk-X7QBDRQR.mjs +2 -0
  169. package/dist/esm/chunk-X7QBDRQR.mjs.map +1 -0
  170. package/dist/esm/chunk-XKINEFAA.mjs +2 -0
  171. package/dist/esm/chunk-XKINEFAA.mjs.map +1 -0
  172. package/dist/esm/chunk-Y5RQOXZH.mjs +2 -0
  173. package/dist/esm/chunk-Y5RQOXZH.mjs.map +1 -0
  174. package/dist/esm/chunk-ZKFDLJ2F.mjs +2 -0
  175. package/dist/esm/chunk-ZKFDLJ2F.mjs.map +1 -0
  176. package/dist/esm/client/core.mjs +1 -1
  177. package/dist/esm/client/get.d.mts +1 -1
  178. package/dist/esm/client/get.mjs +1 -1
  179. package/dist/esm/client/index.mjs +1 -1
  180. package/dist/esm/client/post.mjs +1 -1
  181. package/dist/esm/core/account.mjs +1 -1
  182. package/dist/esm/core/accountAddress.d.mts +9 -9
  183. package/dist/esm/core/accountAddress.mjs +1 -1
  184. package/dist/esm/core/authenticationKey.mjs +1 -1
  185. package/dist/esm/core/crypto/anyPublicKey.d.mts +5 -0
  186. package/dist/esm/core/crypto/anyPublicKey.mjs +1 -1
  187. package/dist/esm/core/crypto/anySignature.mjs +1 -1
  188. package/dist/esm/core/crypto/asymmetricCrypto.mjs +1 -1
  189. package/dist/esm/core/crypto/ed25519.d.mts +3 -0
  190. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  191. package/dist/esm/core/crypto/index.d.mts +2 -2
  192. package/dist/esm/core/crypto/index.mjs +1 -1
  193. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  194. package/dist/esm/core/crypto/multiKey.d.mts +2 -0
  195. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  196. package/dist/esm/core/crypto/secp256k1.d.mts +3 -0
  197. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  198. package/dist/esm/core/hex.mjs +1 -1
  199. package/dist/esm/core/index.d.mts +2 -2
  200. package/dist/esm/core/index.mjs +1 -1
  201. package/dist/esm/index.d.mts +11 -8
  202. package/dist/esm/index.mjs +1 -1
  203. package/dist/esm/internal/account.d.mts +20 -33
  204. package/dist/esm/internal/account.mjs +1 -1
  205. package/dist/esm/internal/ans.d.mts +7 -10
  206. package/dist/esm/internal/ans.mjs +1 -1
  207. package/dist/esm/internal/coin.d.mts +4 -3
  208. package/dist/esm/internal/coin.mjs +1 -1
  209. package/dist/esm/internal/digitalAsset.d.mts +19 -20
  210. package/dist/esm/internal/digitalAsset.mjs +1 -1
  211. package/dist/esm/internal/event.d.mts +5 -12
  212. package/dist/esm/internal/event.mjs +1 -1
  213. package/dist/esm/internal/faucet.d.mts +5 -5
  214. package/dist/esm/internal/faucet.mjs +1 -1
  215. package/dist/esm/internal/fungibleAsset.d.mts +39 -14
  216. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  217. package/dist/esm/internal/general.d.mts +9 -5
  218. package/dist/esm/internal/general.mjs +1 -1
  219. package/dist/esm/internal/staking.d.mts +5 -7
  220. package/dist/esm/internal/staking.mjs +1 -1
  221. package/dist/esm/internal/transaction.d.mts +12 -4
  222. package/dist/esm/internal/transaction.mjs +1 -1
  223. package/dist/esm/internal/transactionSubmission.d.mts +24 -5
  224. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  225. package/dist/esm/transactions/authenticator/account.d.mts +5 -0
  226. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  227. package/dist/esm/transactions/authenticator/index.d.mts +1 -0
  228. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  229. package/dist/esm/transactions/authenticator/transaction.d.mts +1 -0
  230. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  231. package/dist/esm/transactions/index.d.mts +4 -3
  232. package/dist/esm/transactions/index.mjs +1 -1
  233. package/dist/esm/transactions/instances/chainId.mjs +1 -1
  234. package/dist/esm/transactions/instances/identifier.mjs +1 -1
  235. package/dist/esm/transactions/instances/index.d.mts +1 -0
  236. package/dist/esm/transactions/instances/index.mjs +1 -1
  237. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  238. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  239. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  240. package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -0
  241. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  242. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  243. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +89 -0
  244. package/dist/esm/transactions/management/accountSequenceNumber.mjs +2 -0
  245. package/dist/esm/transactions/management/accountSequenceNumber.mjs.map +1 -0
  246. package/dist/esm/transactions/management/asyncQueue.d.mts +58 -0
  247. package/dist/esm/transactions/management/asyncQueue.mjs +2 -0
  248. package/dist/esm/transactions/management/asyncQueue.mjs.map +1 -0
  249. package/dist/esm/transactions/management/index.d.mts +36 -0
  250. package/dist/esm/transactions/management/index.mjs +2 -0
  251. package/dist/esm/transactions/management/index.mjs.map +1 -0
  252. package/dist/esm/transactions/management/transactionWorker.d.mts +135 -0
  253. package/dist/esm/transactions/management/transactionWorker.mjs +2 -0
  254. package/dist/esm/transactions/management/transactionWorker.mjs.map +1 -0
  255. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +3 -1
  256. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  257. package/dist/esm/transactions/transactionBuilder/index.d.mts +4 -3
  258. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  259. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +3 -1
  260. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  261. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +3 -2
  262. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  263. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  264. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  265. package/dist/esm/transactions/types.d.mts +3 -2
  266. package/dist/esm/types/generated/operations.d.mts +3 -3
  267. package/dist/esm/types/generated/queries.d.mts +3 -3
  268. package/dist/esm/types/generated/queries.mjs +1 -1
  269. package/dist/esm/types/index.d.mts +27 -9
  270. package/dist/esm/types/index.mjs +1 -1
  271. package/dist/esm/utils/const.d.mts +18 -1
  272. package/dist/esm/utils/const.mjs +1 -1
  273. package/dist/esm/utils/index.d.mts +1 -1
  274. package/dist/esm/utils/index.mjs +1 -1
  275. package/dist/esm/version.d.mts +1 -1
  276. package/dist/esm/version.mjs +1 -1
  277. package/package.json +1 -1
  278. package/src/api/account.ts +150 -53
  279. package/src/api/ans.ts +19 -22
  280. package/src/api/aptosConfig.ts +2 -2
  281. package/src/api/coin.ts +2 -6
  282. package/src/api/digitalAsset.ts +98 -23
  283. package/src/api/event.ts +28 -17
  284. package/src/api/faucet.ts +12 -9
  285. package/src/api/fungibleAsset.ts +76 -35
  286. package/src/api/general.ts +19 -3
  287. package/src/api/staking.ts +30 -11
  288. package/src/api/transaction.ts +16 -1
  289. package/src/api/transactionSubmission.ts +43 -1
  290. package/src/api/utils.ts +37 -0
  291. package/src/bcs/deserializer.ts +4 -4
  292. package/src/bcs/serializer.ts +4 -4
  293. package/src/client/core.ts +6 -4
  294. package/src/client/get.ts +7 -6
  295. package/src/core/accountAddress.ts +20 -22
  296. package/src/core/crypto/anyPublicKey.ts +12 -0
  297. package/src/core/crypto/ed25519.ts +13 -0
  298. package/src/core/crypto/index.ts +2 -0
  299. package/src/core/crypto/secp256k1.ts +12 -0
  300. package/src/core/hex.ts +5 -7
  301. package/src/index.ts +1 -0
  302. package/src/internal/account.ts +56 -50
  303. package/src/internal/ans.ts +52 -39
  304. package/src/internal/coin.ts +4 -6
  305. package/src/internal/digitalAsset.ts +36 -22
  306. package/src/internal/event.ts +7 -14
  307. package/src/internal/faucet.ts +10 -6
  308. package/src/internal/fungibleAsset.ts +36 -18
  309. package/src/internal/general.ts +30 -3
  310. package/src/internal/queries/getNumberOfDelegatorsQuery.graphql +5 -5
  311. package/src/internal/queries/getProcessorStatus.graphql +2 -2
  312. package/src/internal/staking.ts +12 -14
  313. package/src/internal/transaction.ts +23 -26
  314. package/src/internal/transactionSubmission.ts +35 -5
  315. package/src/transactions/authenticator/account.ts +16 -0
  316. package/src/transactions/instances/moduleId.ts +1 -1
  317. package/src/transactions/management/accountSequenceNumber.ts +186 -0
  318. package/src/transactions/management/asyncQueue.ts +107 -0
  319. package/src/transactions/management/index.ts +2 -0
  320. package/src/transactions/management/transactionWorker.ts +275 -0
  321. package/src/transactions/transactionBuilder/helpers.ts +28 -1
  322. package/src/transactions/transactionBuilder/remoteAbi.ts +47 -32
  323. package/src/transactions/transactionBuilder/transactionBuilder.ts +28 -26
  324. package/src/transactions/typeTag/index.ts +1 -0
  325. package/src/transactions/typeTag/parser.ts +1 -1
  326. package/src/transactions/types.ts +2 -2
  327. package/src/types/generated/operations.ts +4 -2
  328. package/src/types/generated/queries.ts +4 -4
  329. package/src/types/index.ts +67 -11
  330. package/src/utils/const.ts +18 -0
  331. package/src/version.ts +1 -1
  332. package/dist/esm/chunk-2OZRBXLM.mjs +0 -2
  333. package/dist/esm/chunk-2OZRBXLM.mjs.map +0 -1
  334. package/dist/esm/chunk-33T7WTB6.mjs +0 -2
  335. package/dist/esm/chunk-33T7WTB6.mjs.map +0 -1
  336. package/dist/esm/chunk-62SCW5NH.mjs +0 -2
  337. package/dist/esm/chunk-62SCW5NH.mjs.map +0 -1
  338. package/dist/esm/chunk-67OGU66P.mjs +0 -2
  339. package/dist/esm/chunk-67OGU66P.mjs.map +0 -1
  340. package/dist/esm/chunk-72F5YXGC.mjs.map +0 -1
  341. package/dist/esm/chunk-ARVSIDVB.mjs.map +0 -1
  342. package/dist/esm/chunk-BFQRMCY2.mjs +0 -2
  343. package/dist/esm/chunk-BFQRMCY2.mjs.map +0 -1
  344. package/dist/esm/chunk-BM4HBROC.mjs +0 -2
  345. package/dist/esm/chunk-BM4HBROC.mjs.map +0 -1
  346. package/dist/esm/chunk-BV4OOU5Y.mjs +0 -2
  347. package/dist/esm/chunk-BV4OOU5Y.mjs.map +0 -1
  348. package/dist/esm/chunk-EFIYW4WK.mjs +0 -2
  349. package/dist/esm/chunk-FYIFBLHU.mjs +0 -2
  350. package/dist/esm/chunk-GU4OUKAF.mjs +0 -2
  351. package/dist/esm/chunk-GU4OUKAF.mjs.map +0 -1
  352. package/dist/esm/chunk-J5BH7V37.mjs +0 -2
  353. package/dist/esm/chunk-J5BH7V37.mjs.map +0 -1
  354. package/dist/esm/chunk-KC64ESLO.mjs +0 -2
  355. package/dist/esm/chunk-L7AA75WZ.mjs +0 -2
  356. package/dist/esm/chunk-L7AA75WZ.mjs.map +0 -1
  357. package/dist/esm/chunk-LACQ537H.mjs +0 -2
  358. package/dist/esm/chunk-LACQ537H.mjs.map +0 -1
  359. package/dist/esm/chunk-LDAD54H5.mjs +0 -2
  360. package/dist/esm/chunk-LDAD54H5.mjs.map +0 -1
  361. package/dist/esm/chunk-LXW3A3MJ.mjs +0 -2
  362. package/dist/esm/chunk-LXW3A3MJ.mjs.map +0 -1
  363. package/dist/esm/chunk-M2V2POWK.mjs +0 -2
  364. package/dist/esm/chunk-M2V2POWK.mjs.map +0 -1
  365. package/dist/esm/chunk-ND3ZQKTT.mjs +0 -2
  366. package/dist/esm/chunk-NZIJV4O2.mjs +0 -2
  367. package/dist/esm/chunk-NZIJV4O2.mjs.map +0 -1
  368. package/dist/esm/chunk-O2B54NZT.mjs +0 -2
  369. package/dist/esm/chunk-O2B54NZT.mjs.map +0 -1
  370. package/dist/esm/chunk-OCW2L33Q.mjs +0 -2
  371. package/dist/esm/chunk-OCW2L33Q.mjs.map +0 -1
  372. package/dist/esm/chunk-OCYS4V2V.mjs +0 -2
  373. package/dist/esm/chunk-OCYS4V2V.mjs.map +0 -1
  374. package/dist/esm/chunk-OSTH5JRX.mjs +0 -2
  375. package/dist/esm/chunk-OSTH5JRX.mjs.map +0 -1
  376. package/dist/esm/chunk-OVHY6ZUJ.mjs +0 -2
  377. package/dist/esm/chunk-OVHY6ZUJ.mjs.map +0 -1
  378. package/dist/esm/chunk-PZCMSHY6.mjs +0 -2
  379. package/dist/esm/chunk-PZCMSHY6.mjs.map +0 -1
  380. package/dist/esm/chunk-R3KWVOFG.mjs +0 -2
  381. package/dist/esm/chunk-RHS5ROLP.mjs +0 -2
  382. package/dist/esm/chunk-RHS5ROLP.mjs.map +0 -1
  383. package/dist/esm/chunk-RKKU2SY5.mjs +0 -2
  384. package/dist/esm/chunk-RKKU2SY5.mjs.map +0 -1
  385. package/dist/esm/chunk-RYETO74W.mjs +0 -2
  386. package/dist/esm/chunk-RYETO74W.mjs.map +0 -1
  387. package/dist/esm/chunk-TCTZCPQ6.mjs +0 -1
  388. package/dist/esm/chunk-TGKB6ALT.mjs +0 -2
  389. package/dist/esm/chunk-TGKB6ALT.mjs.map +0 -1
  390. package/dist/esm/chunk-TIH6ARYP.mjs +0 -2
  391. package/dist/esm/chunk-UDBH4CER.mjs.map +0 -1
  392. package/dist/esm/chunk-VWVEDCBM.mjs +0 -2
  393. package/dist/esm/chunk-VWVEDCBM.mjs.map +0 -1
  394. package/dist/esm/chunk-WEJAI26R.mjs +0 -2
  395. package/dist/esm/chunk-WEJAI26R.mjs.map +0 -1
  396. package/dist/esm/chunk-Y2HRRUZ6.mjs +0 -2
  397. package/dist/esm/chunk-Y2HRRUZ6.mjs.map +0 -1
  398. package/dist/esm/chunk-Y7VR7X5W.mjs +0 -2
  399. package/dist/esm/chunk-Y7VR7X5W.mjs.map +0 -1
  400. package/dist/esm/chunk-ZLW65YCO.mjs +0 -2
  401. package/dist/esm/chunk-ZLW65YCO.mjs.map +0 -1
  402. package/dist/esm/chunk-ZUHN56GM.mjs.map +0 -1
  403. /package/dist/esm/{chunk-TCTZCPQ6.mjs.map → api/utils.mjs.map} +0 -0
  404. /package/dist/esm/{chunk-JZNLZMUC.mjs.map → chunk-3QS3MFWJ.mjs.map} +0 -0
  405. /package/dist/esm/{chunk-U25N2VWA.mjs.map → chunk-4K252UDE.mjs.map} +0 -0
  406. /package/dist/esm/{chunk-3VZ3OZKC.mjs.map → chunk-4XQ5IV6C.mjs.map} +0 -0
  407. /package/dist/esm/{chunk-HVADSXTB.mjs.map → chunk-6DYNAFAP.mjs.map} +0 -0
  408. /package/dist/esm/{chunk-4ADA5BE7.mjs.map → chunk-7B3VSBCX.mjs.map} +0 -0
  409. /package/dist/esm/{chunk-EFIYW4WK.mjs.map → chunk-EHJEK7FU.mjs.map} +0 -0
  410. /package/dist/esm/{chunk-BPYLPPEQ.mjs.map → chunk-F2GFSFPW.mjs.map} +0 -0
  411. /package/dist/esm/{chunk-KQXRH5FK.mjs.map → chunk-FGTQT7Q5.mjs.map} +0 -0
  412. /package/dist/esm/{chunk-HO7K2UAK.mjs.map → chunk-GQI3HWOB.mjs.map} +0 -0
  413. /package/dist/esm/{chunk-UAAI3NCA.mjs.map → chunk-HQ4DGB7L.mjs.map} +0 -0
  414. /package/dist/esm/{chunk-TPWSHFFI.mjs.map → chunk-KR5JAN32.mjs.map} +0 -0
  415. /package/dist/esm/{chunk-QWVR4RCV.mjs.map → chunk-KVJ2KGMW.mjs.map} +0 -0
  416. /package/dist/esm/{chunk-IBH7IOIM.mjs.map → chunk-N25GOEVL.mjs.map} +0 -0
  417. /package/dist/esm/{chunk-EWTHPMEE.mjs.map → chunk-NLONZHYT.mjs.map} +0 -0
  418. /package/dist/esm/{chunk-44MGBJ73.mjs.map → chunk-NMFS5KAE.mjs.map} +0 -0
  419. /package/dist/esm/{chunk-4KTQIWUP.mjs.map → chunk-NZ36UN4C.mjs.map} +0 -0
  420. /package/dist/esm/{chunk-WL4OXZLN.mjs.map → chunk-OXO3Z2MF.mjs.map} +0 -0
  421. /package/dist/esm/{chunk-S36IYY6K.mjs.map → chunk-PANYJULW.mjs.map} +0 -0
  422. /package/dist/esm/{chunk-DRPMIJH7.mjs.map → chunk-PEBXSNMJ.mjs.map} +0 -0
  423. /package/dist/esm/{chunk-GAI75GOG.mjs.map → chunk-PZ5JKQSP.mjs.map} +0 -0
  424. /package/dist/esm/{chunk-3732I6BR.mjs.map → chunk-TTICPGX6.mjs.map} +0 -0
  425. /package/dist/esm/{chunk-X32O46IB.mjs.map → chunk-VMCFN5CT.mjs.map} +0 -0
  426. /package/dist/esm/{chunk-5LO7FR2P.mjs.map → chunk-W44E6YAW.mjs.map} +0 -0
@@ -1,19 +1,19 @@
1
- import { AptosConfig } from './aptosConfig.mjs';
2
1
  import { Account as Account$1 } from '../core/account.mjs';
3
2
  import { AccountAddressInput, AccountAddress } from '../core/accountAddress.mjs';
4
3
  import { PrivateKey } from '../core/crypto/asymmetricCrypto.mjs';
5
- import { AccountData, PaginationArgs, LedgerVersion, MoveModuleBytecode, TransactionResponse, MoveResource, MoveStructId } from '../types/index.mjs';
6
- import { TokenStandard, OrderBy, GetAccountOwnedTokensQueryResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountCoinsDataResponse, GetAccountOwnedObjectsResponse } from '../types/indexer.mjs';
7
- import '../utils/apiEndpoints.mjs';
8
- import '../utils/const.mjs';
4
+ import { AccountData, PaginationArgs, LedgerVersionArg, MoveModuleBytecode, TransactionResponse, MoveResource, MoveStructId, AnyNumber, TokenStandardArg, OrderByArg, WhereArg } from '../types/index.mjs';
5
+ import { AptosConfig } from './aptosConfig.mjs';
6
+ import { CurrentFungibleAssetBalancesBoolExp } from '../types/generated/types.mjs';
7
+ import { GetAccountOwnedTokensQueryResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountCoinsDataResponse, GetAccountOwnedObjectsResponse } from '../types/indexer.mjs';
9
8
  import '../core/authenticationKey.mjs';
10
9
  import '../core/hex.mjs';
11
10
  import '../core/common.mjs';
12
11
  import '../bcs/serializer.mjs';
13
12
  import '../bcs/deserializer.mjs';
14
13
  import '../transactions/instances/transactionArgument.mjs';
14
+ import '../utils/apiEndpoints.mjs';
15
+ import '../utils/const.mjs';
15
16
  import '../types/generated/operations.mjs';
16
- import '../types/generated/types.mjs';
17
17
 
18
18
  /**
19
19
  * A class to query all `Account` related queries on Aptos.
@@ -54,7 +54,7 @@ declare class Account {
54
54
  */
55
55
  getAccountModules(args: {
56
56
  accountAddress: AccountAddressInput;
57
- options?: PaginationArgs & LedgerVersion;
57
+ options?: PaginationArgs & LedgerVersionArg;
58
58
  }): Promise<MoveModuleBytecode[]>;
59
59
  /**
60
60
  * Queries for a specific account module given account address and module name
@@ -76,7 +76,7 @@ declare class Account {
76
76
  getAccountModule(args: {
77
77
  accountAddress: AccountAddressInput;
78
78
  moduleName: string;
79
- options?: LedgerVersion;
79
+ options?: LedgerVersionArg;
80
80
  }): Promise<MoveModuleBytecode>;
81
81
  /**
82
82
  * Queries account transactions given an account address
@@ -108,7 +108,7 @@ declare class Account {
108
108
  */
109
109
  getAccountResources(args: {
110
110
  accountAddress: AccountAddressInput;
111
- options?: PaginationArgs & LedgerVersion;
111
+ options?: PaginationArgs & LedgerVersionArg;
112
112
  }): Promise<MoveResource[]>;
113
113
  /**
114
114
  * Queries a specific account resource given account address and resource type. Note that the default is `any` in order
@@ -124,14 +124,14 @@ declare class Account {
124
124
  * @example An example of an account resource
125
125
  * ```
126
126
  * {
127
- * data: { value: 6 }
127
+ * value: 6
128
128
  * }
129
129
  * ```
130
130
  */
131
131
  getAccountResource<T extends {} = any>(args: {
132
132
  accountAddress: AccountAddressInput;
133
133
  resourceType: MoveStructId;
134
- options?: LedgerVersion;
134
+ options?: LedgerVersionArg;
135
135
  }): Promise<T>;
136
136
  /**
137
137
  * Looks up the account address for a given authentication key
@@ -139,21 +139,25 @@ declare class Account {
139
139
  * This handles both if the account's authentication key has been rotated or not.
140
140
  *
141
141
  * @param args.authenticationKey The authentication key
142
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
142
143
  * @param args.options.ledgerVersion The ledger version to query, if not provided it will get the latest version
143
144
  * @returns Promise<AccountAddress> The accountAddress associated with the authentication key
144
145
  */
145
146
  lookupOriginalAccountAddress(args: {
146
147
  authenticationKey: AccountAddressInput;
147
- options?: LedgerVersion;
148
+ minimumLedgerVersion?: AnyNumber;
149
+ options?: LedgerVersionArg;
148
150
  }): Promise<AccountAddress>;
149
151
  /**
150
152
  * Queries the current count of tokens owned by an account
151
153
  *
152
154
  * @param args.accountAddress The account address
155
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
153
156
  * @returns Current count of tokens owned by the account
154
157
  */
155
158
  getAccountTokensCount(args: {
156
159
  accountAddress: AccountAddressInput;
160
+ minimumLedgerVersion?: AnyNumber;
157
161
  }): Promise<number>;
158
162
  /**
159
163
  * Queries the account's current owned tokens.
@@ -162,19 +166,17 @@ declare class Account {
162
166
  * If you want to get only the token from a specific standard, you can pass an optional tokenStandard param
163
167
  *
164
168
  * @param args.accountAddress The account address we want to get the tokens for
169
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
165
170
  * @param args.options.tokenStandard The NFT standard to query for
166
- * @param args.options.pagination.offset The number token to start returning results from
167
- * @param args.options.pagination.limit The number of results to return
171
+ * @param args.options.offset The number token to start returning results from
172
+ * @param args.options.limit The number of results to return
168
173
  * @param args.options.orderBy The order to sort the tokens by
169
174
  * @returns Tokens array with the token data
170
175
  */
171
176
  getAccountOwnedTokens(args: {
172
177
  accountAddress: AccountAddressInput;
173
- options?: {
174
- tokenStandard?: TokenStandard;
175
- pagination?: PaginationArgs;
176
- orderBy?: OrderBy<GetAccountOwnedTokensQueryResponse[0]>;
177
- };
178
+ minimumLedgerVersion?: AnyNumber;
179
+ options?: TokenStandardArg & PaginationArgs & OrderByArg<GetAccountOwnedTokensQueryResponse[0]>;
178
180
  }): Promise<GetAccountOwnedTokensQueryResponse>;
179
181
  /**
180
182
  * Queries all current tokens of a specific collection that an account owns by the collection address
@@ -184,20 +186,18 @@ declare class Account {
184
186
  *
185
187
  * @param args.accountAddress The account address we want to get the tokens for
186
188
  * @param args.collectionAddress The address of the collection being queried
189
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
187
190
  * @param args.options.tokenStandard The NFT standard to query for
188
- * @param args.options.pagination.offset The number token to start returning results from
189
- * @param args.options.pagination.limit The number of results to return
191
+ * @param args.options.offset The number token to start returning results from
192
+ * @param args.options.limit The number of results to return
190
193
  * @param args.options.orderBy The order to sort the tokens by
191
194
  * @returns Tokens array with the token data
192
195
  */
193
196
  getAccountOwnedTokensFromCollectionAddress(args: {
194
197
  accountAddress: AccountAddressInput;
195
198
  collectionAddress: AccountAddressInput;
196
- options?: {
197
- tokenStandard?: TokenStandard;
198
- pagination?: PaginationArgs;
199
- orderBy?: OrderBy<GetAccountOwnedTokensFromCollectionResponse[0]>;
200
- };
199
+ minimumLedgerVersion?: AnyNumber;
200
+ options?: TokenStandardArg & PaginationArgs & OrderByArg<GetAccountOwnedTokensFromCollectionResponse[0]>;
201
201
  }): Promise<GetAccountOwnedTokensFromCollectionResponse>;
202
202
  /**
203
203
  * Queries for all collections that an account currently has tokens for.
@@ -206,69 +206,94 @@ declare class Account {
206
206
  * If you want to get only the token from a specific standard, you can pass an optional tokenStandard param
207
207
  *
208
208
  * @param args.accountAddress The account address we want to get the collections for
209
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
209
210
  * @param args.options.tokenStandard The NFT standard to query for
210
- * @param args.options.pagination.offset The number collection to start returning results from
211
- * @param args.options.pagination.limit The number of results to return
211
+ * @param args.options.offset The number collection to start returning results from
212
+ * @param args.options.limit The number of results to return
212
213
  * @param args.options.orderBy The order to sort the tokens by
213
214
  * @returns Collections array with the collections data
214
215
  */
215
216
  getAccountCollectionsWithOwnedTokens(args: {
216
217
  accountAddress: AccountAddressInput;
217
- options?: {
218
- tokenStandard?: TokenStandard;
219
- pagination?: PaginationArgs;
220
- orderBy?: OrderBy<GetAccountCollectionsWithOwnedTokenResponse[0]>;
221
- };
218
+ minimumLedgerVersion?: AnyNumber;
219
+ options?: TokenStandardArg & PaginationArgs & OrderByArg<GetAccountCollectionsWithOwnedTokenResponse[0]>;
222
220
  }): Promise<GetAccountCollectionsWithOwnedTokenResponse>;
223
221
  /**
224
222
  * Queries the current count of transactions submitted by an account
225
223
  *
226
224
  * @param args.accountAddress The account address we want to get the total count for
225
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
227
226
  * @returns Current count of transactions made by an account
228
227
  */
229
228
  getAccountTransactionsCount(args: {
230
229
  accountAddress: AccountAddressInput;
230
+ minimumLedgerVersion?: AnyNumber;
231
231
  }): Promise<number>;
232
232
  /**
233
233
  * Queries an account's coins data
234
234
  *
235
235
  * @param args.accountAddress The account address we want to get the coins data for
236
- * @param args.options.pagination.offset The number coin to start returning results from
237
- * @param args.options.pagination.limit The number of results to return
238
- * @param args.options.orderBy The order to sort the coins by
236
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
237
+ * @param args.options.offset optional. The number coin to start returning results from
238
+ * @param args.options.limit optional. The number of results to return
239
+ * @param args.options.orderBy optional. The order to sort the coins by
240
+ * @param args.options.where optional. Filter the results by
239
241
  * @returns Array with the coins data
240
242
  */
241
243
  getAccountCoinsData(args: {
242
244
  accountAddress: AccountAddressInput;
243
- options?: {
244
- pagination?: PaginationArgs;
245
- orderBy?: OrderBy<GetAccountCoinsDataResponse[0]>;
246
- };
245
+ minimumLedgerVersion?: AnyNumber;
246
+ options?: PaginationArgs & OrderByArg<GetAccountCoinsDataResponse[0]> & WhereArg<CurrentFungibleAssetBalancesBoolExp>;
247
247
  }): Promise<GetAccountCoinsDataResponse>;
248
248
  /**
249
249
  * Queries the current count of an account's coins aggregated
250
250
  *
251
251
  * @param args.accountAddress The account address we want to get the total count for
252
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
252
253
  * @returns Current count of the aggregated count of all account's coins
253
254
  */
254
255
  getAccountCoinsCount(args: {
255
256
  accountAddress: AccountAddressInput;
257
+ minimumLedgerVersion?: AnyNumber;
258
+ }): Promise<number>;
259
+ /**
260
+ * Queries the account's APT amount
261
+ *
262
+ * @param args.accountAddress The account address we want to get the total count for
263
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
264
+ * @returns Current amount of account's APT
265
+ */
266
+ getAccountAPTAmount(args: {
267
+ accountAddress: AccountAddressInput;
268
+ minimumLedgerVersion?: AnyNumber;
269
+ }): Promise<number>;
270
+ /**
271
+ * Queries the account's coin amount by the coin type
272
+ *
273
+ * @param args.accountAddress The account address we want to get the total count for
274
+ * @param args.coinType The coin type to query
275
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
276
+ * @returns Current amount of account's coin
277
+ */
278
+ getAccountCoinAmount(args: {
279
+ accountAddress: AccountAddressInput;
280
+ coinType: MoveStructId;
281
+ minimumLedgerVersion?: AnyNumber;
256
282
  }): Promise<number>;
257
283
  /**
258
284
  * Queries an account's owned objects
259
285
  *
260
286
  * @param args.accountAddress The account address we want to get the objects for
261
- * @param args.options.pagination.offset The number coin to start returning results from
262
- * @param args.options.pagination.limit The number of results to return
263
- * @param args.options.orderBy The order to sort the coins by
287
+ * @param args.minimumLedgerVersion Optional ledger version to sync up to, before querying
288
+ * @param args.options.offset The starting position to start returning results from
289
+ * @param args.options.limit The number of results to return
290
+ * @param args.options.orderBy The order to sort the objects by
264
291
  * @returns Objects array with the object data
265
292
  */
266
293
  getAccountOwnedObjects(args: {
267
294
  accountAddress: AccountAddressInput;
268
- options?: {
269
- pagination?: PaginationArgs;
270
- orderBy?: OrderBy<GetAccountOwnedObjectsResponse[0]>;
271
- };
295
+ minimumLedgerVersion?: AnyNumber;
296
+ options?: PaginationArgs & OrderByArg<GetAccountOwnedObjectsResponse[0]>;
272
297
  }): Promise<GetAccountOwnedObjectsResponse>;
273
298
  /**
274
299
  * Derives an account by providing a private key.
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-ZLW65YCO.mjs";import"../chunk-33T7WTB6.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-TCTZCPQ6.mjs";import"../chunk-GAI75GOG.mjs";import"../chunk-IBH7IOIM.mjs";import"../chunk-44MGBJ73.mjs";import"../chunk-YYRDFZE6.mjs";import"../chunk-62SCW5NH.mjs";import"../chunk-U25N2VWA.mjs";import"../chunk-RYETO74W.mjs";import"../chunk-EFIYW4WK.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-HVADSXTB.mjs";import"../chunk-BPYLPPEQ.mjs";import"../chunk-4ADA5BE7.mjs";import"../chunk-X32O46IB.mjs";import"../chunk-GTC7WHMV.mjs";import"../chunk-NZIJV4O2.mjs";import"../chunk-HA6JD5R6.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-TIH6ARYP.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-GU4OUKAF.mjs";import"../chunk-UDBH4CER.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-ND3ZQKTT.mjs";import"../chunk-TPWSHFFI.mjs";import"../chunk-LDAD54H5.mjs";import"../chunk-Y7VR7X5W.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-FYIFBLHU.mjs";import"../chunk-KC64ESLO.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as Account};
1
+ import{a}from"../chunk-Q3R3KKKP.mjs";import"../chunk-LBNMY7EM.mjs";import"../chunk-Y5RQOXZH.mjs";import"../chunk-X7QBDRQR.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-KVJ2KGMW.mjs";import"../chunk-PZ5JKQSP.mjs";import"../chunk-N25GOEVL.mjs";import"../chunk-4K252UDE.mjs";import"../chunk-NMFS5KAE.mjs";import"../chunk-OWP2MKTX.mjs";import"../chunk-RCYWJZR4.mjs";import"../chunk-5HZKDT5C.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-EHJEK7FU.mjs";import"../chunk-UR5E2UDO.mjs";import"../chunk-5IVRKK5V.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-6DYNAFAP.mjs";import"../chunk-F2GFSFPW.mjs";import"../chunk-7B3VSBCX.mjs";import"../chunk-VMCFN5CT.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-IU5JZNH4.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-NFGAZSSK.mjs";import"../chunk-KR5JAN32.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-5X46HDCI.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-W4JEP5GW.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as Account};
2
2
  //# sourceMappingURL=account.mjs.map
@@ -27,6 +27,7 @@ import '../transactions/authenticator/account.mjs';
27
27
  import '../core/crypto/anyPublicKey.mjs';
28
28
  import '../core/crypto/anySignature.mjs';
29
29
  import '../core/crypto/ed25519.mjs';
30
+ import '../core/crypto/secp256k1.mjs';
30
31
  import '../core/crypto/multiEd25519.mjs';
31
32
  import '../core/crypto/multiKey.mjs';
32
33
  import '../utils/const.mjs';
@@ -65,7 +66,7 @@ declare class ANS {
65
66
  *
66
67
  * @param args.name - A string of the name to retrieve
67
68
  *
68
- * @returns number as a unix timestamp in seconds.
69
+ * @returns number as a unix timestamp in milliseconds.
69
70
  */
70
71
  getExpiration(args: {
71
72
  name: string;
@@ -93,9 +94,9 @@ declare class ANS {
93
94
  * point to addresses that are not the owner of the name
94
95
  *
95
96
  * ```ts
96
- * await aptos.setTargetAddress({sender: alice, name: "test.aptos", address: bob.accountAddress.toString})
97
+ * await aptos.setTargetAddress({sender: alice, name: "test.aptos", address: bob.accountAddress})
97
98
  * const address = await aptos.getTargetAddress({name: "test.aptos"})
98
- * // address = bob.accountAddress.toString()
99
+ * // address = bob.accountAddress
99
100
  * ```
100
101
  *
101
102
  * @param args.name - A string of the name: test.aptos.apt, test.apt, test, test.aptos, etc.
@@ -115,7 +116,7 @@ declare class ANS {
115
116
  * account also may not have a primary name.
116
117
  *
117
118
  * ```ts
118
- * const name = await aptos.getPrimaryName({address: alice.accountAddress.toString()})
119
+ * const name = await aptos.getPrimaryName({address: alice.accountAddress})
119
120
  * // name = test.aptos
120
121
  * ```
121
122
  *
@@ -133,7 +134,7 @@ declare class ANS {
133
134
  *
134
135
  * ```ts
135
136
  * await aptos.setPrimaryName({sender: alice, name: "test.aptos"})
136
- * const primaryName = await aptos.getPrimaryName({address: alice.accountAddress.toString()})
137
+ * const primaryName = await aptos.getPrimaryName({address: alice.accountAddress})
137
138
  * // primaryName = test.aptos
138
139
  * ```
139
140
  *
@@ -144,7 +145,7 @@ declare class ANS {
144
145
  */
145
146
  setPrimaryName(args: {
146
147
  sender: Account;
147
- name: string | null;
148
+ name?: string;
148
149
  options?: InputGenerateTransactionOptions;
149
150
  }): Promise<SingleSignerTransaction>;
150
151
  /**
@@ -158,7 +159,7 @@ declare class ANS {
158
159
  * name: "test.aptos.apt",
159
160
  * expiration: {
160
161
  * policy: "subdomain:independent",
161
- * expirationDate: new Date(Date.now() + 30 * 24 * 60 * 60 * 1000),
162
+ * expirationDate: Date.now() + 30 * 24 * 60 * 60 * 1000,
162
163
  * },
163
164
  * });
164
165
  * ```
@@ -171,8 +172,9 @@ declare class ANS {
171
172
  * - domain: Years is required and the name will expire after the given number of years.
172
173
  * - subdomain:follow-domain: The name will expire at the same time as the domain name.
173
174
  * - subdomain:independent: The name will expire at the given date.
174
- * @param args.expiration.expirationDate - A javascript date of when the subdomain will expire. Only applicable when
175
- * the policy is set to 'subdomain:independent'.
175
+ * @param args.expiration.expirationDate - An epoch number in milliseconds of
176
+ * the date when the subdomain will expire. Only applicable when the policy is
177
+ * set to 'subdomain:independent'.
176
178
  * @param args.transferable - Determines if the subdomain being minted is soul-bound. Applicable only to subdomains.
177
179
  * @param args.targetAddress optional - The address the domain name will resolve to. If not provided,
178
180
  * the sender's address will be used.
@@ -221,8 +223,8 @@ declare class ANS {
221
223
  *
222
224
  * @param args
223
225
  * @param args.accountAddress - A AccountAddressInput of the address to retrieve names for.
224
- * @param args.options.pagination.offset - Optional, the offset to start from when fetching names
225
- * @param args.options.pagination.limit - Optional, A number of the names to fetch per request
226
+ * @param args.options.offset - Optional, the offset to start from when fetching names
227
+ * @param args.options.limit - Optional, A number of the names to fetch per request
226
228
  * @param args.options.orderBy - The order to sort the names by
227
229
  * @param args.options.where - Additional filters to apply to the query
228
230
  *
@@ -234,8 +236,8 @@ declare class ANS {
234
236
  *
235
237
  * @param args
236
238
  * @param args.accountAddress - A AccountAddressInput of the address to retrieve domain names for.
237
- * @param args.options.pagination.offset - Optional, the offset to start from when fetching names
238
- * @param args.options.pagination.limit - Optional, A number of the names to fetch per request
239
+ * @param args.options.offset - Optional, the offset to start from when fetching names
240
+ * @param args.options.limit - Optional, A number of the names to fetch per request
239
241
  * @param args.options.orderBy - The order to sort the names by
240
242
  * @param args.options.where - Additional filters to apply to the query
241
243
  *
@@ -247,8 +249,8 @@ declare class ANS {
247
249
  *
248
250
  * @param args
249
251
  * @param args.accountAddress - A AccountAddressInput of the address to retrieve subdomains names for.
250
- * @param args.options.pagination.offset - Optional, the offset to start from when fetching names
251
- * @param args.options.pagination.limit - Optional, A number of the names to fetch per request
252
+ * @param args.options.offset - Optional, the offset to start from when fetching names
253
+ * @param args.options.limit - Optional, A number of the names to fetch per request
252
254
  * @param args.options.orderBy - The order to sort the names by
253
255
  * @param args.options.where - Additional filters to apply to the query
254
256
  *
@@ -260,8 +262,8 @@ declare class ANS {
260
262
  *
261
263
  * @param args
262
264
  * @param args.domain - A string of the domain name: eg. "test.apt" or "test" (without the suffix of .apt)
263
- * @param args.options.pagination.offset - Optional, the offset to start from when fetching names
264
- * @param args.options.pagination.limit - Optional, A number of the names to fetch per request
265
+ * @param args.options.offset - Optional, the offset to start from when fetching names
266
+ * @param args.options.limit - Optional, A number of the names to fetch per request
265
267
  * @param args.options.orderBy - The order to sort the names by
266
268
  * @param args.options.where - Additional filters to apply to the query
267
269
  *
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-ZUHN56GM.mjs";import"../chunk-TGKB6ALT.mjs";import"../chunk-O2B54NZT.mjs";import"../chunk-LXW3A3MJ.mjs";import"../chunk-BFQRMCY2.mjs";import"../chunk-U6SZNNVL.mjs";import"../chunk-BV4OOU5Y.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-WL4OXZLN.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-HO7K2UAK.mjs";import"../chunk-JZNLZMUC.mjs";import"../chunk-S36IYY6K.mjs";import"../chunk-VWVEDCBM.mjs";import"../chunk-KQXRH5FK.mjs";import"../chunk-R3KWVOFG.mjs";import"../chunk-EWTHPMEE.mjs";import"../chunk-UAAI3NCA.mjs";import"../chunk-OVHY6ZUJ.mjs";import"../chunk-QWVR4RCV.mjs";import"../chunk-WEJAI26R.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-33T7WTB6.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-TCTZCPQ6.mjs";import"../chunk-GAI75GOG.mjs";import"../chunk-IBH7IOIM.mjs";import"../chunk-44MGBJ73.mjs";import"../chunk-YYRDFZE6.mjs";import"../chunk-62SCW5NH.mjs";import"../chunk-U25N2VWA.mjs";import"../chunk-RYETO74W.mjs";import"../chunk-EFIYW4WK.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-HVADSXTB.mjs";import"../chunk-BPYLPPEQ.mjs";import"../chunk-4ADA5BE7.mjs";import"../chunk-X32O46IB.mjs";import"../chunk-GTC7WHMV.mjs";import"../chunk-NZIJV4O2.mjs";import"../chunk-HA6JD5R6.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-TIH6ARYP.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-GU4OUKAF.mjs";import"../chunk-UDBH4CER.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-ND3ZQKTT.mjs";import"../chunk-TPWSHFFI.mjs";import"../chunk-LDAD54H5.mjs";import"../chunk-Y7VR7X5W.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-FYIFBLHU.mjs";import"../chunk-KC64ESLO.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as ANS};
1
+ import{a}from"../chunk-2X3FRUKX.mjs";import"../chunk-UES76WF2.mjs";import"../chunk-7IY2Y73Q.mjs";import"../chunk-MNFGMNYS.mjs";import"../chunk-4FDIPWVB.mjs";import"../chunk-F52GIFKT.mjs";import"../chunk-7QJYTQSU.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-HQ4DGB7L.mjs";import"../chunk-OXO3Z2MF.mjs";import"../chunk-3QS3MFWJ.mjs";import"../chunk-PANYJULW.mjs";import"../chunk-C3Y52GHM.mjs";import"../chunk-FGTQT7Q5.mjs";import"../chunk-PRKZ2KJ4.mjs";import"../chunk-NLONZHYT.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-GQI3HWOB.mjs";import"../chunk-6F4ACCCZ.mjs";import"../chunk-Y5RQOXZH.mjs";import"../chunk-X7QBDRQR.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-KVJ2KGMW.mjs";import"../chunk-PZ5JKQSP.mjs";import"../chunk-N25GOEVL.mjs";import"../chunk-4K252UDE.mjs";import"../chunk-NMFS5KAE.mjs";import"../chunk-OWP2MKTX.mjs";import"../chunk-RCYWJZR4.mjs";import"../chunk-5HZKDT5C.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-EHJEK7FU.mjs";import"../chunk-UR5E2UDO.mjs";import"../chunk-5IVRKK5V.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-6DYNAFAP.mjs";import"../chunk-F2GFSFPW.mjs";import"../chunk-7B3VSBCX.mjs";import"../chunk-VMCFN5CT.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-IU5JZNH4.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-NFGAZSSK.mjs";import"../chunk-KR5JAN32.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-5X46HDCI.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-W4JEP5GW.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as ANS};
2
2
  //# sourceMappingURL=ans.mjs.map
@@ -43,6 +43,7 @@ import '../transactions/authenticator/account.mjs';
43
43
  import '../core/crypto/anyPublicKey.mjs';
44
44
  import '../core/crypto/anySignature.mjs';
45
45
  import '../core/crypto/ed25519.mjs';
46
+ import '../core/crypto/secp256k1.mjs';
46
47
  import '../core/crypto/multiEd25519.mjs';
47
48
  import '../core/crypto/multiKey.mjs';
48
49
  import '../internal/digitalAsset.mjs';
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-3732I6BR.mjs";import"../chunk-5LO7FR2P.mjs";import"../chunk-3VZ3OZKC.mjs";import"../chunk-DRPMIJH7.mjs";import"../chunk-4KTQIWUP.mjs";import"../chunk-J5BH7V37.mjs";import"../chunk-2OZRBXLM.mjs";import"../chunk-PZCMSHY6.mjs";import"../chunk-BM4HBROC.mjs";import"../chunk-67OGU66P.mjs";import"../chunk-LACQ537H.mjs";import"../chunk-M2V2POWK.mjs";import"../chunk-RKKU2SY5.mjs";import"../chunk-OCYS4V2V.mjs";import"../chunk-Y2HRRUZ6.mjs";import"../chunk-OCW2L33Q.mjs";import"../chunk-ZLW65YCO.mjs";import"../chunk-ZUHN56GM.mjs";import"../chunk-TGKB6ALT.mjs";import"../chunk-ARVSIDVB.mjs";import"../chunk-72F5YXGC.mjs";import"../chunk-L7AA75WZ.mjs";import"../chunk-OSTH5JRX.mjs";import"../chunk-RHS5ROLP.mjs";import"../chunk-O2B54NZT.mjs";import"../chunk-LXW3A3MJ.mjs";import"../chunk-BFQRMCY2.mjs";import"../chunk-U6SZNNVL.mjs";import"../chunk-BV4OOU5Y.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-WL4OXZLN.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-HO7K2UAK.mjs";import"../chunk-JZNLZMUC.mjs";import"../chunk-S36IYY6K.mjs";import"../chunk-VWVEDCBM.mjs";import"../chunk-KQXRH5FK.mjs";import"../chunk-R3KWVOFG.mjs";import"../chunk-EWTHPMEE.mjs";import"../chunk-UAAI3NCA.mjs";import"../chunk-OVHY6ZUJ.mjs";import"../chunk-QWVR4RCV.mjs";import"../chunk-WEJAI26R.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-33T7WTB6.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-TCTZCPQ6.mjs";import"../chunk-GAI75GOG.mjs";import"../chunk-IBH7IOIM.mjs";import"../chunk-44MGBJ73.mjs";import"../chunk-YYRDFZE6.mjs";import"../chunk-62SCW5NH.mjs";import"../chunk-U25N2VWA.mjs";import"../chunk-RYETO74W.mjs";import"../chunk-EFIYW4WK.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-HVADSXTB.mjs";import"../chunk-BPYLPPEQ.mjs";import"../chunk-4ADA5BE7.mjs";import"../chunk-X32O46IB.mjs";import"../chunk-GTC7WHMV.mjs";import"../chunk-NZIJV4O2.mjs";import"../chunk-HA6JD5R6.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-TIH6ARYP.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-GU4OUKAF.mjs";import"../chunk-UDBH4CER.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-ND3ZQKTT.mjs";import"../chunk-TPWSHFFI.mjs";import"../chunk-LDAD54H5.mjs";import"../chunk-Y7VR7X5W.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-FYIFBLHU.mjs";import"../chunk-KC64ESLO.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as Aptos};
1
+ import{a}from"../chunk-TTICPGX6.mjs";import"../chunk-W44E6YAW.mjs";import"../chunk-4XQ5IV6C.mjs";import"../chunk-PEBXSNMJ.mjs";import"../chunk-NZ36UN4C.mjs";import"../chunk-NBSXZKMQ.mjs";import"../chunk-IHYTP2EW.mjs";import"../chunk-DYJVDOBH.mjs";import"../chunk-BDTDWLGO.mjs";import"../chunk-U6Z4FNB7.mjs";import"../chunk-TNUGIBLO.mjs";import"../chunk-26GRNGPL.mjs";import"../chunk-GMOHGD73.mjs";import"../chunk-CBAVJ5EN.mjs";import"../chunk-5SRMD5C6.mjs";import"../chunk-DBJTMCAG.mjs";import"../chunk-PLY7MQKE.mjs";import"../chunk-XKINEFAA.mjs";import"../chunk-32A35CPU.mjs";import"../chunk-BA4TDBYB.mjs";import"../chunk-ZKFDLJ2F.mjs";import"../chunk-WXISFVRU.mjs";import"../chunk-Q3R3KKKP.mjs";import"../chunk-LBNMY7EM.mjs";import"../chunk-2X3FRUKX.mjs";import"../chunk-UES76WF2.mjs";import"../chunk-3RMXGSHK.mjs";import"../chunk-2AMFCGJ3.mjs";import"../chunk-ELWWME6B.mjs";import"../chunk-7IY2Y73Q.mjs";import"../chunk-MNFGMNYS.mjs";import"../chunk-4FDIPWVB.mjs";import"../chunk-F52GIFKT.mjs";import"../chunk-7QJYTQSU.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-HQ4DGB7L.mjs";import"../chunk-OXO3Z2MF.mjs";import"../chunk-3QS3MFWJ.mjs";import"../chunk-PANYJULW.mjs";import"../chunk-C3Y52GHM.mjs";import"../chunk-FGTQT7Q5.mjs";import"../chunk-PRKZ2KJ4.mjs";import"../chunk-NLONZHYT.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-GQI3HWOB.mjs";import"../chunk-6F4ACCCZ.mjs";import"../chunk-Y5RQOXZH.mjs";import"../chunk-X7QBDRQR.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-KVJ2KGMW.mjs";import"../chunk-PZ5JKQSP.mjs";import"../chunk-N25GOEVL.mjs";import"../chunk-4K252UDE.mjs";import"../chunk-NMFS5KAE.mjs";import"../chunk-OWP2MKTX.mjs";import"../chunk-RCYWJZR4.mjs";import"../chunk-5HZKDT5C.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-EHJEK7FU.mjs";import"../chunk-UR5E2UDO.mjs";import"../chunk-5IVRKK5V.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-6DYNAFAP.mjs";import"../chunk-F2GFSFPW.mjs";import"../chunk-7B3VSBCX.mjs";import"../chunk-VMCFN5CT.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-IU5JZNH4.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-NFGAZSSK.mjs";import"../chunk-KR5JAN32.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-5X46HDCI.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-W4JEP5GW.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as Aptos};
2
2
  //# sourceMappingURL=aptos.mjs.map
@@ -9,10 +9,10 @@ import '../types/generated/types.mjs';
9
9
  * This class holds the config information for the SDK client instance.
10
10
  */
11
11
  declare class AptosConfig {
12
- /** The Network that this SDK is associated with. */
12
+ /** The Network that this SDK is associated with. Defaults to DEVNET */
13
13
  readonly network: Network;
14
14
  /**
15
- * The client instance the SDK uses
15
+ * The client instance the SDK uses. Defaults to `@aptos-labs/aptos-client
16
16
  */
17
17
  readonly client: Client;
18
18
  /**
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-ARVSIDVB.mjs";import"../chunk-KC64ESLO.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as AptosConfig};
1
+ import{a}from"../chunk-3RMXGSHK.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as AptosConfig};
2
2
  //# sourceMappingURL=aptosConfig.mjs.map
@@ -1,10 +1,8 @@
1
- import { AptosConfig } from './aptosConfig.mjs';
2
1
  import { Account } from '../core/account.mjs';
3
2
  import { AccountAddressInput } from '../core/accountAddress.mjs';
4
3
  import { AnyNumber, MoveStructId } from '../types/index.mjs';
5
4
  import { InputGenerateTransactionOptions, SingleSignerTransaction } from '../transactions/types.mjs';
6
- import '../utils/apiEndpoints.mjs';
7
- import '../utils/const.mjs';
5
+ import { AptosConfig } from './aptosConfig.mjs';
8
6
  import '../core/authenticationKey.mjs';
9
7
  import '../core/crypto/asymmetricCrypto.mjs';
10
8
  import '../bcs/serializer.mjs';
@@ -12,6 +10,7 @@ import '../core/hex.mjs';
12
10
  import '../core/common.mjs';
13
11
  import '../bcs/deserializer.mjs';
14
12
  import '../transactions/instances/transactionArgument.mjs';
13
+ import '../utils/apiEndpoints.mjs';
15
14
  import '../types/indexer.mjs';
16
15
  import '../types/generated/operations.mjs';
17
16
  import '../types/generated/types.mjs';
@@ -28,8 +27,10 @@ import '../transactions/authenticator/account.mjs';
28
27
  import '../core/crypto/anyPublicKey.mjs';
29
28
  import '../core/crypto/anySignature.mjs';
30
29
  import '../core/crypto/ed25519.mjs';
30
+ import '../core/crypto/secp256k1.mjs';
31
31
  import '../core/crypto/multiEd25519.mjs';
32
32
  import '../core/crypto/multiKey.mjs';
33
+ import '../utils/const.mjs';
33
34
 
34
35
  /**
35
36
  * A class to handle all `Coin` operations
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-72F5YXGC.mjs";import"../chunk-L7AA75WZ.mjs";import"../chunk-O2B54NZT.mjs";import"../chunk-LXW3A3MJ.mjs";import"../chunk-BFQRMCY2.mjs";import"../chunk-U6SZNNVL.mjs";import"../chunk-BV4OOU5Y.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-WL4OXZLN.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-HO7K2UAK.mjs";import"../chunk-JZNLZMUC.mjs";import"../chunk-S36IYY6K.mjs";import"../chunk-VWVEDCBM.mjs";import"../chunk-KQXRH5FK.mjs";import"../chunk-R3KWVOFG.mjs";import"../chunk-EWTHPMEE.mjs";import"../chunk-UAAI3NCA.mjs";import"../chunk-OVHY6ZUJ.mjs";import"../chunk-QWVR4RCV.mjs";import"../chunk-WEJAI26R.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-33T7WTB6.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-TCTZCPQ6.mjs";import"../chunk-GAI75GOG.mjs";import"../chunk-IBH7IOIM.mjs";import"../chunk-44MGBJ73.mjs";import"../chunk-YYRDFZE6.mjs";import"../chunk-62SCW5NH.mjs";import"../chunk-U25N2VWA.mjs";import"../chunk-RYETO74W.mjs";import"../chunk-EFIYW4WK.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-HVADSXTB.mjs";import"../chunk-BPYLPPEQ.mjs";import"../chunk-4ADA5BE7.mjs";import"../chunk-X32O46IB.mjs";import"../chunk-GTC7WHMV.mjs";import"../chunk-NZIJV4O2.mjs";import"../chunk-HA6JD5R6.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-TIH6ARYP.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-GU4OUKAF.mjs";import"../chunk-UDBH4CER.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-ND3ZQKTT.mjs";import"../chunk-TPWSHFFI.mjs";import"../chunk-LDAD54H5.mjs";import"../chunk-Y7VR7X5W.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-FYIFBLHU.mjs";import"../chunk-KC64ESLO.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as Coin};
1
+ import{a}from"../chunk-2AMFCGJ3.mjs";import"../chunk-ELWWME6B.mjs";import"../chunk-7IY2Y73Q.mjs";import"../chunk-MNFGMNYS.mjs";import"../chunk-4FDIPWVB.mjs";import"../chunk-F52GIFKT.mjs";import"../chunk-7QJYTQSU.mjs";import"../chunk-HTZTTZQJ.mjs";import"../chunk-HQ4DGB7L.mjs";import"../chunk-OXO3Z2MF.mjs";import"../chunk-3QS3MFWJ.mjs";import"../chunk-PANYJULW.mjs";import"../chunk-C3Y52GHM.mjs";import"../chunk-FGTQT7Q5.mjs";import"../chunk-PRKZ2KJ4.mjs";import"../chunk-NLONZHYT.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-GQI3HWOB.mjs";import"../chunk-6F4ACCCZ.mjs";import"../chunk-Y5RQOXZH.mjs";import"../chunk-X7QBDRQR.mjs";import"../chunk-3JPVQHOR.mjs";import"../chunk-AH44UPM4.mjs";import"../chunk-E7FWVXGX.mjs";import"../chunk-UIVJXLRM.mjs";import"../chunk-KVJ2KGMW.mjs";import"../chunk-PZ5JKQSP.mjs";import"../chunk-N25GOEVL.mjs";import"../chunk-4K252UDE.mjs";import"../chunk-NMFS5KAE.mjs";import"../chunk-OWP2MKTX.mjs";import"../chunk-RCYWJZR4.mjs";import"../chunk-5HZKDT5C.mjs";import"../chunk-LR65XHSF.mjs";import"../chunk-EHJEK7FU.mjs";import"../chunk-UR5E2UDO.mjs";import"../chunk-5IVRKK5V.mjs";import"../chunk-BQSE5HHW.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-6DYNAFAP.mjs";import"../chunk-F2GFSFPW.mjs";import"../chunk-7B3VSBCX.mjs";import"../chunk-VMCFN5CT.mjs";import"../chunk-UDMADMVO.mjs";import"../chunk-IU5JZNH4.mjs";import"../chunk-NL72WE3E.mjs";import"../chunk-FBPNHF54.mjs";import"../chunk-N2FKVZ4D.mjs";import"../chunk-NFGAZSSK.mjs";import"../chunk-KR5JAN32.mjs";import"../chunk-EOC4UI5B.mjs";import"../chunk-LV33NV4J.mjs";import"../chunk-5X46HDCI.mjs";import"../chunk-ALFESCPU.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-W4JEP5GW.mjs";import"../chunk-6FBKUTGF.mjs";import"../chunk-DNDWTM7A.mjs";import"../chunk-ZWH2ESXT.mjs";export{a as Coin};
2
2
  //# sourceMappingURL=coin.mjs.map