@moveindustries/ts-sdk 5.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (729) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +66 -0
  3. package/dist/common/accountAddress-DoqkxUqw.d.ts +7769 -0
  4. package/dist/common/chunk-56DGDNEY.js +4 -0
  5. package/dist/common/chunk-56DGDNEY.js.map +1 -0
  6. package/dist/common/cli/index.d.ts +316 -0
  7. package/dist/common/cli/index.js +2 -0
  8. package/dist/common/cli/index.js.map +1 -0
  9. package/dist/common/index.d.ts +10643 -0
  10. package/dist/common/index.js +482 -0
  11. package/dist/common/index.js.map +1 -0
  12. package/dist/esm/Ed25519Account-DsqenvLJ.d.mts +628 -0
  13. package/dist/esm/account/AbstractKeylessAccount.d.mts +336 -0
  14. package/dist/esm/account/AbstractKeylessAccount.mjs +2 -0
  15. package/dist/esm/account/AbstractKeylessAccount.mjs.map +1 -0
  16. package/dist/esm/account/AbstractedAccount.d.mts +64 -0
  17. package/dist/esm/account/AbstractedAccount.mjs +2 -0
  18. package/dist/esm/account/AbstractedAccount.mjs.map +1 -0
  19. package/dist/esm/account/Account.d.mts +8 -0
  20. package/dist/esm/account/Account.mjs +2 -0
  21. package/dist/esm/account/Account.mjs.map +1 -0
  22. package/dist/esm/account/AccountUtils.d.mts +38 -0
  23. package/dist/esm/account/AccountUtils.mjs +2 -0
  24. package/dist/esm/account/AccountUtils.mjs.map +1 -0
  25. package/dist/esm/account/DerivableAbstractedAccount.d.mts +59 -0
  26. package/dist/esm/account/DerivableAbstractedAccount.mjs +2 -0
  27. package/dist/esm/account/DerivableAbstractedAccount.mjs.map +1 -0
  28. package/dist/esm/account/Ed25519Account.d.mts +8 -0
  29. package/dist/esm/account/Ed25519Account.mjs +2 -0
  30. package/dist/esm/account/Ed25519Account.mjs.map +1 -0
  31. package/dist/esm/account/EphemeralKeyPair.d.mts +141 -0
  32. package/dist/esm/account/EphemeralKeyPair.mjs +2 -0
  33. package/dist/esm/account/EphemeralKeyPair.mjs.map +1 -0
  34. package/dist/esm/account/FederatedKeylessAccount.d.mts +118 -0
  35. package/dist/esm/account/FederatedKeylessAccount.mjs +2 -0
  36. package/dist/esm/account/FederatedKeylessAccount.mjs.map +1 -0
  37. package/dist/esm/account/KeylessAccount.d.mts +124 -0
  38. package/dist/esm/account/KeylessAccount.mjs +2 -0
  39. package/dist/esm/account/KeylessAccount.mjs.map +1 -0
  40. package/dist/esm/account/MultiEd25519Account.d.mts +102 -0
  41. package/dist/esm/account/MultiEd25519Account.mjs +2 -0
  42. package/dist/esm/account/MultiEd25519Account.mjs.map +1 -0
  43. package/dist/esm/account/MultiKeyAccount.d.mts +206 -0
  44. package/dist/esm/account/MultiKeyAccount.mjs +2 -0
  45. package/dist/esm/account/MultiKeyAccount.mjs.map +1 -0
  46. package/dist/esm/account/SingleKeyAccount.d.mts +8 -0
  47. package/dist/esm/account/SingleKeyAccount.mjs +2 -0
  48. package/dist/esm/account/SingleKeyAccount.mjs.map +1 -0
  49. package/dist/esm/account/index.d.mts +24 -0
  50. package/dist/esm/account/index.mjs +2 -0
  51. package/dist/esm/account/index.mjs.map +1 -0
  52. package/dist/esm/account/utils.d.mts +14 -0
  53. package/dist/esm/account/utils.mjs +2 -0
  54. package/dist/esm/account/utils.mjs.map +1 -0
  55. package/dist/esm/accountAddress-CNXtapt1.d.mts +6979 -0
  56. package/dist/esm/api/account/abstraction.d.mts +181 -0
  57. package/dist/esm/api/account/abstraction.mjs +2 -0
  58. package/dist/esm/api/account/abstraction.mjs.map +1 -0
  59. package/dist/esm/api/account.d.mts +852 -0
  60. package/dist/esm/api/account.mjs +2 -0
  61. package/dist/esm/api/account.mjs.map +1 -0
  62. package/dist/esm/api/ans.d.mts +504 -0
  63. package/dist/esm/api/ans.mjs +2 -0
  64. package/dist/esm/api/ans.mjs.map +1 -0
  65. package/dist/esm/api/coin.d.mts +81 -0
  66. package/dist/esm/api/coin.mjs +2 -0
  67. package/dist/esm/api/coin.mjs.map +1 -0
  68. package/dist/esm/api/digitalAsset.d.mts +1030 -0
  69. package/dist/esm/api/digitalAsset.mjs +2 -0
  70. package/dist/esm/api/digitalAsset.mjs.map +1 -0
  71. package/dist/esm/api/faucet.d.mts +80 -0
  72. package/dist/esm/api/faucet.mjs +2 -0
  73. package/dist/esm/api/faucet.mjs.map +1 -0
  74. package/dist/esm/api/fungibleAsset.d.mts +288 -0
  75. package/dist/esm/api/fungibleAsset.mjs +2 -0
  76. package/dist/esm/api/fungibleAsset.mjs.map +1 -0
  77. package/dist/esm/api/general.d.mts +303 -0
  78. package/dist/esm/api/general.mjs +2 -0
  79. package/dist/esm/api/general.mjs.map +1 -0
  80. package/dist/esm/api/index.d.mts +46 -0
  81. package/dist/esm/api/index.mjs +2 -0
  82. package/dist/esm/api/index.mjs.map +1 -0
  83. package/dist/esm/api/keyless.d.mts +170 -0
  84. package/dist/esm/api/keyless.mjs +2 -0
  85. package/dist/esm/api/keyless.mjs.map +1 -0
  86. package/dist/esm/api/movement.d.mts +113 -0
  87. package/dist/esm/api/movement.mjs +2 -0
  88. package/dist/esm/api/movement.mjs.map +1 -0
  89. package/dist/esm/api/movementConfig.d.mts +7 -0
  90. package/dist/esm/api/movementConfig.mjs +2 -0
  91. package/dist/esm/api/movementConfig.mjs.map +1 -0
  92. package/dist/esm/api/object.d.mts +80 -0
  93. package/dist/esm/api/object.mjs +2 -0
  94. package/dist/esm/api/object.mjs.map +1 -0
  95. package/dist/esm/api/staking.d.mts +134 -0
  96. package/dist/esm/api/staking.mjs +2 -0
  97. package/dist/esm/api/staking.mjs.map +1 -0
  98. package/dist/esm/api/table.d.mts +169 -0
  99. package/dist/esm/api/table.mjs +2 -0
  100. package/dist/esm/api/table.mjs.map +1 -0
  101. package/dist/esm/api/transaction.d.mts +679 -0
  102. package/dist/esm/api/transaction.mjs +2 -0
  103. package/dist/esm/api/transaction.mjs.map +1 -0
  104. package/dist/esm/api/transactionSubmission/build.d.mts +141 -0
  105. package/dist/esm/api/transactionSubmission/build.mjs +2 -0
  106. package/dist/esm/api/transactionSubmission/build.mjs.map +1 -0
  107. package/dist/esm/api/transactionSubmission/helpers.d.mts +98 -0
  108. package/dist/esm/api/transactionSubmission/helpers.mjs +2 -0
  109. package/dist/esm/api/transactionSubmission/helpers.mjs.map +1 -0
  110. package/dist/esm/api/transactionSubmission/management.d.mts +168 -0
  111. package/dist/esm/api/transactionSubmission/management.mjs +2 -0
  112. package/dist/esm/api/transactionSubmission/management.mjs.map +1 -0
  113. package/dist/esm/api/transactionSubmission/sign.d.mts +124 -0
  114. package/dist/esm/api/transactionSubmission/sign.mjs +2 -0
  115. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -0
  116. package/dist/esm/api/transactionSubmission/simulate.d.mts +181 -0
  117. package/dist/esm/api/transactionSubmission/simulate.mjs +2 -0
  118. package/dist/esm/api/transactionSubmission/simulate.mjs.map +1 -0
  119. package/dist/esm/api/transactionSubmission/submit.d.mts +142 -0
  120. package/dist/esm/api/transactionSubmission/submit.mjs +2 -0
  121. package/dist/esm/api/transactionSubmission/submit.mjs.map +1 -0
  122. package/dist/esm/api/utils.d.mts +45 -0
  123. package/dist/esm/api/utils.mjs +2 -0
  124. package/dist/esm/api/utils.mjs.map +1 -0
  125. package/dist/esm/bcs/consts.d.mts +28 -0
  126. package/dist/esm/bcs/consts.mjs +2 -0
  127. package/dist/esm/bcs/consts.mjs.map +1 -0
  128. package/dist/esm/bcs/deserializer.d.mts +7 -0
  129. package/dist/esm/bcs/deserializer.mjs +2 -0
  130. package/dist/esm/bcs/deserializer.mjs.map +1 -0
  131. package/dist/esm/bcs/index.d.mts +8 -0
  132. package/dist/esm/bcs/index.mjs +2 -0
  133. package/dist/esm/bcs/index.mjs.map +1 -0
  134. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +65 -0
  135. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +2 -0
  136. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs.map +1 -0
  137. package/dist/esm/bcs/serializable/fixedBytes.d.mts +7 -0
  138. package/dist/esm/bcs/serializable/fixedBytes.mjs +2 -0
  139. package/dist/esm/bcs/serializable/fixedBytes.mjs.map +1 -0
  140. package/dist/esm/bcs/serializable/movePrimitives.d.mts +7 -0
  141. package/dist/esm/bcs/serializable/movePrimitives.mjs +2 -0
  142. package/dist/esm/bcs/serializable/movePrimitives.mjs.map +1 -0
  143. package/dist/esm/bcs/serializable/moveStructs.d.mts +7 -0
  144. package/dist/esm/bcs/serializable/moveStructs.mjs +2 -0
  145. package/dist/esm/bcs/serializable/moveStructs.mjs.map +1 -0
  146. package/dist/esm/bcs/serializer.d.mts +7 -0
  147. package/dist/esm/bcs/serializer.mjs +2 -0
  148. package/dist/esm/bcs/serializer.mjs.map +1 -0
  149. package/dist/esm/chunk-2KDUIZKB.mjs +2 -0
  150. package/dist/esm/chunk-2KDUIZKB.mjs.map +1 -0
  151. package/dist/esm/chunk-2QTV4AOE.mjs +2 -0
  152. package/dist/esm/chunk-2QTV4AOE.mjs.map +1 -0
  153. package/dist/esm/chunk-47V7UGV5.mjs +4 -0
  154. package/dist/esm/chunk-47V7UGV5.mjs.map +1 -0
  155. package/dist/esm/chunk-4QMXOWHP.mjs +1 -0
  156. package/dist/esm/chunk-4QMXOWHP.mjs.map +1 -0
  157. package/dist/esm/chunk-4WPQQPUF.mjs +1 -0
  158. package/dist/esm/chunk-4WPQQPUF.mjs.map +1 -0
  159. package/dist/esm/chunk-5HXLZHDW.mjs +1 -0
  160. package/dist/esm/chunk-5HXLZHDW.mjs.map +1 -0
  161. package/dist/esm/chunk-5IMQPJ6J.mjs +2 -0
  162. package/dist/esm/chunk-5IMQPJ6J.mjs.map +1 -0
  163. package/dist/esm/chunk-5ZKA765G.mjs +2 -0
  164. package/dist/esm/chunk-5ZKA765G.mjs.map +1 -0
  165. package/dist/esm/chunk-6NO4QKAO.mjs +2 -0
  166. package/dist/esm/chunk-6NO4QKAO.mjs.map +1 -0
  167. package/dist/esm/chunk-7ECCT6PK.mjs +1 -0
  168. package/dist/esm/chunk-7ECCT6PK.mjs.map +1 -0
  169. package/dist/esm/chunk-7TTTMBAK.mjs +2 -0
  170. package/dist/esm/chunk-7TTTMBAK.mjs.map +1 -0
  171. package/dist/esm/chunk-A5L76YP7.mjs +2 -0
  172. package/dist/esm/chunk-A5L76YP7.mjs.map +1 -0
  173. package/dist/esm/chunk-ANTEUWH6.mjs +2 -0
  174. package/dist/esm/chunk-ANTEUWH6.mjs.map +1 -0
  175. package/dist/esm/chunk-CHWDP6AR.mjs +2 -0
  176. package/dist/esm/chunk-CHWDP6AR.mjs.map +1 -0
  177. package/dist/esm/chunk-CRCE7R4D.mjs +2 -0
  178. package/dist/esm/chunk-CRCE7R4D.mjs.map +1 -0
  179. package/dist/esm/chunk-D6HPXGEP.mjs +2 -0
  180. package/dist/esm/chunk-D6HPXGEP.mjs.map +1 -0
  181. package/dist/esm/chunk-DS6QB6HG.mjs +4 -0
  182. package/dist/esm/chunk-DS6QB6HG.mjs.map +1 -0
  183. package/dist/esm/chunk-FD6FGKYY.mjs +1 -0
  184. package/dist/esm/chunk-FD6FGKYY.mjs.map +1 -0
  185. package/dist/esm/chunk-FJRPU2NH.mjs +2 -0
  186. package/dist/esm/chunk-FJRPU2NH.mjs.map +1 -0
  187. package/dist/esm/chunk-FS5ZJKO7.mjs +2 -0
  188. package/dist/esm/chunk-FS5ZJKO7.mjs.map +1 -0
  189. package/dist/esm/chunk-FZY4PMEE.mjs +1 -0
  190. package/dist/esm/chunk-FZY4PMEE.mjs.map +1 -0
  191. package/dist/esm/chunk-G3MHXDYA.mjs +1 -0
  192. package/dist/esm/chunk-G3MHXDYA.mjs.map +1 -0
  193. package/dist/esm/chunk-GOXRBEIJ.mjs +2 -0
  194. package/dist/esm/chunk-GOXRBEIJ.mjs.map +1 -0
  195. package/dist/esm/chunk-HGLO5LDS.mjs +1 -0
  196. package/dist/esm/chunk-HGLO5LDS.mjs.map +1 -0
  197. package/dist/esm/chunk-HL2JMZ7N.mjs +2 -0
  198. package/dist/esm/chunk-HL2JMZ7N.mjs.map +1 -0
  199. package/dist/esm/chunk-I6YGBK5S.mjs +2 -0
  200. package/dist/esm/chunk-I6YGBK5S.mjs.map +1 -0
  201. package/dist/esm/chunk-K4NT6TTN.mjs +2 -0
  202. package/dist/esm/chunk-K4NT6TTN.mjs.map +1 -0
  203. package/dist/esm/chunk-KDMSOCZY.mjs +2 -0
  204. package/dist/esm/chunk-KDMSOCZY.mjs.map +1 -0
  205. package/dist/esm/chunk-KPJGWDSQ.mjs +7 -0
  206. package/dist/esm/chunk-KPJGWDSQ.mjs.map +1 -0
  207. package/dist/esm/chunk-MEWW7VTQ.mjs +2 -0
  208. package/dist/esm/chunk-MEWW7VTQ.mjs.map +1 -0
  209. package/dist/esm/chunk-NECL5FCQ.mjs +1 -0
  210. package/dist/esm/chunk-NECL5FCQ.mjs.map +1 -0
  211. package/dist/esm/chunk-NMFJJOGW.mjs +2 -0
  212. package/dist/esm/chunk-NMFJJOGW.mjs.map +1 -0
  213. package/dist/esm/chunk-NQUZ4UHR.mjs +2 -0
  214. package/dist/esm/chunk-NQUZ4UHR.mjs.map +1 -0
  215. package/dist/esm/chunk-NUB6KE73.mjs +2 -0
  216. package/dist/esm/chunk-NUB6KE73.mjs.map +1 -0
  217. package/dist/esm/chunk-OOOAVIMQ.mjs +2 -0
  218. package/dist/esm/chunk-OOOAVIMQ.mjs.map +1 -0
  219. package/dist/esm/chunk-PCESRJYO.mjs +2 -0
  220. package/dist/esm/chunk-PCESRJYO.mjs.map +1 -0
  221. package/dist/esm/chunk-PHRRBT44.mjs +2 -0
  222. package/dist/esm/chunk-PHRRBT44.mjs.map +1 -0
  223. package/dist/esm/chunk-PZ233FIY.mjs +2 -0
  224. package/dist/esm/chunk-PZ233FIY.mjs.map +1 -0
  225. package/dist/esm/chunk-R2G23RIY.mjs +2 -0
  226. package/dist/esm/chunk-R2G23RIY.mjs.map +1 -0
  227. package/dist/esm/chunk-RL4YPMN4.mjs +2 -0
  228. package/dist/esm/chunk-RL4YPMN4.mjs.map +1 -0
  229. package/dist/esm/chunk-RUIFVDWM.mjs +2 -0
  230. package/dist/esm/chunk-RUIFVDWM.mjs.map +1 -0
  231. package/dist/esm/chunk-RXHPS4IU.mjs +2 -0
  232. package/dist/esm/chunk-RXHPS4IU.mjs.map +1 -0
  233. package/dist/esm/chunk-S4D2KBYN.mjs +2 -0
  234. package/dist/esm/chunk-S4D2KBYN.mjs.map +1 -0
  235. package/dist/esm/chunk-SRXFRTHK.mjs +2 -0
  236. package/dist/esm/chunk-SRXFRTHK.mjs.map +1 -0
  237. package/dist/esm/chunk-SYXDZA4K.mjs +2 -0
  238. package/dist/esm/chunk-SYXDZA4K.mjs.map +1 -0
  239. package/dist/esm/chunk-UI4OF6CP.mjs +2 -0
  240. package/dist/esm/chunk-UI4OF6CP.mjs.map +1 -0
  241. package/dist/esm/chunk-UL777LTI.mjs +494 -0
  242. package/dist/esm/chunk-UL777LTI.mjs.map +1 -0
  243. package/dist/esm/chunk-UVP74ONT.mjs +2 -0
  244. package/dist/esm/chunk-UVP74ONT.mjs.map +1 -0
  245. package/dist/esm/chunk-UYVPNUH3.mjs +1 -0
  246. package/dist/esm/chunk-UYVPNUH3.mjs.map +1 -0
  247. package/dist/esm/chunk-V3MBJJTL.mjs +1 -0
  248. package/dist/esm/chunk-V3MBJJTL.mjs.map +1 -0
  249. package/dist/esm/chunk-V3O2SBO4.mjs +2 -0
  250. package/dist/esm/chunk-V3O2SBO4.mjs.map +1 -0
  251. package/dist/esm/chunk-VEZCMPUG.mjs +2 -0
  252. package/dist/esm/chunk-VEZCMPUG.mjs.map +1 -0
  253. package/dist/esm/chunk-VW3WBAAD.mjs +2 -0
  254. package/dist/esm/chunk-VW3WBAAD.mjs.map +1 -0
  255. package/dist/esm/chunk-WFAH73WN.mjs +2 -0
  256. package/dist/esm/chunk-WFAH73WN.mjs.map +1 -0
  257. package/dist/esm/chunk-WVDICMU4.mjs +2 -0
  258. package/dist/esm/chunk-WVDICMU4.mjs.map +1 -0
  259. package/dist/esm/chunk-XCURF77K.mjs +2 -0
  260. package/dist/esm/chunk-XCURF77K.mjs.map +1 -0
  261. package/dist/esm/chunk-Y6YW4BAZ.mjs +2 -0
  262. package/dist/esm/chunk-Y6YW4BAZ.mjs.map +1 -0
  263. package/dist/esm/chunk-YFFYA5U3.mjs +2 -0
  264. package/dist/esm/chunk-YFFYA5U3.mjs.map +1 -0
  265. package/dist/esm/chunk-YOHEYPDP.mjs +2 -0
  266. package/dist/esm/chunk-YOHEYPDP.mjs.map +1 -0
  267. package/dist/esm/chunk-ZP4DWSQA.mjs +2 -0
  268. package/dist/esm/chunk-ZP4DWSQA.mjs.map +1 -0
  269. package/dist/esm/cli/index.d.mts +10 -0
  270. package/dist/esm/cli/index.mjs +2 -0
  271. package/dist/esm/cli/index.mjs.map +1 -0
  272. package/dist/esm/cli/localNode.d.mts +67 -0
  273. package/dist/esm/cli/localNode.mjs +2 -0
  274. package/dist/esm/cli/localNode.mjs.map +1 -0
  275. package/dist/esm/cli/move.d.mts +257 -0
  276. package/dist/esm/cli/move.mjs +2 -0
  277. package/dist/esm/cli/move.mjs.map +1 -0
  278. package/dist/esm/client/core.d.mts +42 -0
  279. package/dist/esm/client/core.mjs +2 -0
  280. package/dist/esm/client/core.mjs.map +1 -0
  281. package/dist/esm/client/get.d.mts +125 -0
  282. package/dist/esm/client/get.mjs +2 -0
  283. package/dist/esm/client/get.mjs.map +1 -0
  284. package/dist/esm/client/index.d.mts +10 -0
  285. package/dist/esm/client/index.mjs +2 -0
  286. package/dist/esm/client/index.mjs.map +1 -0
  287. package/dist/esm/client/post.d.mts +158 -0
  288. package/dist/esm/client/post.mjs +2 -0
  289. package/dist/esm/client/post.mjs.map +1 -0
  290. package/dist/esm/core/account/index.d.mts +8 -0
  291. package/dist/esm/core/account/index.mjs +2 -0
  292. package/dist/esm/core/account/index.mjs.map +1 -0
  293. package/dist/esm/core/account/utils/address.d.mts +55 -0
  294. package/dist/esm/core/account/utils/address.mjs +2 -0
  295. package/dist/esm/core/account/utils/address.mjs.map +1 -0
  296. package/dist/esm/core/account/utils/index.d.mts +8 -0
  297. package/dist/esm/core/account/utils/index.mjs +2 -0
  298. package/dist/esm/core/account/utils/index.mjs.map +1 -0
  299. package/dist/esm/core/accountAddress.d.mts +7 -0
  300. package/dist/esm/core/accountAddress.mjs +2 -0
  301. package/dist/esm/core/accountAddress.mjs.map +1 -0
  302. package/dist/esm/core/authenticationKey.d.mts +7 -0
  303. package/dist/esm/core/authenticationKey.mjs +2 -0
  304. package/dist/esm/core/authenticationKey.mjs.map +1 -0
  305. package/dist/esm/core/common.d.mts +52 -0
  306. package/dist/esm/core/common.mjs +2 -0
  307. package/dist/esm/core/common.mjs.map +1 -0
  308. package/dist/esm/core/crypto/abstraction.d.mts +24 -0
  309. package/dist/esm/core/crypto/abstraction.mjs +2 -0
  310. package/dist/esm/core/crypto/abstraction.mjs.map +1 -0
  311. package/dist/esm/core/crypto/deserializationUtils.d.mts +28 -0
  312. package/dist/esm/core/crypto/deserializationUtils.mjs +2 -0
  313. package/dist/esm/core/crypto/deserializationUtils.mjs.map +1 -0
  314. package/dist/esm/core/crypto/ed25519.d.mts +7 -0
  315. package/dist/esm/core/crypto/ed25519.mjs +2 -0
  316. package/dist/esm/core/crypto/ed25519.mjs.map +1 -0
  317. package/dist/esm/core/crypto/ephemeral.d.mts +116 -0
  318. package/dist/esm/core/crypto/ephemeral.mjs +2 -0
  319. package/dist/esm/core/crypto/ephemeral.mjs.map +1 -0
  320. package/dist/esm/core/crypto/federatedKeyless.d.mts +13 -0
  321. package/dist/esm/core/crypto/federatedKeyless.mjs +2 -0
  322. package/dist/esm/core/crypto/federatedKeyless.mjs.map +1 -0
  323. package/dist/esm/core/crypto/hdKey.d.mts +95 -0
  324. package/dist/esm/core/crypto/hdKey.mjs +2 -0
  325. package/dist/esm/core/crypto/hdKey.mjs.map +1 -0
  326. package/dist/esm/core/crypto/index.d.mts +19 -0
  327. package/dist/esm/core/crypto/index.mjs +2 -0
  328. package/dist/esm/core/crypto/index.mjs.map +1 -0
  329. package/dist/esm/core/crypto/keyless.d.mts +13 -0
  330. package/dist/esm/core/crypto/keyless.mjs +2 -0
  331. package/dist/esm/core/crypto/keyless.mjs.map +1 -0
  332. package/dist/esm/core/crypto/multiEd25519.d.mts +7 -0
  333. package/dist/esm/core/crypto/multiEd25519.mjs +2 -0
  334. package/dist/esm/core/crypto/multiEd25519.mjs.map +1 -0
  335. package/dist/esm/core/crypto/multiKey.d.mts +7 -0
  336. package/dist/esm/core/crypto/multiKey.mjs +2 -0
  337. package/dist/esm/core/crypto/multiKey.mjs.map +1 -0
  338. package/dist/esm/core/crypto/poseidon.d.mts +59 -0
  339. package/dist/esm/core/crypto/poseidon.mjs +2 -0
  340. package/dist/esm/core/crypto/poseidon.mjs.map +1 -0
  341. package/dist/esm/core/crypto/privateKey.d.mts +7 -0
  342. package/dist/esm/core/crypto/privateKey.mjs +2 -0
  343. package/dist/esm/core/crypto/privateKey.mjs.map +1 -0
  344. package/dist/esm/core/crypto/proof.d.mts +18 -0
  345. package/dist/esm/core/crypto/proof.mjs +2 -0
  346. package/dist/esm/core/crypto/proof.mjs.map +1 -0
  347. package/dist/esm/core/crypto/publicKey.d.mts +7 -0
  348. package/dist/esm/core/crypto/publicKey.mjs +2 -0
  349. package/dist/esm/core/crypto/publicKey.mjs.map +1 -0
  350. package/dist/esm/core/crypto/secp256k1.d.mts +7 -0
  351. package/dist/esm/core/crypto/secp256k1.mjs +2 -0
  352. package/dist/esm/core/crypto/secp256k1.mjs.map +1 -0
  353. package/dist/esm/core/crypto/secp256r1.d.mts +306 -0
  354. package/dist/esm/core/crypto/secp256r1.mjs +2 -0
  355. package/dist/esm/core/crypto/secp256r1.mjs.map +1 -0
  356. package/dist/esm/core/crypto/signature.d.mts +7 -0
  357. package/dist/esm/core/crypto/signature.mjs +2 -0
  358. package/dist/esm/core/crypto/signature.mjs.map +1 -0
  359. package/dist/esm/core/crypto/singleKey.d.mts +7 -0
  360. package/dist/esm/core/crypto/singleKey.mjs +2 -0
  361. package/dist/esm/core/crypto/singleKey.mjs.map +1 -0
  362. package/dist/esm/core/crypto/types.d.mts +11 -0
  363. package/dist/esm/core/crypto/types.mjs +2 -0
  364. package/dist/esm/core/crypto/types.mjs.map +1 -0
  365. package/dist/esm/core/crypto/utils.d.mts +23 -0
  366. package/dist/esm/core/crypto/utils.mjs +2 -0
  367. package/dist/esm/core/crypto/utils.mjs.map +1 -0
  368. package/dist/esm/core/hex.d.mts +7 -0
  369. package/dist/esm/core/hex.mjs +2 -0
  370. package/dist/esm/core/hex.mjs.map +1 -0
  371. package/dist/esm/core/index.d.mts +20 -0
  372. package/dist/esm/core/index.mjs +2 -0
  373. package/dist/esm/core/index.mjs.map +1 -0
  374. package/dist/esm/errors/index.d.mts +131 -0
  375. package/dist/esm/errors/index.mjs +2 -0
  376. package/dist/esm/errors/index.mjs.map +1 -0
  377. package/dist/esm/federatedKeyless-D-d9d5aC.d.mts +869 -0
  378. package/dist/esm/index.d.mts +71 -0
  379. package/dist/esm/index.mjs +2 -0
  380. package/dist/esm/index.mjs.map +1 -0
  381. package/dist/esm/internal/abstraction.d.mts +27 -0
  382. package/dist/esm/internal/abstraction.mjs +2 -0
  383. package/dist/esm/internal/abstraction.mjs.map +1 -0
  384. package/dist/esm/internal/account.d.mts +453 -0
  385. package/dist/esm/internal/account.mjs +2 -0
  386. package/dist/esm/internal/account.mjs.map +1 -0
  387. package/dist/esm/internal/ans.d.mts +365 -0
  388. package/dist/esm/internal/ans.mjs +2 -0
  389. package/dist/esm/internal/ans.mjs.map +1 -0
  390. package/dist/esm/internal/coin.d.mts +31 -0
  391. package/dist/esm/internal/coin.mjs +2 -0
  392. package/dist/esm/internal/coin.mjs.map +1 -0
  393. package/dist/esm/internal/digitalAsset.d.mts +580 -0
  394. package/dist/esm/internal/digitalAsset.mjs +2 -0
  395. package/dist/esm/internal/digitalAsset.mjs.map +1 -0
  396. package/dist/esm/internal/faucet.d.mts +39 -0
  397. package/dist/esm/internal/faucet.mjs +2 -0
  398. package/dist/esm/internal/faucet.mjs.map +1 -0
  399. package/dist/esm/internal/fungibleAsset.d.mts +112 -0
  400. package/dist/esm/internal/fungibleAsset.mjs +2 -0
  401. package/dist/esm/internal/fungibleAsset.mjs.map +1 -0
  402. package/dist/esm/internal/general.d.mts +92 -0
  403. package/dist/esm/internal/general.mjs +2 -0
  404. package/dist/esm/internal/general.mjs.map +1 -0
  405. package/dist/esm/internal/keyless.d.mts +111 -0
  406. package/dist/esm/internal/keyless.mjs +2 -0
  407. package/dist/esm/internal/keyless.mjs.map +1 -0
  408. package/dist/esm/internal/object.d.mts +42 -0
  409. package/dist/esm/internal/object.mjs +2 -0
  410. package/dist/esm/internal/object.mjs.map +1 -0
  411. package/dist/esm/internal/staking.d.mts +60 -0
  412. package/dist/esm/internal/staking.mjs +2 -0
  413. package/dist/esm/internal/staking.mjs.map +1 -0
  414. package/dist/esm/internal/table.d.mts +66 -0
  415. package/dist/esm/internal/table.mjs +2 -0
  416. package/dist/esm/internal/table.mjs.map +1 -0
  417. package/dist/esm/internal/transaction.d.mts +199 -0
  418. package/dist/esm/internal/transaction.mjs +2 -0
  419. package/dist/esm/internal/transaction.mjs.map +1 -0
  420. package/dist/esm/internal/transactionSubmission.d.mts +165 -0
  421. package/dist/esm/internal/transactionSubmission.mjs +2 -0
  422. package/dist/esm/internal/transactionSubmission.mjs.map +1 -0
  423. package/dist/esm/internal/utils/index.d.mts +8 -0
  424. package/dist/esm/internal/utils/index.mjs +2 -0
  425. package/dist/esm/internal/utils/index.mjs.map +1 -0
  426. package/dist/esm/internal/utils/utils.d.mts +41 -0
  427. package/dist/esm/internal/utils/utils.mjs +2 -0
  428. package/dist/esm/internal/utils/utils.mjs.map +1 -0
  429. package/dist/esm/internal/view.d.mts +20 -0
  430. package/dist/esm/internal/view.mjs +2 -0
  431. package/dist/esm/internal/view.mjs.map +1 -0
  432. package/dist/esm/transactions/authenticator/account.d.mts +7 -0
  433. package/dist/esm/transactions/authenticator/account.mjs +2 -0
  434. package/dist/esm/transactions/authenticator/account.mjs.map +1 -0
  435. package/dist/esm/transactions/authenticator/index.d.mts +8 -0
  436. package/dist/esm/transactions/authenticator/index.mjs +2 -0
  437. package/dist/esm/transactions/authenticator/index.mjs.map +1 -0
  438. package/dist/esm/transactions/authenticator/transaction.d.mts +152 -0
  439. package/dist/esm/transactions/authenticator/transaction.mjs +2 -0
  440. package/dist/esm/transactions/authenticator/transaction.mjs.map +1 -0
  441. package/dist/esm/transactions/index.d.mts +15 -0
  442. package/dist/esm/transactions/index.mjs +2 -0
  443. package/dist/esm/transactions/index.mjs.map +1 -0
  444. package/dist/esm/transactions/instances/chainId.d.mts +7 -0
  445. package/dist/esm/transactions/instances/chainId.mjs +2 -0
  446. package/dist/esm/transactions/instances/chainId.mjs.map +1 -0
  447. package/dist/esm/transactions/instances/identifier.d.mts +7 -0
  448. package/dist/esm/transactions/instances/identifier.mjs +2 -0
  449. package/dist/esm/transactions/instances/identifier.mjs.map +1 -0
  450. package/dist/esm/transactions/instances/index.d.mts +10 -0
  451. package/dist/esm/transactions/instances/index.mjs +2 -0
  452. package/dist/esm/transactions/instances/index.mjs.map +1 -0
  453. package/dist/esm/transactions/instances/moduleId.d.mts +7 -0
  454. package/dist/esm/transactions/instances/moduleId.mjs +2 -0
  455. package/dist/esm/transactions/instances/moduleId.mjs.map +1 -0
  456. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +7 -0
  457. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +2 -0
  458. package/dist/esm/transactions/instances/multiAgentTransaction.mjs.map +1 -0
  459. package/dist/esm/transactions/instances/rawTransaction.d.mts +7 -0
  460. package/dist/esm/transactions/instances/rawTransaction.mjs +2 -0
  461. package/dist/esm/transactions/instances/rawTransaction.mjs.map +1 -0
  462. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +58 -0
  463. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +2 -0
  464. package/dist/esm/transactions/instances/rotationProofChallenge.mjs.map +1 -0
  465. package/dist/esm/transactions/instances/signedTransaction.d.mts +59 -0
  466. package/dist/esm/transactions/instances/signedTransaction.mjs +2 -0
  467. package/dist/esm/transactions/instances/signedTransaction.mjs.map +1 -0
  468. package/dist/esm/transactions/instances/simpleTransaction.d.mts +7 -0
  469. package/dist/esm/transactions/instances/simpleTransaction.mjs +2 -0
  470. package/dist/esm/transactions/instances/simpleTransaction.mjs.map +1 -0
  471. package/dist/esm/transactions/instances/transactionArgument.d.mts +7 -0
  472. package/dist/esm/transactions/instances/transactionArgument.mjs +2 -0
  473. package/dist/esm/transactions/instances/transactionArgument.mjs.map +1 -0
  474. package/dist/esm/transactions/instances/transactionPayload.d.mts +7 -0
  475. package/dist/esm/transactions/instances/transactionPayload.mjs +2 -0
  476. package/dist/esm/transactions/instances/transactionPayload.mjs.map +1 -0
  477. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +123 -0
  478. package/dist/esm/transactions/management/accountSequenceNumber.mjs +2 -0
  479. package/dist/esm/transactions/management/accountSequenceNumber.mjs.map +1 -0
  480. package/dist/esm/transactions/management/asyncQueue.d.mts +77 -0
  481. package/dist/esm/transactions/management/asyncQueue.mjs +2 -0
  482. package/dist/esm/transactions/management/asyncQueue.mjs.map +1 -0
  483. package/dist/esm/transactions/management/index.d.mts +12 -0
  484. package/dist/esm/transactions/management/index.mjs +2 -0
  485. package/dist/esm/transactions/management/index.mjs.map +1 -0
  486. package/dist/esm/transactions/management/transactionWorker.d.mts +210 -0
  487. package/dist/esm/transactions/management/transactionWorker.mjs +2 -0
  488. package/dist/esm/transactions/management/transactionWorker.mjs.map +1 -0
  489. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +159 -0
  490. package/dist/esm/transactions/transactionBuilder/helpers.mjs +2 -0
  491. package/dist/esm/transactions/transactionBuilder/helpers.mjs.map +1 -0
  492. package/dist/esm/transactions/transactionBuilder/index.d.mts +11 -0
  493. package/dist/esm/transactions/transactionBuilder/index.mjs +2 -0
  494. package/dist/esm/transactions/transactionBuilder/index.mjs.map +1 -0
  495. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +104 -0
  496. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +2 -0
  497. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs.map +1 -0
  498. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +62 -0
  499. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +2 -0
  500. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs.map +1 -0
  501. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +192 -0
  502. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +2 -0
  503. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs.map +1 -0
  504. package/dist/esm/transactions/typeTag/index.d.mts +7 -0
  505. package/dist/esm/transactions/typeTag/index.mjs +2 -0
  506. package/dist/esm/transactions/typeTag/index.mjs.map +1 -0
  507. package/dist/esm/transactions/typeTag/parser.d.mts +81 -0
  508. package/dist/esm/transactions/typeTag/parser.mjs +2 -0
  509. package/dist/esm/transactions/typeTag/parser.mjs.map +1 -0
  510. package/dist/esm/transactions/types.d.mts +7 -0
  511. package/dist/esm/transactions/types.mjs +2 -0
  512. package/dist/esm/transactions/types.mjs.map +1 -0
  513. package/dist/esm/types/abstraction.d.mts +15 -0
  514. package/dist/esm/types/abstraction.mjs +2 -0
  515. package/dist/esm/types/abstraction.mjs.map +1 -0
  516. package/dist/esm/types/generated/operations.d.mts +709 -0
  517. package/dist/esm/types/generated/operations.mjs +1 -0
  518. package/dist/esm/types/generated/operations.mjs.map +1 -0
  519. package/dist/esm/types/generated/queries.d.mts +66 -0
  520. package/dist/esm/types/generated/queries.mjs +2 -0
  521. package/dist/esm/types/generated/queries.mjs.map +1 -0
  522. package/dist/esm/types/generated/types.d.mts +9495 -0
  523. package/dist/esm/types/generated/types.mjs +2 -0
  524. package/dist/esm/types/generated/types.mjs.map +1 -0
  525. package/dist/esm/types/index.d.mts +7 -0
  526. package/dist/esm/types/index.mjs +2 -0
  527. package/dist/esm/types/index.mjs.map +1 -0
  528. package/dist/esm/types/indexer.d.mts +186 -0
  529. package/dist/esm/types/indexer.mjs +2 -0
  530. package/dist/esm/types/indexer.mjs.map +1 -0
  531. package/dist/esm/types/keyless.d.mts +102 -0
  532. package/dist/esm/types/keyless.mjs +1 -0
  533. package/dist/esm/types/keyless.mjs.map +1 -0
  534. package/dist/esm/types/types.d.mts +7 -0
  535. package/dist/esm/types/types.mjs +2 -0
  536. package/dist/esm/types/types.mjs.map +1 -0
  537. package/dist/esm/utils/apiEndpoints.d.mts +51 -0
  538. package/dist/esm/utils/apiEndpoints.mjs +2 -0
  539. package/dist/esm/utils/apiEndpoints.mjs.map +1 -0
  540. package/dist/esm/utils/const.d.mts +90 -0
  541. package/dist/esm/utils/const.mjs +2 -0
  542. package/dist/esm/utils/const.mjs.map +1 -0
  543. package/dist/esm/utils/helpers.d.mts +174 -0
  544. package/dist/esm/utils/helpers.mjs +2 -0
  545. package/dist/esm/utils/helpers.mjs.map +1 -0
  546. package/dist/esm/utils/index.d.mts +9 -0
  547. package/dist/esm/utils/index.mjs +2 -0
  548. package/dist/esm/utils/index.mjs.map +1 -0
  549. package/dist/esm/utils/memoize.d.mts +26 -0
  550. package/dist/esm/utils/memoize.mjs +2 -0
  551. package/dist/esm/utils/memoize.mjs.map +1 -0
  552. package/dist/esm/utils/normalizeBundle.d.mts +35 -0
  553. package/dist/esm/utils/normalizeBundle.mjs +2 -0
  554. package/dist/esm/utils/normalizeBundle.mjs.map +1 -0
  555. package/dist/esm/version.d.mts +8 -0
  556. package/dist/esm/version.mjs +2 -0
  557. package/dist/esm/version.mjs.map +1 -0
  558. package/package.json +98 -0
  559. package/src/account/AbstractKeylessAccount.ts +579 -0
  560. package/src/account/AbstractedAccount.ts +124 -0
  561. package/src/account/Account.ts +354 -0
  562. package/src/account/AccountUtils.ts +216 -0
  563. package/src/account/DerivableAbstractedAccount.ts +103 -0
  564. package/src/account/Ed25519Account.ts +210 -0
  565. package/src/account/EphemeralKeyPair.ts +222 -0
  566. package/src/account/FederatedKeylessAccount.ts +178 -0
  567. package/src/account/KeylessAccount.ts +179 -0
  568. package/src/account/MultiEd25519Account.ts +181 -0
  569. package/src/account/MultiKeyAccount.ts +296 -0
  570. package/src/account/SingleKeyAccount.ts +277 -0
  571. package/src/account/index.ts +12 -0
  572. package/src/account/utils.ts +16 -0
  573. package/src/api/account/abstraction.ts +239 -0
  574. package/src/api/account.ts +1128 -0
  575. package/src/api/ans.ts +550 -0
  576. package/src/api/coin.ts +83 -0
  577. package/src/api/digitalAsset.ts +1203 -0
  578. package/src/api/faucet.ts +94 -0
  579. package/src/api/fungibleAsset.ts +371 -0
  580. package/src/api/general.ts +351 -0
  581. package/src/api/index.ts +6 -0
  582. package/src/api/keyless.ts +227 -0
  583. package/src/api/movement.ts +171 -0
  584. package/src/api/movementConfig.ts +334 -0
  585. package/src/api/object.ts +90 -0
  586. package/src/api/staking.ts +161 -0
  587. package/src/api/table.ts +193 -0
  588. package/src/api/transaction.ts +784 -0
  589. package/src/api/transactionSubmission/build.ts +153 -0
  590. package/src/api/transactionSubmission/helpers.ts +112 -0
  591. package/src/api/transactionSubmission/management.ts +211 -0
  592. package/src/api/transactionSubmission/sign.ts +142 -0
  593. package/src/api/transactionSubmission/simulate.ts +192 -0
  594. package/src/api/transactionSubmission/submit.ts +156 -0
  595. package/src/api/utils.ts +48 -0
  596. package/src/bcs/consts.ts +28 -0
  597. package/src/bcs/deserializer.ts +550 -0
  598. package/src/bcs/index.ts +10 -0
  599. package/src/bcs/serializable/entryFunctionBytes.ts +92 -0
  600. package/src/bcs/serializable/fixedBytes.ts +107 -0
  601. package/src/bcs/serializable/movePrimitives.ts +564 -0
  602. package/src/bcs/serializable/moveStructs.ts +619 -0
  603. package/src/bcs/serializer.ts +641 -0
  604. package/src/cli/index.ts +2 -0
  605. package/src/cli/localNode.ts +169 -0
  606. package/src/cli/move.ts +474 -0
  607. package/src/client/core.ts +120 -0
  608. package/src/client/get.ts +262 -0
  609. package/src/client/index.ts +7 -0
  610. package/src/client/post.ts +245 -0
  611. package/src/core/account/index.ts +1 -0
  612. package/src/core/account/utils/address.ts +85 -0
  613. package/src/core/account/utils/index.ts +1 -0
  614. package/src/core/accountAddress.ts +524 -0
  615. package/src/core/authenticationKey.ts +157 -0
  616. package/src/core/common.ts +60 -0
  617. package/src/core/crypto/abstraction.ts +52 -0
  618. package/src/core/crypto/deserializationUtils.ts +106 -0
  619. package/src/core/crypto/ed25519.ts +493 -0
  620. package/src/core/crypto/ephemeral.ts +185 -0
  621. package/src/core/crypto/federatedKeyless.ts +169 -0
  622. package/src/core/crypto/hdKey.ts +136 -0
  623. package/src/core/crypto/index.ts +21 -0
  624. package/src/core/crypto/keyless.ts +1700 -0
  625. package/src/core/crypto/multiEd25519.ts +434 -0
  626. package/src/core/crypto/multiKey.ts +498 -0
  627. package/src/core/crypto/poseidon.ts +231 -0
  628. package/src/core/crypto/privateKey.ts +115 -0
  629. package/src/core/crypto/proof.ts +9 -0
  630. package/src/core/crypto/publicKey.ts +106 -0
  631. package/src/core/crypto/secp256k1.ts +451 -0
  632. package/src/core/crypto/secp256r1.ts +495 -0
  633. package/src/core/crypto/signature.ts +57 -0
  634. package/src/core/crypto/singleKey.ts +351 -0
  635. package/src/core/crypto/types.ts +9 -0
  636. package/src/core/crypto/utils.ts +63 -0
  637. package/src/core/hex.ts +241 -0
  638. package/src/core/index.ts +10 -0
  639. package/src/errors/index.ts +457 -0
  640. package/src/index.ts +14 -0
  641. package/src/internal/abstraction.ts +79 -0
  642. package/src/internal/account.ts +1484 -0
  643. package/src/internal/ans.ts +853 -0
  644. package/src/internal/coin.ts +49 -0
  645. package/src/internal/digitalAsset.ts +1291 -0
  646. package/src/internal/faucet.ts +71 -0
  647. package/src/internal/fungibleAsset.ts +233 -0
  648. package/src/internal/general.ts +161 -0
  649. package/src/internal/keyless.ts +297 -0
  650. package/src/internal/object.ts +68 -0
  651. package/src/internal/queries/TokenActivitiesFieldsFragment.graphql +17 -0
  652. package/src/internal/queries/ansTokenFragment.graphql +11 -0
  653. package/src/internal/queries/currentTokenOwnershipFieldsFragment.graphql +46 -0
  654. package/src/internal/queries/getAccountAddressesForAuthKey.graphql +8 -0
  655. package/src/internal/queries/getAccountCoinCount.graphql +7 -0
  656. package/src/internal/queries/getAccountCoinsData.graphql +32 -0
  657. package/src/internal/queries/getAccountCollectionsWithOwnedTokens.graphql +33 -0
  658. package/src/internal/queries/getAccountOwnedTokens.graphql +11 -0
  659. package/src/internal/queries/getAccountOwnedTokensByTokenData.graphql +11 -0
  660. package/src/internal/queries/getAccountOwnedTokensFromCollectionAddress.graphql +11 -0
  661. package/src/internal/queries/getAccountTokensCount.graphql +7 -0
  662. package/src/internal/queries/getAccountTransactionsCount.graphql +7 -0
  663. package/src/internal/queries/getAuthKeysForPublicKey.graphql +11 -0
  664. package/src/internal/queries/getChainTopUserTransactions.graphql +5 -0
  665. package/src/internal/queries/getCollectionData.graphql +29 -0
  666. package/src/internal/queries/getCurrentFungibleAssetBalances.graphql +17 -0
  667. package/src/internal/queries/getDelegatedStakingActivities.graphql +12 -0
  668. package/src/internal/queries/getEvents.graphql +13 -0
  669. package/src/internal/queries/getFungibleAssetActivities.graphql +20 -0
  670. package/src/internal/queries/getFungibleAssetMetadata.graphql +18 -0
  671. package/src/internal/queries/getNames.graphql +11 -0
  672. package/src/internal/queries/getNumberOfDelegatorsQuery.graphql +9 -0
  673. package/src/internal/queries/getObjectData.graphql +16 -0
  674. package/src/internal/queries/getProcessorStatus.graphql +7 -0
  675. package/src/internal/queries/getTableItemsData.graphql +15 -0
  676. package/src/internal/queries/getTableItemsMetadata.graphql +12 -0
  677. package/src/internal/queries/getTokenActivity.graphql +11 -0
  678. package/src/internal/queries/getTokenCurrentOwner.graphql +11 -0
  679. package/src/internal/queries/getTokenData.graphql +39 -0
  680. package/src/internal/staking.ts +96 -0
  681. package/src/internal/table.ts +117 -0
  682. package/src/internal/transaction.ts +503 -0
  683. package/src/internal/transactionSubmission.ts +454 -0
  684. package/src/internal/utils/index.ts +4 -0
  685. package/src/internal/utils/utils.ts +86 -0
  686. package/src/internal/view.ts +61 -0
  687. package/src/transactions/authenticator/account.ts +405 -0
  688. package/src/transactions/authenticator/index.ts +6 -0
  689. package/src/transactions/authenticator/transaction.ts +288 -0
  690. package/src/transactions/index.ts +10 -0
  691. package/src/transactions/instances/chainId.ts +53 -0
  692. package/src/transactions/instances/identifier.ts +54 -0
  693. package/src/transactions/instances/index.ts +14 -0
  694. package/src/transactions/instances/moduleId.ts +77 -0
  695. package/src/transactions/instances/multiAgentTransaction.ts +92 -0
  696. package/src/transactions/instances/rawTransaction.ts +256 -0
  697. package/src/transactions/instances/rotationProofChallenge.ts +86 -0
  698. package/src/transactions/instances/signedTransaction.ts +73 -0
  699. package/src/transactions/instances/simpleTransaction.ts +83 -0
  700. package/src/transactions/instances/transactionArgument.ts +79 -0
  701. package/src/transactions/instances/transactionPayload.ts +676 -0
  702. package/src/transactions/management/accountSequenceNumber.ts +226 -0
  703. package/src/transactions/management/asyncQueue.ts +126 -0
  704. package/src/transactions/management/index.ts +2 -0
  705. package/src/transactions/management/transactionWorker.ts +396 -0
  706. package/src/transactions/transactionBuilder/helpers.ts +319 -0
  707. package/src/transactions/transactionBuilder/index.ts +8 -0
  708. package/src/transactions/transactionBuilder/remoteAbi.ts +655 -0
  709. package/src/transactions/transactionBuilder/signingMessage.ts +111 -0
  710. package/src/transactions/transactionBuilder/transactionBuilder.ts +863 -0
  711. package/src/transactions/typeTag/index.ts +926 -0
  712. package/src/transactions/typeTag/parser.ts +434 -0
  713. package/src/transactions/types.ts +518 -0
  714. package/src/types/abstraction.ts +14 -0
  715. package/src/types/codegen.yaml +33 -0
  716. package/src/types/generated/operations.ts +738 -0
  717. package/src/types/generated/queries.ts +926 -0
  718. package/src/types/generated/types.ts +10421 -0
  719. package/src/types/index.ts +2 -0
  720. package/src/types/indexer.ts +240 -0
  721. package/src/types/keyless.ts +94 -0
  722. package/src/types/types.ts +1713 -0
  723. package/src/utils/apiEndpoints.ts +107 -0
  724. package/src/utils/const.ts +100 -0
  725. package/src/utils/helpers.ts +287 -0
  726. package/src/utils/index.ts +4 -0
  727. package/src/utils/memoize.ts +76 -0
  728. package/src/utils/normalizeBundle.ts +34 -0
  729. package/src/version.ts +9 -0
@@ -0,0 +1,306 @@
1
+ import { L as PublicKey, bB as HexInput, T as Signature, K as VerifySignatureAsyncArgs, p as Serializer, a as Deserializer, u as AuthenticationKey, P as PrivateKey, _ as Hex } from '../../accountAddress-CNXtapt1.mjs';
2
+ import '../../types/indexer.mjs';
3
+ import '../../types/generated/operations.mjs';
4
+ import '../../types/generated/types.mjs';
5
+ import '../../utils/apiEndpoints.mjs';
6
+ import '../../utils/const.mjs';
7
+ import '../common.mjs';
8
+
9
+ /**
10
+ * Represents a Secp256r1 ECDSA public key.
11
+ *
12
+ * @extends PublicKey
13
+ * @property LENGTH - The length of the Secp256r1 public key in bytes.
14
+ * @group Implementation
15
+ * @category Serialization
16
+ */
17
+ declare class Secp256r1PublicKey extends PublicKey {
18
+ static readonly LENGTH: number;
19
+ static readonly COMPRESSED_LENGTH: number;
20
+ private readonly key;
21
+ readonly keyType: string;
22
+ /**
23
+ * Create a new PublicKey instance from a HexInput, which can be a string or Uint8Array.
24
+ * This constructor validates the length of the provided public key data.
25
+ *
26
+ * @param hexInput - A HexInput (string or Uint8Array) representing the public key data.
27
+ * @throws Error if the length of the public key data is not equal to Secp256r1PublicKey.LENGTH or COMPRESSED_LENGTH.
28
+ * @group Implementation
29
+ * @category Serialization
30
+ */
31
+ constructor(hexInput: HexInput);
32
+ /**
33
+ * Get the data as a Uint8Array representation.
34
+ *
35
+ * @returns Uint8Array representation of the data.
36
+ * @group Implementation
37
+ * @category Serialization
38
+ */
39
+ toUint8Array(): Uint8Array;
40
+ /**
41
+ * Get the public key as a hex string with the 0x prefix.
42
+ *
43
+ * @returns string representation of the public key.
44
+ * @group Implementation
45
+ * @category Serialization
46
+ */
47
+ toString(): string;
48
+ /**
49
+ * Converts the public key to BCS (Binary Canonical Serialization) bytes.
50
+ * This function serializes the public key data into a byte array format suitable for transmission or storage.
51
+ *
52
+ * @returns Uint8Array representation of the serialized public key.
53
+ * @group Implementation
54
+ * @category Serialization
55
+ */
56
+ bcsToBytes(): Uint8Array<ArrayBufferLike>;
57
+ /**
58
+ * Verifies a Secp256r1 signature against the public key.
59
+ *
60
+ * This function checks the validity of a signature for a given message.
61
+ *
62
+ * @param args - The arguments for verifying the signature.
63
+ * @param args.message - The message that was signed.
64
+ * @param args.signature - The signature to verify against the public key.
65
+ * @group Implementation
66
+ * @category Serialization
67
+ */
68
+ verifySignature(args: {
69
+ message: HexInput;
70
+ signature: Signature;
71
+ }): boolean;
72
+ /**
73
+ * Note: Secp256r1Signatures can be verified synchronously.
74
+ *
75
+ * Verifies the provided signature against the given message.
76
+ * This function helps ensure the integrity and authenticity of the message by confirming that the signature is valid.
77
+ *
78
+ * @param args - The arguments for signature verification.
79
+ * @param args.message - The message that was signed.
80
+ * @param args.signature - The signature to verify, which must be an instance of Secp256r1Signature.
81
+ * @returns A boolean indicating whether the signature is valid for the given message.
82
+ * @group Implementation
83
+ * @category Serialization
84
+ */
85
+ verifySignatureAsync(args: VerifySignatureAsyncArgs): Promise<boolean>;
86
+ /**
87
+ * Serializes the data into a byte array using the provided serializer.
88
+ * This function is essential for converting data into a format suitable for transmission or storage.
89
+ *
90
+ * @param serializer - The serializer instance used to convert the data.
91
+ * @group Implementation
92
+ * @category Serialization
93
+ */
94
+ serialize(serializer: Serializer): void;
95
+ /**
96
+ * Deserializes a Secp256r1PublicKey from the provided deserializer.
97
+ * This function allows you to reconstruct a Secp256r1PublicKey object from its serialized byte representation.
98
+ *
99
+ * @param deserializer - The deserializer instance used to read the serialized data.
100
+ * @group Implementation
101
+ * @category Serialization
102
+ */
103
+ static deserialize(deserializer: Deserializer): Secp256r1PublicKey;
104
+ /**
105
+ * Loads a Secp256r1PublicKey from the provided deserializer.
106
+ *
107
+ * @param deserializer - The deserializer instance used to read the serialized data.
108
+ * @group Implementation
109
+ * @category Serialization
110
+ */
111
+ static load(deserializer: Deserializer): Secp256r1PublicKey;
112
+ /**
113
+ * Determines if the provided public key is a valid instance of a Secp256r1 public key.
114
+ * This function checks for the presence of a "key" property and validates the length of the key data.
115
+ *
116
+ * @param publicKey - The public key to validate.
117
+ * @returns A boolean indicating whether the public key is a valid Secp256r1 public key.
118
+ * @group Implementation
119
+ * @category Serialization
120
+ */
121
+ static isInstance(publicKey: PublicKey): publicKey is Secp256r1PublicKey;
122
+ /**
123
+ * Generates an authentication key from the public key using the Secp256r1 scheme.
124
+ * This function is essential for creating a secure authentication key that can be used for further cryptographic operations.
125
+ *
126
+ * @returns {AuthenticationKey} The generated authentication key.
127
+ * @group Implementation
128
+ * @category Serialization
129
+ */
130
+ authKey(): AuthenticationKey;
131
+ }
132
+ /**
133
+ * Represents a Secp256r1 ECDSA private key, providing functionality to create, sign messages,
134
+ * derive public keys, and serialize/deserialize the key.
135
+ * @group Implementation
136
+ * @category Serialization
137
+ */
138
+ declare class Secp256r1PrivateKey extends PrivateKey {
139
+ /**
140
+ * Length of Secp256r1 ecdsa private key
141
+ * @group Implementation
142
+ * @category Serialization
143
+ */
144
+ static readonly LENGTH: number;
145
+ /**
146
+ * The private key bytes
147
+ * @private
148
+ * @group Implementation
149
+ * @category Serialization
150
+ */
151
+ private readonly key;
152
+ /**
153
+ * Create a new PrivateKey instance from a Uint8Array or String.
154
+ *
155
+ * [Read about AIP-80](https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md)
156
+ *
157
+ * @param hexInput A HexInput (string or Uint8Array)
158
+ * @param strict If true, private key must AIP-80 compliant.
159
+ * @group Implementation
160
+ * @category Serialization
161
+ */
162
+ constructor(hexInput: HexInput, strict?: boolean);
163
+ /**
164
+ * Get the private key in bytes (Uint8Array).
165
+ *
166
+ * @returns
167
+ * @group Implementation
168
+ * @category Serialization
169
+ */
170
+ toUint8Array(): Uint8Array;
171
+ /**
172
+ * Get the private key as a string representation.
173
+ *
174
+ * @returns string representation of the private key
175
+ * @group Implementation
176
+ * @category Serialization
177
+ */
178
+ toString(): string;
179
+ /**
180
+ * Get the private key as a hex string with the 0x prefix.
181
+ *
182
+ * @returns string representation of the private key.
183
+ */
184
+ toHexString(): string;
185
+ /**
186
+ * Sign the given message with the private key.
187
+ * This function generates a cryptographic signature for the provided message.
188
+ *
189
+ * @param message - A message in HexInput format to be signed.
190
+ * @returns Signature - The generated signature for the provided message.
191
+ * @group Implementation
192
+ * @category Serialization
193
+ */
194
+ sign(message: HexInput): Secp256r1Signature;
195
+ /**
196
+ * Serializes the data into a byte array using the provided serializer.
197
+ * This function is essential for converting data into a format suitable for transmission or storage.
198
+ *
199
+ * @param serializer - The serializer instance used to convert the data.
200
+ * @group Implementation
201
+ * @category Serialization
202
+ */
203
+ serialize(serializer: Serializer): void;
204
+ /**
205
+ * Deserializes a Secp256r1PrivateKey from the provided deserializer.
206
+ * This function allows you to reconstruct a Secp256r1PrivateKey object from its serialized byte representation.
207
+ *
208
+ * @param deserializer - The deserializer instance used to read the serialized data.
209
+ * @group Implementation
210
+ * @category Serialization
211
+ */
212
+ static deserialize(deserializer: Deserializer): Secp256r1PrivateKey;
213
+ /**
214
+ * Generate a new random private key.
215
+ *
216
+ * @returns Secp256r1PrivateKey - A newly generated Secp256r1 private key.
217
+ * @group Implementation
218
+ * @category Serialization
219
+ */
220
+ static generate(): Secp256r1PrivateKey;
221
+ /**
222
+ * Derive the Secp256r1PublicKey from this private key.
223
+ *
224
+ * @returns Secp256r1PublicKey The derived public key.
225
+ * @group Implementation
226
+ * @category Serialization
227
+ */
228
+ publicKey(): Secp256r1PublicKey;
229
+ }
230
+ declare class WebAuthnSignature extends Signature {
231
+ signature: Hex;
232
+ authenticatorData: Hex;
233
+ clientDataJSON: Hex;
234
+ constructor(signature: HexInput, authenticatorData: HexInput, clientDataJSON: HexInput);
235
+ toUint8Array(): Uint8Array<ArrayBufferLike>;
236
+ serialize(serializer: Serializer): void;
237
+ bcsToBytes(): Uint8Array<ArrayBufferLike>;
238
+ bcsToHex(): Hex;
239
+ toStringWithoutPrefix(): string;
240
+ static deserialize(deserializer: Deserializer): WebAuthnSignature;
241
+ }
242
+ /**
243
+ * Represents a signature of a message signed using a Secp256r1 ECDSA private key.
244
+ *
245
+ * @group Implementation
246
+ * @category Serialization
247
+ */
248
+ declare class Secp256r1Signature extends Signature {
249
+ /**
250
+ * Secp256r1 ecdsa signatures are 256-bit.
251
+ * @group Implementation
252
+ * @category Serialization
253
+ */
254
+ static readonly LENGTH = 64;
255
+ /**
256
+ * The signature bytes
257
+ * @private
258
+ * @group Implementation
259
+ * @category Serialization
260
+ */
261
+ private readonly data;
262
+ /**
263
+ * Create a new Signature instance from a Uint8Array or String.
264
+ *
265
+ * @param hexInput A HexInput (string or Uint8Array)
266
+ * @group Implementation
267
+ * @category Serialization
268
+ */
269
+ constructor(hexInput: HexInput);
270
+ /**
271
+ * Get the signature in bytes (Uint8Array).
272
+ *
273
+ * @returns Uint8Array representation of the signature
274
+ * @group Implementation
275
+ * @category Serialization
276
+ */
277
+ toUint8Array(): Uint8Array;
278
+ /**
279
+ * Get the signature as a hex string with the 0x prefix.
280
+ *
281
+ * @returns string representation of the signature
282
+ * @group Implementation
283
+ * @category Serialization
284
+ */
285
+ toString(): string;
286
+ /**
287
+ * Serializes the data into a byte array using the provided serializer.
288
+ * This function is essential for converting data into a format suitable for transmission or storage.
289
+ *
290
+ * @param serializer - The serializer instance used to convert the data.
291
+ * @group Implementation
292
+ * @category Serialization
293
+ */
294
+ serialize(serializer: Serializer): void;
295
+ /**
296
+ * Deserializes a Secp256r1Signature from the provided deserializer.
297
+ * This function allows you to reconstruct a Secp256r1Signature object from its serialized byte representation.
298
+ *
299
+ * @param deserializer - The deserializer instance used to read the serialized data.
300
+ * @group Implementation
301
+ * @category Serialization
302
+ */
303
+ static deserialize(deserializer: Deserializer): Secp256r1Signature;
304
+ }
305
+
306
+ export { Secp256r1PrivateKey, Secp256r1PublicKey, Secp256r1Signature, WebAuthnSignature };
@@ -0,0 +1,2 @@
1
+ import{a,b,c,d}from"../../chunk-V3O2SBO4.mjs";import"../../chunk-D6HPXGEP.mjs";import"../../chunk-VEZCMPUG.mjs";import"../../chunk-CHWDP6AR.mjs";import"../../chunk-NUB6KE73.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-6NO4QKAO.mjs";import"../../chunk-FS5ZJKO7.mjs";import"../../chunk-UVP74ONT.mjs";import"../../chunk-XCURF77K.mjs";import"../../chunk-RXHPS4IU.mjs";import"../../chunk-DS6QB6HG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-YOHEYPDP.mjs";import"../../chunk-SRXFRTHK.mjs";import"../../chunk-5IMQPJ6J.mjs";import"../../chunk-RL4YPMN4.mjs";import"../../chunk-UI4OF6CP.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as Secp256r1PrivateKey,a as Secp256r1PublicKey,d as Secp256r1Signature,c as WebAuthnSignature};
2
+ //# sourceMappingURL=secp256r1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,7 @@
1
+ export { T as Signature } from '../../accountAddress-CNXtapt1.mjs';
2
+ import '../../types/indexer.mjs';
3
+ import '../../types/generated/operations.mjs';
4
+ import '../../types/generated/types.mjs';
5
+ import '../../utils/apiEndpoints.mjs';
6
+ import '../../utils/const.mjs';
7
+ import '../common.mjs';
@@ -0,0 +1,2 @@
1
+ import{a}from"../../chunk-CHWDP6AR.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-6NO4QKAO.mjs";import"../../chunk-FS5ZJKO7.mjs";import"../../chunk-UVP74ONT.mjs";import"../../chunk-XCURF77K.mjs";import"../../chunk-RXHPS4IU.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-YOHEYPDP.mjs";import"../../chunk-SRXFRTHK.mjs";import"../../chunk-5IMQPJ6J.mjs";import"../../chunk-RL4YPMN4.mjs";import"../../chunk-UI4OF6CP.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Signature};
2
+ //# sourceMappingURL=signature.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,7 @@
1
+ export { X as AnyPublicKey, Y as AnySignature, W as PrivateKeyInput } from '../../accountAddress-CNXtapt1.mjs';
2
+ import '../../types/indexer.mjs';
3
+ import '../../types/generated/operations.mjs';
4
+ import '../../types/generated/types.mjs';
5
+ import '../../utils/apiEndpoints.mjs';
6
+ import '../../utils/const.mjs';
7
+ import '../common.mjs';
@@ -0,0 +1,2 @@
1
+ import{H as a,I as b}from"../../chunk-47V7UGV5.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-YFFYA5U3.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-RUIFVDWM.mjs";import"../../chunk-WVDICMU4.mjs";import"../../chunk-2KDUIZKB.mjs";import"../../chunk-OOOAVIMQ.mjs";import"../../chunk-V3O2SBO4.mjs";import"../../chunk-D6HPXGEP.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-7TTTMBAK.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2QTV4AOE.mjs";import"../../chunk-PHRRBT44.mjs";import"../../chunk-VEZCMPUG.mjs";import"../../chunk-CHWDP6AR.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-NUB6KE73.mjs";import"../../chunk-I6YGBK5S.mjs";import"../../chunk-S4D2KBYN.mjs";import"../../chunk-CRCE7R4D.mjs";import"../../chunk-NQUZ4UHR.mjs";import"../../chunk-NMFJJOGW.mjs";import"../../chunk-5ZKA765G.mjs";import"../../chunk-FJRPU2NH.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-SYXDZA4K.mjs";import"../../chunk-R2G23RIY.mjs";import"../../chunk-MEWW7VTQ.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-ANTEUWH6.mjs";import"../../chunk-KPJGWDSQ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-6NO4QKAO.mjs";import"../../chunk-FS5ZJKO7.mjs";import"../../chunk-UVP74ONT.mjs";import"../../chunk-XCURF77K.mjs";import"../../chunk-RXHPS4IU.mjs";import"../../chunk-WFAH73WN.mjs";import"../../chunk-Y6YW4BAZ.mjs";import"../../chunk-DS6QB6HG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-YOHEYPDP.mjs";import"../../chunk-SRXFRTHK.mjs";import"../../chunk-5IMQPJ6J.mjs";import"../../chunk-RL4YPMN4.mjs";import"../../chunk-UI4OF6CP.mjs";import"../../chunk-PZ233FIY.mjs";import"../../chunk-VW3WBAAD.mjs";import"../../chunk-PCESRJYO.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AnyPublicKey,b as AnySignature};
2
+ //# sourceMappingURL=singleKey.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,11 @@
1
+ import { E as Ed25519PublicKey, X as AnyPublicKey, H as MultiKey, z as MultiEd25519PublicKey } from '../../accountAddress-CNXtapt1.mjs';
2
+ import '../../types/indexer.mjs';
3
+ import '../../types/generated/operations.mjs';
4
+ import '../../types/generated/types.mjs';
5
+ import '../../utils/apiEndpoints.mjs';
6
+ import '../../utils/const.mjs';
7
+ import '../common.mjs';
8
+
9
+ type BaseAccountPublicKey = Ed25519PublicKey | AnyPublicKey | MultiKey | MultiEd25519PublicKey;
10
+
11
+ export type { BaseAccountPublicKey };
@@ -0,0 +1,2 @@
1
+ import"../../chunk-5HXLZHDW.mjs";
2
+ //# sourceMappingURL=types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,23 @@
1
+ import { bB as HexInput, N as AccountPublicKey, dJ as SigningScheme } from '../../accountAddress-CNXtapt1.mjs';
2
+ import { BaseAccountPublicKey } from './types.mjs';
3
+ import '../../types/indexer.mjs';
4
+ import '../../types/generated/operations.mjs';
5
+ import '../../types/generated/types.mjs';
6
+ import '../../utils/apiEndpoints.mjs';
7
+ import '../../utils/const.mjs';
8
+ import '../common.mjs';
9
+
10
+ /**
11
+ * Helper function to convert a message to sign or to verify to a valid message input
12
+ *
13
+ * @param message a message as a string or Uint8Array
14
+ *
15
+ * @returns a valid HexInput - string or Uint8Array
16
+ * @group Implementation
17
+ * @category Serialization
18
+ */
19
+ declare const convertSigningMessage: (message: HexInput) => HexInput;
20
+ declare const accountPublicKeyToBaseAccountPublicKey: (publicKey: AccountPublicKey) => BaseAccountPublicKey;
21
+ declare const accountPublicKeyToSigningScheme: (publicKey: AccountPublicKey) => SigningScheme;
22
+
23
+ export { accountPublicKeyToBaseAccountPublicKey, accountPublicKeyToSigningScheme, convertSigningMessage };
@@ -0,0 +1,2 @@
1
+ import{O as a,P as b,Q as c}from"../../chunk-47V7UGV5.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-YFFYA5U3.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-RUIFVDWM.mjs";import"../../chunk-WVDICMU4.mjs";import"../../chunk-2KDUIZKB.mjs";import"../../chunk-OOOAVIMQ.mjs";import"../../chunk-V3O2SBO4.mjs";import"../../chunk-D6HPXGEP.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-7TTTMBAK.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2QTV4AOE.mjs";import"../../chunk-PHRRBT44.mjs";import"../../chunk-VEZCMPUG.mjs";import"../../chunk-CHWDP6AR.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-NUB6KE73.mjs";import"../../chunk-I6YGBK5S.mjs";import"../../chunk-S4D2KBYN.mjs";import"../../chunk-CRCE7R4D.mjs";import"../../chunk-NQUZ4UHR.mjs";import"../../chunk-NMFJJOGW.mjs";import"../../chunk-5ZKA765G.mjs";import"../../chunk-FJRPU2NH.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-SYXDZA4K.mjs";import"../../chunk-R2G23RIY.mjs";import"../../chunk-MEWW7VTQ.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-ANTEUWH6.mjs";import"../../chunk-KPJGWDSQ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-6NO4QKAO.mjs";import"../../chunk-FS5ZJKO7.mjs";import"../../chunk-UVP74ONT.mjs";import"../../chunk-XCURF77K.mjs";import"../../chunk-RXHPS4IU.mjs";import"../../chunk-WFAH73WN.mjs";import"../../chunk-Y6YW4BAZ.mjs";import"../../chunk-DS6QB6HG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-YOHEYPDP.mjs";import"../../chunk-SRXFRTHK.mjs";import"../../chunk-5IMQPJ6J.mjs";import"../../chunk-RL4YPMN4.mjs";import"../../chunk-UI4OF6CP.mjs";import"../../chunk-PZ233FIY.mjs";import"../../chunk-VW3WBAAD.mjs";import"../../chunk-PCESRJYO.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as accountPublicKeyToBaseAccountPublicKey,c as accountPublicKeyToSigningScheme,a as convertSigningMessage};
2
+ //# sourceMappingURL=utils.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,7 @@
1
+ export { _ as Hex, Z as HexInvalidReason, $ as hexToAsciiString } from '../accountAddress-CNXtapt1.mjs';
2
+ import './common.mjs';
3
+ import '../types/indexer.mjs';
4
+ import '../types/generated/operations.mjs';
5
+ import '../types/generated/types.mjs';
6
+ import '../utils/apiEndpoints.mjs';
7
+ import '../utils/const.mjs';
@@ -0,0 +1,2 @@
1
+ import{a,b,c}from"../chunk-5IMQPJ6J.mjs";import"../chunk-RL4YPMN4.mjs";import"../chunk-KDMSOCZY.mjs";export{b as Hex,a as HexInvalidReason,c as hexToAsciiString};
2
+ //# sourceMappingURL=hex.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,20 @@
1
+ export { createObjectAddress, createResourceAddress, createTokenAddress, createUserDerivedObjectAddress } from './account/utils/address.mjs';
2
+ export { G as AbstractMultiKey, t as AccountAddress, s as AccountAddressInput, N as AccountPublicKey, A as AddressInvalidReason, X as AnyPublicKey, Y as AnySignature, u as AuthenticationKey, x as Ed25519PrivateKey, E as Ed25519PublicKey, y as Ed25519Signature, _ as Hex, Z as HexInvalidReason, z as MultiEd25519PublicKey, C as MultiEd25519Signature, H as MultiKey, J as MultiKeySignature, P as PrivateKey, W as PrivateKeyInput, L as PublicKey, Q as Secp256k1PrivateKey, O as Secp256k1PublicKey, R as Secp256k1Signature, T as Signature, V as VerifySignatureArgs, K as VerifySignatureAsyncArgs, $ as hexToAsciiString, w as isCanonicalEd25519Signature } from '../accountAddress-CNXtapt1.mjs';
3
+ export { ParsingError, ParsingResult } from './common.mjs';
4
+ export { AbstractPublicKey, AbstractSignature } from './crypto/abstraction.mjs';
5
+ export { deserializePublicKey, deserializeSignature } from './crypto/deserializationUtils.mjs';
6
+ export { EphemeralPublicKey, EphemeralSignature } from './crypto/ephemeral.mjs';
7
+ export { E as EPK_HORIZON_SECS, j as EphemeralCertificate, F as FederatedKeylessPublicKey, k as Groth16ProofAndStatement, n as Groth16VerificationKey, G as Groth16Zkp, m as KeylessConfiguration, K as KeylessPublicKey, i as KeylessSignature, M as MAX_AUD_VAL_BYTES, f as MAX_COMMITED_EPK_BYTES, d as MAX_EXTRA_FIELD_BYTES, c as MAX_ISS_VAL_BYTES, e as MAX_JWT_HEADER_B64_BYTES, a as MAX_UID_KEY_BYTES, b as MAX_UID_VAL_BYTES, r as MoveJWK, l as ZeroKnowledgeSig, Z as ZkProof, h as fetchJWK, p as getIssAudAndUidVal, o as getKeylessConfig, q as getKeylessJWKs, s as parseJwtHeader, v as verifyKeylessSignature, g as verifyKeylessSignatureWithJwkAndConfig } from '../federatedKeyless-D-d9d5aC.mjs';
8
+ export { CKDPriv, DerivedKeys, HARDENED_OFFSET, KeyType, MOVEMENT_BIP44_REGEX, MOVEMENT_HARDENED_REGEX, deriveKey, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, splitPath } from './crypto/hdKey.mjs';
9
+ export { bigIntToBytesLE, bytesToBigIntLE, hashStrToField, padAndPackBytesWithLen, poseidonHash } from './crypto/poseidon.mjs';
10
+ export { Secp256r1PrivateKey, Secp256r1PublicKey, Secp256r1Signature, WebAuthnSignature } from './crypto/secp256r1.mjs';
11
+ export { BaseAccountPublicKey } from './crypto/types.mjs';
12
+ import '../types/indexer.mjs';
13
+ import '../types/generated/operations.mjs';
14
+ import '../types/generated/types.mjs';
15
+ import '../utils/apiEndpoints.mjs';
16
+ import '../utils/const.mjs';
17
+ import '@noble/curves/abstract/tower';
18
+ import '@noble/curves/abstract/weierstrass';
19
+ import '../types/keyless.mjs';
20
+ import './crypto/proof.mjs';
@@ -0,0 +1,2 @@
1
+ import{A as ea,B as fa,C as ga,D as ha,E as ia,F as ja,G as ka,H as pa,I as qa,J as ra,K as sa,L as ta,M as ua,N as va,R as wa,S as xa,T as ya,U as za,a as q,b as r,c as D,d as E,e as K,f as L,g as M,h as N,i as O,j as P,k as Q,l as R,m as S,n as T,o as U,p as V,q as W,r as X,s as Y,t as Z,u as _,v as $,w as aa,x as ba,y as ca,z as da}from"../chunk-47V7UGV5.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-YFFYA5U3.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-RUIFVDWM.mjs";import"../chunk-WVDICMU4.mjs";import"../chunk-2KDUIZKB.mjs";import"../chunk-OOOAVIMQ.mjs";import{a as la,b as ma,c as na,d as oa}from"../chunk-V3O2SBO4.mjs";import{a as C}from"../chunk-D6HPXGEP.mjs";import"../chunk-5HXLZHDW.mjs";import{a as s,b as t,c as u,d as v,e as w,f as x,g as y,h as z,i as A,j as B}from"../chunk-7TTTMBAK.mjs";import{a as F,b as G,c as H,d as I,e as J}from"../chunk-GOXRBEIJ.mjs";import"../chunk-2QTV4AOE.mjs";import{a as k,b as l}from"../chunk-PHRRBT44.mjs";import{a as h,b as i}from"../chunk-VEZCMPUG.mjs";import{a as j}from"../chunk-CHWDP6AR.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-ZP4DWSQA.mjs";import{a as g}from"../chunk-NUB6KE73.mjs";import"../chunk-I6YGBK5S.mjs";import"../chunk-S4D2KBYN.mjs";import"../chunk-CRCE7R4D.mjs";import"../chunk-NQUZ4UHR.mjs";import"../chunk-NMFJJOGW.mjs";import"../chunk-5ZKA765G.mjs";import"../chunk-FJRPU2NH.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-SYXDZA4K.mjs";import"../chunk-R2G23RIY.mjs";import"../chunk-MEWW7VTQ.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-ANTEUWH6.mjs";import"../chunk-KPJGWDSQ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-6NO4QKAO.mjs";import"../chunk-FS5ZJKO7.mjs";import"../chunk-UVP74ONT.mjs";import"../chunk-XCURF77K.mjs";import"../chunk-RXHPS4IU.mjs";import"../chunk-WFAH73WN.mjs";import{a as m,b as n,c as o,d as p}from"../chunk-Y6YW4BAZ.mjs";import{a as e,b as f}from"../chunk-DS6QB6HG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-YOHEYPDP.mjs";import"../chunk-SRXFRTHK.mjs";import{a as b,b as c,c as d}from"../chunk-5IMQPJ6J.mjs";import{a}from"../chunk-RL4YPMN4.mjs";import"../chunk-UI4OF6CP.mjs";import"../chunk-PZ233FIY.mjs";import"../chunk-VW3WBAAD.mjs";import"../chunk-PCESRJYO.mjs";import"../chunk-KDMSOCZY.mjs";export{ra as AbstractMultiKey,l as AbstractPublicKey,k as AbstractSignature,f as AccountAddress,i as AccountPublicKey,e as AddressInvalidReason,pa as AnyPublicKey,qa as AnySignature,g as AuthenticationKey,z as CKDPriv,K as EPK_HORIZON_SECS,ya as Ed25519PrivateKey,xa as Ed25519PublicKey,za as Ed25519Signature,X as EphemeralCertificate,D as EphemeralPublicKey,E as EphemeralSignature,ha as FederatedKeylessPublicKey,Z as Groth16ProofAndStatement,ba as Groth16VerificationKey,Y as Groth16Zkp,v as HARDENED_OFFSET,c as Hex,b as HexInvalidReason,u as KeyType,aa as KeylessConfiguration,S as KeylessPublicKey,W as KeylessSignature,L as MAX_AUD_VAL_BYTES,R as MAX_COMMITED_EPK_BYTES,P as MAX_EXTRA_FIELD_BYTES,O as MAX_ISS_VAL_BYTES,Q as MAX_JWT_HEADER_B64_BYTES,M as MAX_UID_KEY_BYTES,N as MAX_UID_VAL_BYTES,t as MOVEMENT_BIP44_REGEX,s as MOVEMENT_HARDENED_REGEX,fa as MoveJWK,ua as MultiEd25519PublicKey,va as MultiEd25519Signature,sa as MultiKey,ta as MultiKeySignature,a as ParsingError,C as PrivateKey,h as PublicKey,ja as Secp256k1PrivateKey,ia as Secp256k1PublicKey,ka as Secp256k1Signature,ma as Secp256r1PrivateKey,la as Secp256r1PublicKey,oa as Secp256r1Signature,j as Signature,na as WebAuthnSignature,$ as ZeroKnowledgeSig,_ as ZkProof,I as bigIntToBytesLE,H as bytesToBigIntLE,m as createObjectAddress,n as createResourceAddress,p as createTokenAddress,o as createUserDerivedObjectAddress,y as deriveKey,q as deserializePublicKey,r as deserializeSignature,V as fetchJWK,da as getIssAudAndUidVal,ca as getKeylessConfig,ea as getKeylessJWKs,F as hashStrToField,d as hexToAsciiString,wa as isCanonicalEd25519Signature,w as isValidBIP44Path,x as isValidHardenedPath,B as mnemonicToSeed,G as padAndPackBytesWithLen,ga as parseJwtHeader,J as poseidonHash,A as splitPath,T as verifyKeylessSignature,U as verifyKeylessSignatureWithJwkAndConfig};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,131 @@
1
+ import { cm as MovementRequest, cn as MovementResponse } from '../accountAddress-CNXtapt1.mjs';
2
+ import { MovementApiType } from '../utils/const.mjs';
3
+ import '../types/indexer.mjs';
4
+ import '../types/generated/operations.mjs';
5
+ import '../types/generated/types.mjs';
6
+ import '../utils/apiEndpoints.mjs';
7
+ import '../core/common.mjs';
8
+
9
+ declare enum KeylessErrorCategory {
10
+ API_ERROR = 0,
11
+ EXTERNAL_API_ERROR = 1,
12
+ SESSION_EXPIRED = 2,
13
+ INVALID_STATE = 3,
14
+ INVALID_SIGNATURE = 4,
15
+ UNKNOWN = 5
16
+ }
17
+ declare enum KeylessErrorResolutionTip {
18
+ REAUTHENTICATE = "Re-authentiate to continue using your keyless account",
19
+ REAUTHENTICATE_UNSURE = "Try re-authentiating. If the error persists join the telegram group at https://t.me/+h5CN-W35yUFiYzkx for further support",
20
+ UPDATE_REQUEST_PARAMS = "Update the invalid request parameters and reauthenticate.",
21
+ RATE_LIMIT_EXCEEDED = "Cache the keyless account and reuse it to avoid making too many requests. Keyless accounts are valid until either the EphemeralKeyPair expires, when the JWK is rotated, or when the proof verifying key is changed, whichever comes soonest.",
22
+ SERVER_ERROR = "Try again later. See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx",
23
+ CALL_PRECHECK = "Call `await account.checkKeylessAccountValidity()` to wait for asyncronous changes and check for account validity before signing or serializing.",
24
+ REINSTANTIATE = "Try instantiating the account again. Avoid manipulating the account object directly",
25
+ JOIN_SUPPORT_GROUP = "For support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx",
26
+ UNKNOWN = "Error unknown. For support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"
27
+ }
28
+ declare enum KeylessErrorType {
29
+ EPHEMERAL_KEY_PAIR_EXPIRED = 0,
30
+ PROOF_NOT_FOUND = 1,
31
+ ASYNC_PROOF_FETCH_FAILED = 2,
32
+ INVALID_PROOF_VERIFICATION_FAILED = 3,
33
+ INVALID_PROOF_VERIFICATION_KEY_NOT_FOUND = 4,
34
+ INVALID_JWT_SIG = 5,
35
+ INVALID_JWT_JWK_NOT_FOUND = 6,
36
+ INVALID_JWT_ISS_NOT_RECOGNIZED = 7,
37
+ INVALID_JWT_FEDERATED_ISS_NOT_SUPPORTED = 8,
38
+ INVALID_TW_SIG_VERIFICATION_FAILED = 9,
39
+ INVALID_TW_SIG_PUBLIC_KEY_NOT_FOUND = 10,
40
+ INVALID_EXPIRY_HORIZON = 11,
41
+ JWT_PARSING_ERROR = 12,
42
+ JWK_FETCH_FAILED = 13,
43
+ JWK_FETCH_FAILED_FEDERATED = 14,
44
+ RATE_LIMIT_EXCEEDED = 15,
45
+ PEPPER_SERVICE_INTERNAL_ERROR = 16,
46
+ PEPPER_SERVICE_BAD_REQUEST = 17,
47
+ PEPPER_SERVICE_OTHER = 18,
48
+ PROVER_SERVICE_INTERNAL_ERROR = 19,
49
+ PROVER_SERVICE_BAD_REQUEST = 20,
50
+ PROVER_SERVICE_OTHER = 21,
51
+ FULL_NODE_CONFIG_LOOKUP_ERROR = 22,
52
+ FULL_NODE_VERIFICATION_KEY_LOOKUP_ERROR = 23,
53
+ FULL_NODE_JWKS_LOOKUP_ERROR = 24,
54
+ FULL_NODE_OTHER = 25,
55
+ SIGNATURE_TYPE_INVALID = 26,
56
+ SIGNATURE_EXPIRED = 27,
57
+ MAX_EXPIRY_HORIZON_EXCEEDED = 28,
58
+ EPHEMERAL_SIGNATURE_VERIFICATION_FAILED = 29,
59
+ TRAINING_WHEELS_SIGNATURE_MISSING = 30,
60
+ TRAINING_WHEELS_SIGNATURE_VERIFICATION_FAILED = 31,
61
+ PROOF_VERIFICATION_FAILED = 32,
62
+ UNKNOWN = 33
63
+ }
64
+ declare class KeylessError extends Error {
65
+ readonly innerError?: unknown;
66
+ readonly category: KeylessErrorCategory;
67
+ readonly resolutionTip: KeylessErrorResolutionTip;
68
+ readonly type: KeylessErrorType;
69
+ readonly details?: string;
70
+ /** @internal this constructor is for sdk internal use - do not instantiate outside of the SDK codebase */
71
+ constructor(args: {
72
+ innerError?: unknown;
73
+ category: KeylessErrorCategory;
74
+ resolutionTip: KeylessErrorResolutionTip;
75
+ type: KeylessErrorType;
76
+ message?: string;
77
+ details?: string;
78
+ });
79
+ static constructMessage(message: string, tip: KeylessErrorResolutionTip, innerError?: unknown, details?: string): string;
80
+ /**
81
+ * Static constructor that creates a KeylessError instance using the KeylessErrors constant
82
+ * @param args.type The type of KeylessError
83
+ * @param args.aptosApiError optional MovementApiError supplied for api errors
84
+ * @param args.details optional details to include in the error message
85
+ * @returns A new KeylessError instance
86
+ */
87
+ static fromErrorType(args: {
88
+ type: KeylessErrorType;
89
+ error?: unknown;
90
+ details?: string;
91
+ }): KeylessError;
92
+ }
93
+ /**
94
+ * Options for handling errors in the Movement API.
95
+ */
96
+ type MovementApiErrorOpts = {
97
+ apiType: MovementApiType;
98
+ aptosRequest: MovementRequest;
99
+ movementResponse: MovementResponse<any, any>;
100
+ };
101
+ /**
102
+ * Represents an error returned from the Movement API.
103
+ * This class encapsulates the details of the error, including the request URL, response status, and additional data.
104
+ *
105
+ * @param name - The name of the error, which is always "MovementApiError".
106
+ * @param url - The URL to which the request was made.
107
+ * @param status - The HTTP response status code (e.g., 400).
108
+ * @param statusText - The message associated with the response status.
109
+ * @param data - The response data returned from the API.
110
+ * @param request - The original MovementRequest that triggered the error.
111
+ */
112
+ declare class MovementApiError extends Error {
113
+ readonly url: string;
114
+ readonly status: number;
115
+ readonly statusText: string;
116
+ readonly data: any;
117
+ readonly request: MovementRequest;
118
+ /**
119
+ * Constructs an instance of MovementApiError with relevant error details.
120
+ *
121
+ * @param opts - The options for creating the MovementApiError.
122
+ * @param opts.apiType - The type of API that generated the error.
123
+ * @param opts.aptosRequest - The request object that caused the error.
124
+ * @param opts.movementResponse - The response object containing error details.
125
+ *
126
+ * @internal This constructor is for SDK internal use - do not instantiate outside the SDK codebase.
127
+ */
128
+ constructor({ apiType, aptosRequest, movementResponse }: MovementApiErrorOpts);
129
+ }
130
+
131
+ export { KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType, MovementApiError };
@@ -0,0 +1,2 @@
1
+ import{a,b,c,d,e}from"../chunk-KPJGWDSQ.mjs";import"../chunk-WFAH73WN.mjs";import"../chunk-Y6YW4BAZ.mjs";import"../chunk-DS6QB6HG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-YOHEYPDP.mjs";import"../chunk-SRXFRTHK.mjs";import"../chunk-5IMQPJ6J.mjs";import"../chunk-RL4YPMN4.mjs";import"../chunk-UI4OF6CP.mjs";import"../chunk-VW3WBAAD.mjs";import"../chunk-KDMSOCZY.mjs";export{d as KeylessError,a as KeylessErrorCategory,b as KeylessErrorResolutionTip,c as KeylessErrorType,e as MovementApiError};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}