@aptos-labs/ts-sdk 4.0.0 → 5.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 (300) hide show
  1. package/dist/common/{account-CmEgDBH6.d.ts → account-BDwBREvt.d.ts} +29 -3
  2. package/dist/common/chunk-6MMUUJHX.js.map +1 -1
  3. package/dist/common/cli/index.d.ts +1 -1
  4. package/dist/common/cli/index.js.map +1 -1
  5. package/dist/common/index.d.ts +55 -39
  6. package/dist/common/index.js +30 -32
  7. package/dist/common/index.js.map +1 -1
  8. package/dist/esm/{Ed25519Account-ndmdpFe9.d.mts → Ed25519Account-8ETkcAk_.d.mts} +1 -1
  9. package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
  10. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  11. package/dist/esm/account/AbstractedAccount.d.mts +3 -2
  12. package/dist/esm/account/AbstractedAccount.mjs +1 -1
  13. package/dist/esm/account/Account.d.mts +2 -2
  14. package/dist/esm/account/Account.mjs +1 -1
  15. package/dist/esm/account/AccountUtils.d.mts +3 -3
  16. package/dist/esm/account/AccountUtils.mjs +1 -1
  17. package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
  18. package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
  19. package/dist/esm/account/Ed25519Account.d.mts +2 -2
  20. package/dist/esm/account/Ed25519Account.mjs +1 -1
  21. package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
  22. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  23. package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
  24. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  25. package/dist/esm/account/KeylessAccount.d.mts +3 -3
  26. package/dist/esm/account/KeylessAccount.mjs +1 -1
  27. package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
  28. package/dist/esm/account/MultiEd25519Account.mjs +1 -1
  29. package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
  30. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  31. package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
  32. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  33. package/dist/esm/account/index.d.mts +3 -3
  34. package/dist/esm/account/index.mjs +1 -1
  35. package/dist/esm/account/utils.d.mts +1 -1
  36. package/dist/esm/account/utils.mjs +1 -1
  37. package/dist/esm/{account--Q9z_xMN.d.mts → account-ClxOwjdh.d.mts} +28 -3
  38. package/dist/esm/api/account/abstraction.d.mts +1 -1
  39. package/dist/esm/api/account/abstraction.mjs +1 -1
  40. package/dist/esm/api/account.d.mts +3 -6
  41. package/dist/esm/api/account.mjs +1 -1
  42. package/dist/esm/api/ans.d.mts +2 -2
  43. package/dist/esm/api/ans.mjs +1 -1
  44. package/dist/esm/api/aptos.d.mts +4 -3
  45. package/dist/esm/api/aptos.mjs +1 -1
  46. package/dist/esm/api/aptosConfig.d.mts +1 -1
  47. package/dist/esm/api/aptosConfig.mjs +1 -1
  48. package/dist/esm/api/coin.d.mts +1 -1
  49. package/dist/esm/api/coin.mjs +1 -1
  50. package/dist/esm/api/digitalAsset.d.mts +2 -2
  51. package/dist/esm/api/digitalAsset.mjs +1 -1
  52. package/dist/esm/api/faucet.d.mts +1 -1
  53. package/dist/esm/api/faucet.mjs +1 -1
  54. package/dist/esm/api/fungibleAsset.d.mts +2 -2
  55. package/dist/esm/api/fungibleAsset.mjs +1 -1
  56. package/dist/esm/api/general.d.mts +1 -1
  57. package/dist/esm/api/general.mjs +1 -1
  58. package/dist/esm/api/index.d.mts +4 -3
  59. package/dist/esm/api/index.mjs +1 -1
  60. package/dist/esm/api/keyless.d.mts +3 -3
  61. package/dist/esm/api/keyless.mjs +1 -1
  62. package/dist/esm/api/object.d.mts +1 -1
  63. package/dist/esm/api/object.mjs +1 -1
  64. package/dist/esm/api/staking.d.mts +1 -1
  65. package/dist/esm/api/staking.mjs +1 -1
  66. package/dist/esm/api/table.d.mts +1 -1
  67. package/dist/esm/api/table.mjs +1 -1
  68. package/dist/esm/api/transaction.d.mts +56 -36
  69. package/dist/esm/api/transaction.mjs +1 -1
  70. package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
  71. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  72. package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
  73. package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
  74. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  75. package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
  76. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  77. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  78. package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
  79. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  80. package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
  81. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  82. package/dist/esm/api/utils.d.mts +1 -1
  83. package/dist/esm/api/utils.mjs +1 -1
  84. package/dist/esm/bcs/consts.d.mts +1 -1
  85. package/dist/esm/bcs/deserializer.d.mts +1 -1
  86. package/dist/esm/bcs/index.d.mts +1 -1
  87. package/dist/esm/bcs/index.mjs +1 -1
  88. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
  89. package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
  90. package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
  91. package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
  92. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  93. package/dist/esm/bcs/serializer.d.mts +1 -1
  94. package/dist/esm/chunk-5FI4545P.mjs +2 -0
  95. package/dist/esm/{chunk-6SLY7UV2.mjs.map → chunk-5FI4545P.mjs.map} +1 -1
  96. package/dist/esm/chunk-DIGP2ALY.mjs +4 -0
  97. package/dist/esm/chunk-DIGP2ALY.mjs.map +1 -0
  98. package/dist/esm/{chunk-BPWSOC2Y.mjs → chunk-DNRUDMMV.mjs} +2 -2
  99. package/dist/esm/{chunk-3BMZKCLH.mjs → chunk-EM52Z7T7.mjs} +2 -2
  100. package/dist/esm/{chunk-HZVN4JSO.mjs → chunk-ES2KP6BS.mjs} +2 -2
  101. package/dist/esm/{chunk-6JYQ5P36.mjs → chunk-GFFKEZ56.mjs} +2 -2
  102. package/dist/esm/{chunk-XYXBAU4J.mjs → chunk-GMQCQDW4.mjs} +2 -2
  103. package/dist/esm/{chunk-UQZTHVWC.mjs → chunk-HNBKTJPN.mjs} +2 -2
  104. package/dist/esm/{chunk-NF73V673.mjs → chunk-LWL57YFU.mjs} +2 -2
  105. package/dist/esm/{chunk-PLI53ZU6.mjs → chunk-N3O3ULF7.mjs} +2 -2
  106. package/dist/esm/chunk-OLILO7VD.mjs +2 -0
  107. package/dist/esm/{chunk-JCFTAG5Z.mjs.map → chunk-OLILO7VD.mjs.map} +1 -1
  108. package/dist/esm/{chunk-Y7ZQTLH4.mjs → chunk-RCSJFTST.mjs} +2 -2
  109. package/dist/esm/{chunk-EF4FA5I6.mjs → chunk-RQX6JOEN.mjs} +2 -2
  110. package/dist/esm/{chunk-V6C6NWFU.mjs → chunk-TGRLDWXV.mjs} +2 -2
  111. package/dist/esm/{chunk-2XQKGWHQ.mjs → chunk-V74WPKSY.mjs} +2 -2
  112. package/dist/esm/chunk-ZP4DWSQA.mjs +2 -0
  113. package/dist/esm/chunk-ZP4DWSQA.mjs.map +1 -0
  114. package/dist/esm/cli/index.d.mts +1 -1
  115. package/dist/esm/cli/move.d.mts +1 -1
  116. package/dist/esm/client/core.d.mts +1 -1
  117. package/dist/esm/client/core.mjs +1 -1
  118. package/dist/esm/client/get.d.mts +1 -1
  119. package/dist/esm/client/get.mjs +1 -1
  120. package/dist/esm/client/index.d.mts +1 -1
  121. package/dist/esm/client/index.mjs +1 -1
  122. package/dist/esm/client/post.d.mts +1 -1
  123. package/dist/esm/client/post.mjs +1 -1
  124. package/dist/esm/core/account/index.d.mts +1 -1
  125. package/dist/esm/core/account/utils/address.d.mts +1 -1
  126. package/dist/esm/core/account/utils/index.d.mts +1 -1
  127. package/dist/esm/core/accountAddress.d.mts +1 -1
  128. package/dist/esm/core/authenticationKey.d.mts +1 -1
  129. package/dist/esm/core/crypto/abstraction.d.mts +1 -1
  130. package/dist/esm/core/crypto/abstraction.mjs +1 -1
  131. package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
  132. package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
  133. package/dist/esm/core/crypto/ed25519.d.mts +1 -1
  134. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  135. package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
  136. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  137. package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
  138. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  139. package/dist/esm/core/crypto/index.d.mts +2 -2
  140. package/dist/esm/core/crypto/index.mjs +1 -1
  141. package/dist/esm/core/crypto/keyless.d.mts +2 -2
  142. package/dist/esm/core/crypto/keyless.mjs +1 -1
  143. package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
  144. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  145. package/dist/esm/core/crypto/multiKey.d.mts +1 -1
  146. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  147. package/dist/esm/core/crypto/privateKey.d.mts +1 -1
  148. package/dist/esm/core/crypto/proof.d.mts +1 -1
  149. package/dist/esm/core/crypto/proof.mjs +1 -1
  150. package/dist/esm/core/crypto/publicKey.d.mts +1 -1
  151. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  152. package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
  153. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  154. package/dist/esm/core/crypto/signature.d.mts +1 -1
  155. package/dist/esm/core/crypto/signature.mjs +1 -1
  156. package/dist/esm/core/crypto/singleKey.d.mts +1 -1
  157. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  158. package/dist/esm/core/crypto/types.d.mts +1 -1
  159. package/dist/esm/core/crypto/utils.d.mts +5 -2
  160. package/dist/esm/core/crypto/utils.mjs +1 -1
  161. package/dist/esm/core/hex.d.mts +1 -1
  162. package/dist/esm/core/index.d.mts +2 -2
  163. package/dist/esm/core/index.mjs +1 -1
  164. package/dist/esm/errors/index.d.mts +1 -1
  165. package/dist/esm/errors/index.mjs +1 -1
  166. package/dist/esm/{federatedKeyless-CiyplsOB.d.mts → federatedKeyless-CUPEnP-W.d.mts} +1 -1
  167. package/dist/esm/index.d.mts +4 -4
  168. package/dist/esm/index.mjs +1 -1
  169. package/dist/esm/internal/abstraction.d.mts +1 -1
  170. package/dist/esm/internal/abstraction.mjs +1 -1
  171. package/dist/esm/internal/account.d.mts +27 -21
  172. package/dist/esm/internal/account.mjs +1 -1
  173. package/dist/esm/internal/ans.d.mts +2 -2
  174. package/dist/esm/internal/ans.mjs +1 -1
  175. package/dist/esm/internal/coin.d.mts +1 -1
  176. package/dist/esm/internal/coin.mjs +1 -1
  177. package/dist/esm/internal/digitalAsset.d.mts +2 -2
  178. package/dist/esm/internal/digitalAsset.mjs +1 -1
  179. package/dist/esm/internal/faucet.d.mts +1 -1
  180. package/dist/esm/internal/faucet.mjs +1 -1
  181. package/dist/esm/internal/fungibleAsset.d.mts +2 -2
  182. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  183. package/dist/esm/internal/general.d.mts +1 -1
  184. package/dist/esm/internal/general.mjs +1 -1
  185. package/dist/esm/internal/keyless.d.mts +3 -3
  186. package/dist/esm/internal/keyless.mjs +1 -1
  187. package/dist/esm/internal/object.d.mts +1 -1
  188. package/dist/esm/internal/object.mjs +1 -1
  189. package/dist/esm/internal/staking.d.mts +1 -1
  190. package/dist/esm/internal/staking.mjs +1 -1
  191. package/dist/esm/internal/table.d.mts +1 -1
  192. package/dist/esm/internal/table.mjs +1 -1
  193. package/dist/esm/internal/transaction.d.mts +1 -1
  194. package/dist/esm/internal/transaction.mjs +1 -1
  195. package/dist/esm/internal/transactionSubmission.d.mts +2 -2
  196. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  197. package/dist/esm/internal/utils/index.d.mts +1 -1
  198. package/dist/esm/internal/utils/index.mjs +1 -1
  199. package/dist/esm/internal/utils/utils.d.mts +1 -1
  200. package/dist/esm/internal/utils/utils.mjs +1 -1
  201. package/dist/esm/internal/view.d.mts +1 -1
  202. package/dist/esm/internal/view.mjs +1 -1
  203. package/dist/esm/transactions/authenticator/account.d.mts +1 -1
  204. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  205. package/dist/esm/transactions/authenticator/index.d.mts +1 -1
  206. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  207. package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
  208. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  209. package/dist/esm/transactions/index.d.mts +1 -1
  210. package/dist/esm/transactions/index.mjs +1 -1
  211. package/dist/esm/transactions/instances/chainId.d.mts +1 -1
  212. package/dist/esm/transactions/instances/identifier.d.mts +1 -1
  213. package/dist/esm/transactions/instances/index.d.mts +1 -1
  214. package/dist/esm/transactions/instances/index.mjs +1 -1
  215. package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
  216. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  217. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
  218. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  219. package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
  220. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  221. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
  222. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  223. package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
  224. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  225. package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
  226. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  227. package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
  228. package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
  229. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  230. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
  231. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  232. package/dist/esm/transactions/management/index.d.mts +2 -2
  233. package/dist/esm/transactions/management/index.mjs +1 -1
  234. package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
  235. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  236. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
  237. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  238. package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
  239. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  240. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
  241. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  242. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
  243. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  244. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +2 -2
  245. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  246. package/dist/esm/transactions/typeTag/index.d.mts +1 -1
  247. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  248. package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
  249. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  250. package/dist/esm/transactions/types.d.mts +1 -1
  251. package/dist/esm/types/abstraction.d.mts +9 -3
  252. package/dist/esm/types/abstraction.mjs +1 -1
  253. package/dist/esm/types/index.d.mts +1 -1
  254. package/dist/esm/types/types.d.mts +1 -1
  255. package/dist/esm/utils/const.d.mts +2 -1
  256. package/dist/esm/utils/const.mjs +1 -1
  257. package/dist/esm/utils/helpers.d.mts +1 -1
  258. package/dist/esm/utils/index.d.mts +2 -2
  259. package/dist/esm/utils/index.mjs +1 -1
  260. package/dist/esm/utils/normalizeBundle.d.mts +1 -1
  261. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  262. package/dist/esm/version.d.mts +1 -1
  263. package/dist/esm/version.mjs +1 -1
  264. package/package.json +26 -26
  265. package/src/account/AbstractedAccount.ts +16 -3
  266. package/src/account/DerivableAbstractedAccount.ts +3 -1
  267. package/src/api/account.ts +4 -16
  268. package/src/api/transaction.ts +59 -36
  269. package/src/core/crypto/utils.ts +38 -1
  270. package/src/internal/account.ts +36 -83
  271. package/src/transactions/authenticator/account.ts +71 -17
  272. package/src/types/abstraction.ts +9 -2
  273. package/src/utils/const.ts +2 -0
  274. package/src/version.ts +1 -1
  275. package/dist/esm/chunk-4JT5AESZ.mjs +0 -2
  276. package/dist/esm/chunk-4JT5AESZ.mjs.map +0 -1
  277. package/dist/esm/chunk-55Q7BSZT.mjs +0 -6
  278. package/dist/esm/chunk-55Q7BSZT.mjs.map +0 -1
  279. package/dist/esm/chunk-6SLY7UV2.mjs +0 -2
  280. package/dist/esm/chunk-DPW6ELCQ.mjs +0 -2
  281. package/dist/esm/chunk-DPW6ELCQ.mjs.map +0 -1
  282. package/dist/esm/chunk-JCFTAG5Z.mjs +0 -2
  283. package/dist/esm/chunk-K43K3YG7.mjs +0 -2
  284. package/dist/esm/chunk-K43K3YG7.mjs.map +0 -1
  285. package/dist/esm/chunk-KJH4KKG6.mjs +0 -2
  286. package/dist/esm/chunk-KJH4KKG6.mjs.map +0 -1
  287. package/dist/esm/chunk-MSMFHPDT.mjs +0 -2
  288. package/dist/esm/chunk-MSMFHPDT.mjs.map +0 -1
  289. /package/dist/esm/{chunk-BPWSOC2Y.mjs.map → chunk-DNRUDMMV.mjs.map} +0 -0
  290. /package/dist/esm/{chunk-3BMZKCLH.mjs.map → chunk-EM52Z7T7.mjs.map} +0 -0
  291. /package/dist/esm/{chunk-HZVN4JSO.mjs.map → chunk-ES2KP6BS.mjs.map} +0 -0
  292. /package/dist/esm/{chunk-6JYQ5P36.mjs.map → chunk-GFFKEZ56.mjs.map} +0 -0
  293. /package/dist/esm/{chunk-XYXBAU4J.mjs.map → chunk-GMQCQDW4.mjs.map} +0 -0
  294. /package/dist/esm/{chunk-UQZTHVWC.mjs.map → chunk-HNBKTJPN.mjs.map} +0 -0
  295. /package/dist/esm/{chunk-NF73V673.mjs.map → chunk-LWL57YFU.mjs.map} +0 -0
  296. /package/dist/esm/{chunk-PLI53ZU6.mjs.map → chunk-N3O3ULF7.mjs.map} +0 -0
  297. /package/dist/esm/{chunk-Y7ZQTLH4.mjs.map → chunk-RCSJFTST.mjs.map} +0 -0
  298. /package/dist/esm/{chunk-EF4FA5I6.mjs.map → chunk-RQX6JOEN.mjs.map} +0 -0
  299. /package/dist/esm/{chunk-V6C6NWFU.mjs.map → chunk-TGRLDWXV.mjs.map} +0 -0
  300. /package/dist/esm/{chunk-2XQKGWHQ.mjs.map → chunk-V74WPKSY.mjs.map} +0 -0
@@ -1,6 +1,7 @@
1
- import { A as AptosConfig, bO as PaginationArgs, cb as TransactionResponse, bM as AnyNumber, bo as HexInput, dt as WaitForTransactionOptions, cc as CommittedTransactionResponse, c6 as GasEstimation, bf as AnyRawTransaction, m as AccountAddressInput, aS as InputGenerateTransactionOptions, as as SimpleTransaction, r as Ed25519PrivateKey, p as AuthenticationKey, ck as PendingTransactionResponse, W as AccountAuthenticator, aW as InputGenerateTransactionPayloadData, bl as InputTransactionPluginData } from '../account--Q9z_xMN.mjs';
1
+ import { A as AptosConfig, bP as PaginationArgs, cc as TransactionResponse, bN as AnyNumber, bp as HexInput, du as WaitForTransactionOptions, cd as CommittedTransactionResponse, c7 as GasEstimation, bg as AnyRawTransaction, m as AccountAddressInput, aT as InputGenerateTransactionOptions, at as SimpleTransaction, r as Ed25519PrivateKey, G as AccountPublicKey, W as AccountAuthenticator, aX as InputGenerateTransactionPayloadData, bm as InputTransactionPluginData, cl as PendingTransactionResponse } from '../account-ClxOwjdh.mjs';
2
2
  import { FeePayerOrFeePayerAuthenticatorOrNeither } from '../internal/transactionSubmission.mjs';
3
- import { A as Account } from '../Ed25519Account-ndmdpFe9.mjs';
3
+ import { A as Account, b as Ed25519Account } from '../Ed25519Account-8ETkcAk_.mjs';
4
+ import { MultiEd25519Account } from '../account/MultiEd25519Account.mjs';
4
5
  import { Build } from './transactionSubmission/build.mjs';
5
6
  import { Simulate } from './transactionSubmission/simulate.mjs';
6
7
  import { Submit } from './transactionSubmission/submit.mjs';
@@ -407,43 +408,33 @@ declare class Transaction {
407
408
  *
408
409
  * @param args - The arguments for rotating the authentication key.
409
410
  * @param args.fromAccount - The account from which the authentication key will be rotated.
410
- * @param args.toAccount - (Optional) The target account to rotate to. Required if not using toNewPrivateKey or toAuthKey.
411
- * @param args.toNewPrivateKey - (Optional) The new private key to rotate to. Required if not using toAccount or toAuthKey.
412
- * @param args.toAuthKey - (Optional) The new authentication key to rotate to. Can only be used with dangerouslySkipVerification=true.
413
- * @param args.dangerouslySkipVerification - (Optional) If true, skips verification steps after rotation. Required when using toAuthKey.
411
+ * @param args.toAccount - (Optional) The target account to rotate to. Required if not using toNewPrivateKey.
412
+ * @param args.toNewPrivateKey - (Optional) The new private key to rotate to. Required if not using toAccount.
414
413
  *
415
414
  * @remarks
416
415
  * This function supports three modes of rotation:
417
416
  * 1. Using a target Account object (toAccount)
418
417
  * 2. Using a new private key (toNewPrivateKey)
419
- * 3. Using a raw authentication key (toAuthKey) - requires dangerouslySkipVerification=true
420
418
  *
421
- * When not using dangerouslySkipVerification, the function performs additional safety checks and account setup.
419
+ * For Ed25519 accounts, the function will use a challenge-based rotation that requires signatures from both the old and new keys.
420
+ * For multi-key accounts like MultiEd25519Account, the function will use a challenge-based rotation that requires signatures from both keys.
421
+ * For other account types, the function will use an unverified rotation that only requires the new public key.
422
422
  *
423
- * If the new key is a multi key, skipping verification is dangerous because verification will publish the public key onchain and
424
- * prevent users from being locked out of the account from loss of knowledge of one of the public keys.
425
- *
426
- * @returns PendingTransactionResponse
423
+ * @returns SimpleTransaction that can be submitted to rotate the auth key
427
424
  *
428
425
  * @example
429
426
  * ```typescript
430
- * import { Aptos, AptosConfig, Network, Account, PrivateKey } from "@aptos-labs/ts-sdk";
431
- *
432
- * const config = new AptosConfig({ network: Network.TESTNET });
433
- * const aptos = new Aptos(config);
434
- *
435
- * async function runExample() {
436
- * // Rotate the authentication key for an account
437
- * const response = await aptos.rotateAuthKey({
438
- * // replace with a real account
439
- * fromAccount: Account.generate(),
440
- * // replace with a real private key
441
- * toNewPrivateKey: new PrivateKey("0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"),
442
- * });
443
- *
444
- * console.log(response);
445
- * }
446
- * runExample().catch(console.error);
427
+ * // Create and submit transaction to rotate the auth key
428
+ * const transaction = await aptos.rotateAuthKey({
429
+ * fromAccount,
430
+ * toAccount: toAccount,
431
+ * });
432
+ *
433
+ * // Sign and submit the transaction
434
+ * const pendingTransaction = await aptos.signAndSubmitTransaction({
435
+ * signer: fromAccount,
436
+ * transaction,
437
+ * });
447
438
  * ```
448
439
  * @group Transaction
449
440
  */
@@ -451,15 +442,44 @@ declare class Transaction {
451
442
  fromAccount: Account;
452
443
  options?: InputGenerateTransactionOptions;
453
444
  } & ({
454
- toAccount: Account;
455
- dangerouslySkipVerification?: never;
445
+ toAccount: Ed25519Account | MultiEd25519Account;
456
446
  } | {
457
447
  toNewPrivateKey: Ed25519PrivateKey;
458
- dangerouslySkipVerification?: never;
459
- } | {
460
- toAuthKey: AuthenticationKey;
461
- dangerouslySkipVerification: true;
462
- })): Promise<PendingTransactionResponse>;
448
+ })): Promise<SimpleTransaction>;
449
+ /**
450
+ * Rotates the authentication key for a given account without verifying the new key.
451
+ *
452
+ * Accounts with their auth key rotated via this function will be derivable via the `getAccountsForPublicKey` and
453
+ * `deriveOwnedAccountsFromSigner` functions however the public key will be unverified (no proof of ownership). Thus
454
+ * includeUnverified must be set to true to derive the account until the public key is verified via signing a transaction.
455
+ *
456
+ * @param args - The arguments for rotating the authentication key.
457
+ * @param args.fromAccount - The account from which the authentication key will be rotated.
458
+ * @param args.toNewPublicKey - The new public key to rotate to.
459
+ *
460
+ * @returns A simple transaction object that can be submitted to the network.
461
+ *
462
+ * @example
463
+ * ```typescript
464
+ * // Create and submit transaction to rotate the auth key
465
+ * const transaction = await aptos.rotateAuthKeyUnverified({
466
+ * fromAccount,
467
+ * toNewPublicKey,
468
+ * });
469
+ *
470
+ * // Sign and submit the transaction
471
+ * const pendingTransaction = await aptos.signAndSubmitTransaction({
472
+ * signer: fromAccount,
473
+ * transaction,
474
+ * });
475
+ * ```
476
+ * @group Transaction
477
+ */
478
+ rotateAuthKeyUnverified(args: {
479
+ fromAccount: Account;
480
+ options?: InputGenerateTransactionOptions;
481
+ toNewPublicKey: AccountPublicKey;
482
+ }): Promise<SimpleTransaction>;
463
483
  /**
464
484
  * Sign a transaction that can later be submitted to the chain.
465
485
  * This function is essential for ensuring the authenticity of the transaction by using the provided account's signing capabilities.
@@ -1,2 +1,2 @@
1
- import{Xd as a}from"../chunk-55Q7BSZT.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-XKUIMGKU.mjs";import"../chunk-N6YTF76Q.mjs";import"../chunk-2XQKGWHQ.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-UQZTHVWC.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-4JT5AESZ.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-EF4FA5I6.mjs";import"../chunk-MSMFHPDT.mjs";import"../chunk-K43K3YG7.mjs";import"../chunk-DPW6ELCQ.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-WSR5EBJM.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-QREVMGQZ.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-KJH4KKG6.mjs";import"../chunk-FGFLPH5K.mjs";import"../chunk-HZVN4JSO.mjs";import"../chunk-3BMZKCLH.mjs";import"../chunk-V6C6NWFU.mjs";import"../chunk-PLI53ZU6.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-XYXBAU4J.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-BPWSOC2Y.mjs";import"../chunk-6JYQ5P36.mjs";import"../chunk-NF73V673.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-CW35YAMN.mjs";import"../chunk-6WDVDEQZ.mjs";import"../chunk-Y7ZQTLH4.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-JCFTAG5Z.mjs";import"../chunk-7DQDJ2SA.mjs";import"../chunk-HNBVYE3N.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-IJE2LVZG.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-6SLY7UV2.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Transaction};
1
+ import{je as a}from"../chunk-DIGP2ALY.mjs";import"../chunk-5HXLZHDW.mjs";import"../chunk-GOXRBEIJ.mjs";import"../chunk-ROT6S6BM.mjs";import"../chunk-XJJVJOX5.mjs";import"../chunk-C3Q23D22.mjs";import"../chunk-NECL5FCQ.mjs";import"../chunk-4QMXOWHP.mjs";import"../chunk-RQX6JOEN.mjs";import"../chunk-WSR5EBJM.mjs";import"../chunk-WCMW2L3P.mjs";import"../chunk-G3MHXDYA.mjs";import"../chunk-HNBKTJPN.mjs";import"../chunk-V74WPKSY.mjs";import"../chunk-UYVPNUH3.mjs";import"../chunk-A5L76YP7.mjs";import"../chunk-XKUIMGKU.mjs";import"../chunk-N6YTF76Q.mjs";import"../chunk-ZP4DWSQA.mjs";import"../chunk-QREVMGQZ.mjs";import"../chunk-FGFLPH5K.mjs";import"../chunk-V3MBJJTL.mjs";import"../chunk-ES2KP6BS.mjs";import"../chunk-EM52Z7T7.mjs";import"../chunk-TGRLDWXV.mjs";import"../chunk-N3O3ULF7.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-GMQCQDW4.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-DNRUDMMV.mjs";import"../chunk-GFFKEZ56.mjs";import"../chunk-LWL57YFU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-CW35YAMN.mjs";import"../chunk-6WDVDEQZ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-7DQDJ2SA.mjs";import"../chunk-HNBVYE3N.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-IJE2LVZG.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-RCSJFTST.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-5FI4545P.mjs";import"../chunk-KDMSOCZY.mjs";export{a as Transaction};
2
2
  //# sourceMappingURL=transaction.mjs.map
@@ -1,4 +1,4 @@
1
- import { A as AptosConfig, m as AccountAddressInput, aW as InputGenerateTransactionPayloadData, aS as InputGenerateTransactionOptions, as as SimpleTransaction, at as MultiAgentTransaction } from '../../account--Q9z_xMN.mjs';
1
+ import { A as AptosConfig, m as AccountAddressInput, aX as InputGenerateTransactionPayloadData, aT as InputGenerateTransactionOptions, at as SimpleTransaction, au as MultiAgentTransaction } from '../../account-ClxOwjdh.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{Pd as a}from"../../chunk-55Q7BSZT.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-UQZTHVWC.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-4JT5AESZ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-EF4FA5I6.mjs";import"../../chunk-MSMFHPDT.mjs";import"../../chunk-K43K3YG7.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-HZVN4JSO.mjs";import"../../chunk-3BMZKCLH.mjs";import"../../chunk-V6C6NWFU.mjs";import"../../chunk-PLI53ZU6.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-XYXBAU4J.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-BPWSOC2Y.mjs";import"../../chunk-6JYQ5P36.mjs";import"../../chunk-NF73V673.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-Y7ZQTLH4.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-6SLY7UV2.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Build};
1
+ import{be as a}from"../../chunk-DIGP2ALY.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-HNBKTJPN.mjs";import"../../chunk-V74WPKSY.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-ES2KP6BS.mjs";import"../../chunk-EM52Z7T7.mjs";import"../../chunk-TGRLDWXV.mjs";import"../../chunk-N3O3ULF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GMQCQDW4.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-DNRUDMMV.mjs";import"../../chunk-GFFKEZ56.mjs";import"../../chunk-LWL57YFU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-RCSJFTST.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-5FI4545P.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Build};
2
2
  //# sourceMappingURL=build.mjs.map
@@ -1,4 +1,4 @@
1
- import { A as AptosConfig, bf as AnyRawTransaction, W as AccountAuthenticator, bl as InputTransactionPluginData } from '../../account--Q9z_xMN.mjs';
1
+ import { A as AptosConfig, bg as AnyRawTransaction, W as AccountAuthenticator, bm as InputTransactionPluginData } from '../../account-ClxOwjdh.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,6 +1,6 @@
1
1
  import EventEmitter from 'eventemitter3';
2
- import { A as AptosConfig, aW as InputGenerateTransactionPayloadData, aS as InputGenerateTransactionOptions } from '../../account--Q9z_xMN.mjs';
3
- import { A as Account } from '../../Ed25519Account-ndmdpFe9.mjs';
2
+ import { A as AptosConfig, aX as InputGenerateTransactionPayloadData, aT as InputGenerateTransactionOptions } from '../../account-ClxOwjdh.mjs';
3
+ import { A as Account } from '../../Ed25519Account-8ETkcAk_.mjs';
4
4
  import { TransactionWorkerEvents, TransactionWorker } from '../../transactions/management/transactionWorker.mjs';
5
5
  import '../../types/indexer.mjs';
6
6
  import '../../types/generated/operations.mjs';
@@ -1,2 +1,2 @@
1
- import{Wd as a}from"../../chunk-55Q7BSZT.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-UQZTHVWC.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-4JT5AESZ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-EF4FA5I6.mjs";import"../../chunk-MSMFHPDT.mjs";import"../../chunk-K43K3YG7.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-HZVN4JSO.mjs";import"../../chunk-3BMZKCLH.mjs";import"../../chunk-V6C6NWFU.mjs";import"../../chunk-PLI53ZU6.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-XYXBAU4J.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-BPWSOC2Y.mjs";import"../../chunk-6JYQ5P36.mjs";import"../../chunk-NF73V673.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-Y7ZQTLH4.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-6SLY7UV2.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as TransactionManagement};
1
+ import{ie as a}from"../../chunk-DIGP2ALY.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-HNBKTJPN.mjs";import"../../chunk-V74WPKSY.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-ES2KP6BS.mjs";import"../../chunk-EM52Z7T7.mjs";import"../../chunk-TGRLDWXV.mjs";import"../../chunk-N3O3ULF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GMQCQDW4.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-DNRUDMMV.mjs";import"../../chunk-GFFKEZ56.mjs";import"../../chunk-LWL57YFU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-RCSJFTST.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-5FI4545P.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as TransactionManagement};
2
2
  //# sourceMappingURL=management.mjs.map
@@ -1,5 +1,5 @@
1
- import { A as AptosConfig, bf as AnyRawTransaction, W as AccountAuthenticator } from '../../account--Q9z_xMN.mjs';
2
- import { A as Account } from '../../Ed25519Account-ndmdpFe9.mjs';
1
+ import { A as AptosConfig, bg as AnyRawTransaction, W as AccountAuthenticator } from '../../account-ClxOwjdh.mjs';
2
+ import { A as Account } from '../../Ed25519Account-8ETkcAk_.mjs';
3
3
  import '../../types/indexer.mjs';
4
4
  import '../../types/generated/operations.mjs';
5
5
  import '../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{Zb as o}from"../../chunk-55Q7BSZT.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-UQZTHVWC.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-4JT5AESZ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-EF4FA5I6.mjs";import"../../chunk-MSMFHPDT.mjs";import"../../chunk-K43K3YG7.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-HZVN4JSO.mjs";import"../../chunk-3BMZKCLH.mjs";import"../../chunk-V6C6NWFU.mjs";import"../../chunk-PLI53ZU6.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-XYXBAU4J.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-BPWSOC2Y.mjs";import"../../chunk-6JYQ5P36.mjs";import"../../chunk-NF73V673.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-Y7ZQTLH4.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-6SLY7UV2.mjs";import"../../chunk-KDMSOCZY.mjs";var a=class{constructor(n){this.config=n}transaction(n){return o({...n})}transactionAsFeePayer(n){let{signer:r,transaction:t}=n;if(!t.feePayerAddress)throw new Error(`Transaction ${t} is not a Fee Payer transaction`);return t.feePayerAddress=r.accountAddress,o({signer:r,transaction:t})}};export{a as Sign};
1
+ import{kc as o}from"../../chunk-DIGP2ALY.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-HNBKTJPN.mjs";import"../../chunk-V74WPKSY.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-ES2KP6BS.mjs";import"../../chunk-EM52Z7T7.mjs";import"../../chunk-TGRLDWXV.mjs";import"../../chunk-N3O3ULF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GMQCQDW4.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-DNRUDMMV.mjs";import"../../chunk-GFFKEZ56.mjs";import"../../chunk-LWL57YFU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-RCSJFTST.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-5FI4545P.mjs";import"../../chunk-KDMSOCZY.mjs";var a=class{constructor(n){this.config=n}transaction(n){return o({...n})}transactionAsFeePayer(n){let{signer:r,transaction:t}=n;if(!t.feePayerAddress)throw new Error(`Transaction ${t} is not a Fee Payer transaction`);return t.feePayerAddress=r.accountAddress,o({signer:r,transaction:t})}};export{a as Sign};
2
2
  //# sourceMappingURL=sign.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/api/transactionSubmission/sign.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { Account } from \"../../account\";\nimport { signTransaction } from \"../../internal/transactionSubmission\";\nimport { AccountAuthenticator, AnyRawTransaction } from \"../../transactions\";\nimport { AptosConfig } from \"../aptosConfig\";\n\n/**\n * A class to handle all `Sign` transaction operations.\n *\n * @param config - The configuration object for Aptos.\n * @group Implementation\n */\nexport class Sign {\n readonly config: AptosConfig;\n\n /**\n * Creates an instance of the Aptos client with the specified configuration.\n *\n * @param config - The configuration settings for the Aptos client.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network } from \"@aptos-labs/ts-sdk\";\n *\n * async function runExample() {\n * // Create a new Aptos client with testnet configuration\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * console.log(\"Aptos client created with config:\", config);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n constructor(config: AptosConfig) {\n this.config = config;\n }\n\n /**\n * Signs a transaction using the provided account signer. This function is essential for ensuring that transactions are properly\n * authenticated before being sent to the network.\n *\n * @param args - The arguments for signing the transaction.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The raw transaction data to be signed.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [ \"0x1\", 100 ], // replace with a real account address and amount\n * },\n * });\n *\n * // Sign the transaction\n * const signedTransaction = await aptos.transaction.sign({\n * signer: sender,\n * transaction: transaction,\n * });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transaction(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n return signTransaction({\n ...args,\n });\n }\n\n /**\n * Sets the fee payer address for a transaction and signs it with the provided account.\n * This function is essential for transactions that require a designated fee payer.\n *\n * @param args - The arguments for the function.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The transaction object that requires a fee payer address.\n *\n * @throws Error if the transaction does not have a feePayerAddress property.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [\"0x1\", 100], // replace with a real recipient address\n * },\n * });\n *\n * // Set the fee payer for the transaction\n * transaction.feePayerAddress = \"0x1\"; // replace with a real fee payer address\n *\n * const signedTransaction = await aptos.transactionAsFeePayer({ signer: sender, transaction });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transactionAsFeePayer(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n const { signer, transaction } = args;\n\n // if transaction doesn't hold a \"feePayerAddress\" prop it means\n // this is not a fee payer transaction\n if (!transaction.feePayerAddress) {\n throw new Error(`Transaction ${transaction} is not a Fee Payer transaction`);\n }\n\n // Set the feePayerAddress to the signer account address\n transaction.feePayerAddress = signer.accountAddress;\n\n return signTransaction({\n signer,\n transaction,\n });\n }\n}\n"],"mappings":"0+DAcO,IAAMA,EAAN,KAAW,CAuBhB,YAAYC,EAAqB,CAC/B,KAAK,OAASA,CAChB,CAwCA,YAAYC,EAAiF,CAC3F,OAAOC,EAAgB,CACrB,GAAGD,CACL,CAAC,CACH,CAyCA,sBAAsBA,EAAiF,CACrG,GAAM,CAAE,OAAAE,EAAQ,YAAAC,CAAY,EAAIH,EAIhC,GAAI,CAACG,EAAY,gBACf,MAAM,IAAI,MAAM,eAAeA,CAAW,iCAAiC,EAI7E,OAAAA,EAAY,gBAAkBD,EAAO,eAE9BD,EAAgB,CACrB,OAAAC,EACA,YAAAC,CACF,CAAC,CACH,CACF","names":["Sign","config","args","signTransaction","signer","transaction"]}
1
+ {"version":3,"sources":["../../../../src/api/transactionSubmission/sign.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { Account } from \"../../account\";\nimport { signTransaction } from \"../../internal/transactionSubmission\";\nimport { AccountAuthenticator, AnyRawTransaction } from \"../../transactions\";\nimport { AptosConfig } from \"../aptosConfig\";\n\n/**\n * A class to handle all `Sign` transaction operations.\n *\n * @param config - The configuration object for Aptos.\n * @group Implementation\n */\nexport class Sign {\n readonly config: AptosConfig;\n\n /**\n * Creates an instance of the Aptos client with the specified configuration.\n *\n * @param config - The configuration settings for the Aptos client.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network } from \"@aptos-labs/ts-sdk\";\n *\n * async function runExample() {\n * // Create a new Aptos client with testnet configuration\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * console.log(\"Aptos client created with config:\", config);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n constructor(config: AptosConfig) {\n this.config = config;\n }\n\n /**\n * Signs a transaction using the provided account signer. This function is essential for ensuring that transactions are properly\n * authenticated before being sent to the network.\n *\n * @param args - The arguments for signing the transaction.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The raw transaction data to be signed.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [ \"0x1\", 100 ], // replace with a real account address and amount\n * },\n * });\n *\n * // Sign the transaction\n * const signedTransaction = await aptos.transaction.sign({\n * signer: sender,\n * transaction: transaction,\n * });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transaction(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n return signTransaction({\n ...args,\n });\n }\n\n /**\n * Sets the fee payer address for a transaction and signs it with the provided account.\n * This function is essential for transactions that require a designated fee payer.\n *\n * @param args - The arguments for the function.\n * @param args.signer - The account that will sign the transaction.\n * @param args.transaction - The transaction object that requires a fee payer address.\n *\n * @throws Error if the transaction does not have a feePayerAddress property.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network, Account } from \"@aptos-labs/ts-sdk\";\n *\n * const config = new AptosConfig({ network: Network.TESTNET });\n * const aptos = new Aptos(config);\n *\n * async function runExample() {\n * const sender = Account.generate(); // Generate a new account for signing\n * const transaction = await aptos.transaction.build.simple({\n * sender: sender.accountAddress,\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [\"0x1\", 100], // replace with a real recipient address\n * },\n * });\n *\n * // Set the fee payer for the transaction\n * transaction.feePayerAddress = \"0x1\"; // replace with a real fee payer address\n *\n * const signedTransaction = await aptos.transactionAsFeePayer({ signer: sender, transaction });\n *\n * console.log(\"Signed Transaction:\", signedTransaction);\n * }\n * runExample().catch(console.error);\n * ```\n * @group Implementation\n */\n // eslint-disable-next-line class-methods-use-this\n transactionAsFeePayer(args: { signer: Account; transaction: AnyRawTransaction }): AccountAuthenticator {\n const { signer, transaction } = args;\n\n // if transaction doesn't hold a \"feePayerAddress\" prop it means\n // this is not a fee payer transaction\n if (!transaction.feePayerAddress) {\n throw new Error(`Transaction ${transaction} is not a Fee Payer transaction`);\n }\n\n // Set the feePayerAddress to the signer account address\n transaction.feePayerAddress = signer.accountAddress;\n\n return signTransaction({\n signer,\n transaction,\n });\n }\n}\n"],"mappings":"s2DAcO,IAAMA,EAAN,KAAW,CAuBhB,YAAYC,EAAqB,CAC/B,KAAK,OAASA,CAChB,CAwCA,YAAYC,EAAiF,CAC3F,OAAOC,EAAgB,CACrB,GAAGD,CACL,CAAC,CACH,CAyCA,sBAAsBA,EAAiF,CACrG,GAAM,CAAE,OAAAE,EAAQ,YAAAC,CAAY,EAAIH,EAIhC,GAAI,CAACG,EAAY,gBACf,MAAM,IAAI,MAAM,eAAeA,CAAW,iCAAiC,EAI7E,OAAAA,EAAY,gBAAkBD,EAAO,eAE9BD,EAAgB,CACrB,OAAAC,EACA,YAAAC,CACF,CAAC,CACH,CACF","names":["Sign","config","args","signTransaction","signer","transaction"]}
@@ -1,4 +1,4 @@
1
- import { A as AptosConfig, C as PublicKey, bf as AnyRawTransaction, bh as InputSimulateTransactionOptions, cl as UserTransactionResponse } from '../../account--Q9z_xMN.mjs';
1
+ import { A as AptosConfig, C as PublicKey, bg as AnyRawTransaction, bi as InputSimulateTransactionOptions, cm as UserTransactionResponse } from '../../account-ClxOwjdh.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{Qd as a}from"../../chunk-55Q7BSZT.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-UQZTHVWC.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-4JT5AESZ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-EF4FA5I6.mjs";import"../../chunk-MSMFHPDT.mjs";import"../../chunk-K43K3YG7.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-HZVN4JSO.mjs";import"../../chunk-3BMZKCLH.mjs";import"../../chunk-V6C6NWFU.mjs";import"../../chunk-PLI53ZU6.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-XYXBAU4J.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-BPWSOC2Y.mjs";import"../../chunk-6JYQ5P36.mjs";import"../../chunk-NF73V673.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-Y7ZQTLH4.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-6SLY7UV2.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Simulate};
1
+ import{ce as a}from"../../chunk-DIGP2ALY.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-HNBKTJPN.mjs";import"../../chunk-V74WPKSY.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-ES2KP6BS.mjs";import"../../chunk-EM52Z7T7.mjs";import"../../chunk-TGRLDWXV.mjs";import"../../chunk-N3O3ULF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GMQCQDW4.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-DNRUDMMV.mjs";import"../../chunk-GFFKEZ56.mjs";import"../../chunk-LWL57YFU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-RCSJFTST.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-5FI4545P.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Simulate};
2
2
  //# sourceMappingURL=simulate.mjs.map
@@ -1,4 +1,4 @@
1
- import { A as AptosConfig, bf as AnyRawTransaction, W as AccountAuthenticator, bl as InputTransactionPluginData, ck as PendingTransactionResponse } from '../../account--Q9z_xMN.mjs';
1
+ import { A as AptosConfig, bg as AnyRawTransaction, W as AccountAuthenticator, bm as InputTransactionPluginData, cl as PendingTransactionResponse } from '../../account-ClxOwjdh.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{Rd as a}from"../../chunk-55Q7BSZT.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-2XQKGWHQ.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-UQZTHVWC.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-4JT5AESZ.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-EF4FA5I6.mjs";import"../../chunk-MSMFHPDT.mjs";import"../../chunk-K43K3YG7.mjs";import"../../chunk-DPW6ELCQ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-KJH4KKG6.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-HZVN4JSO.mjs";import"../../chunk-3BMZKCLH.mjs";import"../../chunk-V6C6NWFU.mjs";import"../../chunk-PLI53ZU6.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-XYXBAU4J.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-BPWSOC2Y.mjs";import"../../chunk-6JYQ5P36.mjs";import"../../chunk-NF73V673.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-Y7ZQTLH4.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-JCFTAG5Z.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-6SLY7UV2.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Submit};
1
+ import{de as a}from"../../chunk-DIGP2ALY.mjs";import"../../chunk-5HXLZHDW.mjs";import"../../chunk-GOXRBEIJ.mjs";import"../../chunk-ROT6S6BM.mjs";import"../../chunk-XJJVJOX5.mjs";import"../../chunk-C3Q23D22.mjs";import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import"../../chunk-RQX6JOEN.mjs";import"../../chunk-WSR5EBJM.mjs";import"../../chunk-WCMW2L3P.mjs";import"../../chunk-G3MHXDYA.mjs";import"../../chunk-HNBKTJPN.mjs";import"../../chunk-V74WPKSY.mjs";import"../../chunk-UYVPNUH3.mjs";import"../../chunk-A5L76YP7.mjs";import"../../chunk-XKUIMGKU.mjs";import"../../chunk-N6YTF76Q.mjs";import"../../chunk-ZP4DWSQA.mjs";import"../../chunk-QREVMGQZ.mjs";import"../../chunk-FGFLPH5K.mjs";import"../../chunk-V3MBJJTL.mjs";import"../../chunk-ES2KP6BS.mjs";import"../../chunk-EM52Z7T7.mjs";import"../../chunk-TGRLDWXV.mjs";import"../../chunk-N3O3ULF7.mjs";import"../../chunk-YOZBVVKL.mjs";import"../../chunk-GMQCQDW4.mjs";import"../../chunk-UL777LTI.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-DNRUDMMV.mjs";import"../../chunk-GFFKEZ56.mjs";import"../../chunk-LWL57YFU.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-CW35YAMN.mjs";import"../../chunk-6WDVDEQZ.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-TOBQ5UE6.mjs";import"../../chunk-MT2RJ7H3.mjs";import"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-7DQDJ2SA.mjs";import"../../chunk-HNBVYE3N.mjs";import"../../chunk-RGKRCZ36.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-RCSJFTST.mjs";import"../../chunk-4RXKALLC.mjs";import"../../chunk-OLILO7VD.mjs";import"../../chunk-5FI4545P.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Submit};
2
2
  //# sourceMappingURL=submit.mjs.map
@@ -1,5 +1,5 @@
1
1
  import { ProcessorType } from '../utils/const.mjs';
2
- import { A as AptosConfig, bM as AnyNumber } from '../account--Q9z_xMN.mjs';
2
+ import { A as AptosConfig, bN as AnyNumber } from '../account-ClxOwjdh.mjs';
3
3
  import '../types/indexer.mjs';
4
4
  import '../types/generated/operations.mjs';
5
5
  import '../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-V6C6NWFU.mjs";import"../chunk-PLI53ZU6.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-XYXBAU4J.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-BPWSOC2Y.mjs";import"../chunk-6JYQ5P36.mjs";import"../chunk-NF73V673.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-CW35YAMN.mjs";import"../chunk-6WDVDEQZ.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-JCFTAG5Z.mjs";import"../chunk-7DQDJ2SA.mjs";import"../chunk-HNBVYE3N.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-IJE2LVZG.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-6SLY7UV2.mjs";import"../chunk-KDMSOCZY.mjs";export{a as waitForIndexerOnVersion};
1
+ import{a}from"../chunk-TGRLDWXV.mjs";import"../chunk-N3O3ULF7.mjs";import"../chunk-YOZBVVKL.mjs";import"../chunk-GMQCQDW4.mjs";import"../chunk-UL777LTI.mjs";import"../chunk-7ECCT6PK.mjs";import"../chunk-DNRUDMMV.mjs";import"../chunk-GFFKEZ56.mjs";import"../chunk-LWL57YFU.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-CW35YAMN.mjs";import"../chunk-6WDVDEQZ.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-TOBQ5UE6.mjs";import"../chunk-MT2RJ7H3.mjs";import"../chunk-Q4W3WJ2U.mjs";import"../chunk-ORMOQWWH.mjs";import"../chunk-FLZPUYXQ.mjs";import"../chunk-7DQDJ2SA.mjs";import"../chunk-HNBVYE3N.mjs";import"../chunk-RGKRCZ36.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-IJE2LVZG.mjs";import"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-4RXKALLC.mjs";import"../chunk-OLILO7VD.mjs";import"../chunk-5FI4545P.mjs";import"../chunk-KDMSOCZY.mjs";export{a as waitForIndexerOnVersion};
2
2
  //# sourceMappingURL=utils.mjs.map
@@ -1,4 +1,4 @@
1
- import { bG as Uint8, bH as Uint16, bI as Uint32, bJ as Uint64, bK as Uint128, bL as Uint256 } from '../account--Q9z_xMN.mjs';
1
+ import { bH as Uint8, bI as Uint16, bJ as Uint32, bK as Uint64, bL as Uint128, bM as Uint256 } from '../account-ClxOwjdh.mjs';
2
2
  import '../types/indexer.mjs';
3
3
  import '../types/generated/operations.mjs';
4
4
  import '../types/generated/types.mjs';
@@ -1,4 +1,4 @@
1
- export { D as Deserializable, a as Deserializer } from '../account--Q9z_xMN.mjs';
1
+ export { D as Deserializable, a as Deserializer } from '../account-ClxOwjdh.mjs';
2
2
  import '../types/indexer.mjs';
3
3
  import '../types/generated/operations.mjs';
4
4
  import '../types/generated/types.mjs';
@@ -1,4 +1,4 @@
1
- export { B as Bool, D as Deserializable, a as Deserializer, F as FixedBytes, k as MoveOption, j as MoveString, M as MoveVector, S as Serializable, i as Serialized, b as Serializer, g as U128, c as U16, h as U256, d as U32, f as U64, U as U8, e as ensureBoolean, o as outOfRangeErrorMessage, v as validateNumberInRange } from '../account--Q9z_xMN.mjs';
1
+ export { B as Bool, D as Deserializable, a as Deserializer, F as FixedBytes, k as MoveOption, j as MoveString, M as MoveVector, S as Serializable, i as Serialized, b as Serializer, g as U128, c as U16, h as U256, d as U32, f as U64, U as U8, e as ensureBoolean, o as outOfRangeErrorMessage, v as validateNumberInRange } from '../account-ClxOwjdh.mjs';
2
2
  export { EntryFunctionBytes } from './serializable/entryFunctionBytes.mjs';
3
3
  import '../types/indexer.mjs';
4
4
  import '../types/generated/operations.mjs';
@@ -1,2 +1,2 @@
1
- import"../chunk-FZY4PMEE.mjs";import{a as p,b as q,c as r,d as s}from"../chunk-Q4W3WJ2U.mjs";import{a as h}from"../chunk-TOBQ5UE6.mjs";import{a as g}from"../chunk-MT2RJ7H3.mjs";import{a as i,b as j,c as k,d as l,e as m,f as n,g as o}from"../chunk-ORMOQWWH.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-IJE2LVZG.mjs";import{a}from"../chunk-FLZPUYXQ.mjs";import{a as b,b as c,c as d,d as e,e as f}from"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{i as Bool,a as Deserializer,h as EntryFunctionBytes,g as FixedBytes,s as MoveOption,r as MoveString,p as MoveVector,b as Serializable,q as Serialized,c as Serializer,n as U128,k as U16,o as U256,l as U32,m as U64,j as U8,d as ensureBoolean,e as outOfRangeErrorMessage,f as validateNumberInRange};
1
+ import"../chunk-FZY4PMEE.mjs";import{a as h}from"../chunk-TOBQ5UE6.mjs";import{a as g}from"../chunk-MT2RJ7H3.mjs";import{a as p,b as q,c as r,d as s}from"../chunk-Q4W3WJ2U.mjs";import{a as i,b as j,c as k,d as l,e as m,f as n,g as o}from"../chunk-ORMOQWWH.mjs";import{a}from"../chunk-FLZPUYXQ.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-IJE2LVZG.mjs";import{a as b,b as c,c as d,d as e,e as f}from"../chunk-EBMEXURY.mjs";import"../chunk-STY74NUA.mjs";import"../chunk-IF4UU2MT.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{i as Bool,a as Deserializer,h as EntryFunctionBytes,g as FixedBytes,s as MoveOption,r as MoveString,p as MoveVector,b as Serializable,q as Serialized,c as Serializer,n as U128,k as U16,o as U256,l as U32,m as U64,j as U8,d as ensureBoolean,e as outOfRangeErrorMessage,f as validateNumberInRange};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- import { S as Serializable, a9 as EntryFunctionArgument, F as FixedBytes, b as Serializer, a as Deserializer } from '../../account--Q9z_xMN.mjs';
1
+ import { S as Serializable, aa as EntryFunctionArgument, F as FixedBytes, b as Serializer, a as Deserializer } from '../../account-ClxOwjdh.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,4 +1,4 @@
1
- export { F as FixedBytes } from '../../account--Q9z_xMN.mjs';
1
+ export { F as FixedBytes } from '../../account-ClxOwjdh.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,4 +1,4 @@
1
- export { B as Bool, g as U128, c as U16, h as U256, d as U32, f as U64, U as U8 } from '../../account--Q9z_xMN.mjs';
1
+ export { B as Bool, g as U128, c as U16, h as U256, d as U32, f as U64, U as U8 } from '../../account-ClxOwjdh.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,4 +1,4 @@
1
- export { k as MoveOption, j as MoveString, M as MoveVector, i as Serialized } from '../../account--Q9z_xMN.mjs';
1
+ export { k as MoveOption, j as MoveString, M as MoveVector, i as Serialized } from '../../account-ClxOwjdh.mjs';
2
2
  import '../../types/indexer.mjs';
3
3
  import '../../types/generated/operations.mjs';
4
4
  import '../../types/generated/types.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b,c,d}from"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{d as MoveOption,c as MoveString,a as MoveVector,b as Serialized};
1
+ import{a,b,c,d}from"../../chunk-Q4W3WJ2U.mjs";import"../../chunk-ORMOQWWH.mjs";import"../../chunk-FLZPUYXQ.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-IJE2LVZG.mjs";import"../../chunk-EBMEXURY.mjs";import"../../chunk-STY74NUA.mjs";import"../../chunk-IF4UU2MT.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{d as MoveOption,c as MoveString,a as MoveVector,b as Serialized};
2
2
  //# sourceMappingURL=moveStructs.mjs.map
@@ -1,4 +1,4 @@
1
- export { S as Serializable, b as Serializer, e as ensureBoolean, o as outOfRangeErrorMessage, v as validateNumberInRange } from '../account--Q9z_xMN.mjs';
1
+ export { S as Serializable, b as Serializer, e as ensureBoolean, o as outOfRangeErrorMessage, v as validateNumberInRange } from '../account-ClxOwjdh.mjs';
2
2
  import '../types/indexer.mjs';
3
3
  import '../types/generated/operations.mjs';
4
4
  import '../types/generated/types.mjs';
@@ -0,0 +1,2 @@
1
+ var o="5.0.0";export{o as a};
2
+ //# sourceMappingURL=chunk-5FI4545P.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/version.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\n/**\n * The current version of the SDK\n *\n * hardcoded for now, we would want to have it injected dynamically\n */\nexport const VERSION = \"4.0.0\";\n"],"mappings":"AAQO,IAAMA,EAAU","names":["VERSION"]}
1
+ {"version":3,"sources":["../../src/version.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\n/**\n * The current version of the SDK\n *\n * hardcoded for now, we would want to have it injected dynamically\n */\nexport const VERSION = \"5.0.0\";\n"],"mappings":"AAQO,IAAMA,EAAU","names":["VERSION"]}