@aptos-labs/ts-sdk 5.2.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/README.md +18 -0
  2. package/dist/common/{account-DvGDel4s.d.ts → account-Dpz_N9h-.d.ts} +225 -7
  3. package/dist/common/chunk-4RHBBU7C.js +4 -0
  4. package/dist/common/chunk-4RHBBU7C.js.map +1 -0
  5. package/dist/common/cli/index.d.ts +1 -1
  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 +228 -28
  9. package/dist/common/index.js +39 -34
  10. package/dist/common/index.js.map +1 -1
  11. package/dist/esm/{Ed25519Account-C25CwEJi.d.mts → Ed25519Account-BW_kXHC2.d.mts} +1 -1
  12. package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
  13. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  14. package/dist/esm/account/AbstractedAccount.d.mts +2 -2
  15. package/dist/esm/account/AbstractedAccount.mjs +1 -1
  16. package/dist/esm/account/Account.d.mts +2 -2
  17. package/dist/esm/account/Account.mjs +1 -1
  18. package/dist/esm/account/AccountUtils.d.mts +3 -3
  19. package/dist/esm/account/AccountUtils.mjs +1 -1
  20. package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
  21. package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
  22. package/dist/esm/account/Ed25519Account.d.mts +2 -2
  23. package/dist/esm/account/Ed25519Account.mjs +1 -1
  24. package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
  25. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  26. package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
  27. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  28. package/dist/esm/account/KeylessAccount.d.mts +3 -3
  29. package/dist/esm/account/KeylessAccount.mjs +1 -1
  30. package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
  31. package/dist/esm/account/MultiEd25519Account.mjs +1 -1
  32. package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
  33. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  34. package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
  35. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  36. package/dist/esm/account/index.d.mts +3 -3
  37. package/dist/esm/account/index.mjs +1 -1
  38. package/dist/esm/account/utils.d.mts +1 -1
  39. package/dist/esm/account/utils.mjs +1 -1
  40. package/dist/esm/{account-Bwu9vUe3.d.mts → account-CcxnCdYZ.d.mts} +220 -7
  41. package/dist/esm/api/account/abstraction.d.mts +1 -1
  42. package/dist/esm/api/account/abstraction.mjs +1 -1
  43. package/dist/esm/api/account.d.mts +2 -2
  44. package/dist/esm/api/account.mjs +1 -1
  45. package/dist/esm/api/ans.d.mts +92 -26
  46. package/dist/esm/api/ans.mjs +1 -1
  47. package/dist/esm/api/aptos.d.mts +4 -3
  48. package/dist/esm/api/aptos.mjs +1 -1
  49. package/dist/esm/api/aptosConfig.d.mts +1 -1
  50. package/dist/esm/api/coin.d.mts +1 -1
  51. package/dist/esm/api/coin.mjs +1 -1
  52. package/dist/esm/api/digitalAsset.d.mts +2 -2
  53. package/dist/esm/api/digitalAsset.mjs +1 -1
  54. package/dist/esm/api/faucet.d.mts +1 -1
  55. package/dist/esm/api/faucet.mjs +1 -1
  56. package/dist/esm/api/fungibleAsset.d.mts +2 -2
  57. package/dist/esm/api/fungibleAsset.mjs +1 -1
  58. package/dist/esm/api/general.d.mts +1 -1
  59. package/dist/esm/api/general.mjs +1 -1
  60. package/dist/esm/api/index.d.mts +4 -3
  61. package/dist/esm/api/index.mjs +1 -1
  62. package/dist/esm/api/keyless.d.mts +3 -3
  63. package/dist/esm/api/keyless.mjs +1 -1
  64. package/dist/esm/api/object.d.mts +1 -1
  65. package/dist/esm/api/object.mjs +1 -1
  66. package/dist/esm/api/staking.d.mts +1 -1
  67. package/dist/esm/api/staking.mjs +1 -1
  68. package/dist/esm/api/table.d.mts +1 -1
  69. package/dist/esm/api/table.mjs +1 -1
  70. package/dist/esm/api/transaction.d.mts +2 -2
  71. package/dist/esm/api/transaction.mjs +1 -1
  72. package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
  73. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  74. package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
  75. package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
  76. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  77. package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
  78. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  79. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  80. package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
  81. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  82. package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
  83. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  84. package/dist/esm/api/utils.d.mts +1 -1
  85. package/dist/esm/api/utils.mjs +1 -1
  86. package/dist/esm/bcs/consts.d.mts +1 -1
  87. package/dist/esm/bcs/deserializer.d.mts +1 -1
  88. package/dist/esm/bcs/index.d.mts +1 -1
  89. package/dist/esm/bcs/index.mjs +1 -1
  90. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
  91. package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
  92. package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
  93. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  94. package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
  95. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  96. package/dist/esm/bcs/serializer.d.mts +1 -1
  97. package/dist/esm/chunk-2DPQMXUG.mjs +4 -0
  98. package/dist/esm/chunk-2DPQMXUG.mjs.map +1 -0
  99. package/dist/esm/chunk-54C2P534.mjs +2 -0
  100. package/dist/esm/chunk-54C2P534.mjs.map +1 -0
  101. package/dist/esm/{chunk-IKTH33UN.mjs → chunk-56IXVVXX.mjs} +2 -2
  102. package/dist/esm/{chunk-K2TQQFRV.mjs → chunk-76SVQZDX.mjs} +2 -2
  103. package/dist/esm/{chunk-A2G3V23K.mjs → chunk-BGZDJ5SM.mjs} +2 -2
  104. package/dist/esm/{chunk-TRIYATBI.mjs → chunk-CUXCVNES.mjs} +2 -2
  105. package/dist/esm/chunk-DE5K76I2.mjs +1 -0
  106. package/dist/esm/{chunk-UXUMXAUZ.mjs → chunk-F3NI6N7R.mjs} +2 -2
  107. package/dist/esm/chunk-FW6UHAQV.mjs +2 -0
  108. package/dist/esm/{chunk-VS5NYRHW.mjs.map → chunk-FW6UHAQV.mjs.map} +1 -1
  109. package/dist/esm/{chunk-J426EZGD.mjs → chunk-JN65XG2P.mjs} +2 -2
  110. package/dist/esm/{chunk-UL777LTI.mjs → chunk-LS2HRAVW.mjs} +24 -19
  111. package/dist/esm/chunk-LS2HRAVW.mjs.map +1 -0
  112. package/dist/esm/chunk-NK3Y3PV3.mjs +2 -0
  113. package/dist/esm/{chunk-5ABS6RDR.mjs.map → chunk-NK3Y3PV3.mjs.map} +1 -1
  114. package/dist/esm/chunk-NP2IAUME.mjs +2 -0
  115. package/dist/esm/chunk-NP2IAUME.mjs.map +1 -0
  116. package/dist/esm/{chunk-G2VFBYHG.mjs → chunk-NTLOKAPD.mjs} +2 -2
  117. package/dist/esm/{chunk-IFWE34P5.mjs → chunk-PXJEKGEG.mjs} +2 -2
  118. package/dist/esm/chunk-QEHKRR3I.mjs +2 -0
  119. package/dist/esm/chunk-QEHKRR3I.mjs.map +1 -0
  120. package/dist/esm/chunk-RQN6LA7E.mjs +2 -0
  121. package/dist/esm/{chunk-AEXYYFIZ.mjs.map → chunk-RQN6LA7E.mjs.map} +1 -1
  122. package/dist/esm/{chunk-HIAEKFG6.mjs → chunk-WZ6FL7CH.mjs} +2 -2
  123. package/dist/esm/{chunk-LND3GTJ3.mjs → chunk-X674XJNJ.mjs} +2 -2
  124. package/dist/esm/cli/index.d.mts +1 -1
  125. package/dist/esm/cli/index.mjs +1 -1
  126. package/dist/esm/cli/localNode.mjs +1 -1
  127. package/dist/esm/cli/move.d.mts +1 -1
  128. package/dist/esm/client/core.d.mts +1 -1
  129. package/dist/esm/client/core.mjs +1 -1
  130. package/dist/esm/client/get.d.mts +1 -1
  131. package/dist/esm/client/get.mjs +1 -1
  132. package/dist/esm/client/index.d.mts +1 -1
  133. package/dist/esm/client/index.mjs +1 -1
  134. package/dist/esm/client/post.d.mts +1 -1
  135. package/dist/esm/client/post.mjs +1 -1
  136. package/dist/esm/core/account/index.d.mts +1 -1
  137. package/dist/esm/core/account/index.mjs +1 -1
  138. package/dist/esm/core/account/utils/address.d.mts +1 -1
  139. package/dist/esm/core/account/utils/address.mjs +1 -1
  140. package/dist/esm/core/account/utils/index.d.mts +1 -1
  141. package/dist/esm/core/account/utils/index.mjs +1 -1
  142. package/dist/esm/core/accountAddress.d.mts +1 -1
  143. package/dist/esm/core/accountAddress.mjs +1 -1
  144. package/dist/esm/core/authenticationKey.d.mts +1 -1
  145. package/dist/esm/core/authenticationKey.mjs +1 -1
  146. package/dist/esm/core/crypto/abstraction.d.mts +1 -1
  147. package/dist/esm/core/crypto/abstraction.mjs +1 -1
  148. package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
  149. package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
  150. package/dist/esm/core/crypto/ed25519.d.mts +1 -1
  151. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  152. package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
  153. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  154. package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
  155. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  156. package/dist/esm/core/crypto/index.d.mts +2 -2
  157. package/dist/esm/core/crypto/index.mjs +1 -1
  158. package/dist/esm/core/crypto/keyless.d.mts +2 -2
  159. package/dist/esm/core/crypto/keyless.mjs +1 -1
  160. package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
  161. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  162. package/dist/esm/core/crypto/multiKey.d.mts +1 -1
  163. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  164. package/dist/esm/core/crypto/privateKey.d.mts +1 -1
  165. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  166. package/dist/esm/core/crypto/proof.d.mts +1 -1
  167. package/dist/esm/core/crypto/proof.mjs +1 -1
  168. package/dist/esm/core/crypto/publicKey.d.mts +1 -1
  169. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  170. package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
  171. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  172. package/dist/esm/core/crypto/secp256r1.d.mts +1 -1
  173. package/dist/esm/core/crypto/secp256r1.mjs +1 -1
  174. package/dist/esm/core/crypto/signature.d.mts +1 -1
  175. package/dist/esm/core/crypto/signature.mjs +1 -1
  176. package/dist/esm/core/crypto/singleKey.d.mts +1 -1
  177. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  178. package/dist/esm/core/crypto/types.d.mts +1 -1
  179. package/dist/esm/core/crypto/utils.d.mts +1 -1
  180. package/dist/esm/core/crypto/utils.mjs +1 -1
  181. package/dist/esm/core/hex.d.mts +1 -1
  182. package/dist/esm/core/index.d.mts +2 -2
  183. package/dist/esm/core/index.mjs +1 -1
  184. package/dist/esm/errors/index.d.mts +1 -1
  185. package/dist/esm/errors/index.mjs +1 -1
  186. package/dist/esm/{federatedKeyless-BfOrG2BM.d.mts → federatedKeyless-BzaYmP03.d.mts} +1 -1
  187. package/dist/esm/index.d.mts +5 -4
  188. package/dist/esm/index.mjs +1 -1
  189. package/dist/esm/internal/abstraction.d.mts +1 -1
  190. package/dist/esm/internal/abstraction.mjs +1 -1
  191. package/dist/esm/internal/account.d.mts +2 -2
  192. package/dist/esm/internal/account.mjs +1 -1
  193. package/dist/esm/internal/ans.d.mts +85 -33
  194. package/dist/esm/internal/ans.mjs +1 -1
  195. package/dist/esm/internal/coin.d.mts +1 -1
  196. package/dist/esm/internal/coin.mjs +1 -1
  197. package/dist/esm/internal/digitalAsset.d.mts +2 -2
  198. package/dist/esm/internal/digitalAsset.mjs +1 -1
  199. package/dist/esm/internal/faucet.d.mts +1 -1
  200. package/dist/esm/internal/faucet.mjs +1 -1
  201. package/dist/esm/internal/fungibleAsset.d.mts +2 -2
  202. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  203. package/dist/esm/internal/general.d.mts +1 -1
  204. package/dist/esm/internal/general.mjs +1 -1
  205. package/dist/esm/internal/keyless.d.mts +3 -3
  206. package/dist/esm/internal/keyless.mjs +1 -1
  207. package/dist/esm/internal/object.d.mts +1 -1
  208. package/dist/esm/internal/object.mjs +1 -1
  209. package/dist/esm/internal/staking.d.mts +1 -1
  210. package/dist/esm/internal/staking.mjs +1 -1
  211. package/dist/esm/internal/table.d.mts +1 -1
  212. package/dist/esm/internal/table.mjs +1 -1
  213. package/dist/esm/internal/transaction.d.mts +1 -1
  214. package/dist/esm/internal/transaction.mjs +1 -1
  215. package/dist/esm/internal/transactionSubmission.d.mts +2 -2
  216. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  217. package/dist/esm/internal/utils/index.d.mts +1 -1
  218. package/dist/esm/internal/utils/index.mjs +1 -1
  219. package/dist/esm/internal/utils/utils.d.mts +1 -1
  220. package/dist/esm/internal/utils/utils.mjs +1 -1
  221. package/dist/esm/internal/view.d.mts +1 -1
  222. package/dist/esm/internal/view.mjs +1 -1
  223. package/dist/esm/transactions/authenticator/account.d.mts +1 -1
  224. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  225. package/dist/esm/transactions/authenticator/index.d.mts +1 -1
  226. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  227. package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
  228. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  229. package/dist/esm/transactions/index.d.mts +2 -2
  230. package/dist/esm/transactions/index.mjs +1 -1
  231. package/dist/esm/transactions/instances/chainId.d.mts +1 -1
  232. package/dist/esm/transactions/instances/identifier.d.mts +1 -1
  233. package/dist/esm/transactions/instances/index.d.mts +1 -1
  234. package/dist/esm/transactions/instances/index.mjs +1 -1
  235. package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
  236. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  237. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
  238. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  239. package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
  240. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  241. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
  242. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  243. package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
  244. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  245. package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
  246. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  247. package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
  248. package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
  249. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  250. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
  251. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  252. package/dist/esm/transactions/management/index.d.mts +2 -2
  253. package/dist/esm/transactions/management/index.mjs +1 -1
  254. package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
  255. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  256. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +32 -2
  257. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  258. package/dist/esm/transactions/transactionBuilder/index.d.mts +2 -2
  259. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  260. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
  261. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  262. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
  263. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  264. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
  265. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  266. package/dist/esm/transactions/typeTag/index.d.mts +1 -1
  267. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  268. package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
  269. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  270. package/dist/esm/transactions/types.d.mts +1 -1
  271. package/dist/esm/types/ans.d.mts +109 -0
  272. package/dist/esm/types/ans.mjs +2 -0
  273. package/dist/esm/types/ans.mjs.map +1 -0
  274. package/dist/esm/types/generated/operations.d.mts +5 -0
  275. package/dist/esm/types/generated/queries.d.mts +27 -27
  276. package/dist/esm/types/generated/queries.mjs +1 -1
  277. package/dist/esm/types/generated/types.d.mts +191 -7
  278. package/dist/esm/types/generated/types.mjs +1 -1
  279. package/dist/esm/types/generated/types.mjs.map +1 -1
  280. package/dist/esm/types/index.d.mts +2 -1
  281. package/dist/esm/types/index.mjs +1 -1
  282. package/dist/esm/types/types.d.mts +1 -1
  283. package/dist/esm/types/types.mjs +1 -1
  284. package/dist/esm/utils/helpers.d.mts +1 -1
  285. package/dist/esm/utils/helpers.mjs +1 -1
  286. package/dist/esm/utils/index.d.mts +1 -1
  287. package/dist/esm/utils/index.mjs +1 -1
  288. package/dist/esm/utils/normalizeBundle.d.mts +1 -1
  289. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  290. package/dist/esm/version.d.mts +1 -1
  291. package/dist/esm/version.mjs +1 -1
  292. package/package.json +2 -2
  293. package/src/api/ans.ts +70 -25
  294. package/src/bcs/serializable/movePrimitives.ts +12 -14
  295. package/src/bcs/serializable/moveStructs.ts +205 -1
  296. package/src/internal/ans.ts +279 -109
  297. package/src/internal/queries/getNames.graphql +5 -0
  298. package/src/transactions/instances/transactionPayload.ts +27 -1
  299. package/src/transactions/transactionBuilder/helpers.ts +67 -1
  300. package/src/transactions/transactionBuilder/remoteAbi.ts +124 -1
  301. package/src/transactions/transactionBuilder/transactionBuilder.ts +4 -4
  302. package/src/transactions/types.ts +20 -2
  303. package/src/types/ans.ts +110 -0
  304. package/src/types/generated/operations.ts +1 -0
  305. package/src/types/generated/queries.ts +163 -76
  306. package/src/types/generated/types.ts +216 -6
  307. package/src/types/index.ts +1 -0
  308. package/src/types/types.ts +58 -0
  309. package/src/version.ts +1 -1
  310. package/dist/common/chunk-JQCMXTY7.js +0 -4
  311. package/dist/common/chunk-JQCMXTY7.js.map +0 -1
  312. package/dist/esm/chunk-5ABS6RDR.mjs +0 -2
  313. package/dist/esm/chunk-6XLLQB5P.mjs +0 -2
  314. package/dist/esm/chunk-6XLLQB5P.mjs.map +0 -1
  315. package/dist/esm/chunk-76PXED26.mjs +0 -4
  316. package/dist/esm/chunk-76PXED26.mjs.map +0 -1
  317. package/dist/esm/chunk-AEXYYFIZ.mjs +0 -2
  318. package/dist/esm/chunk-BIQOJ3OK.mjs +0 -2
  319. package/dist/esm/chunk-BIQOJ3OK.mjs.map +0 -1
  320. package/dist/esm/chunk-FD6FGKYY.mjs +0 -1
  321. package/dist/esm/chunk-UL777LTI.mjs.map +0 -1
  322. package/dist/esm/chunk-VS5NYRHW.mjs +0 -2
  323. /package/dist/esm/{chunk-IKTH33UN.mjs.map → chunk-56IXVVXX.mjs.map} +0 -0
  324. /package/dist/esm/{chunk-K2TQQFRV.mjs.map → chunk-76SVQZDX.mjs.map} +0 -0
  325. /package/dist/esm/{chunk-A2G3V23K.mjs.map → chunk-BGZDJ5SM.mjs.map} +0 -0
  326. /package/dist/esm/{chunk-TRIYATBI.mjs.map → chunk-CUXCVNES.mjs.map} +0 -0
  327. /package/dist/esm/{chunk-FD6FGKYY.mjs.map → chunk-DE5K76I2.mjs.map} +0 -0
  328. /package/dist/esm/{chunk-UXUMXAUZ.mjs.map → chunk-F3NI6N7R.mjs.map} +0 -0
  329. /package/dist/esm/{chunk-J426EZGD.mjs.map → chunk-JN65XG2P.mjs.map} +0 -0
  330. /package/dist/esm/{chunk-G2VFBYHG.mjs.map → chunk-NTLOKAPD.mjs.map} +0 -0
  331. /package/dist/esm/{chunk-IFWE34P5.mjs.map → chunk-PXJEKGEG.mjs.map} +0 -0
  332. /package/dist/esm/{chunk-HIAEKFG6.mjs.map → chunk-WZ6FL7CH.mjs.map} +0 -0
  333. /package/dist/esm/{chunk-LND3GTJ3.mjs.map → chunk-X674XJNJ.mjs.map} +0 -0
@@ -4270,6 +4270,90 @@ declare class MoveVector<T extends Serializable & EntryFunctionArgument> extends
4270
4270
  * @category BCS
4271
4271
  */
4272
4272
  static Bool(values: Array<boolean>): MoveVector<Bool>;
4273
+ /**
4274
+ * Factory method to generate a MoveVector<I8> from an array of numbers.
4275
+ *
4276
+ * @param values - The values used to fill the MoveVector.
4277
+ * @returns A MoveVector<I8> with the inner values.
4278
+ *
4279
+ * @example
4280
+ * ```typescript
4281
+ * const v = MoveVector.I8([-1, 0, 1, 127]);
4282
+ * ```
4283
+ * @group Implementation
4284
+ * @category BCS
4285
+ */
4286
+ static I8(values: Array<number>): MoveVector<I8>;
4287
+ /**
4288
+ * Factory method to generate a MoveVector<I16> from an array of numbers.
4289
+ *
4290
+ * @param values - The values used to fill the MoveVector.
4291
+ * @returns A MoveVector<I16> with the inner values.
4292
+ *
4293
+ * @example
4294
+ * ```typescript
4295
+ * const v = MoveVector.I16([-1, 0, 1, 32767]);
4296
+ * ```
4297
+ * @group Implementation
4298
+ * @category BCS
4299
+ */
4300
+ static I16(values: Array<number>): MoveVector<I16>;
4301
+ /**
4302
+ * Factory method to generate a MoveVector<I32> from an array of numbers.
4303
+ *
4304
+ * @param values - The values used to fill the MoveVector.
4305
+ * @returns A MoveVector<I32> with the inner values.
4306
+ *
4307
+ * @example
4308
+ * ```typescript
4309
+ * const v = MoveVector.I32([-1, 0, 1, 2147483647]);
4310
+ * ```
4311
+ * @group Implementation
4312
+ * @category BCS
4313
+ */
4314
+ static I32(values: Array<number>): MoveVector<I32>;
4315
+ /**
4316
+ * Factory method to generate a MoveVector<I64> from an array of numbers or bigints.
4317
+ *
4318
+ * @param values - The values used to fill the MoveVector.
4319
+ * @returns A MoveVector<I64> with the inner values.
4320
+ *
4321
+ * @example
4322
+ * ```typescript
4323
+ * const v = MoveVector.I64([-1n, 0n, 1n, 9223372036854775807n]);
4324
+ * ```
4325
+ * @group Implementation
4326
+ * @category BCS
4327
+ */
4328
+ static I64(values: Array<AnyNumber>): MoveVector<I64>;
4329
+ /**
4330
+ * Factory method to generate a MoveVector<I128> from an array of numbers or bigints.
4331
+ *
4332
+ * @param values - The values used to fill the MoveVector.
4333
+ * @returns A MoveVector<I128> with the inner values.
4334
+ *
4335
+ * @example
4336
+ * ```typescript
4337
+ * const v = MoveVector.I128([-1n, 0n, 1n]);
4338
+ * ```
4339
+ * @group Implementation
4340
+ * @category BCS
4341
+ */
4342
+ static I128(values: Array<AnyNumber>): MoveVector<I128>;
4343
+ /**
4344
+ * Factory method to generate a MoveVector<I256> from an array of numbers or bigints.
4345
+ *
4346
+ * @param values - The values used to fill the MoveVector.
4347
+ * @returns A MoveVector<I256> with the inner values.
4348
+ *
4349
+ * @example
4350
+ * ```typescript
4351
+ * const v = MoveVector.I256([-1n, 0n, 1n]);
4352
+ * ```
4353
+ * @group Implementation
4354
+ * @category BCS
4355
+ */
4356
+ static I256(values: Array<AnyNumber>): MoveVector<I256>;
4273
4357
  /**
4274
4358
  * Factory method to generate a MoveVector<MoveString> from a `string` or `undefined`.
4275
4359
  * This function creates a MoveVector that encapsulates a MoveString if the provided value is not null or undefined.
@@ -4487,6 +4571,90 @@ declare class MoveOption<T extends Serializable & EntryFunctionArgument> extends
4487
4571
  * @category BCS
4488
4572
  */
4489
4573
  static Bool(value?: boolean | null): MoveOption<Bool>;
4574
+ /**
4575
+ * Factory method to generate a MoveOption<I8> from a `number` or `undefined`.
4576
+ *
4577
+ * @example
4578
+ * MoveOption.I8(1).isSome() === true;
4579
+ * MoveOption.I8().isSome() === false;
4580
+ * MoveOption.I8(undefined).isSome() === false;
4581
+ * @param value the value used to fill the MoveOption. If `value` is undefined
4582
+ * the resulting MoveOption's .isSome() method will return false.
4583
+ * @returns a MoveOption<I8> with an inner value `value`
4584
+ * @group Implementation
4585
+ * @category BCS
4586
+ */
4587
+ static I8(value?: number | null): MoveOption<I8>;
4588
+ /**
4589
+ * Factory method to generate a MoveOption<I16> from a `number` or `undefined`.
4590
+ *
4591
+ * @example
4592
+ * MoveOption.I16(1).isSome() === true;
4593
+ * MoveOption.I16().isSome() === false;
4594
+ * MoveOption.I16(undefined).isSome() === false;
4595
+ * @param value the value used to fill the MoveOption. If `value` is undefined
4596
+ * the resulting MoveOption's .isSome() method will return false.
4597
+ * @returns a MoveOption<I16> with an inner value `value`
4598
+ * @group Implementation
4599
+ * @category BCS
4600
+ */
4601
+ static I16(value?: number | null): MoveOption<I16>;
4602
+ /**
4603
+ * Factory method to generate a MoveOption<I32> from a `number` or `undefined`.
4604
+ *
4605
+ * @example
4606
+ * MoveOption.I32(1).isSome() === true;
4607
+ * MoveOption.I32().isSome() === false;
4608
+ * MoveOption.I32(undefined).isSome() === false;
4609
+ * @param value the value used to fill the MoveOption. If `value` is undefined
4610
+ * the resulting MoveOption's .isSome() method will return false.
4611
+ * @returns a MoveOption<I32> with an inner value `value`
4612
+ * @group Implementation
4613
+ * @category BCS
4614
+ */
4615
+ static I32(value?: number | null): MoveOption<I32>;
4616
+ /**
4617
+ * Factory method to generate a MoveOption<I64> from a `number` or a `bigint` or `undefined`.
4618
+ *
4619
+ * @example
4620
+ * MoveOption.I64(1).isSome() === true;
4621
+ * MoveOption.I64().isSome() === false;
4622
+ * MoveOption.I64(undefined).isSome() === false;
4623
+ * @param value the value used to fill the MoveOption. If `value` is undefined
4624
+ * the resulting MoveOption's .isSome() method will return false.
4625
+ * @returns a MoveOption<I64> with an inner value `value`
4626
+ * @group Implementation
4627
+ * @category BCS
4628
+ */
4629
+ static I64(value?: AnyNumber | null): MoveOption<I64>;
4630
+ /**
4631
+ * Factory method to generate a MoveOption<I128> from a `number` or a `bigint` or `undefined`.
4632
+ *
4633
+ * @example
4634
+ * MoveOption.I128(1).isSome() === true;
4635
+ * MoveOption.I128().isSome() === false;
4636
+ * MoveOption.I128(undefined).isSome() === false;
4637
+ * @param value the value used to fill the MoveOption. If `value` is undefined
4638
+ * the resulting MoveOption's .isSome() method will return false.
4639
+ * @returns a MoveOption<I128> with an inner value `value`
4640
+ * @group Implementation
4641
+ * @category BCS
4642
+ */
4643
+ static I128(value?: AnyNumber | null): MoveOption<I128>;
4644
+ /**
4645
+ * Factory method to generate a MoveOption<I256> from a `number` or a `bigint` or `undefined`.
4646
+ *
4647
+ * @example
4648
+ * MoveOption.I256(1).isSome() === true;
4649
+ * MoveOption.I256().isSome() === false;
4650
+ * MoveOption.I256(undefined).isSome() === false;
4651
+ * @param value the value used to fill the MoveOption. If `value` is undefined
4652
+ * the resulting MoveOption's .isSome() method will return false.
4653
+ * @returns a MoveOption<I256> with an inner value `value`
4654
+ * @group Implementation
4655
+ * @category BCS
4656
+ */
4657
+ static I256(value?: AnyNumber | null): MoveOption<I256>;
4490
4658
  /**
4491
4659
  * Factory method to generate a MoveOption<MoveString> from a `string` or `undefined`.
4492
4660
  *
@@ -4598,13 +4766,13 @@ type SimpleEntryFunctionArgumentTypes = boolean | number | bigint | string | nul
4598
4766
  * @group Implementation
4599
4767
  * @category Transactions
4600
4768
  */
4601
- type EntryFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<EntryFunctionArgumentTypes> | MoveOption<EntryFunctionArgumentTypes> | MoveString | FixedBytes;
4769
+ type EntryFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | I8 | I16 | I32 | I64 | I128 | I256 | AccountAddress | MoveVector<EntryFunctionArgumentTypes> | MoveOption<EntryFunctionArgumentTypes> | MoveString | FixedBytes;
4602
4770
  /**
4603
4771
  * Script function arguments for building raw transactions using BCS serialized arguments.
4604
4772
  * @group Implementation
4605
4773
  * @category Transactions
4606
4774
  */
4607
- type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<ScriptFunctionArgumentTypes> | MoveString | FixedBytes | Serialized;
4775
+ type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | I8 | I16 | I32 | I64 | I128 | I256 | AccountAddress | MoveVector<ScriptFunctionArgumentTypes> | MoveString | FixedBytes | Serialized;
4608
4776
  /**
4609
4777
  * Inputs for Entry functions, view functions, and scripts, which can be a string representation of various types including
4610
4778
  * primitive types, vectors, and structured types.
@@ -4617,6 +4785,12 @@ type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | A
4617
4785
  * - u64
4618
4786
  * - u128
4619
4787
  * - u256
4788
+ * - i8
4789
+ * - i16
4790
+ * - i32
4791
+ * - i64
4792
+ * - i128
4793
+ * - i256
4620
4794
  * - bool
4621
4795
  * - address
4622
4796
  * - signer
@@ -4687,7 +4861,7 @@ type InputGenerateTransactionPayloadDataWithRemoteABI = InputScriptData | InputE
4687
4861
  type InputEntryFunctionData = {
4688
4862
  function: MoveFunctionId;
4689
4863
  typeArguments?: Array<TypeArgument>;
4690
- functionArguments: Array<EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes>;
4864
+ functionArguments?: Array<EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes>;
4691
4865
  abi?: EntryFunctionABI;
4692
4866
  };
4693
4867
  /**
@@ -5050,7 +5224,13 @@ declare enum ScriptTransactionArgumentVariants {
5050
5224
  U16 = 6,
5051
5225
  U32 = 7,
5052
5226
  U256 = 8,
5053
- Serialized = 9
5227
+ Serialized = 9,
5228
+ I8 = 10,
5229
+ I16 = 11,
5230
+ I32 = 12,
5231
+ I64 = 13,
5232
+ I128 = 14,
5233
+ I256 = 15
5054
5234
  }
5055
5235
  /**
5056
5236
  * The payload for various transaction types in the system.
@@ -6141,6 +6321,30 @@ type MoveUint128Type = string;
6141
6321
  * A string representation of a 256-bit unsigned integer used in Move programming.
6142
6322
  */
6143
6323
  type MoveUint256Type = string;
6324
+ /**
6325
+ * A number representing a Move int8 type.
6326
+ */
6327
+ type MoveInt8Type = number;
6328
+ /**
6329
+ * A 16-bit signed integer used in the Move programming language.
6330
+ */
6331
+ type MoveInt16Type = number;
6332
+ /**
6333
+ * A 32-bit signed integer type used in Move programming.
6334
+ */
6335
+ type MoveInt32Type = number;
6336
+ /**
6337
+ * A string representation of a 64-bit signed integer used in Move programming.
6338
+ */
6339
+ type MoveInt64Type = string;
6340
+ /**
6341
+ * A string representing a 128-bit signed integer in the Move programming language.
6342
+ */
6343
+ type MoveInt128Type = string;
6344
+ /**
6345
+ * A string representation of a 256-bit signed integer used in Move programming.
6346
+ */
6347
+ type MoveInt256Type = string;
6144
6348
  /**
6145
6349
  * A string representing a Move address.
6146
6350
  */
@@ -6166,7 +6370,7 @@ type MoveStructType = {};
6166
6370
  * A union type that encompasses various data types used in Move, including primitive types, address types, object types, and
6167
6371
  * arrays of MoveType.
6168
6372
  */
6169
- type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructType | Array<MoveType>;
6373
+ type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveInt8Type | MoveInt16Type | MoveInt32Type | MoveInt64Type | MoveInt128Type | MoveInt256Type | MoveAddressType | MoveObjectType | MoveStructType | Array<MoveType>;
6170
6374
  /**
6171
6375
  * Possible Move values acceptable by move functions (entry, view)
6172
6376
  *
@@ -6178,6 +6382,10 @@ type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Ty
6178
6382
  *
6179
6383
  * `u64, u128, u256 -> string`
6180
6384
  *
6385
+ * `i8, i16, i32 -> number`
6386
+ *
6387
+ * `i64, i128, i256 -> string`
6388
+ *
6181
6389
  * `String -> string`
6182
6390
  *
6183
6391
  * `Address -> 0x${string}`
@@ -6190,7 +6398,7 @@ type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Ty
6190
6398
  *
6191
6399
  * `Option -> MoveValue | null | undefined`
6192
6400
  */
6193
- type MoveValue = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructId | MoveOptionType | Array<MoveValue>;
6401
+ type MoveValue = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveInt8Type | MoveInt16Type | MoveInt32Type | MoveInt64Type | MoveInt128Type | MoveInt256Type | MoveAddressType | MoveObjectType | MoveStructId | MoveOptionType | Array<MoveValue>;
6194
6402
  /**
6195
6403
  * A string representation of a Move module, formatted as `module_name::function_name`.
6196
6404
  * Module names are case-sensitive.
@@ -6260,6 +6468,11 @@ type MoveStruct = {
6260
6468
  * the Move source code. This attribute is only relevant for v2 events.
6261
6469
  */
6262
6470
  is_event: boolean;
6471
+ /**
6472
+ * True if the struct is an enum (e.g. enum MyEnum { A, B, C }), false if it is a
6473
+ * regular struct (e.g. struct MyStruct { a: u8, b: u8 }).
6474
+ */
6475
+ is_enum: boolean;
6263
6476
  /**
6264
6477
  * Abilities associated with the struct
6265
6478
  */
@@ -6978,4 +7191,4 @@ declare class AccountAbstractionMessage extends Serializable {
6978
7191
  static deserialize(deserializer: Deserializer): AccountAbstractionMessage;
6979
7192
  }
6980
7193
 
6981
- export { hexToAsciiString as $, AptosConfig as A, Bool as B, MultiEd25519Signature as C, type Deserializable as D, Ed25519PublicKey as E, FixedBytes as F, AbstractMultiKey as G, MultiKey as H, I8 as I, MultiKeySignature as J, type VerifySignatureAsyncArgs as K, PublicKey as L, MoveVector as M, AccountPublicKey as N, Secp256k1PublicKey as O, PrivateKey as P, Secp256k1PrivateKey as Q, Secp256k1Signature as R, Serializable as S, Signature as T, U8 as U, type VerifySignatureArgs as V, type PrivateKeyInput as W, AnyPublicKey as X, AnySignature as Y, HexInvalidReason as Z, Hex as _, Deserializer as a, type EntryFunctionArgumentTypes as a$, AccountAuthenticator as a0, AccountAuthenticatorEd25519 as a1, AccountAuthenticatorMultiEd25519 as a2, AccountAuthenticatorSingleKey as a3, AccountAuthenticatorMultiKey as a4, AccountAuthenticatorNoAccountAuthenticator as a5, AccountAuthenticatorAbstraction as a6, AccountAbstractionMessage as a7, ChainId as a8, Identifier as a9, MultiAgentTransaction as aA, TypeTag as aB, TypeTagBool as aC, TypeTagU8 as aD, TypeTagI8 as aE, TypeTagU16 as aF, TypeTagI16 as aG, TypeTagU32 as aH, TypeTagI32 as aI, TypeTagU64 as aJ, TypeTagI64 as aK, TypeTagU128 as aL, TypeTagI128 as aM, TypeTagU256 as aN, TypeTagI256 as aO, TypeTagAddress as aP, TypeTagSigner as aQ, TypeTagReference as aR, TypeTagGeneric as aS, TypeTagVector as aT, TypeTagStruct as aU, StructTag as aV, aptosCoinStructTag as aW, stringStructTag as aX, optionStructTag as aY, objectStructTag as aZ, type SimpleEntryFunctionArgumentTypes as a_, ModuleId as aa, RawTransaction as ab, RawTransactionWithData as ac, MultiAgentRawTransaction as ad, FeePayerRawTransaction as ae, type TransactionArgument as af, type EntryFunctionArgument as ag, type ScriptFunctionArgument as ah, deserializeFromScriptArgument as ai, TransactionPayload as aj, TransactionPayloadScript as ak, TransactionPayloadEntryFunction as al, TransactionPayloadMultiSig as am, EntryFunction as an, Script as ao, MultiSig as ap, MultiSigTransactionPayload as aq, TransactionInnerPayload as ar, TransactionInnerPayloadV1 as as, TransactionExecutable as at, TransactionExecutableScript as au, TransactionExecutableEntryFunction as av, TransactionExecutableEmpty as aw, TransactionExtraConfig as ax, TransactionExtraConfigV1 as ay, SimpleTransaction as az, Serializer as b, type Int32 as b$, type ScriptFunctionArgumentTypes as b0, type TypeArgument as b1, type AnyRawTransactionInstance as b2, type InputGenerateTransactionOptions as b3, type InputGenerateSequenceNumberTransactionOptions as b4, type InputGenerateOrderlessTransactionOptions as b5, type AnyTransactionPayloadInstance as b6, type InputGenerateTransactionPayloadData as b7, type InputGenerateTransactionPayloadDataWithRemoteABI as b8, type InputEntryFunctionData as b9, MimeType as bA, type HexInput as bB, TypeTagVariants as bC, ScriptTransactionArgumentVariants as bD, TransactionPayloadVariants as bE, TransactionInnerPayloadVariants as bF, TransactionExecutableVariants as bG, TransactionExtraConfigVariants as bH, TransactionVariants as bI, TransactionAuthenticatorVariant as bJ, AccountAuthenticatorVariant as bK, PrivateKeyVariants as bL, AnyPublicKeyVariant as bM, anyPublicKeyVariantToString as bN, AnySignatureVariant as bO, EphemeralPublicKeyVariant as bP, EphemeralSignatureVariant as bQ, EphemeralCertificateVariant as bR, ZkpVariant as bS, type Uint8 as bT, type Uint16 as bU, type Uint32 as bV, type Uint64 as bW, type Uint128 as bX, type Uint256 as bY, type Int8 as bZ, type Int16 as b_, type InputGenerateTransactionPayloadDataWithABI as ba, type InputEntryFunctionDataWithABI as bb, type InputMultiSigDataWithABI as bc, type InputEntryFunctionDataWithRemoteABI as bd, type InputMultiSigData as be, type InputMultiSigDataWithRemoteABI as bf, type InputScriptData as bg, type InputViewFunctionData as bh, type InputViewFunctionJsonData as bi, type ViewFunctionJsonPayload as bj, type InputViewFunctionDataWithRemoteABI as bk, type InputViewFunctionDataWithABI as bl, type FunctionABI as bm, type EntryFunctionABI as bn, type ViewFunctionABI as bo, type InputGenerateSingleSignerRawTransactionArgs as bp, type InputGenerateMultiAgentRawTransactionArgs as bq, type InputGenerateRawTransactionArgs as br, type AnyRawTransaction as bs, type InputSimulateTransactionData as bt, type InputSimulateTransactionOptions as bu, type InputGenerateSingleSignerRawTransactionData as bv, type InputGenerateMultiAgentRawTransactionData as bw, type InputGenerateTransactionData as bx, type InputTransactionPluginData as by, type InputSubmitTransactionData as bz, U16 as c, isEd25519Signature as c$, type Int64 as c0, type Int128 as c1, type Int256 as c2, type AnyNumber as c3, type AptosSettings as c4, type PaginationArgs as c5, type CursorPaginationArgs as c6, type TokenStandardArg as c7, type OrderByArg as c8, type WhereArg as c9, isStateCheckpointTransactionResponse as cA, isValidatorTransactionResponse as cB, isBlockEpilogueTransactionResponse as cC, type PendingTransactionResponse as cD, type UserTransactionResponse as cE, type GenesisTransactionResponse as cF, type BlockMetadataTransactionResponse as cG, type StateCheckpointTransactionResponse as cH, type ValidatorTransactionResponse as cI, type BlockEndInfo as cJ, type BlockEpilogueTransactionResponse as cK, type WriteSetChange as cL, type WriteSetChangeDeleteModule as cM, type WriteSetChangeDeleteResource as cN, type WriteSetChangeDeleteTableItem as cO, type WriteSetChangeWriteModule as cP, type WriteSetChangeWriteResource as cQ, type WriteSetChangeWriteTableItem as cR, type DecodedTableData as cS, type DeletedTableData as cT, type TransactionPayloadResponse as cU, type EntryFunctionPayloadResponse as cV, type ScriptPayloadResponse as cW, type MultisigPayloadResponse as cX, type GenesisPayload as cY, type MoveScriptBytecode as cZ, type TransactionSignature as c_, type ClientConfig as ca, type FullNodeConfig as cb, type IndexerConfig as cc, type FaucetConfig as cd, type TransactionGenerationConfig as ce, type ClientHeadersType as cf, type PluginConfig as cg, type PluginSettings as ch, type TransactionSubmitter as ci, type ClientRequest as cj, type ClientResponse as ck, type Client as cl, type AptosRequest as cm, type AptosResponse as cn, type LedgerVersionArg as co, type GasEstimation as cp, type MoveResource as cq, type AccountData as cr, type MoveModuleBytecode as cs, TransactionResponseType as ct, type TransactionResponse as cu, type CommittedTransactionResponse as cv, isPendingTransactionResponse as cw, isUserTransactionResponse as cx, isGenesisTransactionResponse as cy, isBlockMetadataTransactionResponse as cz, U32 as d, isSecp256k1Signature as d0, isMultiAgentSignature as d1, isFeePayerSignature as d2, isMultiEd25519Signature as d3, isSingleSenderSignature as d4, type TransactionEd25519Signature as d5, type TransactionSecp256k1Signature as d6, type TransactionSingleSenderSignature as d7, type TransactionMultiEd25519Signature as d8, type TransactionMultiAgentSignature as d9, type MoveStructField as dA, type MoveModule as dB, type MoveStruct as dC, type MoveFunction as dD, RoleType as dE, type LedgerInfo as dF, type Block as dG, type TableItemRequest as dH, type AuthenticationKeyScheme as dI, SigningScheme as dJ, SigningSchemeInput as dK, DeriveScheme as dL, type WaitForTransactionOptions as dM, type GenerateAccountWithEd25519 as dN, type GenerateAccountWithSingleSignerSecp256k1Key as dO, type GenerateAccount as dP, type TransactionFeePayerSignature as da, type AccountSignature as db, type WriteSet as dc, type ScriptWriteSet as dd, type DirectWriteSet as de, type EventGuid as df, type Event as dg, type MoveUint8Type as dh, type MoveUint16Type as di, type MoveUint32Type as dj, type MoveUint64Type as dk, type MoveUint128Type as dl, type MoveUint256Type as dm, type MoveAddressType as dn, type MoveObjectType as dp, type MoveOptionType as dq, type MoveStructId as dr, type MoveFunctionId as ds, type MoveStructType as dt, type MoveType as du, type MoveValue as dv, type MoveModuleId as dw, MoveFunctionVisibility as dx, MoveAbility as dy, type MoveFunctionGenericTypeParam as dz, ensureBoolean as e, U64 as f, U128 as g, U256 as h, I16 as i, I32 as j, I64 as k, I128 as l, I256 as m, Serialized as n, outOfRangeErrorMessage as o, MoveString as p, MoveOption as q, AddressInvalidReason as r, type AccountAddressInput as s, AccountAddress as t, AuthenticationKey as u, validateNumberInRange as v, isCanonicalEd25519Signature as w, Ed25519PrivateKey as x, Ed25519Signature as y, MultiEd25519PublicKey as z };
7194
+ export { hexToAsciiString as $, AptosConfig as A, Bool as B, MultiEd25519Signature as C, type Deserializable as D, Ed25519PublicKey as E, FixedBytes as F, AbstractMultiKey as G, MultiKey as H, I8 as I, MultiKeySignature as J, type VerifySignatureAsyncArgs as K, PublicKey as L, MoveVector as M, AccountPublicKey as N, Secp256k1PublicKey as O, PrivateKey as P, Secp256k1PrivateKey as Q, Secp256k1Signature as R, Serializable as S, Signature as T, U8 as U, type VerifySignatureArgs as V, type PrivateKeyInput as W, AnyPublicKey as X, AnySignature as Y, HexInvalidReason as Z, Hex as _, Deserializer as a, type EntryFunctionArgumentTypes as a$, AccountAuthenticator as a0, AccountAuthenticatorEd25519 as a1, AccountAuthenticatorMultiEd25519 as a2, AccountAuthenticatorSingleKey as a3, AccountAuthenticatorMultiKey as a4, AccountAuthenticatorNoAccountAuthenticator as a5, AccountAuthenticatorAbstraction as a6, AccountAbstractionMessage as a7, ChainId as a8, Identifier as a9, MultiAgentTransaction as aA, TypeTag as aB, TypeTagBool as aC, TypeTagU8 as aD, TypeTagI8 as aE, TypeTagU16 as aF, TypeTagI16 as aG, TypeTagU32 as aH, TypeTagI32 as aI, TypeTagU64 as aJ, TypeTagI64 as aK, TypeTagU128 as aL, TypeTagI128 as aM, TypeTagU256 as aN, TypeTagI256 as aO, TypeTagAddress as aP, TypeTagSigner as aQ, TypeTagReference as aR, TypeTagGeneric as aS, TypeTagVector as aT, TypeTagStruct as aU, StructTag as aV, aptosCoinStructTag as aW, stringStructTag as aX, optionStructTag as aY, objectStructTag as aZ, type SimpleEntryFunctionArgumentTypes as a_, ModuleId as aa, RawTransaction as ab, RawTransactionWithData as ac, MultiAgentRawTransaction as ad, FeePayerRawTransaction as ae, type TransactionArgument as af, type EntryFunctionArgument as ag, type ScriptFunctionArgument as ah, deserializeFromScriptArgument as ai, TransactionPayload as aj, TransactionPayloadScript as ak, TransactionPayloadEntryFunction as al, TransactionPayloadMultiSig as am, EntryFunction as an, Script as ao, MultiSig as ap, MultiSigTransactionPayload as aq, TransactionInnerPayload as ar, TransactionInnerPayloadV1 as as, TransactionExecutable as at, TransactionExecutableScript as au, TransactionExecutableEntryFunction as av, TransactionExecutableEmpty as aw, TransactionExtraConfig as ax, TransactionExtraConfigV1 as ay, SimpleTransaction as az, Serializer as b, type Int32 as b$, type ScriptFunctionArgumentTypes as b0, type TypeArgument as b1, type AnyRawTransactionInstance as b2, type InputGenerateTransactionOptions as b3, type InputGenerateSequenceNumberTransactionOptions as b4, type InputGenerateOrderlessTransactionOptions as b5, type AnyTransactionPayloadInstance as b6, type InputGenerateTransactionPayloadData as b7, type InputGenerateTransactionPayloadDataWithRemoteABI as b8, type InputEntryFunctionData as b9, MimeType as bA, type HexInput as bB, TypeTagVariants as bC, ScriptTransactionArgumentVariants as bD, TransactionPayloadVariants as bE, TransactionInnerPayloadVariants as bF, TransactionExecutableVariants as bG, TransactionExtraConfigVariants as bH, TransactionVariants as bI, TransactionAuthenticatorVariant as bJ, AccountAuthenticatorVariant as bK, PrivateKeyVariants as bL, AnyPublicKeyVariant as bM, anyPublicKeyVariantToString as bN, AnySignatureVariant as bO, EphemeralPublicKeyVariant as bP, EphemeralSignatureVariant as bQ, EphemeralCertificateVariant as bR, ZkpVariant as bS, type Uint8 as bT, type Uint16 as bU, type Uint32 as bV, type Uint64 as bW, type Uint128 as bX, type Uint256 as bY, type Int8 as bZ, type Int16 as b_, type InputGenerateTransactionPayloadDataWithABI as ba, type InputEntryFunctionDataWithABI as bb, type InputMultiSigDataWithABI as bc, type InputEntryFunctionDataWithRemoteABI as bd, type InputMultiSigData as be, type InputMultiSigDataWithRemoteABI as bf, type InputScriptData as bg, type InputViewFunctionData as bh, type InputViewFunctionJsonData as bi, type ViewFunctionJsonPayload as bj, type InputViewFunctionDataWithRemoteABI as bk, type InputViewFunctionDataWithABI as bl, type FunctionABI as bm, type EntryFunctionABI as bn, type ViewFunctionABI as bo, type InputGenerateSingleSignerRawTransactionArgs as bp, type InputGenerateMultiAgentRawTransactionArgs as bq, type InputGenerateRawTransactionArgs as br, type AnyRawTransaction as bs, type InputSimulateTransactionData as bt, type InputSimulateTransactionOptions as bu, type InputGenerateSingleSignerRawTransactionData as bv, type InputGenerateMultiAgentRawTransactionData as bw, type InputGenerateTransactionData as bx, type InputTransactionPluginData as by, type InputSubmitTransactionData as bz, U16 as c, isEd25519Signature as c$, type Int64 as c0, type Int128 as c1, type Int256 as c2, type AnyNumber as c3, type AptosSettings as c4, type PaginationArgs as c5, type CursorPaginationArgs as c6, type TokenStandardArg as c7, type OrderByArg as c8, type WhereArg as c9, isStateCheckpointTransactionResponse as cA, isValidatorTransactionResponse as cB, isBlockEpilogueTransactionResponse as cC, type PendingTransactionResponse as cD, type UserTransactionResponse as cE, type GenesisTransactionResponse as cF, type BlockMetadataTransactionResponse as cG, type StateCheckpointTransactionResponse as cH, type ValidatorTransactionResponse as cI, type BlockEndInfo as cJ, type BlockEpilogueTransactionResponse as cK, type WriteSetChange as cL, type WriteSetChangeDeleteModule as cM, type WriteSetChangeDeleteResource as cN, type WriteSetChangeDeleteTableItem as cO, type WriteSetChangeWriteModule as cP, type WriteSetChangeWriteResource as cQ, type WriteSetChangeWriteTableItem as cR, type DecodedTableData as cS, type DeletedTableData as cT, type TransactionPayloadResponse as cU, type EntryFunctionPayloadResponse as cV, type ScriptPayloadResponse as cW, type MultisigPayloadResponse as cX, type GenesisPayload as cY, type MoveScriptBytecode as cZ, type TransactionSignature as c_, type ClientConfig as ca, type FullNodeConfig as cb, type IndexerConfig as cc, type FaucetConfig as cd, type TransactionGenerationConfig as ce, type ClientHeadersType as cf, type PluginConfig as cg, type PluginSettings as ch, type TransactionSubmitter as ci, type ClientRequest as cj, type ClientResponse as ck, type Client as cl, type AptosRequest as cm, type AptosResponse as cn, type LedgerVersionArg as co, type GasEstimation as cp, type MoveResource as cq, type AccountData as cr, type MoveModuleBytecode as cs, TransactionResponseType as ct, type TransactionResponse as cu, type CommittedTransactionResponse as cv, isPendingTransactionResponse as cw, isUserTransactionResponse as cx, isGenesisTransactionResponse as cy, isBlockMetadataTransactionResponse as cz, U32 as d, isSecp256k1Signature as d0, isMultiAgentSignature as d1, isFeePayerSignature as d2, isMultiEd25519Signature as d3, isSingleSenderSignature as d4, type TransactionEd25519Signature as d5, type TransactionSecp256k1Signature as d6, type TransactionSingleSenderSignature as d7, type TransactionMultiEd25519Signature as d8, type TransactionMultiAgentSignature as d9, type MoveType as dA, type MoveValue as dB, type MoveModuleId as dC, MoveFunctionVisibility as dD, MoveAbility as dE, type MoveFunctionGenericTypeParam as dF, type MoveStructField as dG, type MoveModule as dH, type MoveStruct as dI, type MoveFunction as dJ, RoleType as dK, type LedgerInfo as dL, type Block as dM, type TableItemRequest as dN, type AuthenticationKeyScheme as dO, SigningScheme as dP, SigningSchemeInput as dQ, DeriveScheme as dR, type WaitForTransactionOptions as dS, type GenerateAccountWithEd25519 as dT, type GenerateAccountWithSingleSignerSecp256k1Key as dU, type GenerateAccount as dV, type TransactionFeePayerSignature as da, type AccountSignature as db, type WriteSet as dc, type ScriptWriteSet as dd, type DirectWriteSet as de, type EventGuid as df, type Event as dg, type MoveUint8Type as dh, type MoveUint16Type as di, type MoveUint32Type as dj, type MoveUint64Type as dk, type MoveUint128Type as dl, type MoveUint256Type as dm, type MoveInt8Type as dn, type MoveInt16Type as dp, type MoveInt32Type as dq, type MoveInt64Type as dr, type MoveInt128Type as ds, type MoveInt256Type as dt, type MoveAddressType as du, type MoveObjectType as dv, type MoveOptionType as dw, type MoveStructId as dx, type MoveFunctionId as dy, type MoveStructType as dz, ensureBoolean as e, U64 as f, U128 as g, U256 as h, I16 as i, I32 as j, I64 as k, I128 as l, I256 as m, Serialized as n, outOfRangeErrorMessage as o, MoveString as p, MoveOption as q, AddressInvalidReason as r, type AccountAddressInput as s, AccountAddress as t, AuthenticationKey as u, validateNumberInRange as v, isCanonicalEd25519Signature as w, Ed25519PrivateKey as x, Ed25519Signature as y, MultiEd25519PublicKey as z };
@@ -1,4 +1,4 @@
1
- import { A as AptosConfig, s as AccountAddressInput, b3 as InputGenerateTransactionOptions, az as SimpleTransaction, t as AccountAddress } from '../../account-Bwu9vUe3.mjs';
1
+ import { A as AptosConfig, s as AccountAddressInput, b3 as InputGenerateTransactionOptions, az as SimpleTransaction, t as AccountAddress } from '../../account-CcxnCdYZ.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{$c as a}from"../../chunk-76PXED26.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-G2VFBYHG.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-2LCPW76G.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-52PWWLJJ.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-IKTH33UN.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-IFWE34P5.mjs";import"../../chunk-TRIYATBI.mjs";import"../../chunk-LND3GTJ3.mjs";import"../../chunk-UXUMXAUZ.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-J426EZGD.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-A2G3V23K.mjs";import"../../chunk-HIAEKFG6.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-K2TQQFRV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-BIQOJ3OK.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-5ABS6RDR.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-6XLLQB5P.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-AEXYYFIZ.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountAbstraction};
1
+ import{fd as a}from"../../chunk-2DPQMXUG.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-3P474TWM.mjs";import"../../chunk-56IXVVXX.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-6IWGTO2J.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-NTLOKAPD.mjs";import"../../chunk-2LCPW76G.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-2PASUPUO.mjs";import"../../chunk-KUF4DKN5.mjs";import"../../chunk-52PWWLJJ.mjs";import"../../chunk-5FNZUL2Y.mjs";import"../../chunk-QDJDZ3ON.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-RYOICF37.mjs";import"../../chunk-PXJEKGEG.mjs";import"../../chunk-CUXCVNES.mjs";import"../../chunk-X674XJNJ.mjs";import"../../chunk-F3NI6N7R.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-JN65XG2P.mjs";import"../../chunk-LS2HRAVW.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-BGZDJ5SM.mjs";import"../../chunk-WZ6FL7CH.mjs";import"../../chunk-76SVQZDX.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-LD3I4CYO.mjs";import"../../chunk-G3HAIETV.mjs";import"../../chunk-NCKJ7X57.mjs";import"../../chunk-P5HCJN3A.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-PYVKCTUN.mjs";import"../../chunk-C5UZZHA4.mjs";import"../../chunk-MEG27LEV.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-QEHKRR3I.mjs";import"../../chunk-NK3Y3PV3.mjs";import"../../chunk-43LWUUXS.mjs";import"../../chunk-DIFSO4N6.mjs";import"../../chunk-DE5K76I2.mjs";import"../../chunk-NP2IAUME.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-54C2P534.mjs";import"../../chunk-Y426VCPM.mjs";import"../../chunk-I42Z32Q2.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-X2TPNKLV.mjs";import"../../chunk-RQN6LA7E.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as AccountAbstraction};
2
2
  //# sourceMappingURL=abstraction.mjs.map
@@ -1,7 +1,7 @@
1
1
  import { GetAccountOwnedTokensQueryResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountCoinsDataResponse, GetObjectDataQueryResponse } from '../types/indexer.mjs';
2
- import { A as AptosConfig, s as AccountAddressInput, cr as AccountData, co as LedgerVersionArg, cs as MoveModuleBytecode, c6 as CursorPaginationArgs, c5 as PaginationArgs, cu as TransactionResponse, cq as MoveResource, dr as MoveStructId, c3 as AnyNumber, t as AccountAddress, c7 as TokenStandardArg, c8 as OrderByArg, c9 as WhereArg, W as PrivateKeyInput } from '../account-Bwu9vUe3.mjs';
2
+ import { A as AptosConfig, s as AccountAddressInput, cr as AccountData, co as LedgerVersionArg, cs as MoveModuleBytecode, c6 as CursorPaginationArgs, c5 as PaginationArgs, cu as TransactionResponse, cq as MoveResource, dx as MoveStructId, c3 as AnyNumber, t as AccountAddress, c7 as TokenStandardArg, c8 as OrderByArg, c9 as WhereArg, W as PrivateKeyInput } from '../account-CcxnCdYZ.mjs';
3
3
  import { CurrentFungibleAssetBalancesBoolExp } from '../types/generated/types.mjs';
4
- import { A as Account$1 } from '../Ed25519Account-C25CwEJi.mjs';
4
+ import { A as Account$1 } from '../Ed25519Account-BW_kXHC2.mjs';
5
5
  import { BaseAccountPublicKey } from '../core/crypto/types.mjs';
6
6
  import { AccountInfo } from '../internal/account.mjs';
7
7
  import { AccountAbstraction } from './account/abstraction.mjs';
@@ -1,2 +1,2 @@
1
- import{ad as a}from"../chunk-76PXED26.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-G2VFBYHG.mjs";import"../chunk-KUF4DKN5.mjs";import"../chunk-2LCPW76G.mjs";import"../chunk-2PASUPUO.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-52PWWLJJ.mjs";import"../chunk-5FNZUL2Y.mjs";import"../chunk-QDJDZ3ON.mjs";import"../chunk-IKTH33UN.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-6IWGTO2J.mjs";import"../chunk-3P474TWM.mjs";import"../chunk-QREVMGQZ.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-IFWE34P5.mjs";import"../chunk-TRIYATBI.mjs";import"../chunk-LND3GTJ3.mjs";import"../chunk-UXUMXAUZ.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-J426EZGD.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-RYOICF37.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-A2G3V23K.mjs";import"../chunk-HIAEKFG6.mjs";import"../chunk-NCKJ7X57.mjs";import"../chunk-K2TQQFRV.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-BIQOJ3OK.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-5ABS6RDR.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-6XLLQB5P.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-AEXYYFIZ.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Account};
1
+ import{gd as a}from"../chunk-2DPQMXUG.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-3P474TWM.mjs";import"../chunk-56IXVVXX.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-6IWGTO2J.mjs";import"../chunk-QREVMGQZ.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-NTLOKAPD.mjs";import"../chunk-2LCPW76G.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-2PASUPUO.mjs";import"../chunk-KUF4DKN5.mjs";import"../chunk-52PWWLJJ.mjs";import"../chunk-5FNZUL2Y.mjs";import"../chunk-QDJDZ3ON.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-RYOICF37.mjs";import"../chunk-PXJEKGEG.mjs";import"../chunk-CUXCVNES.mjs";import"../chunk-X674XJNJ.mjs";import"../chunk-F3NI6N7R.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-JN65XG2P.mjs";import"../chunk-LS2HRAVW.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-BGZDJ5SM.mjs";import"../chunk-WZ6FL7CH.mjs";import"../chunk-76SVQZDX.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-LD3I4CYO.mjs";import"../chunk-G3HAIETV.mjs";import"../chunk-NCKJ7X57.mjs";import"../chunk-P5HCJN3A.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-PYVKCTUN.mjs";import"../chunk-C5UZZHA4.mjs";import"../chunk-MEG27LEV.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-QEHKRR3I.mjs";import"../chunk-NK3Y3PV3.mjs";import"../chunk-43LWUUXS.mjs";import"../chunk-DIFSO4N6.mjs";import"../chunk-DE5K76I2.mjs";import"../chunk-NP2IAUME.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-54C2P534.mjs";import"../chunk-Y426VCPM.mjs";import"../chunk-I42Z32Q2.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-X2TPNKLV.mjs";import"../chunk-RQN6LA7E.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Account};
2
2
  //# sourceMappingURL=account.mjs.map
@@ -1,7 +1,7 @@
1
- import { GetANSNameResponse } from '../types/indexer.mjs';
2
- import { A as AptosConfig, t as AccountAddress, s as AccountAddressInput, b3 as InputGenerateTransactionOptions, az as SimpleTransaction } from '../account-Bwu9vUe3.mjs';
3
- import { A as Account } from '../Ed25519Account-C25CwEJi.mjs';
1
+ import { A as AptosConfig, t as AccountAddress, s as AccountAddressInput, b3 as InputGenerateTransactionOptions, az as SimpleTransaction, b9 as InputEntryFunctionData } from '../account-CcxnCdYZ.mjs';
2
+ import { AnsName } from '../types/ans.mjs';
4
3
  import { RegisterNameParameters, GetAccountNamesArgs, GetAccountDomainsArgs, GetAccountSubdomainsArgs, GetDomainSubdomainsArgs } from '../internal/ans.mjs';
4
+ import '../types/indexer.mjs';
5
5
  import '../types/generated/operations.mjs';
6
6
  import '../types/generated/types.mjs';
7
7
  import '../utils/apiEndpoints.mjs';
@@ -137,7 +137,7 @@ declare class ANS {
137
137
  * @param args.address - The AccountAddressInput of the address to set the domain or subdomain to.
138
138
  * @param args.options - Optional settings for generating the transaction.
139
139
  *
140
- * @returns SimpleTransaction
140
+ * @returns An object containing the transaction and the InputEntryFunctionData
141
141
  *
142
142
  * @example
143
143
  * ```typescript
@@ -151,10 +151,10 @@ declare class ANS {
151
151
  * const sender = Account.generate(); // replace with a real account
152
152
  * const address = "0x1"; // replace with a real account address
153
153
  *
154
- * await aptos.setTargetAddress({
155
- * sender: sender,
154
+ * const { transaction, data } = await aptos.setTargetAddress({
155
+ * sender,
156
156
  * name: "test.aptos",
157
- * address: address,
157
+ * address,
158
158
  * });
159
159
  *
160
160
  * const targetAddress = await aptos.getTargetAddress({ name: "test.aptos" });
@@ -165,11 +165,56 @@ declare class ANS {
165
165
  * @group ANS
166
166
  */
167
167
  setTargetAddress(args: {
168
- sender: Account;
168
+ sender: AccountAddressInput;
169
169
  name: string;
170
170
  address: AccountAddressInput;
171
171
  options?: InputGenerateTransactionOptions;
172
- }): Promise<SimpleTransaction>;
172
+ }): Promise<{
173
+ transaction: SimpleTransaction;
174
+ data: InputEntryFunctionData;
175
+ }>;
176
+ /**
177
+ * Clears the target address of a domain or subdomain name, removing the address association.
178
+ * After clearing, the name will no longer resolve to a specific address.
179
+ *
180
+ * @param args - The arguments for clearing the target address.
181
+ * @param args.sender - The account initiating the transaction.
182
+ * @param args.name - A string representing the domain or subdomain name (e.g., "test.aptos").
183
+ * @param args.options - Optional settings for generating the transaction.
184
+ *
185
+ * @returns An object containing the transaction and the InputEntryFunctionData
186
+ *
187
+ * @example
188
+ * ```typescript
189
+ * import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
190
+ *
191
+ * const config = new AptosConfig({ network: Network.TESTNET });
192
+ * const aptos = new Aptos(config);
193
+ *
194
+ * async function runExample() {
195
+ * // Clearing the target address for a domain name
196
+ * const sender = Account.generate(); // replace with a real account
197
+ *
198
+ * const { transaction, data } = await aptos.clearTargetAddress({
199
+ * sender,
200
+ * name: "test.aptos",
201
+ * });
202
+ *
203
+ * const targetAddress = await aptos.getTargetAddress({ name: "test.aptos" });
204
+ * console.log(targetAddress); // Should log undefined after clearing
205
+ * }
206
+ * runExample().catch(console.error);
207
+ * ```
208
+ * @group ANS
209
+ */
210
+ clearTargetAddress(args: {
211
+ sender: AccountAddressInput;
212
+ name: string;
213
+ options?: InputGenerateTransactionOptions;
214
+ }): Promise<{
215
+ transaction: SimpleTransaction;
216
+ data: InputEntryFunctionData;
217
+ }>;
173
218
  /**
174
219
  * Retrieve the primary name for an account. An account can have multiple names, but only one primary name, which may not exist.
175
220
  *
@@ -206,7 +251,7 @@ declare class ANS {
206
251
  * @param args.name - A string representing the name to set as primary (e.g., "test.aptos").
207
252
  * @param args.options - Optional transaction options.
208
253
  *
209
- * @returns SimpleTransaction
254
+ * @returns An object containing the transaction and the InputEntryFunctionData
210
255
  *
211
256
  * @example
212
257
  * ```typescript
@@ -218,7 +263,7 @@ declare class ANS {
218
263
  * async function runExample() {
219
264
  * // Set the primary name for the sender account
220
265
  * const sender = Account.generate(); // replace with a real account
221
- * await aptos.setPrimaryName({ sender, name: "test.aptos" });
266
+ * const { transaction, data } = await aptos.setPrimaryName({ sender, name: "test.aptos" });
222
267
  *
223
268
  * const primaryName = await aptos.getPrimaryName({ address: sender.accountAddress });
224
269
  * console.log("Primary Name:", primaryName); // Should log: "Primary Name: test.aptos"
@@ -228,10 +273,13 @@ declare class ANS {
228
273
  * @group ANS
229
274
  */
230
275
  setPrimaryName(args: {
231
- sender: Account;
276
+ sender: AccountAddressInput;
232
277
  name?: string;
233
278
  options?: InputGenerateTransactionOptions;
234
- }): Promise<SimpleTransaction>;
279
+ }): Promise<{
280
+ transaction: SimpleTransaction;
281
+ data: InputEntryFunctionData;
282
+ }>;
235
283
  /**
236
284
  * Registers a new name.
237
285
  *
@@ -253,7 +301,7 @@ declare class ANS {
253
301
  * @param args.toAddress optional - The address to send the domain name to. If not provided, the transaction will be sent to the
254
302
  * router.
255
303
  *
256
- * @returns SimpleTransaction
304
+ * @returns An object containing the transaction and the InputEntryFunctionData
257
305
  *
258
306
  * @example
259
307
  * ```typescript
@@ -264,7 +312,7 @@ declare class ANS {
264
312
  *
265
313
  * async function runExample() {
266
314
  * // Registering a subdomain name assuming def.apt is already registered and belongs to the sender alice.
267
- * const txn = await aptos.registerName({
315
+ * const { transaction, data } = await aptos.registerName({
268
316
  * sender: "0x1", // replace with a real sender account
269
317
  * name: "test.aptos.apt",
270
318
  * expiration: {
@@ -273,13 +321,16 @@ declare class ANS {
273
321
  * },
274
322
  * });
275
323
  *
276
- * console.log("Transaction:", txn);
324
+ * console.log("Transaction:", transaction);
277
325
  * }
278
326
  * runExample().catch(console.error);
279
327
  * ```
280
328
  * @group ANS
281
329
  */
282
- registerName(args: Omit<RegisterNameParameters, "aptosConfig">): Promise<SimpleTransaction>;
330
+ registerName(args: Omit<RegisterNameParameters, "aptosConfig">): Promise<{
331
+ transaction: SimpleTransaction;
332
+ data: InputEntryFunctionData;
333
+ }>;
283
334
  /**
284
335
  * Renews a domain name for one year.
285
336
  * If a domain name was minted with V1 of the contract, it will automatically be upgraded to V2 via this transaction.
@@ -290,7 +341,7 @@ declare class ANS {
290
341
  * @param args.years - The number of years to renew the name. Currently, only one year is permitted.
291
342
  * @param args.options - Optional transaction options.
292
343
  *
293
- * @returns SimpleTransaction
344
+ * @returns An object containing the transaction and the InputEntryFunctionData
294
345
  *
295
346
  * @example
296
347
  * ```typescript
@@ -301,7 +352,7 @@ declare class ANS {
301
352
  *
302
353
  * async function runExample() {
303
354
  * // Renew the domain "test" for one year
304
- * const transaction = await aptos.renewDomain({
355
+ * const { transaction, data } = await aptos.renewDomain({
305
356
  * sender: Account.generate(), // replace with a real account
306
357
  * name: "test"
307
358
  * });
@@ -313,11 +364,14 @@ declare class ANS {
313
364
  * @group ANS
314
365
  */
315
366
  renewDomain(args: {
316
- sender: Account;
367
+ sender: AccountAddressInput;
317
368
  name: string;
318
369
  years?: 1;
319
370
  options?: InputGenerateTransactionOptions;
320
- }): Promise<SimpleTransaction>;
371
+ }): Promise<{
372
+ transaction: SimpleTransaction;
373
+ data: InputEntryFunctionData;
374
+ }>;
321
375
  /**
322
376
  * Fetches a single name from the indexer based on the provided name argument.
323
377
  *
@@ -345,7 +399,7 @@ declare class ANS {
345
399
  */
346
400
  getName(args: {
347
401
  name: string;
348
- }): Promise<GetANSNameResponse[0] | undefined>;
402
+ }): Promise<AnsName | undefined>;
349
403
  /**
350
404
  * Fetches all names for an account, including both top-level domains and subdomains.
351
405
  *
@@ -382,7 +436,10 @@ declare class ANS {
382
436
  * ```
383
437
  * @group ANS
384
438
  */
385
- getAccountNames(args: GetAccountNamesArgs): Promise<GetANSNameResponse>;
439
+ getAccountNames(args: GetAccountNamesArgs): Promise<{
440
+ names: AnsName[];
441
+ total: number;
442
+ }>;
386
443
  /**
387
444
  * Fetches all top-level domain names for a specified account.
388
445
  *
@@ -422,7 +479,10 @@ declare class ANS {
422
479
  * ```
423
480
  * @group ANS
424
481
  */
425
- getAccountDomains(args: GetAccountDomainsArgs): Promise<GetANSNameResponse>;
482
+ getAccountDomains(args: GetAccountDomainsArgs): Promise<{
483
+ names: AnsName[];
484
+ total: number;
485
+ }>;
426
486
  /**
427
487
  * Fetches all subdomain names for a specified account.
428
488
  *
@@ -460,7 +520,10 @@ declare class ANS {
460
520
  * ```
461
521
  * @group ANS
462
522
  */
463
- getAccountSubdomains(args: GetAccountSubdomainsArgs): Promise<GetANSNameResponse>;
523
+ getAccountSubdomains(args: GetAccountSubdomainsArgs): Promise<{
524
+ names: AnsName[];
525
+ total: number;
526
+ }>;
464
527
  /**
465
528
  * Fetches all subdomain names for a given domain, excluding the domain itself.
466
529
  *
@@ -498,7 +561,10 @@ declare class ANS {
498
561
  * ```
499
562
  * @group ANS
500
563
  */
501
- getDomainSubdomains(args: GetDomainSubdomainsArgs): Promise<GetANSNameResponse>;
564
+ getDomainSubdomains(args: GetDomainSubdomainsArgs): Promise<{
565
+ names: AnsName[];
566
+ total: number;
567
+ }>;
502
568
  }
503
569
 
504
570
  export { ANS };