@aptos-labs/ts-sdk 1.33.0-sc.1 → 1.33.0-sc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (699) hide show
  1. package/README.md +4 -6
  2. package/dist/common/{accountAddress-fJZJVSBc.d.ts → accountAddress-Cf1amU98.d.ts} +293 -1
  3. package/dist/common/{chunk-F43XVDYJ.js → chunk-IHUCZKG2.js} +1 -1
  4. package/dist/common/chunk-IHUCZKG2.js.map +1 -0
  5. package/dist/common/cli/index.d.ts +47 -9
  6. package/dist/common/cli/index.js +1 -1
  7. package/dist/common/cli/index.js.map +1 -1
  8. package/dist/common/index.d.ts +1945 -226
  9. package/dist/common/index.js +33 -33
  10. package/dist/common/index.js.map +1 -1
  11. package/dist/esm/{Ed25519Account-B3xHXAQe.d.mts → Ed25519Account-D4j3_WIS.d.mts} +122 -12
  12. package/dist/esm/account/AbstractKeylessAccount.d.mts +81 -7
  13. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  14. package/dist/esm/account/Account.d.mts +5 -4
  15. package/dist/esm/account/Account.mjs +1 -1
  16. package/dist/esm/account/AccountUtils.d.mts +65 -0
  17. package/dist/esm/account/AccountUtils.mjs +2 -0
  18. package/dist/esm/account/Ed25519Account.d.mts +3 -2
  19. package/dist/esm/account/Ed25519Account.mjs +1 -1
  20. package/dist/esm/account/EphemeralKeyPair.d.mts +29 -1
  21. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  22. package/dist/esm/account/FederatedKeylessAccount.d.mts +25 -5
  23. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  24. package/dist/esm/account/KeylessAccount.d.mts +30 -5
  25. package/dist/esm/account/KeylessAccount.mjs +1 -1
  26. package/dist/esm/account/MultiKeyAccount.d.mts +40 -5
  27. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  28. package/dist/esm/account/SingleKeyAccount.d.mts +4 -3
  29. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  30. package/dist/esm/account/index.d.mts +4 -2
  31. package/dist/esm/account/index.mjs +1 -1
  32. package/dist/esm/account/utils.d.mts +19 -0
  33. package/dist/esm/account/utils.mjs +2 -0
  34. package/dist/esm/account/utils.mjs.map +1 -0
  35. package/dist/esm/api/account.d.mts +25 -4
  36. package/dist/esm/api/account.mjs +1 -1
  37. package/dist/esm/api/ans.d.mts +18 -2
  38. package/dist/esm/api/ans.mjs +1 -1
  39. package/dist/esm/api/aptos.d.mts +5 -2
  40. package/dist/esm/api/aptos.mjs +1 -1
  41. package/dist/esm/api/aptosConfig.d.mts +16 -0
  42. package/dist/esm/api/aptosConfig.mjs +1 -1
  43. package/dist/esm/api/coin.d.mts +5 -1
  44. package/dist/esm/api/coin.mjs +1 -1
  45. package/dist/esm/api/digitalAsset.d.mts +29 -2
  46. package/dist/esm/api/digitalAsset.mjs +1 -1
  47. package/dist/esm/api/event.d.mts +6 -0
  48. package/dist/esm/api/event.mjs +1 -1
  49. package/dist/esm/api/faucet.d.mts +11 -2
  50. package/dist/esm/api/faucet.mjs +1 -1
  51. package/dist/esm/api/fungibleAsset.d.mts +11 -2
  52. package/dist/esm/api/fungibleAsset.mjs +1 -1
  53. package/dist/esm/api/general.d.mts +14 -1
  54. package/dist/esm/api/general.mjs +1 -1
  55. package/dist/esm/api/index.d.mts +3 -2
  56. package/dist/esm/api/index.mjs +1 -1
  57. package/dist/esm/api/keyless.d.mts +8 -2
  58. package/dist/esm/api/keyless.mjs +1 -1
  59. package/dist/esm/api/object.d.mts +3 -0
  60. package/dist/esm/api/object.mjs +1 -1
  61. package/dist/esm/api/staking.d.mts +5 -0
  62. package/dist/esm/api/staking.mjs +1 -1
  63. package/dist/esm/api/table.d.mts +5 -0
  64. package/dist/esm/api/table.mjs +1 -1
  65. package/dist/esm/api/transaction.d.mts +23 -6
  66. package/dist/esm/api/transaction.mjs +1 -1
  67. package/dist/esm/api/transactionSubmission/build.d.mts +7 -2
  68. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  69. package/dist/esm/api/transactionSubmission/helpers.d.mts +2 -0
  70. package/dist/esm/api/transactionSubmission/helpers.mjs +1 -1
  71. package/dist/esm/api/transactionSubmission/management.d.mts +8 -2
  72. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  73. package/dist/esm/api/transactionSubmission/sign.d.mts +7 -2
  74. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  75. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  76. package/dist/esm/api/transactionSubmission/simulate.d.mts +6 -1
  77. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  78. package/dist/esm/api/transactionSubmission/submit.d.mts +6 -1
  79. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  80. package/dist/esm/api/utils.d.mts +1 -0
  81. package/dist/esm/api/utils.mjs +1 -1
  82. package/dist/esm/bcs/deserializer.d.mts +56 -2
  83. package/dist/esm/bcs/deserializer.mjs +1 -1
  84. package/dist/esm/bcs/index.mjs +1 -1
  85. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +10 -0
  86. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
  87. package/dist/esm/bcs/serializable/fixedBytes.d.mts +12 -0
  88. package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
  89. package/dist/esm/bcs/serializable/movePrimitives.d.mts +24 -0
  90. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  91. package/dist/esm/bcs/serializable/moveStructs.d.mts +56 -0
  92. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  93. package/dist/esm/bcs/serializer.d.mts +60 -0
  94. package/dist/esm/bcs/serializer.mjs +1 -1
  95. package/dist/esm/{chunk-4JX6OQEE.mjs → chunk-2E7ZURV4.mjs} +2 -2
  96. package/dist/esm/chunk-2E7ZURV4.mjs.map +1 -0
  97. package/dist/esm/{chunk-3TOPGQJA.mjs → chunk-2N7W6DEV.mjs} +2 -2
  98. package/dist/esm/chunk-2N7W6DEV.mjs.map +1 -0
  99. package/dist/esm/{chunk-U7UTBXJD.mjs → chunk-2TKNO5VP.mjs} +2 -2
  100. package/dist/esm/chunk-2TKNO5VP.mjs.map +1 -0
  101. package/dist/esm/{chunk-FZDEGDUY.mjs → chunk-35DKMW7Q.mjs} +1 -1
  102. package/dist/esm/chunk-35DKMW7Q.mjs.map +1 -0
  103. package/dist/esm/{chunk-P6RNNESB.mjs → chunk-3MZNK25Y.mjs} +2 -2
  104. package/dist/esm/chunk-3MZNK25Y.mjs.map +1 -0
  105. package/dist/esm/{chunk-YT3IP57B.mjs → chunk-463TSKJJ.mjs} +2 -2
  106. package/dist/esm/chunk-463TSKJJ.mjs.map +1 -0
  107. package/dist/esm/chunk-4RXKALLC.mjs +2 -0
  108. package/dist/esm/chunk-4RXKALLC.mjs.map +1 -0
  109. package/dist/esm/chunk-4YLUM62M.mjs +2 -0
  110. package/dist/esm/chunk-4YLUM62M.mjs.map +1 -0
  111. package/dist/esm/{chunk-B2OF42B3.mjs → chunk-4ZYPDCSP.mjs} +2 -2
  112. package/dist/esm/chunk-4ZYPDCSP.mjs.map +1 -0
  113. package/dist/esm/{chunk-2E3EAJPC.mjs → chunk-5CBYEU5M.mjs} +2 -2
  114. package/dist/esm/chunk-5CBYEU5M.mjs.map +1 -0
  115. package/dist/esm/{chunk-MKM5MDD5.mjs → chunk-5J3ENG7I.mjs} +2 -2
  116. package/dist/esm/{chunk-MKM5MDD5.mjs.map → chunk-5J3ENG7I.mjs.map} +1 -1
  117. package/dist/esm/{chunk-D6WMUQB5.mjs → chunk-6CUW6UK5.mjs} +2 -2
  118. package/dist/esm/chunk-6CUW6UK5.mjs.map +1 -0
  119. package/dist/esm/{chunk-B6ERS4UX.mjs → chunk-6FW3RGYH.mjs} +2 -2
  120. package/dist/esm/chunk-6FW3RGYH.mjs.map +1 -0
  121. package/dist/esm/{chunk-EPBNJZ4A.mjs → chunk-6HFKPYDO.mjs} +2 -2
  122. package/dist/esm/chunk-6HFKPYDO.mjs.map +1 -0
  123. package/dist/esm/{chunk-WIDWY7A2.mjs → chunk-7IY3DTEF.mjs} +2 -2
  124. package/dist/esm/chunk-7IY3DTEF.mjs.map +1 -0
  125. package/dist/esm/{chunk-EVA2SMAU.mjs → chunk-7M36JLME.mjs} +2 -2
  126. package/dist/esm/chunk-7M36JLME.mjs.map +1 -0
  127. package/dist/esm/{chunk-TE3SBS7J.mjs → chunk-7TVQGK2Z.mjs} +2 -2
  128. package/dist/esm/chunk-7TVQGK2Z.mjs.map +1 -0
  129. package/dist/esm/{chunk-IKJAX5KQ.mjs → chunk-7YHXJ2VZ.mjs} +2 -2
  130. package/dist/esm/chunk-7YHXJ2VZ.mjs.map +1 -0
  131. package/dist/esm/{chunk-2CJC43CV.mjs → chunk-A5L76YP7.mjs} +1 -1
  132. package/dist/esm/chunk-A5L76YP7.mjs.map +1 -0
  133. package/dist/esm/chunk-A6JOTYKI.mjs +2 -0
  134. package/dist/esm/chunk-A6JOTYKI.mjs.map +1 -0
  135. package/dist/esm/{chunk-AOROYJ74.mjs → chunk-AZWVCBK2.mjs} +2 -2
  136. package/dist/esm/chunk-AZWVCBK2.mjs.map +1 -0
  137. package/dist/esm/{chunk-6ZOVTYLJ.mjs → chunk-BI3BTSUB.mjs} +2 -2
  138. package/dist/esm/chunk-BI3BTSUB.mjs.map +1 -0
  139. package/dist/esm/{chunk-OIOGOW6I.mjs → chunk-C3Q23D22.mjs} +1 -1
  140. package/dist/esm/chunk-C3Q23D22.mjs.map +1 -0
  141. package/dist/esm/{chunk-UQIMOQZ7.mjs → chunk-C7EPP6YK.mjs} +2 -2
  142. package/dist/esm/chunk-C7EPP6YK.mjs.map +1 -0
  143. package/dist/esm/{chunk-554TWPPO.mjs → chunk-CBISVLO4.mjs} +2 -2
  144. package/dist/esm/chunk-CBISVLO4.mjs.map +1 -0
  145. package/dist/esm/chunk-CNGG6O55.mjs +2 -0
  146. package/dist/esm/chunk-CNGG6O55.mjs.map +1 -0
  147. package/dist/esm/{chunk-VQZMI3EZ.mjs → chunk-CWKNJZB6.mjs} +2 -2
  148. package/dist/esm/chunk-CWKNJZB6.mjs.map +1 -0
  149. package/dist/esm/chunk-CX3MN3BM.mjs +2 -0
  150. package/dist/esm/chunk-CX3MN3BM.mjs.map +1 -0
  151. package/dist/esm/{chunk-V4FKFCBL.mjs → chunk-DAFSKSZ5.mjs} +1 -1
  152. package/dist/esm/chunk-DAFSKSZ5.mjs.map +1 -0
  153. package/dist/esm/chunk-DPW6ELCQ.mjs +2 -0
  154. package/dist/esm/chunk-DPW6ELCQ.mjs.map +1 -0
  155. package/dist/esm/{chunk-2CKUTG67.mjs → chunk-EBFY5RGU.mjs} +2 -2
  156. package/dist/esm/chunk-EBFY5RGU.mjs.map +1 -0
  157. package/dist/esm/{chunk-AJ5JHBAE.mjs → chunk-EBMEXURY.mjs} +2 -2
  158. package/dist/esm/chunk-EBMEXURY.mjs.map +1 -0
  159. package/dist/esm/chunk-EMURYYVO.mjs +2 -0
  160. package/dist/esm/chunk-EMURYYVO.mjs.map +1 -0
  161. package/dist/esm/{chunk-3QIOEU3Z.mjs → chunk-EQI5C3T7.mjs} +2 -2
  162. package/dist/esm/chunk-EQI5C3T7.mjs.map +1 -0
  163. package/dist/esm/chunk-F2ZTBAJJ.mjs +2 -0
  164. package/dist/esm/chunk-F2ZTBAJJ.mjs.map +1 -0
  165. package/dist/esm/chunk-FAPRBYNZ.mjs +2 -0
  166. package/dist/esm/chunk-FAPRBYNZ.mjs.map +1 -0
  167. package/dist/esm/{chunk-CW6P2DDJ.mjs → chunk-FI4HBHWL.mjs} +2 -2
  168. package/dist/esm/{chunk-CW6P2DDJ.mjs.map → chunk-FI4HBHWL.mjs.map} +1 -1
  169. package/dist/esm/chunk-FJGHHXPV.mjs +2 -0
  170. package/dist/esm/chunk-FJGHHXPV.mjs.map +1 -0
  171. package/dist/esm/{chunk-SHAKBL2R.mjs → chunk-FJMZQTTO.mjs} +2 -2
  172. package/dist/esm/chunk-FJMZQTTO.mjs.map +1 -0
  173. package/dist/esm/{chunk-AKIO3OIT.mjs → chunk-FN4C3CKC.mjs} +2 -2
  174. package/dist/esm/chunk-FN4C3CKC.mjs.map +1 -0
  175. package/dist/esm/{chunk-T6ADNZE5.mjs → chunk-G4O6FXCF.mjs} +2 -2
  176. package/dist/esm/chunk-G4O6FXCF.mjs.map +1 -0
  177. package/dist/esm/chunk-G5ZWH5T3.mjs +2 -0
  178. package/dist/esm/chunk-G5ZWH5T3.mjs.map +1 -0
  179. package/dist/esm/{chunk-EVASO3UR.mjs → chunk-GJALBHGP.mjs} +2 -2
  180. package/dist/esm/chunk-GJALBHGP.mjs.map +1 -0
  181. package/dist/esm/{chunk-GMKKHGXK.mjs → chunk-GOXRBEIJ.mjs} +1 -1
  182. package/dist/esm/chunk-GOXRBEIJ.mjs.map +1 -0
  183. package/dist/esm/chunk-GP4TLDVZ.mjs +1 -0
  184. package/dist/esm/chunk-GP4TLDVZ.mjs.map +1 -0
  185. package/dist/esm/{chunk-PMA7XAFK.mjs → chunk-GXFJ4HTV.mjs} +2 -2
  186. package/dist/esm/chunk-GXFJ4HTV.mjs.map +1 -0
  187. package/dist/esm/{chunk-FFBC7GFN.mjs → chunk-HBH2NQKU.mjs} +2 -2
  188. package/dist/esm/chunk-HBH2NQKU.mjs.map +1 -0
  189. package/dist/esm/{chunk-AR6BOLET.mjs → chunk-HGF6GLTW.mjs} +2 -2
  190. package/dist/esm/chunk-HGF6GLTW.mjs.map +1 -0
  191. package/dist/esm/{chunk-Q3CWUEXI.mjs → chunk-IDTLNF4M.mjs} +2 -2
  192. package/dist/esm/chunk-IDTLNF4M.mjs.map +1 -0
  193. package/dist/esm/{chunk-6Q2O5G3J.mjs → chunk-IF4UU2MT.mjs} +1 -1
  194. package/dist/esm/chunk-IF4UU2MT.mjs.map +1 -0
  195. package/dist/esm/{chunk-6YFM6NEC.mjs → chunk-IZGNT64R.mjs} +2 -2
  196. package/dist/esm/chunk-IZGNT64R.mjs.map +1 -0
  197. package/dist/esm/chunk-JJM6ELMS.mjs +2 -0
  198. package/dist/esm/chunk-JJM6ELMS.mjs.map +1 -0
  199. package/dist/esm/{chunk-J45GIVXE.mjs → chunk-KRBBSE7F.mjs} +2 -2
  200. package/dist/esm/chunk-KRBBSE7F.mjs.map +1 -0
  201. package/dist/esm/{chunk-7BKLEHKL.mjs → chunk-MCLYDS3O.mjs} +2 -2
  202. package/dist/esm/chunk-MCLYDS3O.mjs.map +1 -0
  203. package/dist/esm/{chunk-BVUMR7DQ.mjs → chunk-MKGDMRM6.mjs} +2 -2
  204. package/dist/esm/chunk-MKGDMRM6.mjs.map +1 -0
  205. package/dist/esm/{chunk-5XLZACVT.mjs → chunk-MQZWLAZH.mjs} +2 -2
  206. package/dist/esm/chunk-MQZWLAZH.mjs.map +1 -0
  207. package/dist/esm/{chunk-BRV3RLKW.mjs → chunk-MT2RJ7H3.mjs} +2 -2
  208. package/dist/esm/chunk-MT2RJ7H3.mjs.map +1 -0
  209. package/dist/esm/{chunk-ACVIE7IE.mjs → chunk-N4DM5FYH.mjs} +2 -2
  210. package/dist/esm/chunk-N4DM5FYH.mjs.map +1 -0
  211. package/dist/esm/{chunk-LGTOOAQI.mjs → chunk-N6YTF76Q.mjs} +2 -2
  212. package/dist/esm/chunk-N6YTF76Q.mjs.map +1 -0
  213. package/dist/esm/{chunk-DBAISV4K.mjs → chunk-NXQJWO3F.mjs} +2 -2
  214. package/dist/esm/chunk-NXQJWO3F.mjs.map +1 -0
  215. package/dist/esm/{chunk-2YTHKFJZ.mjs → chunk-ODEDSSQL.mjs} +2 -2
  216. package/dist/esm/chunk-ODEDSSQL.mjs.map +1 -0
  217. package/dist/esm/{chunk-2E3BT4YW.mjs → chunk-OHZURQPY.mjs} +2 -2
  218. package/dist/esm/chunk-OHZURQPY.mjs.map +1 -0
  219. package/dist/esm/{chunk-OZK26LTY.mjs → chunk-ONTWK5FU.mjs} +2 -2
  220. package/dist/esm/chunk-ONTWK5FU.mjs.map +1 -0
  221. package/dist/esm/{chunk-3QUZFCNW.mjs → chunk-OPOIWSNQ.mjs} +2 -2
  222. package/dist/esm/chunk-OPOIWSNQ.mjs.map +1 -0
  223. package/dist/esm/{chunk-42H7WETG.mjs → chunk-ORMOQWWH.mjs} +2 -2
  224. package/dist/esm/chunk-ORMOQWWH.mjs.map +1 -0
  225. package/dist/esm/chunk-PCEQYYQN.mjs +2 -0
  226. package/dist/esm/{chunk-YQHOQJRQ.mjs.map → chunk-PCEQYYQN.mjs.map} +1 -1
  227. package/dist/esm/{chunk-JNO7KPMG.mjs → chunk-Q4C4U6I4.mjs} +2 -2
  228. package/dist/esm/chunk-Q4C4U6I4.mjs.map +1 -0
  229. package/dist/esm/{chunk-F45G3GP3.mjs → chunk-QHEKBHNU.mjs} +2 -2
  230. package/dist/esm/{chunk-SOLRIYPW.mjs → chunk-QR7MBETX.mjs} +2 -2
  231. package/dist/esm/{chunk-CK5NDXQT.mjs → chunk-QY46YWI4.mjs} +2 -2
  232. package/dist/esm/chunk-QY46YWI4.mjs.map +1 -0
  233. package/dist/esm/{chunk-WJSZAGHP.mjs → chunk-REH6COWO.mjs} +2 -2
  234. package/dist/esm/chunk-REH6COWO.mjs.map +1 -0
  235. package/dist/esm/{chunk-J7PJSK3J.mjs → chunk-RJ7F4JDV.mjs} +1 -1
  236. package/dist/esm/chunk-RJ7F4JDV.mjs.map +1 -0
  237. package/dist/esm/chunk-ROT6S6BM.mjs +2 -0
  238. package/dist/esm/chunk-ROT6S6BM.mjs.map +1 -0
  239. package/dist/esm/chunk-RUJGUBO6.mjs +2 -0
  240. package/dist/esm/chunk-RUJGUBO6.mjs.map +1 -0
  241. package/dist/esm/{chunk-SPRNSFUV.mjs → chunk-STY74NUA.mjs} +2 -2
  242. package/dist/esm/chunk-STY74NUA.mjs.map +1 -0
  243. package/dist/esm/{chunk-GX4CYRK4.mjs → chunk-T6NQDM7D.mjs} +2 -2
  244. package/dist/esm/chunk-T6NQDM7D.mjs.map +1 -0
  245. package/dist/esm/{chunk-T7BTSSX7.mjs → chunk-THLQVL5U.mjs} +2 -2
  246. package/dist/esm/chunk-THLQVL5U.mjs.map +1 -0
  247. package/dist/esm/chunk-TKNOP7T6.mjs +2 -0
  248. package/dist/esm/chunk-TKNOP7T6.mjs.map +1 -0
  249. package/dist/esm/{chunk-ZMBXHMVQ.mjs → chunk-TOBQ5UE6.mjs} +2 -2
  250. package/dist/esm/chunk-TOBQ5UE6.mjs.map +1 -0
  251. package/dist/esm/{chunk-4ZNSNWQL.mjs → chunk-UBAFRK6R.mjs} +2 -2
  252. package/dist/esm/chunk-UBAFRK6R.mjs.map +1 -0
  253. package/dist/esm/{chunk-362NFXZR.mjs → chunk-UC23V7PU.mjs} +2 -2
  254. package/dist/esm/chunk-UC23V7PU.mjs.map +1 -0
  255. package/dist/esm/chunk-UKIQD7F3.mjs +2 -0
  256. package/dist/esm/chunk-UKIQD7F3.mjs.map +1 -0
  257. package/dist/esm/{chunk-BKSQPS2O.mjs → chunk-URLNFC5B.mjs} +2 -2
  258. package/dist/esm/chunk-URLNFC5B.mjs.map +1 -0
  259. package/dist/esm/chunk-UXX6DVWF.mjs +2 -0
  260. package/dist/esm/chunk-UXX6DVWF.mjs.map +1 -0
  261. package/dist/esm/{chunk-JJXLJY37.mjs → chunk-UY3DN5PG.mjs} +2 -2
  262. package/dist/esm/chunk-UY3DN5PG.mjs.map +1 -0
  263. package/dist/esm/{chunk-UTOO6IVJ.mjs → chunk-VDHHKO7S.mjs} +2 -2
  264. package/dist/esm/chunk-VDHHKO7S.mjs.map +1 -0
  265. package/dist/esm/{chunk-3BWKODVZ.mjs → chunk-VJBBLDN3.mjs} +2 -2
  266. package/dist/esm/chunk-VJBBLDN3.mjs.map +1 -0
  267. package/dist/esm/{chunk-AOQJI6IC.mjs → chunk-VQJTY7C6.mjs} +2 -2
  268. package/dist/esm/chunk-VQJTY7C6.mjs.map +1 -0
  269. package/dist/esm/chunk-VRQNGGQX.mjs +2 -0
  270. package/dist/esm/chunk-VRQNGGQX.mjs.map +1 -0
  271. package/dist/esm/chunk-VYDITG4M.mjs +2 -0
  272. package/dist/esm/chunk-VYDITG4M.mjs.map +1 -0
  273. package/dist/esm/{chunk-IHGA5KAD.mjs → chunk-W4BSN6SK.mjs} +1 -1
  274. package/dist/esm/chunk-W4BSN6SK.mjs.map +1 -0
  275. package/dist/esm/{chunk-J2NQJ34O.mjs → chunk-W62GQRCS.mjs} +2 -2
  276. package/dist/esm/chunk-W62GQRCS.mjs.map +1 -0
  277. package/dist/esm/chunk-WCMW2L3P.mjs +2 -0
  278. package/dist/esm/chunk-WCMW2L3P.mjs.map +1 -0
  279. package/dist/esm/{chunk-7CDITZUS.mjs → chunk-WM4DXMLN.mjs} +2 -2
  280. package/dist/esm/chunk-WM4DXMLN.mjs.map +1 -0
  281. package/dist/esm/{chunk-7R44XXPU.mjs → chunk-XAUI2DUN.mjs} +2 -2
  282. package/dist/esm/chunk-XAUI2DUN.mjs.map +1 -0
  283. package/dist/esm/{chunk-NNWPYX3K.mjs → chunk-XCRBVUJ7.mjs} +2 -2
  284. package/dist/esm/chunk-XCRBVUJ7.mjs.map +1 -0
  285. package/dist/esm/{chunk-2WLKSKL7.mjs → chunk-XEWJESJJ.mjs} +2 -2
  286. package/dist/esm/chunk-XEWJESJJ.mjs.map +1 -0
  287. package/dist/esm/{chunk-VGJIATTB.mjs → chunk-XGF7UNEW.mjs} +2 -2
  288. package/dist/esm/chunk-XGF7UNEW.mjs.map +1 -0
  289. package/dist/esm/{chunk-XEW2YQE2.mjs → chunk-XHLPZMWO.mjs} +2 -2
  290. package/dist/esm/chunk-XHLPZMWO.mjs.map +1 -0
  291. package/dist/esm/{chunk-S22QVNK7.mjs → chunk-XIAC52YK.mjs} +2 -2
  292. package/dist/esm/chunk-XIAC52YK.mjs.map +1 -0
  293. package/dist/esm/chunk-XJJVJOX5.mjs +2 -0
  294. package/dist/esm/{chunk-UGTIALNW.mjs.map → chunk-XJJVJOX5.mjs.map} +1 -1
  295. package/dist/esm/{chunk-OPO5EYF7.mjs → chunk-XKUIMGKU.mjs} +2 -2
  296. package/dist/esm/chunk-XKUIMGKU.mjs.map +1 -0
  297. package/dist/esm/chunk-XTOIL6MB.mjs +2 -0
  298. package/dist/esm/chunk-XTOIL6MB.mjs.map +1 -0
  299. package/dist/esm/{chunk-2G7SAWM3.mjs → chunk-YJPYSM2B.mjs} +2 -2
  300. package/dist/esm/chunk-YJPYSM2B.mjs.map +1 -0
  301. package/dist/esm/{chunk-HBIDHQ2M.mjs → chunk-YOZBVVKL.mjs} +1 -1
  302. package/dist/esm/chunk-YOZBVVKL.mjs.map +1 -0
  303. package/dist/esm/{chunk-QCIRC2SG.mjs → chunk-Z3J7ZDPN.mjs} +2 -2
  304. package/dist/esm/chunk-Z3J7ZDPN.mjs.map +1 -0
  305. package/dist/esm/cli/index.mjs +1 -1
  306. package/dist/esm/cli/localNode.d.mts +20 -8
  307. package/dist/esm/cli/localNode.mjs +1 -1
  308. package/dist/esm/cli/move.d.mts +26 -0
  309. package/dist/esm/cli/move.mjs +1 -1
  310. package/dist/esm/client/core.d.mts +4 -0
  311. package/dist/esm/client/core.mjs +1 -1
  312. package/dist/esm/client/get.d.mts +33 -1
  313. package/dist/esm/client/get.mjs +1 -1
  314. package/dist/esm/client/index.d.mts +1 -1
  315. package/dist/esm/client/index.mjs +1 -1
  316. package/dist/esm/client/post.d.mts +37 -0
  317. package/dist/esm/client/post.mjs +1 -1
  318. package/dist/esm/core/account/index.mjs +1 -1
  319. package/dist/esm/core/account/utils/address.d.mts +6 -0
  320. package/dist/esm/core/account/utils/address.mjs +1 -1
  321. package/dist/esm/core/account/utils/index.mjs +1 -1
  322. package/dist/esm/core/accountAddress.d.mts +46 -0
  323. package/dist/esm/core/accountAddress.mjs +1 -1
  324. package/dist/esm/core/authenticationKey.d.mts +1 -1
  325. package/dist/esm/core/authenticationKey.mjs +1 -1
  326. package/dist/esm/core/common.d.mts +14 -0
  327. package/dist/esm/core/common.mjs +1 -1
  328. package/dist/esm/core/crypto/ed25519.d.mts +57 -5
  329. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  330. package/dist/esm/core/crypto/ephemeral.d.mts +23 -1
  331. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  332. package/dist/esm/core/crypto/federatedKeyless.d.mts +13 -1
  333. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  334. package/dist/esm/core/crypto/hdKey.d.mts +28 -0
  335. package/dist/esm/core/crypto/hdKey.mjs +1 -1
  336. package/dist/esm/core/crypto/index.d.mts +2 -2
  337. package/dist/esm/core/crypto/index.mjs +1 -1
  338. package/dist/esm/core/crypto/keyless.d.mts +131 -1
  339. package/dist/esm/core/crypto/keyless.mjs +1 -1
  340. package/dist/esm/core/crypto/multiEd25519.d.mts +41 -1
  341. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  342. package/dist/esm/core/crypto/multiKey.d.mts +38 -1
  343. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  344. package/dist/esm/core/crypto/poseidon.d.mts +10 -0
  345. package/dist/esm/core/crypto/poseidon.mjs +1 -1
  346. package/dist/esm/core/crypto/privateKey.d.mts +9 -1
  347. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  348. package/dist/esm/core/crypto/proof.d.mts +2 -0
  349. package/dist/esm/core/crypto/proof.mjs +1 -1
  350. package/dist/esm/core/crypto/publicKey.d.mts +1 -1
  351. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  352. package/dist/esm/core/crypto/secp256k1.d.mts +51 -3
  353. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  354. package/dist/esm/core/crypto/signature.d.mts +6 -0
  355. package/dist/esm/core/crypto/signature.mjs +1 -1
  356. package/dist/esm/core/crypto/singleKey.d.mts +36 -2
  357. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  358. package/dist/esm/core/crypto/utils.d.mts +2 -0
  359. package/dist/esm/core/crypto/utils.mjs +1 -1
  360. package/dist/esm/core/hex.d.mts +20 -0
  361. package/dist/esm/core/hex.mjs +1 -1
  362. package/dist/esm/core/index.d.mts +2 -2
  363. package/dist/esm/core/index.mjs +1 -1
  364. package/dist/esm/errors/index.mjs +1 -1
  365. package/dist/esm/index.d.mts +5 -4
  366. package/dist/esm/index.mjs +1 -1
  367. package/dist/esm/internal/account.d.mts +24 -4
  368. package/dist/esm/internal/account.mjs +1 -1
  369. package/dist/esm/internal/ans.d.mts +27 -2
  370. package/dist/esm/internal/ans.mjs +1 -1
  371. package/dist/esm/internal/coin.d.mts +3 -1
  372. package/dist/esm/internal/coin.mjs +1 -1
  373. package/dist/esm/internal/digitalAsset.d.mts +31 -2
  374. package/dist/esm/internal/digitalAsset.mjs +1 -1
  375. package/dist/esm/internal/event.d.mts +5 -0
  376. package/dist/esm/internal/event.mjs +1 -1
  377. package/dist/esm/internal/faucet.d.mts +5 -0
  378. package/dist/esm/internal/faucet.mjs +1 -1
  379. package/dist/esm/internal/fungibleAsset.d.mts +8 -2
  380. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  381. package/dist/esm/internal/general.d.mts +7 -0
  382. package/dist/esm/internal/general.mjs +1 -1
  383. package/dist/esm/internal/keyless.d.mts +6 -2
  384. package/dist/esm/internal/keyless.mjs +1 -1
  385. package/dist/esm/internal/object.d.mts +2 -0
  386. package/dist/esm/internal/object.mjs +1 -1
  387. package/dist/esm/internal/staking.d.mts +5 -1
  388. package/dist/esm/internal/staking.mjs +1 -1
  389. package/dist/esm/internal/table.d.mts +3 -0
  390. package/dist/esm/internal/table.mjs +1 -1
  391. package/dist/esm/internal/transaction.d.mts +14 -0
  392. package/dist/esm/internal/transaction.mjs +1 -1
  393. package/dist/esm/internal/transactionSubmission.d.mts +16 -5
  394. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  395. package/dist/esm/internal/view.d.mts +2 -1
  396. package/dist/esm/internal/view.mjs +1 -1
  397. package/dist/esm/{publicKey-BVXX1nVl.d.mts → publicKey-BMtGNNLg.d.mts} +36 -0
  398. package/dist/esm/transactions/authenticator/account.d.mts +28 -1
  399. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  400. package/dist/esm/transactions/authenticator/index.d.mts +2 -1
  401. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  402. package/dist/esm/transactions/authenticator/transaction.d.mts +23 -2
  403. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  404. package/dist/esm/transactions/index.d.mts +2 -1
  405. package/dist/esm/transactions/index.mjs +1 -1
  406. package/dist/esm/transactions/instances/chainId.d.mts +8 -0
  407. package/dist/esm/transactions/instances/chainId.mjs +1 -1
  408. package/dist/esm/transactions/instances/identifier.d.mts +8 -0
  409. package/dist/esm/transactions/instances/identifier.mjs +1 -1
  410. package/dist/esm/transactions/instances/index.d.mts +2 -1
  411. package/dist/esm/transactions/instances/index.mjs +1 -1
  412. package/dist/esm/transactions/instances/moduleId.d.mts +10 -0
  413. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  414. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +8 -0
  415. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  416. package/dist/esm/transactions/instances/rawTransaction.d.mts +30 -0
  417. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  418. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +7 -1
  419. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  420. package/dist/esm/transactions/instances/signedTransaction.d.mts +10 -1
  421. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  422. package/dist/esm/transactions/instances/simpleTransaction.d.mts +8 -0
  423. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  424. package/dist/esm/transactions/instances/transactionArgument.d.mts +16 -0
  425. package/dist/esm/transactions/instances/transactionPayload.d.mts +48 -0
  426. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  427. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +19 -2
  428. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  429. package/dist/esm/transactions/management/asyncQueue.d.mts +16 -0
  430. package/dist/esm/transactions/management/asyncQueue.mjs +1 -1
  431. package/dist/esm/transactions/management/index.d.mts +3 -2
  432. package/dist/esm/transactions/management/index.mjs +1 -1
  433. package/dist/esm/transactions/management/transactionWorker.d.mts +45 -7
  434. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  435. package/dist/esm/transactions/script-composer/index.d.mts +5 -2
  436. package/dist/esm/transactions/script-composer/index.mjs +1 -1
  437. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +64 -1
  438. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  439. package/dist/esm/transactions/transactionBuilder/index.d.mts +2 -1
  440. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  441. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +14 -1
  442. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  443. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +10 -1
  444. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  445. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +42 -1
  446. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  447. package/dist/esm/transactions/typeTag/index.d.mts +82 -0
  448. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  449. package/dist/esm/transactions/typeTag/parser.d.mts +8 -0
  450. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  451. package/dist/esm/transactions/types.d.mts +80 -1
  452. package/dist/esm/types/indexer.d.mts +52 -0
  453. package/dist/esm/types/keyless.d.mts +12 -0
  454. package/dist/esm/utils/apiEndpoints.d.mts +30 -0
  455. package/dist/esm/utils/apiEndpoints.mjs +1 -1
  456. package/dist/esm/utils/const.d.mts +24 -0
  457. package/dist/esm/utils/const.mjs +1 -1
  458. package/dist/esm/utils/helpers.d.mts +20 -0
  459. package/dist/esm/utils/helpers.mjs +1 -1
  460. package/dist/esm/utils/index.mjs +1 -1
  461. package/dist/esm/utils/memoize.d.mts +4 -0
  462. package/dist/esm/utils/memoize.mjs +1 -1
  463. package/dist/esm/utils/normalizeBundle.d.mts +8 -0
  464. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  465. package/dist/esm/version.d.mts +1 -1
  466. package/dist/esm/version.mjs +1 -1
  467. package/package.json +20 -21
  468. package/src/account/AbstractKeylessAccount.ts +80 -9
  469. package/src/account/Account.ts +51 -6
  470. package/src/account/AccountUtils.ts +216 -0
  471. package/src/account/Ed25519Account.ts +26 -0
  472. package/src/account/EphemeralKeyPair.ts +30 -0
  473. package/src/account/FederatedKeylessAccount.ts +10 -3
  474. package/src/account/KeylessAccount.ts +13 -1
  475. package/src/account/MultiKeyAccount.ts +75 -12
  476. package/src/account/SingleKeyAccount.ts +63 -6
  477. package/src/account/index.ts +1 -0
  478. package/src/account/utils.ts +16 -0
  479. package/src/api/account.ts +22 -2
  480. package/src/api/ans.ts +15 -0
  481. package/src/api/aptos.ts +3 -0
  482. package/src/api/aptosConfig.ts +24 -0
  483. package/src/api/coin.ts +3 -0
  484. package/src/api/digitalAsset.ts +26 -0
  485. package/src/api/event.ts +6 -0
  486. package/src/api/faucet.ts +11 -2
  487. package/src/api/fungibleAsset.ts +8 -0
  488. package/src/api/general.ts +12 -0
  489. package/src/api/keyless.ts +6 -0
  490. package/src/api/object.ts +3 -0
  491. package/src/api/staking.ts +5 -0
  492. package/src/api/table.ts +5 -0
  493. package/src/api/transaction.ts +19 -3
  494. package/src/api/transactionSubmission/build.ts +10 -4
  495. package/src/api/transactionSubmission/helpers.ts +2 -0
  496. package/src/api/transactionSubmission/management.ts +5 -0
  497. package/src/api/transactionSubmission/sign.ts +4 -0
  498. package/src/api/transactionSubmission/simulate.ts +4 -0
  499. package/src/api/transactionSubmission/submit.ts +4 -0
  500. package/src/api/utils.ts +1 -0
  501. package/src/bcs/deserializer.ts +64 -2
  502. package/src/bcs/serializable/entryFunctionBytes.ts +10 -0
  503. package/src/bcs/serializable/fixedBytes.ts +12 -0
  504. package/src/bcs/serializable/movePrimitives.ts +26 -0
  505. package/src/bcs/serializable/moveStructs.ts +56 -0
  506. package/src/bcs/serializer.ts +64 -1
  507. package/src/cli/localNode.ts +22 -8
  508. package/src/cli/move.ts +26 -0
  509. package/src/client/core.ts +4 -0
  510. package/src/client/get.ts +75 -1
  511. package/src/client/post.ts +37 -0
  512. package/src/core/account/utils/address.ts +6 -0
  513. package/src/core/accountAddress.ts +46 -0
  514. package/src/core/authenticationKey.ts +22 -0
  515. package/src/core/common.ts +14 -0
  516. package/src/core/crypto/ed25519.ts +58 -4
  517. package/src/core/crypto/ephemeral.ts +22 -0
  518. package/src/core/crypto/federatedKeyless.ts +12 -0
  519. package/src/core/crypto/hdKey.ts +29 -0
  520. package/src/core/crypto/keyless.ts +134 -0
  521. package/src/core/crypto/multiEd25519.ts +40 -0
  522. package/src/core/crypto/multiKey.ts +37 -1
  523. package/src/core/crypto/poseidon.ts +20 -0
  524. package/src/core/crypto/privateKey.ts +17 -8
  525. package/src/core/crypto/proof.ts +2 -0
  526. package/src/core/crypto/publicKey.ts +14 -0
  527. package/src/core/crypto/secp256k1.ts +62 -5
  528. package/src/core/crypto/signature.ts +8 -0
  529. package/src/core/crypto/singleKey.ts +34 -2
  530. package/src/core/crypto/utils.ts +2 -0
  531. package/src/core/hex.ts +20 -0
  532. package/src/internal/account.ts +27 -7
  533. package/src/internal/ans.ts +27 -0
  534. package/src/internal/coin.ts +1 -0
  535. package/src/internal/digitalAsset.ts +30 -0
  536. package/src/internal/event.ts +6 -0
  537. package/src/internal/faucet.ts +5 -0
  538. package/src/internal/fungibleAsset.ts +5 -0
  539. package/src/internal/general.ts +7 -0
  540. package/src/internal/keyless.ts +4 -0
  541. package/src/internal/object.ts +2 -0
  542. package/src/internal/staking.ts +5 -1
  543. package/src/internal/table.ts +3 -0
  544. package/src/internal/transaction.ts +16 -0
  545. package/src/internal/transactionSubmission.ts +15 -2
  546. package/src/transactions/authenticator/account.ts +26 -0
  547. package/src/transactions/authenticator/transaction.ts +20 -0
  548. package/src/transactions/instances/chainId.ts +8 -0
  549. package/src/transactions/instances/identifier.ts +8 -0
  550. package/src/transactions/instances/moduleId.ts +10 -0
  551. package/src/transactions/instances/multiAgentTransaction.ts +8 -0
  552. package/src/transactions/instances/rawTransaction.ts +30 -0
  553. package/src/transactions/instances/rotationProofChallenge.ts +6 -0
  554. package/src/transactions/instances/signedTransaction.ts +8 -0
  555. package/src/transactions/instances/simpleTransaction.ts +8 -0
  556. package/src/transactions/instances/transactionArgument.ts +16 -0
  557. package/src/transactions/instances/transactionPayload.ts +50 -0
  558. package/src/transactions/management/accountSequenceNumber.ts +16 -0
  559. package/src/transactions/management/asyncQueue.ts +16 -0
  560. package/src/transactions/management/transactionWorker.ts +42 -5
  561. package/src/transactions/script-composer/index.ts +17 -8
  562. package/src/transactions/transactionBuilder/helpers.ts +82 -10
  563. package/src/transactions/transactionBuilder/remoteAbi.ts +20 -0
  564. package/src/transactions/transactionBuilder/signingMessage.ts +10 -0
  565. package/src/transactions/transactionBuilder/transactionBuilder.ts +58 -0
  566. package/src/transactions/typeTag/index.ts +82 -0
  567. package/src/transactions/typeTag/parser.ts +24 -0
  568. package/src/transactions/types.ts +78 -0
  569. package/src/types/indexer.ts +52 -0
  570. package/src/types/keyless.ts +12 -0
  571. package/src/utils/apiEndpoints.ts +30 -2
  572. package/src/utils/const.ts +24 -1
  573. package/src/utils/helpers.ts +22 -0
  574. package/src/utils/memoize.ts +6 -0
  575. package/src/utils/normalizeBundle.ts +8 -1
  576. package/src/version.ts +1 -1
  577. package/dist/common/chunk-F43XVDYJ.js.map +0 -1
  578. package/dist/esm/chunk-2CJC43CV.mjs.map +0 -1
  579. package/dist/esm/chunk-2CKUTG67.mjs.map +0 -1
  580. package/dist/esm/chunk-2E3BT4YW.mjs.map +0 -1
  581. package/dist/esm/chunk-2E3EAJPC.mjs.map +0 -1
  582. package/dist/esm/chunk-2G7SAWM3.mjs.map +0 -1
  583. package/dist/esm/chunk-2WLKSKL7.mjs.map +0 -1
  584. package/dist/esm/chunk-2YTHKFJZ.mjs.map +0 -1
  585. package/dist/esm/chunk-362NFXZR.mjs.map +0 -1
  586. package/dist/esm/chunk-3BWKODVZ.mjs.map +0 -1
  587. package/dist/esm/chunk-3QIOEU3Z.mjs.map +0 -1
  588. package/dist/esm/chunk-3QUZFCNW.mjs.map +0 -1
  589. package/dist/esm/chunk-3TOPGQJA.mjs.map +0 -1
  590. package/dist/esm/chunk-42H7WETG.mjs.map +0 -1
  591. package/dist/esm/chunk-4JX6OQEE.mjs.map +0 -1
  592. package/dist/esm/chunk-4O5XDQDO.mjs +0 -2
  593. package/dist/esm/chunk-4O5XDQDO.mjs.map +0 -1
  594. package/dist/esm/chunk-4ZNSNWQL.mjs.map +0 -1
  595. package/dist/esm/chunk-554TWPPO.mjs.map +0 -1
  596. package/dist/esm/chunk-5B3SMBXQ.mjs +0 -2
  597. package/dist/esm/chunk-5B3SMBXQ.mjs.map +0 -1
  598. package/dist/esm/chunk-5XLZACVT.mjs.map +0 -1
  599. package/dist/esm/chunk-6EVBSHT2.mjs +0 -2
  600. package/dist/esm/chunk-6EVBSHT2.mjs.map +0 -1
  601. package/dist/esm/chunk-6Q2O5G3J.mjs.map +0 -1
  602. package/dist/esm/chunk-6YFM6NEC.mjs.map +0 -1
  603. package/dist/esm/chunk-6ZOVTYLJ.mjs.map +0 -1
  604. package/dist/esm/chunk-77ILVREP.mjs +0 -2
  605. package/dist/esm/chunk-77ILVREP.mjs.map +0 -1
  606. package/dist/esm/chunk-7BKLEHKL.mjs.map +0 -1
  607. package/dist/esm/chunk-7CDITZUS.mjs.map +0 -1
  608. package/dist/esm/chunk-7R44XXPU.mjs.map +0 -1
  609. package/dist/esm/chunk-A7KFSQSE.mjs +0 -2
  610. package/dist/esm/chunk-A7KFSQSE.mjs.map +0 -1
  611. package/dist/esm/chunk-ACVIE7IE.mjs.map +0 -1
  612. package/dist/esm/chunk-AJ5JHBAE.mjs.map +0 -1
  613. package/dist/esm/chunk-AKIO3OIT.mjs.map +0 -1
  614. package/dist/esm/chunk-AOQJI6IC.mjs.map +0 -1
  615. package/dist/esm/chunk-AOROYJ74.mjs.map +0 -1
  616. package/dist/esm/chunk-AR6BOLET.mjs.map +0 -1
  617. package/dist/esm/chunk-AVZYJAXR.mjs +0 -2
  618. package/dist/esm/chunk-AVZYJAXR.mjs.map +0 -1
  619. package/dist/esm/chunk-B2OF42B3.mjs.map +0 -1
  620. package/dist/esm/chunk-B6ERS4UX.mjs.map +0 -1
  621. package/dist/esm/chunk-BKSQPS2O.mjs.map +0 -1
  622. package/dist/esm/chunk-BRV3RLKW.mjs.map +0 -1
  623. package/dist/esm/chunk-BVUMR7DQ.mjs.map +0 -1
  624. package/dist/esm/chunk-BZ7OCXLM.mjs +0 -2
  625. package/dist/esm/chunk-BZ7OCXLM.mjs.map +0 -1
  626. package/dist/esm/chunk-CK5NDXQT.mjs.map +0 -1
  627. package/dist/esm/chunk-D3OEQLUE.mjs +0 -2
  628. package/dist/esm/chunk-D3OEQLUE.mjs.map +0 -1
  629. package/dist/esm/chunk-D52UKPQF.mjs +0 -2
  630. package/dist/esm/chunk-D52UKPQF.mjs.map +0 -1
  631. package/dist/esm/chunk-D6WMUQB5.mjs.map +0 -1
  632. package/dist/esm/chunk-DBAISV4K.mjs.map +0 -1
  633. package/dist/esm/chunk-EPBNJZ4A.mjs.map +0 -1
  634. package/dist/esm/chunk-EVA2SMAU.mjs.map +0 -1
  635. package/dist/esm/chunk-EVASO3UR.mjs.map +0 -1
  636. package/dist/esm/chunk-FFBC7GFN.mjs.map +0 -1
  637. package/dist/esm/chunk-FZDEGDUY.mjs.map +0 -1
  638. package/dist/esm/chunk-GAEAYY44.mjs +0 -1
  639. package/dist/esm/chunk-GMKKHGXK.mjs.map +0 -1
  640. package/dist/esm/chunk-GX4CYRK4.mjs.map +0 -1
  641. package/dist/esm/chunk-H6RW3TML.mjs +0 -2
  642. package/dist/esm/chunk-H6RW3TML.mjs.map +0 -1
  643. package/dist/esm/chunk-HBIDHQ2M.mjs.map +0 -1
  644. package/dist/esm/chunk-HXCL6KBW.mjs +0 -2
  645. package/dist/esm/chunk-HXCL6KBW.mjs.map +0 -1
  646. package/dist/esm/chunk-IHGA5KAD.mjs.map +0 -1
  647. package/dist/esm/chunk-IIV42FZR.mjs +0 -2
  648. package/dist/esm/chunk-IIV42FZR.mjs.map +0 -1
  649. package/dist/esm/chunk-IKJAX5KQ.mjs.map +0 -1
  650. package/dist/esm/chunk-IZ3I5XZU.mjs +0 -2
  651. package/dist/esm/chunk-IZ3I5XZU.mjs.map +0 -1
  652. package/dist/esm/chunk-J2NQJ34O.mjs.map +0 -1
  653. package/dist/esm/chunk-J45GIVXE.mjs.map +0 -1
  654. package/dist/esm/chunk-J7PJSK3J.mjs.map +0 -1
  655. package/dist/esm/chunk-JJXLJY37.mjs.map +0 -1
  656. package/dist/esm/chunk-JNO7KPMG.mjs.map +0 -1
  657. package/dist/esm/chunk-LGTOOAQI.mjs.map +0 -1
  658. package/dist/esm/chunk-LRN4ALMT.mjs +0 -2
  659. package/dist/esm/chunk-LRN4ALMT.mjs.map +0 -1
  660. package/dist/esm/chunk-MHN6XY4Z.mjs +0 -2
  661. package/dist/esm/chunk-MHN6XY4Z.mjs.map +0 -1
  662. package/dist/esm/chunk-NNWPYX3K.mjs.map +0 -1
  663. package/dist/esm/chunk-OIOGOW6I.mjs.map +0 -1
  664. package/dist/esm/chunk-OPO5EYF7.mjs.map +0 -1
  665. package/dist/esm/chunk-OZK26LTY.mjs.map +0 -1
  666. package/dist/esm/chunk-P6RNNESB.mjs.map +0 -1
  667. package/dist/esm/chunk-PC4HNMCP.mjs +0 -2
  668. package/dist/esm/chunk-PC4HNMCP.mjs.map +0 -1
  669. package/dist/esm/chunk-PMA7XAFK.mjs.map +0 -1
  670. package/dist/esm/chunk-Q3CWUEXI.mjs.map +0 -1
  671. package/dist/esm/chunk-QCIRC2SG.mjs.map +0 -1
  672. package/dist/esm/chunk-S22QVNK7.mjs.map +0 -1
  673. package/dist/esm/chunk-SHAKBL2R.mjs.map +0 -1
  674. package/dist/esm/chunk-SPRNSFUV.mjs.map +0 -1
  675. package/dist/esm/chunk-T6ADNZE5.mjs.map +0 -1
  676. package/dist/esm/chunk-T7BTSSX7.mjs.map +0 -1
  677. package/dist/esm/chunk-TE3SBS7J.mjs.map +0 -1
  678. package/dist/esm/chunk-U7UTBXJD.mjs.map +0 -1
  679. package/dist/esm/chunk-UGTIALNW.mjs +0 -2
  680. package/dist/esm/chunk-UQIMOQZ7.mjs.map +0 -1
  681. package/dist/esm/chunk-UTOO6IVJ.mjs.map +0 -1
  682. package/dist/esm/chunk-UZTJWOLS.mjs +0 -2
  683. package/dist/esm/chunk-UZTJWOLS.mjs.map +0 -1
  684. package/dist/esm/chunk-V4FKFCBL.mjs.map +0 -1
  685. package/dist/esm/chunk-V5NDNR36.mjs +0 -2
  686. package/dist/esm/chunk-V5NDNR36.mjs.map +0 -1
  687. package/dist/esm/chunk-VGJIATTB.mjs.map +0 -1
  688. package/dist/esm/chunk-VQZMI3EZ.mjs.map +0 -1
  689. package/dist/esm/chunk-WIDWY7A2.mjs.map +0 -1
  690. package/dist/esm/chunk-WJSZAGHP.mjs.map +0 -1
  691. package/dist/esm/chunk-XEW2YQE2.mjs.map +0 -1
  692. package/dist/esm/chunk-YIQ3JFHW.mjs +0 -2
  693. package/dist/esm/chunk-YIQ3JFHW.mjs.map +0 -1
  694. package/dist/esm/chunk-YQHOQJRQ.mjs +0 -2
  695. package/dist/esm/chunk-YT3IP57B.mjs.map +0 -1
  696. package/dist/esm/chunk-ZMBXHMVQ.mjs.map +0 -1
  697. /package/dist/esm/{chunk-GAEAYY44.mjs.map → account/AccountUtils.mjs.map} +0 -0
  698. /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
  699. /package/dist/esm/{chunk-SOLRIYPW.mjs.map → chunk-QR7MBETX.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { Deserializer } from '../../bcs/deserializer.mjs';
2
2
  import { Serializer } from '../../bcs/serializer.mjs';
3
- import { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs, A as AuthenticationKey } from '../../publicKey-BVXX1nVl.mjs';
3
+ import { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs, A as AuthenticationKey } from '../../publicKey-BMtGNNLg.mjs';
4
4
  import { Signature } from './signature.mjs';
5
5
  import { AnyPublicKey, AnySignature } from './singleKey.mjs';
6
6
  import '../../types/types.mjs';
@@ -13,6 +13,9 @@ import '../hex.mjs';
13
13
  import '../common.mjs';
14
14
  import '../accountAddress.mjs';
15
15
  import '../../transactions/instances/transactionArgument.mjs';
16
+ import './ed25519.mjs';
17
+ import './privateKey.mjs';
18
+ import './secp256k1.mjs';
16
19
 
17
20
  /**
18
21
  * Represents a multi-key authentication scheme for accounts, allowing multiple public keys
@@ -22,14 +25,20 @@ import '../../transactions/instances/transactionArgument.mjs';
22
25
  * The public keys of each individual agent can be any type of public key supported by Aptos.
23
26
  * Since [AIP-55](https://github.com/aptos-foundation/AIPs/pull/263), Aptos supports
24
27
  * `Legacy` and `Unified` authentication keys.
28
+ * @group Implementation
29
+ * @category Serialization
25
30
  */
26
31
  declare class MultiKey extends AccountPublicKey {
27
32
  /**
28
33
  * List of any public keys
34
+ * @group Implementation
35
+ * @category Serialization
29
36
  */
30
37
  readonly publicKeys: AnyPublicKey[];
31
38
  /**
32
39
  * The minimum number of valid signatures required, for the number of public keys specified
40
+ * @group Implementation
41
+ * @category Serialization
33
42
  */
34
43
  readonly signaturesRequired: number;
35
44
  /**
@@ -43,6 +52,8 @@ declare class MultiKey extends AccountPublicKey {
43
52
  *
44
53
  * @throws Error if the number of signatures exceeds the maximum supported, if the bitmap length is incorrect, or if the number
45
54
  * of signatures does not match the bitmap.
55
+ * @group Implementation
56
+ * @category Serialization
46
57
  */
47
58
  constructor(args: {
48
59
  publicKeys: Array<PublicKey>;
@@ -55,6 +66,8 @@ declare class MultiKey extends AccountPublicKey {
55
66
  * @param args - The arguments for verifying the signature.
56
67
  * @param args.message - The message that was signed.
57
68
  * @param args.signature - The signature to verify.
69
+ * @group Implementation
70
+ * @category Serialization
58
71
  */
59
72
  verifySignature(args: VerifySignatureArgs): boolean;
60
73
  /**
@@ -62,6 +75,8 @@ declare class MultiKey extends AccountPublicKey {
62
75
  * This key can be used for secure authentication processes within the system.
63
76
  *
64
77
  * @returns {AuthenticationKey} The generated authentication key.
78
+ * @group Implementation
79
+ * @category Serialization
65
80
  */
66
81
  authKey(): AuthenticationKey;
67
82
  /**
@@ -69,6 +84,8 @@ declare class MultiKey extends AccountPublicKey {
69
84
  * This allows the object to be converted into a format suitable for transmission or storage.
70
85
  *
71
86
  * @param serializer - The serializer instance used to perform the serialization.
87
+ * @group Implementation
88
+ * @category Serialization
72
89
  */
73
90
  serialize(serializer: Serializer): void;
74
91
  /**
@@ -76,6 +93,8 @@ declare class MultiKey extends AccountPublicKey {
76
93
  * This function retrieves the signatures and bitmap necessary for creating a MultiKeySignature object.
77
94
  *
78
95
  * @param deserializer - The deserializer instance used to read the serialized data.
96
+ * @group Implementation
97
+ * @category Serialization
79
98
  */
80
99
  static deserialize(deserializer: Deserializer): MultiKey;
81
100
  /**
@@ -84,6 +103,8 @@ declare class MultiKey extends AccountPublicKey {
84
103
  *
85
104
  * @param args.bits array of the index mapping to the matching public keys
86
105
  * @returns Uint8array bit map
106
+ * @group Implementation
107
+ * @category Serialization
87
108
  */
88
109
  createBitmap(args: {
89
110
  bits: number[];
@@ -97,6 +118,8 @@ declare class MultiKey extends AccountPublicKey {
97
118
  * @param publicKey - The public key to find the index for.
98
119
  * @returns The corresponding index of the public key, if it exists.
99
120
  * @throws Error - If the public key is not found in the MultiKey.
121
+ * @group Implementation
122
+ * @category Serialization
100
123
  */
101
124
  getIndex(publicKey: PublicKey): number;
102
125
  static isInstance(value: PublicKey): value is MultiKey;
@@ -108,24 +131,34 @@ declare class MultiKey extends AccountPublicKey {
108
131
  *
109
132
  * It includes functionality to validate the number of signatures against a bitmap,
110
133
  * which indicates which public keys have signed the transaction.
134
+ * @group Implementation
135
+ * @category Serialization
111
136
  */
112
137
  declare class MultiKeySignature extends Signature {
113
138
  /**
114
139
  * Number of bytes in the bitmap representing who signed the transaction (32-bits)
140
+ * @group Implementation
141
+ * @category Serialization
115
142
  */
116
143
  static BITMAP_LEN: number;
117
144
  /**
118
145
  * Maximum number of Ed25519 signatures supported
146
+ * @group Implementation
147
+ * @category Serialization
119
148
  */
120
149
  static MAX_SIGNATURES_SUPPORTED: number;
121
150
  /**
122
151
  * The list of underlying Ed25519 signatures
152
+ * @group Implementation
153
+ * @category Serialization
123
154
  */
124
155
  readonly signatures: AnySignature[];
125
156
  /**
126
157
  * 32-bit Bitmap representing who signed the transaction
127
158
  *
128
159
  * This is represented where each public key can be masked to determine whether the message was signed by that key.
160
+ * @group Implementation
161
+ * @category Serialization
129
162
  */
130
163
  readonly bitmap: Uint8Array;
131
164
  /**
@@ -137,6 +170,8 @@ declare class MultiKeySignature extends Signature {
137
170
  * @param args.signatures A list of signatures
138
171
  * @param args.bitmap 4 bytes, at most 32 signatures are supported. If Nth bit value is `1`, the Nth
139
172
  * signature should be provided in `signatures`. Bits are read from left to right
173
+ * @group Implementation
174
+ * @category Serialization
140
175
  */
141
176
  constructor(args: {
142
177
  signatures: Array<Signature | AnySignature>;
@@ -155,6 +190,8 @@ declare class MultiKeySignature extends Signature {
155
190
  * The result bitmap should be 0b1010000000000000000000000000001
156
191
  *
157
192
  * @returns bitmap that is 32bit long
193
+ * @group Implementation
194
+ * @category Serialization
158
195
  */
159
196
  static createBitmap(args: {
160
197
  bits: number[];
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../chunk-H6RW3TML.mjs";import"../../chunk-EVASO3UR.mjs";import"../../chunk-YIQ3JFHW.mjs";import"../../chunk-T7BTSSX7.mjs";import"../../chunk-SHAKBL2R.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-GX4CYRK4.mjs";import"../../chunk-VGJIATTB.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-LRN4ALMT.mjs";import"../../chunk-YT3IP57B.mjs";import"../../chunk-P6RNNESB.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-YQHOQJRQ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as MultiKey,b as MultiKeySignature};
1
+ import{a,b}from"../../chunk-VRQNGGQX.mjs";import"../../chunk-GJALBHGP.mjs";import"../../chunk-G5ZWH5T3.mjs";import"../../chunk-THLQVL5U.mjs";import"../../chunk-FJMZQTTO.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-T6NQDM7D.mjs";import"../../chunk-XGF7UNEW.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-FN4C3CKC.mjs";import"../../chunk-Q4C4U6I4.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-FJGHHXPV.mjs";import"../../chunk-463TSKJJ.mjs";import"../../chunk-3MZNK25Y.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-4YLUM62M.mjs";import"../../chunk-QHEKBHNU.mjs";import"../../chunk-DAFSKSZ5.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-RJ7F4JDV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-PCEQYYQN.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as MultiKey,b as MultiKeySignature};
2
2
  //# sourceMappingURL=multiKey.mjs.map
@@ -5,6 +5,8 @@
5
5
  * @param str - The string to be hashed.
6
6
  * @param maxSizeBytes - The maximum size in bytes for the resulting hash.
7
7
  * @returns bigint - The result of the hash.
8
+ * @group Implementation
9
+ * @category Serialization
8
10
  */
9
11
  declare function hashStrToField(str: string, maxSizeBytes: number): bigint;
10
12
  /**
@@ -16,6 +18,8 @@ declare function hashStrToField(str: string, maxSizeBytes: number): bigint;
16
18
  * @param maxSizeBytes - The maximum allowed size for the byte array.
17
19
  * @throws Error if the length of the input bytes exceeds the maximum size.
18
20
  * @returns A new Uint8Array that contains the padded and packed bytes along with the length of the original byte array.
21
+ * @group Implementation
22
+ * @category Serialization
19
23
  */
20
24
  declare function padAndPackBytesWithLen(bytes: Uint8Array, maxSizeBytes: number): bigint[];
21
25
  /**
@@ -24,6 +28,8 @@ declare function padAndPackBytesWithLen(bytes: Uint8Array, maxSizeBytes: number)
24
28
  *
25
29
  * @param bytes - The byte array to convert.
26
30
  * @returns The resulting BigInt representation of the byte array.
31
+ * @group Implementation
32
+ * @category Serialization
27
33
  */
28
34
  declare function bytesToBigIntLE(bytes: Uint8Array): bigint;
29
35
  /**
@@ -34,6 +40,8 @@ declare function bytesToBigIntLE(bytes: Uint8Array): bigint;
34
40
  * @param value - The number to convert into bytes.
35
41
  * @param length - The desired length of the resulting byte array.
36
42
  * @returns A Uint8Array containing the little-endian representation of the bigint value.
43
+ * @group Implementation
44
+ * @category Serialization
37
45
  */
38
46
  declare function bigIntToBytesLE(value: bigint | number, length: number): Uint8Array;
39
47
  /**
@@ -43,6 +51,8 @@ declare function bigIntToBytesLE(value: bigint | number, length: number): Uint8A
43
51
  * @param inputs - An array of elements to be hashed, which can be of type number, bigint, or string.
44
52
  * @returns bigint - The result of the hash.
45
53
  * @throws Error - Throws an error if the input length exceeds the maximum allowed.
54
+ * @group Implementation
55
+ * @category Serialization
46
56
  */
47
57
  declare function poseidonHash(inputs: (number | bigint | string)[]): bigint;
48
58
 
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e}from"../../chunk-GMKKHGXK.mjs";import"../../chunk-KDMSOCZY.mjs";export{d as bigIntToBytesLE,c as bytesToBigIntLE,a as hashStrToField,b as padAndPackBytesWithLen,e as poseidonHash};
1
+ import{a,b,c,d,e}from"../../chunk-GOXRBEIJ.mjs";import"../../chunk-KDMSOCZY.mjs";export{d as bigIntToBytesLE,c as bytesToBigIntLE,a as hashStrToField,b as padAndPackBytesWithLen,e as poseidonHash};
2
2
  //# sourceMappingURL=poseidon.mjs.map
@@ -1,6 +1,6 @@
1
1
  import { HexInput, PrivateKeyVariants } from '../../types/types.mjs';
2
2
  import { Hex } from '../hex.mjs';
3
- import { P as PublicKey } from '../../publicKey-BVXX1nVl.mjs';
3
+ import { P as PublicKey } from '../../publicKey-BMtGNNLg.mjs';
4
4
  import { Signature } from './signature.mjs';
5
5
  import '../../types/indexer.mjs';
6
6
  import '../../types/generated/operations.mjs';
@@ -15,20 +15,28 @@ import '../../transactions/instances/transactionArgument.mjs';
15
15
 
16
16
  /**
17
17
  * Represents a private key used for signing messages and deriving the associated public key.
18
+ * @group Implementation
19
+ * @category Serialization
18
20
  */
19
21
  interface PrivateKey {
20
22
  /**
21
23
  * Sign the given message with the private key to create a signature.
22
24
  * @param message - The message to be signed, provided in HexInput format.
23
25
  * @returns A Signature object representing the signed message.
26
+ * @group Implementation
27
+ * @category Serialization
24
28
  */
25
29
  sign(message: HexInput): Signature;
26
30
  /**
27
31
  * Derive the public key associated with the private key.
32
+ * @group Implementation
33
+ * @category Serialization
28
34
  */
29
35
  publicKey(): PublicKey;
30
36
  /**
31
37
  * Get the private key in bytes (Uint8Array).
38
+ * @group Implementation
39
+ * @category Serialization
32
40
  */
33
41
  toUint8Array(): Uint8Array;
34
42
  }
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-AVZYJAXR.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as PrivateKey};
1
+ import{a}from"../../chunk-ROT6S6BM.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as PrivateKey};
2
2
  //# sourceMappingURL=privateKey.mjs.map
@@ -11,6 +11,8 @@ import '@aptos-labs/script-composer-pack';
11
11
  /**
12
12
  * An abstract representation of a cryptographic proof associated with specific
13
13
  * zero-knowledge proof schemes, such as Groth16 and PLONK.
14
+ * @group Implementation
15
+ * @category Serialization
14
16
  */
15
17
  declare abstract class Proof extends Serializable {
16
18
  }
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-UGTIALNW.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Proof};
1
+ import{a}from"../../chunk-XJJVJOX5.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Proof};
2
2
  //# sourceMappingURL=proof.mjs.map
@@ -1,6 +1,6 @@
1
1
  import '../../types/types.mjs';
2
2
  import '../../bcs/serializer.mjs';
3
- export { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs } from '../../publicKey-BVXX1nVl.mjs';
3
+ export { a as AccountPublicKey, P as PublicKey, V as VerifySignatureArgs } from '../../publicKey-BMtGNNLg.mjs';
4
4
  import './signature.mjs';
5
5
  import '../../types/indexer.mjs';
6
6
  import '../../types/generated/operations.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../chunk-MHN6XY4Z.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as AccountPublicKey,a as PublicKey};
1
+ import{a,b}from"../../chunk-EMURYYVO.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as AccountPublicKey,a as PublicKey};
2
2
  //# sourceMappingURL=publicKey.mjs.map
@@ -2,7 +2,7 @@ import { Deserializer } from '../../bcs/deserializer.mjs';
2
2
  import { Serializer, Serializable } from '../../bcs/serializer.mjs';
3
3
  import { HexInput } from '../../types/types.mjs';
4
4
  import { PrivateKey } from './privateKey.mjs';
5
- import { P as PublicKey, V as VerifySignatureArgs } from '../../publicKey-BVXX1nVl.mjs';
5
+ import { P as PublicKey, V as VerifySignatureArgs } from '../../publicKey-BMtGNNLg.mjs';
6
6
  import { Signature } from './signature.mjs';
7
7
  import '../../types/indexer.mjs';
8
8
  import '../../types/generated/operations.mjs';
@@ -19,9 +19,12 @@ import '../../transactions/instances/transactionArgument.mjs';
19
19
  *
20
20
  * @extends PublicKey
21
21
  * @property LENGTH - The length of the Secp256k1 public key in bytes.
22
+ * @group Implementation
23
+ * @category Serialization
22
24
  */
23
25
  declare class Secp256k1PublicKey extends PublicKey {
24
26
  static readonly LENGTH: number;
27
+ static readonly COMPRESSED_LENGTH: number;
25
28
  private readonly key;
26
29
  /**
27
30
  * Create a new PublicKey instance from a HexInput, which can be a string or Uint8Array.
@@ -29,6 +32,8 @@ declare class Secp256k1PublicKey extends PublicKey {
29
32
  *
30
33
  * @param hexInput - A HexInput (string or Uint8Array) representing the signature data.
31
34
  * @throws Error if the length of the signature data is not equal to Secp256k1Signature.LENGTH.
35
+ * @group Implementation
36
+ * @category Serialization
32
37
  */
33
38
  constructor(hexInput: HexInput);
34
39
  /**
@@ -39,12 +44,16 @@ declare class Secp256k1PublicKey extends PublicKey {
39
44
  * @param args - The arguments for verifying the signature.
40
45
  * @param args.message - The message that was signed.
41
46
  * @param args.signature - The signature to verify against the public key.
47
+ * @group Implementation
48
+ * @category Serialization
42
49
  */
43
50
  verifySignature(args: VerifySignatureArgs): boolean;
44
51
  /**
45
52
  * Get the data as a Uint8Array representation.
46
53
  *
47
54
  * @returns Uint8Array representation of the data.
55
+ * @group Implementation
56
+ * @category Serialization
48
57
  */
49
58
  toUint8Array(): Uint8Array;
50
59
  /**
@@ -52,6 +61,8 @@ declare class Secp256k1PublicKey extends PublicKey {
52
61
  * This function is essential for converting data into a format suitable for transmission or storage.
53
62
  *
54
63
  * @param serializer - The serializer instance used to convert the data.
64
+ * @group Implementation
65
+ * @category Serialization
55
66
  */
56
67
  serialize(serializer: Serializer): void;
57
68
  /**
@@ -59,6 +70,8 @@ declare class Secp256k1PublicKey extends PublicKey {
59
70
  * This function allows you to reconstruct a Secp256k1Signature object from its serialized byte representation.
60
71
  *
61
72
  * @param deserializer - The deserializer instance used to read the serialized data.
73
+ * @group Implementation
74
+ * @category Serialization
62
75
  */
63
76
  deserialize(deserializer: Deserializer): Secp256k1Signature;
64
77
  static deserialize(deserializer: Deserializer): Secp256k1PublicKey;
@@ -67,6 +80,8 @@ declare class Secp256k1PublicKey extends PublicKey {
67
80
  *
68
81
  * @deprecated use `instanceof Secp256k1PublicKey` instead
69
82
  * @param publicKey - The public key to check.
83
+ * @group Implementation
84
+ * @category Serialization
70
85
  */
71
86
  static isPublicKey(publicKey: PublicKey): publicKey is Secp256k1PublicKey;
72
87
  /**
@@ -75,21 +90,29 @@ declare class Secp256k1PublicKey extends PublicKey {
75
90
  *
76
91
  * @param publicKey - The public key to validate.
77
92
  * @returns A boolean indicating whether the public key is a valid Secp256k1 public key.
93
+ * @group Implementation
94
+ * @category Serialization
78
95
  */
79
96
  static isInstance(publicKey: PublicKey): publicKey is Secp256k1PublicKey;
80
97
  }
81
98
  /**
82
99
  * Represents a Secp256k1 ECDSA private key, providing functionality to create, sign messages,
83
100
  * derive public keys, and serialize/deserialize the key.
101
+ * @group Implementation
102
+ * @category Serialization
84
103
  */
85
104
  declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
86
105
  /**
87
106
  * Length of Secp256k1 ecdsa private key
107
+ * @group Implementation
108
+ * @category Serialization
88
109
  */
89
110
  static readonly LENGTH: number;
90
111
  /**
91
112
  * The private key bytes
92
113
  * @private
114
+ * @group Implementation
115
+ * @category Serialization
93
116
  */
94
117
  private readonly key;
95
118
  /**
@@ -99,12 +122,16 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
99
122
  *
100
123
  * @param hexInput A HexInput (string or Uint8Array)
101
124
  * @param strict If true, private key must AIP-80 compliant.
125
+ * @group Implementation
126
+ * @category Serialization
102
127
  */
103
128
  constructor(hexInput: HexInput, strict?: boolean);
104
129
  /**
105
130
  * Generate a new random private key.
106
131
  *
107
132
  * @returns Secp256k1PrivateKey - A newly generated Secp256k1 private key.
133
+ * @group Implementation
134
+ * @category Serialization
108
135
  */
109
136
  static generate(): Secp256k1PrivateKey;
110
137
  /**
@@ -116,6 +143,8 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
116
143
  * @returns The generated private key.
117
144
  *
118
145
  * @throws Error if the provided path is not a valid BIP44 path.
146
+ * @group Implementation
147
+ * @category Serialization
119
148
  */
120
149
  static fromDerivationPath(path: string, mnemonics: string): Secp256k1PrivateKey;
121
150
  /**
@@ -126,6 +155,8 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
126
155
  * @param seed - The seed phrase created by the mnemonics, represented as a Uint8Array.
127
156
  * @returns The generated private key as an instance of Secp256k1PrivateKey.
128
157
  * @throws Error if the derived private key is invalid.
158
+ * @group Implementation
159
+ * @category Serialization
129
160
  */
130
161
  private static fromDerivationPathInner;
131
162
  /**
@@ -134,24 +165,32 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
134
165
  *
135
166
  * @param message - A message in HexInput format to be signed.
136
167
  * @returns Signature - The generated signature for the provided message.
168
+ * @group Implementation
169
+ * @category Serialization
137
170
  */
138
171
  sign(message: HexInput): Secp256k1Signature;
139
172
  /**
140
173
  * Derive the Secp256k1PublicKey from this private key.
141
174
  *
142
175
  * @returns Secp256k1PublicKey The derived public key.
176
+ * @group Implementation
177
+ * @category Serialization
143
178
  */
144
179
  publicKey(): Secp256k1PublicKey;
145
180
  /**
146
181
  * Get the private key in bytes (Uint8Array).
147
182
  *
148
183
  * @returns
184
+ * @group Implementation
185
+ * @category Serialization
149
186
  */
150
187
  toUint8Array(): Uint8Array;
151
188
  /**
152
189
  * Get the private key as a string representation.
153
190
  *
154
191
  * @returns string representation of the private key
192
+ * @group Implementation
193
+ * @category Serialization
155
194
  */
156
195
  toString(): string;
157
196
  /**
@@ -176,28 +215,37 @@ declare class Secp256k1PrivateKey extends Serializable implements PrivateKey {
176
215
  * @param privateKey - The private key to be checked.
177
216
  *
178
217
  * @deprecated use `instanceof Secp256k1PrivateKey` instead
218
+ * @group Implementation
219
+ * @category Serialization
179
220
  */
180
221
  static isPrivateKey(privateKey: PrivateKey): privateKey is Secp256k1PrivateKey;
181
222
  }
182
223
  /**
183
224
  * Represents a signature of a message signed using a Secp256k1 ECDSA private key.
184
225
  *
226
+ * @group Implementation
227
+ * @category Serialization
185
228
  */
186
229
  declare class Secp256k1Signature extends Signature {
187
230
  /**
188
- * Secp256k1 ecdsa signatures are 256-bit or 64 bytes
189
- * @readonly
231
+ * Secp256k1 ecdsa signatures are 256-bit.
232
+ * @group Implementation
233
+ * @category Serialization
190
234
  */
191
235
  static readonly LENGTH = 64;
192
236
  /**
193
237
  * The signature bytes
194
238
  * @private
239
+ * @group Implementation
240
+ * @category Serialization
195
241
  */
196
242
  private readonly data;
197
243
  /**
198
244
  * Create a new Signature instance from a Uint8Array or String.
199
245
  *
200
246
  * @param hexInput A HexInput (string or Uint8Array)
247
+ * @group Implementation
248
+ * @category Serialization
201
249
  */
202
250
  constructor(hexInput: HexInput);
203
251
  toUint8Array(): Uint8Array;
@@ -1,2 +1,2 @@
1
- import{a,b,c}from"../../chunk-YIQ3JFHW.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as Secp256k1PrivateKey,a as Secp256k1PublicKey,c as Secp256k1Signature};
1
+ import{a,b,c}from"../../chunk-G5ZWH5T3.mjs";import"../../chunk-EMURYYVO.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as Secp256k1PrivateKey,a as Secp256k1PublicKey,c as Secp256k1Signature};
2
2
  //# sourceMappingURL=secp256k1.mjs.map
@@ -14,15 +14,21 @@ import '@aptos-labs/script-composer-pack';
14
14
  *
15
15
  * This class represents the product of signing a message directly from a
16
16
  * PrivateKey and can be verified against a CryptoPublicKey.
17
+ * @group Implementation
18
+ * @category Serialization
17
19
  */
18
20
  declare abstract class Signature extends Serializable {
19
21
  /**
20
22
  * Get the raw signature bytes
23
+ * @group Implementation
24
+ * @category Serialization
21
25
  */
22
26
  toUint8Array(): Uint8Array;
23
27
  /**
24
28
  * Get the signature as a hex string with a 0x prefix e.g. 0x123456...
25
29
  * @returns The hex string representation of the signature.
30
+ * @group Implementation
31
+ * @category Serialization
26
32
  */
27
33
  toString(): string;
28
34
  }
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-4O5XDQDO.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Signature};
1
+ import{a}from"../../chunk-WCMW2L3P.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-IDTLNF4M.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-3OLFJ65O.mjs";import"../../chunk-U2PRGW4O.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-XTOIL6MB.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Signature};
2
2
  //# sourceMappingURL=signature.mjs.map