@aptos-labs/ts-sdk 1.32.0 → 1.32.1

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 (391) hide show
  1. package/dist/common/chunk-F43XVDYJ.js.map +1 -1
  2. package/dist/common/cli/index.js.map +1 -1
  3. package/dist/common/index.d.ts +7 -103
  4. package/dist/common/index.js +31 -31
  5. package/dist/common/index.js.map +1 -1
  6. package/dist/esm/account/AbstractKeylessAccount.d.mts +0 -1
  7. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  8. package/dist/esm/account/Account.d.mts +0 -1
  9. package/dist/esm/account/Account.mjs +1 -1
  10. package/dist/esm/account/Ed25519Account.d.mts +0 -1
  11. package/dist/esm/account/Ed25519Account.mjs +1 -1
  12. package/dist/esm/account/EphemeralKeyPair.d.mts +0 -1
  13. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  14. package/dist/esm/account/FederatedKeylessAccount.d.mts +0 -1
  15. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  16. package/dist/esm/account/KeylessAccount.d.mts +0 -1
  17. package/dist/esm/account/KeylessAccount.mjs +1 -1
  18. package/dist/esm/account/MultiKeyAccount.d.mts +0 -1
  19. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  20. package/dist/esm/account/SingleKeyAccount.d.mts +0 -1
  21. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  22. package/dist/esm/account/index.d.mts +0 -1
  23. package/dist/esm/account/index.mjs +1 -1
  24. package/dist/esm/api/account.d.mts +0 -1
  25. package/dist/esm/api/account.mjs +1 -1
  26. package/dist/esm/api/ans.d.mts +0 -1
  27. package/dist/esm/api/ans.mjs +1 -1
  28. package/dist/esm/api/aptos.d.mts +0 -2
  29. package/dist/esm/api/aptos.mjs +1 -1
  30. package/dist/esm/api/aptosConfig.d.mts +0 -1
  31. package/dist/esm/api/aptosConfig.mjs +1 -1
  32. package/dist/esm/api/coin.d.mts +2 -3
  33. package/dist/esm/api/coin.mjs +1 -1
  34. package/dist/esm/api/digitalAsset.d.mts +0 -1
  35. package/dist/esm/api/digitalAsset.mjs +1 -1
  36. package/dist/esm/api/event.d.mts +0 -1
  37. package/dist/esm/api/event.mjs +1 -1
  38. package/dist/esm/api/faucet.d.mts +0 -1
  39. package/dist/esm/api/faucet.mjs +1 -1
  40. package/dist/esm/api/fungibleAsset.d.mts +0 -1
  41. package/dist/esm/api/fungibleAsset.mjs +1 -1
  42. package/dist/esm/api/general.d.mts +0 -1
  43. package/dist/esm/api/general.mjs +1 -1
  44. package/dist/esm/api/index.d.mts +0 -2
  45. package/dist/esm/api/index.mjs +1 -1
  46. package/dist/esm/api/keyless.d.mts +1 -2
  47. package/dist/esm/api/keyless.mjs +1 -1
  48. package/dist/esm/api/object.d.mts +0 -1
  49. package/dist/esm/api/object.mjs +1 -1
  50. package/dist/esm/api/staking.d.mts +0 -1
  51. package/dist/esm/api/staking.mjs +1 -1
  52. package/dist/esm/api/table.d.mts +0 -1
  53. package/dist/esm/api/table.mjs +1 -1
  54. package/dist/esm/api/transaction.d.mts +0 -2
  55. package/dist/esm/api/transaction.mjs +1 -1
  56. package/dist/esm/api/transactionSubmission/build.d.mts +0 -66
  57. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  58. package/dist/esm/api/transactionSubmission/management.d.mts +0 -1
  59. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  60. package/dist/esm/api/transactionSubmission/sign.d.mts +0 -1
  61. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  62. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  63. package/dist/esm/api/transactionSubmission/simulate.d.mts +0 -1
  64. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  65. package/dist/esm/api/transactionSubmission/submit.d.mts +0 -1
  66. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  67. package/dist/esm/api/utils.d.mts +0 -1
  68. package/dist/esm/api/utils.mjs +1 -1
  69. package/dist/esm/bcs/consts.d.mts +0 -1
  70. package/dist/esm/bcs/deserializer.d.mts +0 -1
  71. package/dist/esm/bcs/index.d.mts +0 -1
  72. package/dist/esm/bcs/index.mjs +1 -1
  73. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +0 -1
  74. package/dist/esm/bcs/serializable/fixedBytes.d.mts +0 -1
  75. package/dist/esm/bcs/serializable/movePrimitives.d.mts +0 -1
  76. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  77. package/dist/esm/bcs/serializable/moveStructs.d.mts +0 -1
  78. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  79. package/dist/esm/bcs/serializer.d.mts +0 -1
  80. package/dist/esm/{chunk-XKOSS5KC.mjs → chunk-26WX3UFP.mjs} +2 -2
  81. package/dist/esm/{chunk-HEHVWRMO.mjs → chunk-2E3BT4YW.mjs} +2 -2
  82. package/dist/esm/{chunk-JLD7DLKM.mjs → chunk-2LQ4FTSR.mjs} +2 -2
  83. package/dist/esm/{chunk-E2NYQVP3.mjs → chunk-2REHS35S.mjs} +2 -2
  84. package/dist/esm/{chunk-QQM47PHZ.mjs → chunk-2YTHKFJZ.mjs} +2 -2
  85. package/dist/esm/{chunk-IBMZYDAR.mjs → chunk-4IQZOAN7.mjs} +2 -2
  86. package/dist/esm/{chunk-VCY3JGZM.mjs → chunk-4J2JYRV3.mjs} +2 -2
  87. package/dist/esm/{chunk-5AKSORBJ.mjs → chunk-5KCKWL2C.mjs} +2 -2
  88. package/dist/esm/{chunk-WSFHH3BK.mjs → chunk-5O3RHPER.mjs} +2 -2
  89. package/dist/esm/{chunk-AAATWCJT.mjs → chunk-7OHMMGS6.mjs} +2 -2
  90. package/dist/esm/{chunk-L2QVUMBV.mjs → chunk-A3USS2NC.mjs} +2 -2
  91. package/dist/esm/{chunk-DP3YPGIK.mjs → chunk-AGEJNSEX.mjs} +2 -2
  92. package/dist/esm/{chunk-XT5T5LAP.mjs → chunk-BP45UJII.mjs} +2 -2
  93. package/dist/esm/{chunk-SU2WB34N.mjs → chunk-CEW2NI3K.mjs} +2 -2
  94. package/dist/esm/{chunk-6LLGRGCN.mjs → chunk-CPKG25HX.mjs} +2 -2
  95. package/dist/esm/{chunk-X3JPX7T6.mjs → chunk-D54FD6XE.mjs} +2 -2
  96. package/dist/esm/{chunk-YZ3YPLEU.mjs → chunk-DYELAVMR.mjs} +2 -2
  97. package/dist/esm/{chunk-2QBCTW67.mjs → chunk-E2GPZCQI.mjs} +2 -2
  98. package/dist/esm/{chunk-7WXDXBXK.mjs → chunk-EJKX6MGV.mjs} +2 -2
  99. package/dist/esm/{chunk-HXXELLHN.mjs → chunk-ERDYU5YQ.mjs} +2 -2
  100. package/dist/esm/{chunk-CA3Q2X6B.mjs → chunk-ETF76XA3.mjs} +2 -2
  101. package/dist/esm/chunk-FD6FGKYY.mjs +1 -0
  102. package/dist/esm/{chunk-OKE3FXIP.mjs → chunk-FFCCBAEZ.mjs} +2 -2
  103. package/dist/esm/{chunk-K4TJRYGQ.mjs → chunk-FYYTCJS4.mjs} +2 -2
  104. package/dist/esm/{chunk-3XCYCFYI.mjs → chunk-GX4CYRK4.mjs} +2 -2
  105. package/dist/esm/{chunk-5NJWJXSS.mjs → chunk-GZBVXXUL.mjs} +2 -2
  106. package/dist/esm/{chunk-IDNDUJOK.mjs → chunk-H7AALSJ7.mjs} +2 -2
  107. package/dist/esm/{chunk-SBCLBDCP.mjs → chunk-HBWIDPNN.mjs} +2 -2
  108. package/dist/esm/{chunk-PW3ISXPN.mjs → chunk-HPZQGMSH.mjs} +2 -2
  109. package/dist/esm/{chunk-OJBMR5CT.mjs → chunk-I5GENJBA.mjs} +2 -2
  110. package/dist/esm/chunk-I5OYNCZS.mjs +1 -0
  111. package/dist/esm/{chunk-JJUINAQE.mjs → chunk-II26BNYA.mjs} +2 -2
  112. package/dist/esm/{chunk-YPBNYKOD.mjs → chunk-IQ4SCMB6.mjs} +2 -2
  113. package/dist/esm/{chunk-4YEOOZ2N.mjs → chunk-IUSAYAEI.mjs} +2 -2
  114. package/dist/esm/{chunk-J245N3XF.mjs → chunk-J7PJSK3J.mjs} +2 -2
  115. package/dist/esm/{chunk-J245N3XF.mjs.map → chunk-J7PJSK3J.mjs.map} +1 -1
  116. package/dist/esm/{chunk-6K4TOFCO.mjs → chunk-JGLEKXFP.mjs} +2 -2
  117. package/dist/esm/{chunk-DDVOBEJA.mjs → chunk-JIT2FYGE.mjs} +2 -2
  118. package/dist/esm/{chunk-46L6BAJG.mjs → chunk-JONEH52T.mjs} +2 -2
  119. package/dist/esm/{chunk-XUP6VABV.mjs → chunk-K62JTXWQ.mjs} +2 -2
  120. package/dist/esm/{chunk-6PJH53CK.mjs → chunk-KCEI5JYS.mjs} +2 -2
  121. package/dist/esm/{chunk-ZRWZIAF5.mjs → chunk-KM6IOJ6Y.mjs} +2 -2
  122. package/dist/esm/chunk-KTM6KVUJ.mjs +2 -0
  123. package/dist/esm/chunk-KTM6KVUJ.mjs.map +1 -0
  124. package/dist/esm/{chunk-AVPQOD67.mjs → chunk-KX43GEAB.mjs} +2 -2
  125. package/dist/esm/{chunk-DSKAMBBL.mjs → chunk-L25CRR2W.mjs} +2 -2
  126. package/dist/esm/{chunk-WKNX43KN.mjs → chunk-LGHPJTF3.mjs} +2 -2
  127. package/dist/esm/{chunk-ONFKJ57C.mjs → chunk-LHBMBCFC.mjs} +2 -2
  128. package/dist/esm/{chunk-37Y54PJ5.mjs → chunk-LYO22HMF.mjs} +2 -2
  129. package/dist/esm/{chunk-4DNCQM3S.mjs → chunk-MBEWPBGN.mjs} +2 -2
  130. package/dist/esm/{chunk-MOGPSSTD.mjs → chunk-ML7D2CVG.mjs} +2 -2
  131. package/dist/esm/{chunk-GBVRCWCD.mjs → chunk-NF7ZQQE3.mjs} +2 -2
  132. package/dist/esm/{chunk-YNT7JHMS.mjs → chunk-O4MRRWRI.mjs} +2 -2
  133. package/dist/esm/{chunk-BLLHTGAP.mjs → chunk-OVI7L7OG.mjs} +2 -2
  134. package/dist/esm/{chunk-LAAFLCDM.mjs → chunk-P2FTRAK3.mjs} +2 -2
  135. package/dist/esm/{chunk-TM7OZT3W.mjs → chunk-Q3CWUEXI.mjs} +2 -2
  136. package/dist/esm/{chunk-F2AIWA7L.mjs → chunk-RC43EXC4.mjs} +2 -2
  137. package/dist/esm/{chunk-NARS3JDH.mjs → chunk-RLH25IDA.mjs} +2 -2
  138. package/dist/esm/{chunk-HFWFDS6Y.mjs → chunk-RSO5YIDW.mjs} +2 -2
  139. package/dist/esm/chunk-RZGTHCJY.mjs +2 -0
  140. package/dist/esm/{chunk-AMCJQIOT.mjs.map → chunk-RZGTHCJY.mjs.map} +1 -1
  141. package/dist/esm/{chunk-KT3DT5GV.mjs → chunk-SPX2YFZN.mjs} +2 -2
  142. package/dist/esm/{chunk-AHWZA3GD.mjs → chunk-SY4HK6CC.mjs} +2 -2
  143. package/dist/esm/{chunk-II654QZU.mjs → chunk-TGW36YOD.mjs} +2 -2
  144. package/dist/esm/{chunk-FXUI3SSD.mjs → chunk-TQA6HY6A.mjs} +2 -2
  145. package/dist/esm/{chunk-KA5FX53Q.mjs → chunk-U3GE6IPF.mjs} +2 -2
  146. package/dist/esm/{chunk-JDNI5VIJ.mjs → chunk-UKVH4UGL.mjs} +2 -2
  147. package/dist/esm/{chunk-H457BI3I.mjs → chunk-UWLW2VLZ.mjs} +2 -2
  148. package/dist/esm/{chunk-2NHQQQZK.mjs → chunk-VGITSRT6.mjs} +2 -2
  149. package/dist/esm/{chunk-L2SDI7PI.mjs → chunk-VGJIATTB.mjs} +2 -2
  150. package/dist/esm/chunk-WYOFF5DJ.mjs +2 -0
  151. package/dist/esm/chunk-WYOFF5DJ.mjs.map +1 -0
  152. package/dist/esm/{chunk-NHKAQRJB.mjs → chunk-X7JNNNMC.mjs} +2 -2
  153. package/dist/esm/chunk-XIB6LX22.mjs +2 -0
  154. package/dist/esm/chunk-XIB6LX22.mjs.map +1 -0
  155. package/dist/esm/{chunk-KUL55M2H.mjs → chunk-YIQ3JFHW.mjs} +2 -2
  156. package/dist/esm/{chunk-WGIYSLH6.mjs → chunk-YP3VO6GM.mjs} +2 -2
  157. package/dist/esm/cli/index.d.mts +0 -1
  158. package/dist/esm/cli/move.d.mts +0 -1
  159. package/dist/esm/client/core.d.mts +0 -1
  160. package/dist/esm/client/core.mjs +1 -1
  161. package/dist/esm/client/get.d.mts +0 -1
  162. package/dist/esm/client/get.mjs +1 -1
  163. package/dist/esm/client/index.d.mts +0 -1
  164. package/dist/esm/client/index.mjs +1 -1
  165. package/dist/esm/client/post.d.mts +0 -1
  166. package/dist/esm/client/post.mjs +1 -1
  167. package/dist/esm/core/account/index.d.mts +0 -1
  168. package/dist/esm/core/account/index.mjs +1 -1
  169. package/dist/esm/core/account/utils/address.d.mts +0 -1
  170. package/dist/esm/core/account/utils/address.mjs +1 -1
  171. package/dist/esm/core/account/utils/index.d.mts +0 -1
  172. package/dist/esm/core/account/utils/index.mjs +1 -1
  173. package/dist/esm/core/accountAddress.d.mts +0 -1
  174. package/dist/esm/core/accountAddress.mjs +1 -1
  175. package/dist/esm/core/authenticationKey.d.mts +0 -1
  176. package/dist/esm/core/authenticationKey.mjs +1 -1
  177. package/dist/esm/core/crypto/ed25519.d.mts +0 -1
  178. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  179. package/dist/esm/core/crypto/ephemeral.d.mts +0 -1
  180. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  181. package/dist/esm/core/crypto/federatedKeyless.d.mts +0 -1
  182. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  183. package/dist/esm/core/crypto/index.d.mts +0 -1
  184. package/dist/esm/core/crypto/index.mjs +1 -1
  185. package/dist/esm/core/crypto/keyless.d.mts +0 -1
  186. package/dist/esm/core/crypto/keyless.mjs +1 -1
  187. package/dist/esm/core/crypto/multiEd25519.d.mts +0 -1
  188. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  189. package/dist/esm/core/crypto/multiKey.d.mts +0 -1
  190. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  191. package/dist/esm/core/crypto/privateKey.d.mts +0 -1
  192. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  193. package/dist/esm/core/crypto/proof.d.mts +0 -1
  194. package/dist/esm/core/crypto/proof.mjs +1 -1
  195. package/dist/esm/core/crypto/publicKey.d.mts +0 -1
  196. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  197. package/dist/esm/core/crypto/secp256k1.d.mts +0 -1
  198. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  199. package/dist/esm/core/crypto/signature.d.mts +0 -1
  200. package/dist/esm/core/crypto/signature.mjs +1 -1
  201. package/dist/esm/core/crypto/singleKey.d.mts +0 -1
  202. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  203. package/dist/esm/core/crypto/utils.d.mts +0 -1
  204. package/dist/esm/core/hex.d.mts +0 -1
  205. package/dist/esm/core/index.d.mts +0 -1
  206. package/dist/esm/core/index.mjs +1 -1
  207. package/dist/esm/errors/index.d.mts +0 -1
  208. package/dist/esm/errors/index.mjs +1 -1
  209. package/dist/esm/index.d.mts +3 -5
  210. package/dist/esm/index.mjs +1 -1
  211. package/dist/esm/internal/account.d.mts +0 -1
  212. package/dist/esm/internal/account.mjs +1 -1
  213. package/dist/esm/internal/ans.d.mts +0 -1
  214. package/dist/esm/internal/ans.mjs +1 -1
  215. package/dist/esm/internal/coin.d.mts +0 -1
  216. package/dist/esm/internal/coin.mjs +1 -1
  217. package/dist/esm/internal/digitalAsset.d.mts +0 -1
  218. package/dist/esm/internal/digitalAsset.mjs +1 -1
  219. package/dist/esm/internal/event.d.mts +0 -1
  220. package/dist/esm/internal/event.mjs +1 -1
  221. package/dist/esm/internal/faucet.d.mts +0 -1
  222. package/dist/esm/internal/faucet.mjs +1 -1
  223. package/dist/esm/internal/fungibleAsset.d.mts +0 -1
  224. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  225. package/dist/esm/internal/general.d.mts +0 -1
  226. package/dist/esm/internal/general.mjs +1 -1
  227. package/dist/esm/internal/keyless.d.mts +0 -1
  228. package/dist/esm/internal/keyless.mjs +1 -1
  229. package/dist/esm/internal/object.d.mts +0 -1
  230. package/dist/esm/internal/object.mjs +1 -1
  231. package/dist/esm/internal/staking.d.mts +0 -1
  232. package/dist/esm/internal/staking.mjs +1 -1
  233. package/dist/esm/internal/table.d.mts +0 -1
  234. package/dist/esm/internal/table.mjs +1 -1
  235. package/dist/esm/internal/transaction.d.mts +0 -1
  236. package/dist/esm/internal/transaction.mjs +1 -1
  237. package/dist/esm/internal/transactionSubmission.d.mts +0 -1
  238. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  239. package/dist/esm/internal/view.d.mts +0 -1
  240. package/dist/esm/internal/view.mjs +1 -1
  241. package/dist/esm/transactions/authenticator/account.d.mts +0 -1
  242. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  243. package/dist/esm/transactions/authenticator/index.d.mts +0 -1
  244. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  245. package/dist/esm/transactions/authenticator/transaction.d.mts +0 -1
  246. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  247. package/dist/esm/transactions/index.d.mts +2 -4
  248. package/dist/esm/transactions/index.mjs +1 -1
  249. package/dist/esm/transactions/instances/chainId.d.mts +0 -1
  250. package/dist/esm/transactions/instances/identifier.d.mts +0 -1
  251. package/dist/esm/transactions/instances/index.d.mts +0 -1
  252. package/dist/esm/transactions/instances/index.mjs +1 -1
  253. package/dist/esm/transactions/instances/moduleId.d.mts +0 -1
  254. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  255. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +0 -1
  256. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  257. package/dist/esm/transactions/instances/rawTransaction.d.mts +0 -1
  258. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  259. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +0 -1
  260. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  261. package/dist/esm/transactions/instances/signedTransaction.d.mts +0 -1
  262. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  263. package/dist/esm/transactions/instances/simpleTransaction.d.mts +0 -1
  264. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  265. package/dist/esm/transactions/instances/transactionArgument.d.mts +0 -1
  266. package/dist/esm/transactions/instances/transactionPayload.d.mts +0 -1
  267. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  268. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +0 -1
  269. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  270. package/dist/esm/transactions/management/index.d.mts +0 -1
  271. package/dist/esm/transactions/management/index.mjs +1 -1
  272. package/dist/esm/transactions/management/transactionWorker.d.mts +0 -1
  273. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  274. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +0 -1
  275. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  276. package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -2
  277. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  278. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +2 -23
  279. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  280. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +0 -1
  281. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  282. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +0 -1
  283. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  284. package/dist/esm/transactions/typeTag/index.d.mts +0 -1
  285. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  286. package/dist/esm/transactions/typeTag/parser.d.mts +0 -1
  287. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  288. package/dist/esm/transactions/types.d.mts +1 -10
  289. package/dist/esm/types/index.d.mts +0 -1
  290. package/dist/esm/types/index.mjs +1 -1
  291. package/dist/esm/types/types.d.mts +0 -1
  292. package/dist/esm/utils/const.d.mts +7 -1
  293. package/dist/esm/utils/const.mjs +1 -1
  294. package/dist/esm/utils/helpers.d.mts +0 -1
  295. package/dist/esm/utils/index.d.mts +1 -2
  296. package/dist/esm/utils/index.mjs +1 -1
  297. package/dist/esm/utils/normalizeBundle.d.mts +0 -1
  298. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  299. package/dist/esm/version.d.mts +1 -1
  300. package/dist/esm/version.mjs +1 -1
  301. package/package.json +1 -2
  302. package/src/api/transactionSubmission/build.ts +1 -82
  303. package/src/internal/keyless.ts +11 -1
  304. package/src/transactions/index.ts +0 -1
  305. package/src/transactions/transactionBuilder/remoteAbi.ts +1 -55
  306. package/src/transactions/types.ts +0 -11
  307. package/src/types/index.ts +0 -1
  308. package/src/utils/const.ts +7 -0
  309. package/src/version.ts +1 -1
  310. package/dist/esm/chunk-3DQVGPFE.mjs +0 -2
  311. package/dist/esm/chunk-3DQVGPFE.mjs.map +0 -1
  312. package/dist/esm/chunk-4PBXTMN3.mjs +0 -2
  313. package/dist/esm/chunk-4PBXTMN3.mjs.map +0 -1
  314. package/dist/esm/chunk-AMCJQIOT.mjs +0 -2
  315. package/dist/esm/chunk-EEB7EZFO.mjs +0 -2
  316. package/dist/esm/chunk-EEB7EZFO.mjs.map +0 -1
  317. package/dist/esm/chunk-G2GN4LH5.mjs +0 -2
  318. package/dist/esm/chunk-G2GN4LH5.mjs.map +0 -1
  319. package/dist/esm/chunk-L56DQ4N3.mjs +0 -2
  320. package/dist/esm/chunk-L56DQ4N3.mjs.map +0 -1
  321. package/dist/esm/chunk-UIRAXHDH.mjs +0 -1
  322. package/dist/esm/transactions/script-composer/index.d.mts +0 -44
  323. package/dist/esm/transactions/script-composer/index.mjs +0 -2
  324. package/src/transactions/script-composer/index.ts +0 -76
  325. /package/dist/esm/{chunk-XKOSS5KC.mjs.map → chunk-26WX3UFP.mjs.map} +0 -0
  326. /package/dist/esm/{chunk-HEHVWRMO.mjs.map → chunk-2E3BT4YW.mjs.map} +0 -0
  327. /package/dist/esm/{chunk-JLD7DLKM.mjs.map → chunk-2LQ4FTSR.mjs.map} +0 -0
  328. /package/dist/esm/{chunk-E2NYQVP3.mjs.map → chunk-2REHS35S.mjs.map} +0 -0
  329. /package/dist/esm/{chunk-QQM47PHZ.mjs.map → chunk-2YTHKFJZ.mjs.map} +0 -0
  330. /package/dist/esm/{chunk-IBMZYDAR.mjs.map → chunk-4IQZOAN7.mjs.map} +0 -0
  331. /package/dist/esm/{chunk-VCY3JGZM.mjs.map → chunk-4J2JYRV3.mjs.map} +0 -0
  332. /package/dist/esm/{chunk-5AKSORBJ.mjs.map → chunk-5KCKWL2C.mjs.map} +0 -0
  333. /package/dist/esm/{chunk-WSFHH3BK.mjs.map → chunk-5O3RHPER.mjs.map} +0 -0
  334. /package/dist/esm/{chunk-AAATWCJT.mjs.map → chunk-7OHMMGS6.mjs.map} +0 -0
  335. /package/dist/esm/{chunk-L2QVUMBV.mjs.map → chunk-A3USS2NC.mjs.map} +0 -0
  336. /package/dist/esm/{chunk-DP3YPGIK.mjs.map → chunk-AGEJNSEX.mjs.map} +0 -0
  337. /package/dist/esm/{chunk-XT5T5LAP.mjs.map → chunk-BP45UJII.mjs.map} +0 -0
  338. /package/dist/esm/{chunk-SU2WB34N.mjs.map → chunk-CEW2NI3K.mjs.map} +0 -0
  339. /package/dist/esm/{chunk-6LLGRGCN.mjs.map → chunk-CPKG25HX.mjs.map} +0 -0
  340. /package/dist/esm/{chunk-X3JPX7T6.mjs.map → chunk-D54FD6XE.mjs.map} +0 -0
  341. /package/dist/esm/{chunk-YZ3YPLEU.mjs.map → chunk-DYELAVMR.mjs.map} +0 -0
  342. /package/dist/esm/{chunk-2QBCTW67.mjs.map → chunk-E2GPZCQI.mjs.map} +0 -0
  343. /package/dist/esm/{chunk-7WXDXBXK.mjs.map → chunk-EJKX6MGV.mjs.map} +0 -0
  344. /package/dist/esm/{chunk-HXXELLHN.mjs.map → chunk-ERDYU5YQ.mjs.map} +0 -0
  345. /package/dist/esm/{chunk-CA3Q2X6B.mjs.map → chunk-ETF76XA3.mjs.map} +0 -0
  346. /package/dist/esm/{chunk-UIRAXHDH.mjs.map → chunk-FD6FGKYY.mjs.map} +0 -0
  347. /package/dist/esm/{chunk-OKE3FXIP.mjs.map → chunk-FFCCBAEZ.mjs.map} +0 -0
  348. /package/dist/esm/{chunk-K4TJRYGQ.mjs.map → chunk-FYYTCJS4.mjs.map} +0 -0
  349. /package/dist/esm/{chunk-3XCYCFYI.mjs.map → chunk-GX4CYRK4.mjs.map} +0 -0
  350. /package/dist/esm/{chunk-5NJWJXSS.mjs.map → chunk-GZBVXXUL.mjs.map} +0 -0
  351. /package/dist/esm/{chunk-IDNDUJOK.mjs.map → chunk-H7AALSJ7.mjs.map} +0 -0
  352. /package/dist/esm/{chunk-SBCLBDCP.mjs.map → chunk-HBWIDPNN.mjs.map} +0 -0
  353. /package/dist/esm/{chunk-PW3ISXPN.mjs.map → chunk-HPZQGMSH.mjs.map} +0 -0
  354. /package/dist/esm/{chunk-OJBMR5CT.mjs.map → chunk-I5GENJBA.mjs.map} +0 -0
  355. /package/dist/esm/{transactions/script-composer/index.mjs.map → chunk-I5OYNCZS.mjs.map} +0 -0
  356. /package/dist/esm/{chunk-JJUINAQE.mjs.map → chunk-II26BNYA.mjs.map} +0 -0
  357. /package/dist/esm/{chunk-YPBNYKOD.mjs.map → chunk-IQ4SCMB6.mjs.map} +0 -0
  358. /package/dist/esm/{chunk-4YEOOZ2N.mjs.map → chunk-IUSAYAEI.mjs.map} +0 -0
  359. /package/dist/esm/{chunk-6K4TOFCO.mjs.map → chunk-JGLEKXFP.mjs.map} +0 -0
  360. /package/dist/esm/{chunk-DDVOBEJA.mjs.map → chunk-JIT2FYGE.mjs.map} +0 -0
  361. /package/dist/esm/{chunk-46L6BAJG.mjs.map → chunk-JONEH52T.mjs.map} +0 -0
  362. /package/dist/esm/{chunk-XUP6VABV.mjs.map → chunk-K62JTXWQ.mjs.map} +0 -0
  363. /package/dist/esm/{chunk-6PJH53CK.mjs.map → chunk-KCEI5JYS.mjs.map} +0 -0
  364. /package/dist/esm/{chunk-ZRWZIAF5.mjs.map → chunk-KM6IOJ6Y.mjs.map} +0 -0
  365. /package/dist/esm/{chunk-AVPQOD67.mjs.map → chunk-KX43GEAB.mjs.map} +0 -0
  366. /package/dist/esm/{chunk-DSKAMBBL.mjs.map → chunk-L25CRR2W.mjs.map} +0 -0
  367. /package/dist/esm/{chunk-WKNX43KN.mjs.map → chunk-LGHPJTF3.mjs.map} +0 -0
  368. /package/dist/esm/{chunk-ONFKJ57C.mjs.map → chunk-LHBMBCFC.mjs.map} +0 -0
  369. /package/dist/esm/{chunk-37Y54PJ5.mjs.map → chunk-LYO22HMF.mjs.map} +0 -0
  370. /package/dist/esm/{chunk-4DNCQM3S.mjs.map → chunk-MBEWPBGN.mjs.map} +0 -0
  371. /package/dist/esm/{chunk-MOGPSSTD.mjs.map → chunk-ML7D2CVG.mjs.map} +0 -0
  372. /package/dist/esm/{chunk-GBVRCWCD.mjs.map → chunk-NF7ZQQE3.mjs.map} +0 -0
  373. /package/dist/esm/{chunk-YNT7JHMS.mjs.map → chunk-O4MRRWRI.mjs.map} +0 -0
  374. /package/dist/esm/{chunk-BLLHTGAP.mjs.map → chunk-OVI7L7OG.mjs.map} +0 -0
  375. /package/dist/esm/{chunk-LAAFLCDM.mjs.map → chunk-P2FTRAK3.mjs.map} +0 -0
  376. /package/dist/esm/{chunk-TM7OZT3W.mjs.map → chunk-Q3CWUEXI.mjs.map} +0 -0
  377. /package/dist/esm/{chunk-F2AIWA7L.mjs.map → chunk-RC43EXC4.mjs.map} +0 -0
  378. /package/dist/esm/{chunk-NARS3JDH.mjs.map → chunk-RLH25IDA.mjs.map} +0 -0
  379. /package/dist/esm/{chunk-HFWFDS6Y.mjs.map → chunk-RSO5YIDW.mjs.map} +0 -0
  380. /package/dist/esm/{chunk-KT3DT5GV.mjs.map → chunk-SPX2YFZN.mjs.map} +0 -0
  381. /package/dist/esm/{chunk-AHWZA3GD.mjs.map → chunk-SY4HK6CC.mjs.map} +0 -0
  382. /package/dist/esm/{chunk-II654QZU.mjs.map → chunk-TGW36YOD.mjs.map} +0 -0
  383. /package/dist/esm/{chunk-FXUI3SSD.mjs.map → chunk-TQA6HY6A.mjs.map} +0 -0
  384. /package/dist/esm/{chunk-KA5FX53Q.mjs.map → chunk-U3GE6IPF.mjs.map} +0 -0
  385. /package/dist/esm/{chunk-JDNI5VIJ.mjs.map → chunk-UKVH4UGL.mjs.map} +0 -0
  386. /package/dist/esm/{chunk-H457BI3I.mjs.map → chunk-UWLW2VLZ.mjs.map} +0 -0
  387. /package/dist/esm/{chunk-2NHQQQZK.mjs.map → chunk-VGITSRT6.mjs.map} +0 -0
  388. /package/dist/esm/{chunk-L2SDI7PI.mjs.map → chunk-VGJIATTB.mjs.map} +0 -0
  389. /package/dist/esm/{chunk-NHKAQRJB.mjs.map → chunk-X7JNNNMC.mjs.map} +0 -0
  390. /package/dist/esm/{chunk-KUL55M2H.mjs.map → chunk-YIQ3JFHW.mjs.map} +0 -0
  391. /package/dist/esm/{chunk-WGIYSLH6.mjs.map → chunk-YP3VO6GM.mjs.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{a as O,b as _}from"./chunk-FXUI3SSD.mjs";import{d as E}from"./chunk-YZ3YPLEU.mjs";import{a as R}from"./chunk-7WXDXBXK.mjs";import{a as P,b as w}from"./chunk-LAAFLCDM.mjs";import{a as I}from"./chunk-YPBNYKOD.mjs";import{i as T,j as b,k as x,n as g,q as v,s as k}from"./chunk-XUP6VABV.mjs";import{b as m}from"./chunk-JNO7KPMG.mjs";import{d as r}from"./chunk-F45G3GP3.mjs";import{a as K}from"./chunk-AJ5JHBAE.mjs";import{b as h}from"./chunk-SPRNSFUV.mjs";import{e as F}from"./chunk-V4FKFCBL.mjs";import C from"eventemitter3";import{jwtDecode as D}from"jwt-decode";function se(f){return f!=null&&typeof f.checkKeylessAccountValidity=="function"}var p=class p extends K{constructor(e){super();let{address:i,ephemeralKeyPair:t,publicKey:o,uidKey:y,uidVal:n,aud:c,pepper:s,proof:a,proofFetchCallback:l,jwt:d,verificationKeyHash:u}=e;if(this.ephemeralKeyPair=t,this.publicKey=o,this.accountAddress=i?m.from(i):this.publicKey.authKey().derivedAddress(),this.uidKey=y,this.uidVal=n,this.aud=c,this.jwt=d,this.emitter=new C,this.proofOrPromise=a,a instanceof g)this.proof=a;else{if(l===void 0)throw new Error("Must provide callback for async proof fetch");this.emitter.on("proofFetchFinish",async N=>{await l(N),this.emitter.removeAllListeners()}),this.init(a)}this.signingScheme=2;let S=h.fromHexInput(s).toUint8Array();if(S.length!==p.PEPPER_LENGTH)throw new Error(`Pepper length in bytes should be ${p.PEPPER_LENGTH}`);if(this.pepper=S,u!==void 0){if(h.hexInputToUint8Array(u).length!==32)throw new Error("verificationKeyHash must be 32 bytes");this.verificationKeyHash=h.hexInputToUint8Array(u)}}async init(e){try{this.proof=await e,this.emitter.emit("proofFetchFinish",{status:"Success"})}catch(i){i instanceof Error?this.emitter.emit("proofFetchFinish",{status:"Failed",error:i.toString()}):this.emitter.emit("proofFetchFinish",{status:"Failed",error:"Unknown"})}}serialize(e){if(this.accountAddress.serialize(e),e.serializeStr(this.jwt),e.serializeStr(this.uidKey),e.serializeFixedBytes(this.pepper),this.ephemeralKeyPair.serialize(e),this.proof===void 0)throw new Error("Cannot serialize - proof undefined");this.proof.serialize(e),e.serializeOption(this.verificationKeyHash,32)}static partialDeserialize(e){let i=m.deserialize(e),t=e.deserializeStr(),o=e.deserializeStr(),y=e.deserializeFixedBytes(31),n=R.deserialize(e),c=g.deserialize(e),s=e.deserializeOption("fixedBytes",32);return{address:i,jwt:t,uidKey:o,pepper:y,ephemeralKeyPair:n,proof:c,verificationKeyHash:s}}isExpired(){return this.ephemeralKeyPair.isExpired()}signWithAuthenticator(e){let i=new w(this.sign(e)),t=new P(this.publicKey);return new E(t,i)}signTransactionWithAuthenticator(e){let i=new w(this.signTransaction(e)),t=new P(this.publicKey);return new E(t,i)}async waitForProofFetch(){this.proofOrPromise instanceof Promise&&await this.proofOrPromise}async checkKeylessAccountValidity(e){if(this.isExpired())throw r.fromErrorType({type:0});if(await this.waitForProofFetch(),this.proof===void 0)throw r.fromErrorType({type:2});let i=D(this.jwt,{header:!0});if(i.kid===void 0)throw r.fromErrorType({type:12,details:"checkKeylessAccountValidity failed. JWT is missing 'kid' in header. This should never happen."});if(this.verificationKeyHash!==void 0){let{verificationKey:t}=await v({aptosConfig:e});if(h.hexInputToString(t.hash())!==h.hexInputToString(this.verificationKeyHash))throw r.fromErrorType({type:4})}else console.warn("[Aptos SDK] The verification key hash was not set. Proof may be invalid if the verification key has rotated.");await p.fetchJWK({aptosConfig:e,publicKey:this.publicKey,kid:i.kid})}sign(e){let{expiryDateSecs:i}=this.ephemeralKeyPair;if(this.isExpired())throw r.fromErrorType({type:0});if(this.proof===void 0)throw r.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let t=this.ephemeralKeyPair.getPublicKey(),o=this.ephemeralKeyPair.sign(e);return new b({jwtHeader:F(this.jwt.split(".")[0]),ephemeralCertificate:new x(this.proof,0),expiryDateSecs:i,ephemeralPublicKey:t,ephemeralSignature:o})}signTransaction(e){if(this.proof===void 0)throw r.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let i=O(e),o=new A(i,this.proof.proof).hash();return this.sign(o)}verifySignature(e){let{message:i,signature:t}=e;return!(this.isExpired()||!this.ephemeralKeyPair.getPublicKey().verifySignature({message:i,signature:t.ephemeralSignature}))}static async fetchJWK(e){let{aptosConfig:i,publicKey:t,kid:o}=e,y=t instanceof T?t:t.keylessPublicKey,{iss:n}=y,c,s=t instanceof I?t.jwkAddress:void 0;try{c=await k({aptosConfig:i,jwkAddr:s})}catch(d){throw r.fromErrorType({type:24,error:d,details:`Failed to fetch ${s?"Federated":"Patched"}JWKs ${s?`for address ${s}`:"0x1"}`})}let a=c.get(n);if(a===void 0)throw r.fromErrorType({type:7,details:`JWKs for issuer ${n} not found.`});let l=a.find(d=>d.kid===o);if(l===void 0)throw r.fromErrorType({type:6,details:`JWK with kid '${o}' for issuer '${n}' not found.`});return l}};p.PEPPER_LENGTH=31;var H=p,A=class extends K{constructor(i,t){super();this.domainSeparator="APTOS::TransactionAndProof";this.transaction=i,this.proof=t}serialize(i){i.serializeFixedBytes(this.transaction.bcsToBytes()),i.serializeOption(this.proof)}hash(){return _(this.bcsToBytes(),this.domainSeparator)}};export{se as a,H as b,A as c};
2
- //# sourceMappingURL=chunk-H457BI3I.mjs.map
1
+ import{a as O,b as _}from"./chunk-TQA6HY6A.mjs";import{d as E}from"./chunk-DYELAVMR.mjs";import{a as R}from"./chunk-EJKX6MGV.mjs";import{a as P,b as w}from"./chunk-P2FTRAK3.mjs";import{a as I}from"./chunk-IQ4SCMB6.mjs";import{i as T,j as b,k as x,n as g,q as v,s as k}from"./chunk-K62JTXWQ.mjs";import{b as m}from"./chunk-JNO7KPMG.mjs";import{d as r}from"./chunk-F45G3GP3.mjs";import{e as F}from"./chunk-V4FKFCBL.mjs";import{a as K}from"./chunk-AJ5JHBAE.mjs";import{b as h}from"./chunk-SPRNSFUV.mjs";import C from"eventemitter3";import{jwtDecode as D}from"jwt-decode";function se(f){return f!=null&&typeof f.checkKeylessAccountValidity=="function"}var p=class p extends K{constructor(e){super();let{address:i,ephemeralKeyPair:t,publicKey:o,uidKey:y,uidVal:n,aud:c,pepper:s,proof:a,proofFetchCallback:l,jwt:d,verificationKeyHash:u}=e;if(this.ephemeralKeyPair=t,this.publicKey=o,this.accountAddress=i?m.from(i):this.publicKey.authKey().derivedAddress(),this.uidKey=y,this.uidVal=n,this.aud=c,this.jwt=d,this.emitter=new C,this.proofOrPromise=a,a instanceof g)this.proof=a;else{if(l===void 0)throw new Error("Must provide callback for async proof fetch");this.emitter.on("proofFetchFinish",async N=>{await l(N),this.emitter.removeAllListeners()}),this.init(a)}this.signingScheme=2;let S=h.fromHexInput(s).toUint8Array();if(S.length!==p.PEPPER_LENGTH)throw new Error(`Pepper length in bytes should be ${p.PEPPER_LENGTH}`);if(this.pepper=S,u!==void 0){if(h.hexInputToUint8Array(u).length!==32)throw new Error("verificationKeyHash must be 32 bytes");this.verificationKeyHash=h.hexInputToUint8Array(u)}}async init(e){try{this.proof=await e,this.emitter.emit("proofFetchFinish",{status:"Success"})}catch(i){i instanceof Error?this.emitter.emit("proofFetchFinish",{status:"Failed",error:i.toString()}):this.emitter.emit("proofFetchFinish",{status:"Failed",error:"Unknown"})}}serialize(e){if(this.accountAddress.serialize(e),e.serializeStr(this.jwt),e.serializeStr(this.uidKey),e.serializeFixedBytes(this.pepper),this.ephemeralKeyPair.serialize(e),this.proof===void 0)throw new Error("Cannot serialize - proof undefined");this.proof.serialize(e),e.serializeOption(this.verificationKeyHash,32)}static partialDeserialize(e){let i=m.deserialize(e),t=e.deserializeStr(),o=e.deserializeStr(),y=e.deserializeFixedBytes(31),n=R.deserialize(e),c=g.deserialize(e),s=e.deserializeOption("fixedBytes",32);return{address:i,jwt:t,uidKey:o,pepper:y,ephemeralKeyPair:n,proof:c,verificationKeyHash:s}}isExpired(){return this.ephemeralKeyPair.isExpired()}signWithAuthenticator(e){let i=new w(this.sign(e)),t=new P(this.publicKey);return new E(t,i)}signTransactionWithAuthenticator(e){let i=new w(this.signTransaction(e)),t=new P(this.publicKey);return new E(t,i)}async waitForProofFetch(){this.proofOrPromise instanceof Promise&&await this.proofOrPromise}async checkKeylessAccountValidity(e){if(this.isExpired())throw r.fromErrorType({type:0});if(await this.waitForProofFetch(),this.proof===void 0)throw r.fromErrorType({type:2});let i=D(this.jwt,{header:!0});if(i.kid===void 0)throw r.fromErrorType({type:12,details:"checkKeylessAccountValidity failed. JWT is missing 'kid' in header. This should never happen."});if(this.verificationKeyHash!==void 0){let{verificationKey:t}=await v({aptosConfig:e});if(h.hexInputToString(t.hash())!==h.hexInputToString(this.verificationKeyHash))throw r.fromErrorType({type:4})}else console.warn("[Aptos SDK] The verification key hash was not set. Proof may be invalid if the verification key has rotated.");await p.fetchJWK({aptosConfig:e,publicKey:this.publicKey,kid:i.kid})}sign(e){let{expiryDateSecs:i}=this.ephemeralKeyPair;if(this.isExpired())throw r.fromErrorType({type:0});if(this.proof===void 0)throw r.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let t=this.ephemeralKeyPair.getPublicKey(),o=this.ephemeralKeyPair.sign(e);return new b({jwtHeader:F(this.jwt.split(".")[0]),ephemeralCertificate:new x(this.proof,0),expiryDateSecs:i,ephemeralPublicKey:t,ephemeralSignature:o})}signTransaction(e){if(this.proof===void 0)throw r.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let i=O(e),o=new A(i,this.proof.proof).hash();return this.sign(o)}verifySignature(e){let{message:i,signature:t}=e;return!(this.isExpired()||!this.ephemeralKeyPair.getPublicKey().verifySignature({message:i,signature:t.ephemeralSignature}))}static async fetchJWK(e){let{aptosConfig:i,publicKey:t,kid:o}=e,y=t instanceof T?t:t.keylessPublicKey,{iss:n}=y,c,s=t instanceof I?t.jwkAddress:void 0;try{c=await k({aptosConfig:i,jwkAddr:s})}catch(d){throw r.fromErrorType({type:24,error:d,details:`Failed to fetch ${s?"Federated":"Patched"}JWKs ${s?`for address ${s}`:"0x1"}`})}let a=c.get(n);if(a===void 0)throw r.fromErrorType({type:7,details:`JWKs for issuer ${n} not found.`});let l=a.find(d=>d.kid===o);if(l===void 0)throw r.fromErrorType({type:6,details:`JWK with kid '${o}' for issuer '${n}' not found.`});return l}};p.PEPPER_LENGTH=31;var H=p,A=class extends K{constructor(i,t){super();this.domainSeparator="APTOS::TransactionAndProof";this.transaction=i,this.proof=t}serialize(i){i.serializeFixedBytes(this.transaction.bcsToBytes()),i.serializeOption(this.proof)}hash(){return _(this.bcsToBytes(),this.domainSeparator)}};export{se as a,H as b,A as c};
2
+ //# sourceMappingURL=chunk-UWLW2VLZ.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-HXXELLHN.mjs";var t=class{constructor(n){this.config=n}async transferCoinTransaction(n){return o({aptosConfig:this.config,...n})}};export{t as a};
2
- //# sourceMappingURL=chunk-2NHQQQZK.mjs.map
1
+ import{a as o}from"./chunk-ERDYU5YQ.mjs";var t=class{constructor(n){this.config=n}async transferCoinTransaction(n){return o({aptosConfig:this.config,...n})}};export{t as a};
2
+ //# sourceMappingURL=chunk-VGITSRT6.mjs.map
@@ -1,2 +1,2 @@
1
- import{a as d}from"./chunk-5B3SMBXQ.mjs";import{a as x}from"./chunk-AVZYJAXR.mjs";import{b}from"./chunk-MHN6XY4Z.mjs";import{a as U}from"./chunk-4O5XDQDO.mjs";import{d as A,f as v,g as S,h as E,i as H,j as P}from"./chunk-OIOGOW6I.mjs";import{a as K}from"./chunk-AKIO3OIT.mjs";import{a as p}from"./chunk-AJ5JHBAE.mjs";import{b as o}from"./chunk-SPRNSFUV.mjs";import{ed25519 as y}from"@noble/curves/ed25519";var m=[237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16];function T(I){let e=I.toUint8Array().slice(32);for(let t=m.length-1;t>=0;t-=1){if(e[t]<m[t])return!0;if(e[t]>m[t])return!1}return!1}var n=class n extends b{constructor(e){super();let t=o.fromHexInput(e);if(t.toUint8Array().length!==n.LENGTH)throw new Error(`PublicKey length should be ${n.LENGTH}`);this.key=t}verifySignature(e){let{message:t,signature:i}=e;if(!T(i))return!1;let a=d(t),c=o.fromHexInput(a).toUint8Array(),u=i.toUint8Array(),l=this.key.toUint8Array();return y.verify(u,c,l)}authKey(){return K.fromSchemeAndBytes({scheme:0,input:this.toUint8Array()})}toUint8Array(){return this.key.toUint8Array()}serialize(e){e.serializeBytes(this.key.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new n(t)}static isPublicKey(e){return e instanceof n}static isInstance(e){return"key"in e&&e.key?.data?.length===n.LENGTH}};n.LENGTH=32;var f=n,r=class r extends p{constructor(e,t){super();let i=x.parseHexInput(e,"ed25519",t);if(i.toUint8Array().length!==r.LENGTH)throw new Error(`PrivateKey length should be ${r.LENGTH}`);this.signingKey=i}static generate(){let e=y.utils.randomPrivateKey();return new r(e,!1)}static fromDerivationPath(e,t){if(!v(e))throw new Error(`Invalid derivation path ${e}`);return r.fromDerivationPathInner(e,P(t))}static fromDerivationPathInner(e,t,i=A){let{key:a,chainCode:c}=S(r.SLIP_0010_SEED,t),u=H(e).map(g=>parseInt(g,10)),{key:l}=u.reduce((g,w)=>E(g,w+i),{key:a,chainCode:c});return new r(l,!1)}publicKey(){let e=y.getPublicKey(this.signingKey.toUint8Array());return new f(e)}sign(e){let t=d(e),i=o.fromHexInput(t).toUint8Array(),a=y.sign(i,this.signingKey.toUint8Array());return new h(a)}toUint8Array(){return this.signingKey.toUint8Array()}toString(){return this.toHexString()}toHexString(){return this.signingKey.toString()}toAIP80String(){return x.formatPrivateKey(this.signingKey.toString(),"ed25519")}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new r(t,!1)}static isPrivateKey(e){return e instanceof r}};r.LENGTH=32,r.SLIP_0010_SEED="ed25519 seed";var z=r,s=class s extends U{constructor(e){super();let t=o.fromHexInput(e);if(t.toUint8Array().length!==s.LENGTH)throw new Error(`Signature length should be ${s.LENGTH}`);this.data=t}toUint8Array(){return this.data.toUint8Array()}serialize(e){e.serializeBytes(this.data.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new s(t)}};s.LENGTH=64;var h=s;export{T as a,f as b,z as c,h as d};
2
- //# sourceMappingURL=chunk-L2SDI7PI.mjs.map
1
+ import{a as U}from"./chunk-4O5XDQDO.mjs";import{a as d}from"./chunk-5B3SMBXQ.mjs";import{a as x}from"./chunk-AVZYJAXR.mjs";import{b}from"./chunk-MHN6XY4Z.mjs";import{d as A,f as v,g as S,h as E,i as H,j as P}from"./chunk-OIOGOW6I.mjs";import{a as K}from"./chunk-AKIO3OIT.mjs";import{a as p}from"./chunk-AJ5JHBAE.mjs";import{b as o}from"./chunk-SPRNSFUV.mjs";import{ed25519 as y}from"@noble/curves/ed25519";var m=[237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16];function T(I){let e=I.toUint8Array().slice(32);for(let t=m.length-1;t>=0;t-=1){if(e[t]<m[t])return!0;if(e[t]>m[t])return!1}return!1}var n=class n extends b{constructor(e){super();let t=o.fromHexInput(e);if(t.toUint8Array().length!==n.LENGTH)throw new Error(`PublicKey length should be ${n.LENGTH}`);this.key=t}verifySignature(e){let{message:t,signature:i}=e;if(!T(i))return!1;let a=d(t),c=o.fromHexInput(a).toUint8Array(),u=i.toUint8Array(),l=this.key.toUint8Array();return y.verify(u,c,l)}authKey(){return K.fromSchemeAndBytes({scheme:0,input:this.toUint8Array()})}toUint8Array(){return this.key.toUint8Array()}serialize(e){e.serializeBytes(this.key.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new n(t)}static isPublicKey(e){return e instanceof n}static isInstance(e){return"key"in e&&e.key?.data?.length===n.LENGTH}};n.LENGTH=32;var f=n,r=class r extends p{constructor(e,t){super();let i=x.parseHexInput(e,"ed25519",t);if(i.toUint8Array().length!==r.LENGTH)throw new Error(`PrivateKey length should be ${r.LENGTH}`);this.signingKey=i}static generate(){let e=y.utils.randomPrivateKey();return new r(e,!1)}static fromDerivationPath(e,t){if(!v(e))throw new Error(`Invalid derivation path ${e}`);return r.fromDerivationPathInner(e,P(t))}static fromDerivationPathInner(e,t,i=A){let{key:a,chainCode:c}=S(r.SLIP_0010_SEED,t),u=H(e).map(g=>parseInt(g,10)),{key:l}=u.reduce((g,w)=>E(g,w+i),{key:a,chainCode:c});return new r(l,!1)}publicKey(){let e=y.getPublicKey(this.signingKey.toUint8Array());return new f(e)}sign(e){let t=d(e),i=o.fromHexInput(t).toUint8Array(),a=y.sign(i,this.signingKey.toUint8Array());return new h(a)}toUint8Array(){return this.signingKey.toUint8Array()}toString(){return this.toHexString()}toHexString(){return this.signingKey.toString()}toAIP80String(){return x.formatPrivateKey(this.signingKey.toString(),"ed25519")}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new r(t,!1)}static isPrivateKey(e){return e instanceof r}};r.LENGTH=32,r.SLIP_0010_SEED="ed25519 seed";var z=r,s=class s extends U{constructor(e){super();let t=o.fromHexInput(e);if(t.toUint8Array().length!==s.LENGTH)throw new Error(`Signature length should be ${s.LENGTH}`);this.data=t}toUint8Array(){return this.data.toUint8Array()}serialize(e){e.serializeBytes(this.data.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new s(t)}};s.LENGTH=64;var h=s;export{T as a,f as b,z as c,h as d};
2
+ //# sourceMappingURL=chunk-VGJIATTB.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as _}from"./chunk-SY4HK6CC.mjs";import{g}from"./chunk-FYYTCJS4.mjs";import{a as C}from"./chunk-LHBMBCFC.mjs";import{a as l}from"./chunk-YP3VO6GM.mjs";import{a as v}from"./chunk-IQ4SCMB6.mjs";import{i as k,l as E,m as S,n as b,q as y}from"./chunk-K62JTXWQ.mjs";import{b as h}from"./chunk-GX4CYRK4.mjs";import{e as A,f as x}from"./chunk-LGHPJTF3.mjs";import{d as K}from"./chunk-F45G3GP3.mjs";import{j as w}from"./chunk-J7PJSK3J.mjs";import{a as u}from"./chunk-Q3CWUEXI.mjs";import{b as f}from"./chunk-SPRNSFUV.mjs";import{jwtDecode as T}from"jwt-decode";async function j(r){let{aptosConfig:i,jwt:a,ephemeralKeyPair:e,uidKey:p="sub",derivationPath:s}=r,t={jwt_b64:a,epk:e.getPublicKey().bcsToHex().toStringWithoutPrefix(),exp_date_secs:e.expiryDateSecs,epk_blinder:f.fromHexInput(e.blinder).toStringWithoutPrefix(),uid_key:p,derivation_path:s},{data:n}=await A({aptosConfig:i,path:"fetch",body:t,originMethod:"getPepper",overrides:{WITH_CREDENTIALS:!1}});return f.fromHexInput(n.pepper).toUint8Array()}async function F(r){let{aptosConfig:i,jwt:a,ephemeralKeyPair:e,pepper:p=await j(r),uidKey:s="sub",maxExpHorizonSecs:t=(await y({aptosConfig:i})).maxExpHorizonSecs}=r;if(f.fromHexInput(p).toUint8Array().length!==l.PEPPER_LENGTH)throw new Error(`Pepper needs to be ${l.PEPPER_LENGTH} bytes`);let n=T(a);if(typeof n.iat!="number")throw new Error("iat was not found");if(t<e.expiryDateSecs-n.iat)throw Error(`The EphemeralKeyPair is too long lived. It's lifespan must be less than ${t}`);let o={jwt_b64:a,epk:e.getPublicKey().bcsToHex().toStringWithoutPrefix(),epk_blinder:f.fromHexInput(e.blinder).toStringWithoutPrefix(),exp_date_secs:e.expiryDateSecs,exp_horizon_secs:t,pepper:f.fromHexInput(p).toStringWithoutPrefix(),uid_key:s},{data:c}=await x({aptosConfig:i,path:"prove",body:o,originMethod:"getProof",overrides:{WITH_CREDENTIALS:!1}}),d=c.proof,m=new E({a:d.a,b:d.b,c:d.c});return new b({proof:new S(m,0),trainingWheelsSignature:h.fromHex(c.training_wheels_signature),expHorizonSecs:t})}async function oe(r){let{aptosConfig:i,jwt:a,jwkAddress:e,uidKey:p,proofFetchCallback:s,pepper:t=await j(r)}=r,{verificationKey:n,maxExpHorizonSecs:o}=await y({aptosConfig:i}),c=F({...r,pepper:t,maxExpHorizonSecs:o}),d=s?c:await c;if(e!==void 0){let H=v.fromJwtAndPepper({jwt:a,pepper:t,jwkAddress:e,uidKey:p}),I=await g({aptosConfig:i,authenticationKey:H.authKey().derivedAddress()});return C.create({...r,address:I,proof:d,pepper:t,proofFetchCallback:s,jwkAddress:e,verificationKey:n})}let m=k.fromJwtAndPepper({jwt:a,pepper:t,uidKey:p}),P=await g({aptosConfig:i,authenticationKey:m.authKey().derivedAddress()});return l.create({...r,address:P,proof:d,pepper:t,proofFetchCallback:s,verificationKey:n})}async function re(r){let{aptosConfig:i,sender:a,iss:e,options:p}=r,{jwksUrl:s}=r;s===void 0&&(w.test(e)?s="https://www.googleapis.com/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com":s=e.endsWith("/")?`${e}.well-known/jwks.json`:`${e}/.well-known/jwks.json`);let t;try{if(t=await fetch(s),!t.ok)throw new Error(`${t.status} ${t.statusText}`)}catch(o){let c;throw o instanceof Error?c=`${o.message}`:c=`error unknown - ${o}`,K.fromErrorType({type:14,details:`Failed to fetch JWKS at ${s}: ${c}`})}let n=await t.json();return _({aptosConfig:i,sender:a.accountAddress,data:{function:"0x1::jwks::update_federated_jwk_set",functionArguments:[e,u.MoveString(n.keys.map(o=>o.kid)),u.MoveString(n.keys.map(o=>o.alg)),u.MoveString(n.keys.map(o=>o.e)),u.MoveString(n.keys.map(o=>o.n))]},options:p})}export{j as a,F as b,oe as c,re as d};
2
+ //# sourceMappingURL=chunk-WYOFF5DJ.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/internal/keyless.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\n/**\n * This file contains the underlying implementations for exposed API surface in\n * the {@link api/keyless}. By moving the methods out into a separate file,\n * other namespaces and processes can access these methods without depending on the entire\n * keyless namespace and without having a dependency cycle error.\n */\nimport { jwtDecode, JwtPayload } from \"jwt-decode\";\nimport { AptosConfig } from \"../api/aptosConfig\";\nimport { postAptosPepperService, postAptosProvingService } from \"../client\";\nimport {\n AccountAddressInput,\n EphemeralSignature,\n Groth16Zkp,\n Hex,\n KeylessPublicKey,\n MoveJWK,\n ZeroKnowledgeSig,\n ZkProof,\n getKeylessConfig,\n} from \"../core\";\nimport { HexInput, ZkpVariant } from \"../types\";\nimport { Account, EphemeralKeyPair, KeylessAccount, ProofFetchCallback } from \"../account\";\nimport { PepperFetchRequest, PepperFetchResponse, ProverRequest, ProverResponse } from \"../types/keyless\";\nimport { lookupOriginalAccountAddress } from \"./account\";\nimport { FederatedKeylessPublicKey } from \"../core/crypto/federatedKeyless\";\nimport { FederatedKeylessAccount } from \"../account/FederatedKeylessAccount\";\nimport { MoveVector } from \"../bcs\";\nimport { generateTransaction } from \"./transactionSubmission\";\nimport { InputGenerateTransactionOptions, SimpleTransaction } from \"../transactions\";\nimport { KeylessError, KeylessErrorType } from \"../errors\";\nimport { FIREBASE_AUTH_ISS_PATTERN } from \"../utils/const\";\n\n/**\n * Retrieves a pepper value based on the provided configuration and authentication details.\n *\n * @param args - The arguments required to fetch the pepper.\n * @param args.aptosConfig - The configuration object for Aptos.\n * @param args.jwt - The JSON Web Token used for authentication.\n * @param args.ephemeralKeyPair - The ephemeral key pair used for the operation.\n * @param args.uidKey - An optional unique identifier key (defaults to \"sub\").\n * @param args.derivationPath - An optional derivation path for the key.\n * @returns A Uint8Array containing the fetched pepper value.\n */\nexport async function getPepper(args: {\n aptosConfig: AptosConfig;\n jwt: string;\n ephemeralKeyPair: EphemeralKeyPair;\n uidKey?: string;\n derivationPath?: string;\n}): Promise<Uint8Array> {\n const { aptosConfig, jwt, ephemeralKeyPair, uidKey = \"sub\", derivationPath } = args;\n\n const body = {\n jwt_b64: jwt,\n epk: ephemeralKeyPair.getPublicKey().bcsToHex().toStringWithoutPrefix(),\n exp_date_secs: ephemeralKeyPair.expiryDateSecs,\n epk_blinder: Hex.fromHexInput(ephemeralKeyPair.blinder).toStringWithoutPrefix(),\n uid_key: uidKey,\n derivation_path: derivationPath,\n };\n const { data } = await postAptosPepperService<PepperFetchRequest, PepperFetchResponse>({\n aptosConfig,\n path: \"fetch\",\n body,\n originMethod: \"getPepper\",\n overrides: { WITH_CREDENTIALS: false },\n });\n return Hex.fromHexInput(data.pepper).toUint8Array();\n}\n\n/**\n * Generates a zero-knowledge proof based on the provided parameters.\n * This function is essential for creating a signed proof that can be used in various cryptographic operations.\n *\n * @param args - The parameters required to generate the proof.\n * @param args.aptosConfig - The configuration settings for Aptos.\n * @param args.jwt - The JSON Web Token used for authentication.\n * @param args.ephemeralKeyPair - The ephemeral key pair used for generating the proof.\n * @param args.pepper - An optional hex input used to enhance security (default is generated if not provided).\n * @param args.uidKey - An optional string that specifies the unique identifier key (defaults to \"sub\").\n * @throws Error if the pepper length is not valid or if the ephemeral key pair's lifespan exceeds the maximum allowed.\n */\nexport async function getProof(args: {\n aptosConfig: AptosConfig;\n jwt: string;\n ephemeralKeyPair: EphemeralKeyPair;\n pepper?: HexInput;\n uidKey?: string;\n maxExpHorizonSecs?: number;\n}): Promise<ZeroKnowledgeSig> {\n const {\n aptosConfig,\n jwt,\n ephemeralKeyPair,\n pepper = await getPepper(args),\n uidKey = \"sub\",\n maxExpHorizonSecs = (await getKeylessConfig({ aptosConfig })).maxExpHorizonSecs,\n } = args;\n if (Hex.fromHexInput(pepper).toUint8Array().length !== KeylessAccount.PEPPER_LENGTH) {\n throw new Error(`Pepper needs to be ${KeylessAccount.PEPPER_LENGTH} bytes`);\n }\n const decodedJwt = jwtDecode<JwtPayload>(jwt);\n if (typeof decodedJwt.iat !== \"number\") {\n throw new Error(\"iat was not found\");\n }\n if (maxExpHorizonSecs < ephemeralKeyPair.expiryDateSecs - decodedJwt.iat) {\n throw Error(`The EphemeralKeyPair is too long lived. It's lifespan must be less than ${maxExpHorizonSecs}`);\n }\n const json = {\n jwt_b64: jwt,\n epk: ephemeralKeyPair.getPublicKey().bcsToHex().toStringWithoutPrefix(),\n epk_blinder: Hex.fromHexInput(ephemeralKeyPair.blinder).toStringWithoutPrefix(),\n exp_date_secs: ephemeralKeyPair.expiryDateSecs,\n exp_horizon_secs: maxExpHorizonSecs,\n pepper: Hex.fromHexInput(pepper).toStringWithoutPrefix(),\n uid_key: uidKey,\n };\n\n const { data } = await postAptosProvingService<ProverRequest, ProverResponse>({\n aptosConfig,\n path: \"prove\",\n body: json,\n originMethod: \"getProof\",\n overrides: { WITH_CREDENTIALS: false },\n });\n\n const proofPoints = data.proof;\n const groth16Zkp = new Groth16Zkp({\n a: proofPoints.a,\n b: proofPoints.b,\n c: proofPoints.c,\n });\n\n const signedProof = new ZeroKnowledgeSig({\n proof: new ZkProof(groth16Zkp, ZkpVariant.Groth16),\n trainingWheelsSignature: EphemeralSignature.fromHex(data.training_wheels_signature),\n expHorizonSecs: maxExpHorizonSecs,\n });\n return signedProof;\n}\n\n/**\n * Derives a keyless account by fetching the necessary proof and looking up the original account address.\n * This function helps in creating a keyless account that can be used without managing private keys directly.\n *\n * @param args - The arguments required to derive the keyless account.\n * @param args.aptosConfig - The configuration settings for Aptos.\n * @param args.jwt - The JSON Web Token used for authentication.\n * @param args.ephemeralKeyPair - The ephemeral key pair used for cryptographic operations.\n * @param args.uidKey - An optional unique identifier key for the user.\n * @param args.pepper - An optional hexadecimal input used for additional security.\n * @param args.proofFetchCallback - An optional callback function to handle the proof fetch outcome.\n * @returns A keyless account object.\n */\nexport async function deriveKeylessAccount(args: {\n aptosConfig: AptosConfig;\n jwt: string;\n ephemeralKeyPair: EphemeralKeyPair;\n uidKey?: string;\n pepper?: HexInput;\n proofFetchCallback?: ProofFetchCallback;\n}): Promise<KeylessAccount>;\n\nexport async function deriveKeylessAccount(args: {\n aptosConfig: AptosConfig;\n jwt: string;\n ephemeralKeyPair: EphemeralKeyPair;\n jwkAddress: AccountAddressInput;\n uidKey?: string;\n pepper?: HexInput;\n proofFetchCallback?: ProofFetchCallback;\n}): Promise<FederatedKeylessAccount>;\n\nexport async function deriveKeylessAccount(args: {\n aptosConfig: AptosConfig;\n jwt: string;\n ephemeralKeyPair: EphemeralKeyPair;\n jwkAddress?: AccountAddressInput;\n uidKey?: string;\n pepper?: HexInput;\n proofFetchCallback?: ProofFetchCallback;\n}): Promise<KeylessAccount | FederatedKeylessAccount> {\n const { aptosConfig, jwt, jwkAddress, uidKey, proofFetchCallback, pepper = await getPepper(args) } = args;\n const { verificationKey, maxExpHorizonSecs } = await getKeylessConfig({ aptosConfig });\n\n const proofPromise = getProof({ ...args, pepper, maxExpHorizonSecs });\n // If a callback is provided, pass in the proof as a promise to KeylessAccount.create. This will make the proof be fetched in the\n // background and the callback will handle the outcome of the fetch. This allows the developer to not have to block on the proof fetch\n // allowing for faster rendering of UX.\n //\n // If no callback is provided, the just await the proof fetch and continue synchronously.\n const proof = proofFetchCallback ? proofPromise : await proofPromise;\n\n // Look up the original address to handle key rotations and then instantiate the account.\n if (jwkAddress !== undefined) {\n const publicKey = FederatedKeylessPublicKey.fromJwtAndPepper({ jwt, pepper, jwkAddress, uidKey });\n const address = await lookupOriginalAccountAddress({\n aptosConfig,\n authenticationKey: publicKey.authKey().derivedAddress(),\n });\n\n return FederatedKeylessAccount.create({\n ...args,\n address,\n proof,\n pepper,\n proofFetchCallback,\n jwkAddress,\n verificationKey,\n });\n }\n\n const publicKey = KeylessPublicKey.fromJwtAndPepper({ jwt, pepper, uidKey });\n const address = await lookupOriginalAccountAddress({\n aptosConfig,\n authenticationKey: publicKey.authKey().derivedAddress(),\n });\n return KeylessAccount.create({ ...args, address, proof, pepper, proofFetchCallback, verificationKey });\n}\n\nexport interface JWKS {\n keys: MoveJWK[];\n}\n\nexport async function updateFederatedKeylessJwkSetTransaction(args: {\n aptosConfig: AptosConfig;\n sender: Account;\n iss: string;\n jwksUrl?: string;\n options?: InputGenerateTransactionOptions;\n}): Promise<SimpleTransaction> {\n const { aptosConfig, sender, iss, options } = args;\n\n let { jwksUrl } = args;\n\n if (jwksUrl === undefined) {\n if (FIREBASE_AUTH_ISS_PATTERN.test(iss)) {\n jwksUrl = \"https://www.googleapis.com/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com\";\n } else {\n jwksUrl = iss.endsWith(\"/\") ? `${iss}.well-known/jwks.json` : `${iss}/.well-known/jwks.json`;\n }\n }\n\n let response: Response;\n\n try {\n response = await fetch(jwksUrl);\n if (!response.ok) {\n throw new Error(`${response.status} ${response.statusText}`);\n }\n } catch (error) {\n let errorMessage: string;\n if (error instanceof Error) {\n errorMessage = `${error.message}`;\n } else {\n errorMessage = `error unknown - ${error}`;\n }\n throw KeylessError.fromErrorType({\n type: KeylessErrorType.JWK_FETCH_FAILED_FEDERATED,\n details: `Failed to fetch JWKS at ${jwksUrl}: ${errorMessage}`,\n });\n }\n\n const jwks: JWKS = await response.json();\n return generateTransaction({\n aptosConfig,\n sender: sender.accountAddress,\n data: {\n function: \"0x1::jwks::update_federated_jwk_set\",\n functionArguments: [\n iss,\n MoveVector.MoveString(jwks.keys.map((key) => key.kid)),\n MoveVector.MoveString(jwks.keys.map((key) => key.alg)),\n MoveVector.MoveString(jwks.keys.map((key) => key.e)),\n MoveVector.MoveString(jwks.keys.map((key) => key.n)),\n ],\n },\n options,\n });\n}\n"],"mappings":"0gBASA,OAAS,aAAAA,MAA6B,aAqCtC,eAAsBC,EAAUC,EAMR,CACtB,GAAM,CAAE,YAAAC,EAAa,IAAAC,EAAK,iBAAAC,EAAkB,OAAAC,EAAS,MAAO,eAAAC,CAAe,EAAIL,EAEzEM,EAAO,CACX,QAASJ,EACT,IAAKC,EAAiB,aAAa,EAAE,SAAS,EAAE,sBAAsB,EACtE,cAAeA,EAAiB,eAChC,YAAaI,EAAI,aAAaJ,EAAiB,OAAO,EAAE,sBAAsB,EAC9E,QAASC,EACT,gBAAiBC,CACnB,EACM,CAAE,KAAAG,CAAK,EAAI,MAAMC,EAAgE,CACrF,YAAAR,EACA,KAAM,QACN,KAAAK,EACA,aAAc,YACd,UAAW,CAAE,iBAAkB,EAAM,CACvC,CAAC,EACD,OAAOC,EAAI,aAAaC,EAAK,MAAM,EAAE,aAAa,CACpD,CAcA,eAAsBE,EAASV,EAOD,CAC5B,GAAM,CACJ,YAAAC,EACA,IAAAC,EACA,iBAAAC,EACA,OAAAQ,EAAS,MAAMZ,EAAUC,CAAI,EAC7B,OAAAI,EAAS,MACT,kBAAAQ,GAAqB,MAAMC,EAAiB,CAAE,YAAAZ,CAAY,CAAC,GAAG,iBAChE,EAAID,EACJ,GAAIO,EAAI,aAAaI,CAAM,EAAE,aAAa,EAAE,SAAWG,EAAe,cACpE,MAAM,IAAI,MAAM,sBAAsBA,EAAe,aAAa,QAAQ,EAE5E,IAAMC,EAAaC,EAAsBd,CAAG,EAC5C,GAAI,OAAOa,EAAW,KAAQ,SAC5B,MAAM,IAAI,MAAM,mBAAmB,EAErC,GAAIH,EAAoBT,EAAiB,eAAiBY,EAAW,IACnE,MAAM,MAAM,4EAA4EH,CAAiB,EAAE,EAE7G,IAAMK,EAAO,CACX,QAASf,EACT,IAAKC,EAAiB,aAAa,EAAE,SAAS,EAAE,sBAAsB,EACtE,YAAaI,EAAI,aAAaJ,EAAiB,OAAO,EAAE,sBAAsB,EAC9E,cAAeA,EAAiB,eAChC,iBAAkBS,EAClB,OAAQL,EAAI,aAAaI,CAAM,EAAE,sBAAsB,EACvD,QAASP,CACX,EAEM,CAAE,KAAAI,CAAK,EAAI,MAAMU,EAAuD,CAC5E,YAAAjB,EACA,KAAM,QACN,KAAMgB,EACN,aAAc,WACd,UAAW,CAAE,iBAAkB,EAAM,CACvC,CAAC,EAEKE,EAAcX,EAAK,MACnBY,EAAa,IAAIC,EAAW,CAChC,EAAGF,EAAY,EACf,EAAGA,EAAY,EACf,EAAGA,EAAY,CACjB,CAAC,EAOD,OALoB,IAAIG,EAAiB,CACvC,MAAO,IAAIC,EAAQH,GAA8B,EACjD,wBAAyBI,EAAmB,QAAQhB,EAAK,yBAAyB,EAClF,eAAgBI,CAClB,CAAC,CAEH,CAkCA,eAAsBa,GAAqBzB,EAQW,CACpD,GAAM,CAAE,YAAAC,EAAa,IAAAC,EAAK,WAAAwB,EAAY,OAAAtB,EAAQ,mBAAAuB,EAAoB,OAAAhB,EAAS,MAAMZ,EAAUC,CAAI,CAAE,EAAIA,EAC/F,CAAE,gBAAA4B,EAAiB,kBAAAhB,CAAkB,EAAI,MAAMC,EAAiB,CAAE,YAAAZ,CAAY,CAAC,EAE/E4B,EAAenB,EAAS,CAAE,GAAGV,EAAM,OAAAW,EAAQ,kBAAAC,CAAkB,CAAC,EAM9DkB,EAAQH,EAAqBE,EAAe,MAAMA,EAGxD,GAAIH,IAAe,OAAW,CAC5B,IAAMK,EAAYC,EAA0B,iBAAiB,CAAE,IAAA9B,EAAK,OAAAS,EAAQ,WAAAe,EAAY,OAAAtB,CAAO,CAAC,EAC1F6B,EAAU,MAAMC,EAA6B,CACjD,YAAAjC,EACA,kBAAmB8B,EAAU,QAAQ,EAAE,eAAe,CACxD,CAAC,EAED,OAAOI,EAAwB,OAAO,CACpC,GAAGnC,EACH,QAAAiC,EACA,MAAAH,EACA,OAAAnB,EACA,mBAAAgB,EACA,WAAAD,EACA,gBAAAE,CACF,CAAC,CACH,CAEA,IAAMG,EAAYK,EAAiB,iBAAiB,CAAE,IAAAlC,EAAK,OAAAS,EAAQ,OAAAP,CAAO,CAAC,EACrE6B,EAAU,MAAMC,EAA6B,CACjD,YAAAjC,EACA,kBAAmB8B,EAAU,QAAQ,EAAE,eAAe,CACxD,CAAC,EACD,OAAOjB,EAAe,OAAO,CAAE,GAAGd,EAAM,QAAAiC,EAAS,MAAAH,EAAO,OAAAnB,EAAQ,mBAAAgB,EAAoB,gBAAAC,CAAgB,CAAC,CACvG,CAMA,eAAsBS,GAAwCrC,EAM/B,CAC7B,GAAM,CAAE,YAAAC,EAAa,OAAAqC,EAAQ,IAAAC,EAAK,QAAAC,CAAQ,EAAIxC,EAE1C,CAAE,QAAAyC,CAAQ,EAAIzC,EAEdyC,IAAY,SACVC,EAA0B,KAAKH,CAAG,EACpCE,EAAU,4FAEVA,EAAUF,EAAI,SAAS,GAAG,EAAI,GAAGA,CAAG,wBAA0B,GAAGA,CAAG,0BAIxE,IAAII,EAEJ,GAAI,CAEF,GADAA,EAAW,MAAM,MAAMF,CAAO,EAC1B,CAACE,EAAS,GACZ,MAAM,IAAI,MAAM,GAAGA,EAAS,MAAM,IAAIA,EAAS,UAAU,EAAE,CAE/D,OAASC,EAAO,CACd,IAAIC,EACJ,MAAID,aAAiB,MACnBC,EAAe,GAAGD,EAAM,OAAO,GAE/BC,EAAe,mBAAmBD,CAAK,GAEnCE,EAAa,cAAc,CAC/B,QACA,QAAS,2BAA2BL,CAAO,KAAKI,CAAY,EAC9D,CAAC,CACH,CAEA,IAAME,EAAa,MAAMJ,EAAS,KAAK,EACvC,OAAOK,EAAoB,CACzB,YAAA/C,EACA,OAAQqC,EAAO,eACf,KAAM,CACJ,SAAU,sCACV,kBAAmB,CACjBC,EACAU,EAAW,WAAWF,EAAK,KAAK,IAAKG,GAAQA,EAAI,GAAG,CAAC,EACrDD,EAAW,WAAWF,EAAK,KAAK,IAAKG,GAAQA,EAAI,GAAG,CAAC,EACrDD,EAAW,WAAWF,EAAK,KAAK,IAAKG,GAAQA,EAAI,CAAC,CAAC,EACnDD,EAAW,WAAWF,EAAK,KAAK,IAAKG,GAAQA,EAAI,CAAC,CAAC,CACrD,CACF,EACA,QAAAV,CACF,CAAC,CACH","names":["jwtDecode","getPepper","args","aptosConfig","jwt","ephemeralKeyPair","uidKey","derivationPath","body","Hex","data","postAptosPepperService","getProof","pepper","maxExpHorizonSecs","getKeylessConfig","KeylessAccount","decodedJwt","jwtDecode","json","postAptosProvingService","proofPoints","groth16Zkp","Groth16Zkp","ZeroKnowledgeSig","ZkProof","EphemeralSignature","deriveKeylessAccount","jwkAddress","proofFetchCallback","verificationKey","proofPromise","proof","publicKey","FederatedKeylessPublicKey","address","lookupOriginalAccountAddress","FederatedKeylessAccount","KeylessPublicKey","updateFederatedKeylessJwkSetTransaction","sender","iss","options","jwksUrl","FIREBASE_AUTH_ISS_PATTERN","response","error","errorMessage","KeylessError","jwks","generateTransaction","MoveVector","key"]}
@@ -1,2 +1,2 @@
1
- import{c as p}from"./chunk-XKOSS5KC.mjs";import{b as a}from"./chunk-WKNX43KN.mjs";import{b as s}from"./chunk-AJ5JHBAE.mjs";async function F(n){let{aptosConfig:e,payload:o,options:t}=n,i=await p({...o,aptosConfig:e}),r=new s;i.serialize(r);let u=r.toUint8Array(),{data:d}=await a({aptosConfig:e,path:"view",originMethod:"view",contentType:"application/x.aptos.view_function+bcs",params:{ledger_version:t?.ledgerVersion},body:u});return d}async function M(n){let{aptosConfig:e,payload:o,options:t}=n,{data:i}=await a({aptosConfig:e,originMethod:"viewJson",path:"view",params:{ledger_version:t?.ledgerVersion},body:{function:o.function,type_arguments:o.typeArguments??[],arguments:o.functionArguments??[]}});return i}export{F as a,M as b};
2
- //# sourceMappingURL=chunk-NHKAQRJB.mjs.map
1
+ import{c as p}from"./chunk-26WX3UFP.mjs";import{b as a}from"./chunk-LGHPJTF3.mjs";import{b as s}from"./chunk-AJ5JHBAE.mjs";async function F(n){let{aptosConfig:e,payload:o,options:t}=n,i=await p({...o,aptosConfig:e}),r=new s;i.serialize(r);let u=r.toUint8Array(),{data:d}=await a({aptosConfig:e,path:"view",originMethod:"view",contentType:"application/x.aptos.view_function+bcs",params:{ledger_version:t?.ledgerVersion},body:u});return d}async function M(n){let{aptosConfig:e,payload:o,options:t}=n,{data:i}=await a({aptosConfig:e,originMethod:"viewJson",path:"view",params:{ledger_version:t?.ledgerVersion},body:{function:o.function,type_arguments:o.typeArguments??[],arguments:o.functionArguments??[]}});return i}export{F as a,M as b};
2
+ //# sourceMappingURL=chunk-X7JNNNMC.mjs.map
@@ -0,0 +1,2 @@
1
+ import{a as t}from"./chunk-SY4HK6CC.mjs";var o=class{constructor(n){this.config=n}async simple(n){return t({aptosConfig:this.config,...n})}async multiAgent(n){return t({aptosConfig:this.config,...n})}};export{o as a};
2
+ //# sourceMappingURL=chunk-XIB6LX22.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/api/transactionSubmission/build.ts"],"sourcesContent":["// Copyright © Aptos Foundation\n// SPDX-License-Identifier: Apache-2.0\n\nimport { AccountAddressInput } from \"../../core\";\nimport { generateTransaction } from \"../../internal/transactionSubmission\";\nimport { InputGenerateTransactionPayloadData, InputGenerateTransactionOptions } from \"../../transactions\";\nimport { MultiAgentTransaction } from \"../../transactions/instances/multiAgentTransaction\";\nimport { SimpleTransaction } from \"../../transactions/instances/simpleTransaction\";\nimport { AptosConfig } from \"../aptosConfig\";\n\n/**\n * A class to handle all `Build` transaction operations.\n */\nexport class Build {\n readonly config: AptosConfig;\n\n /**\n * Initializes a new instance of the Aptos client with the specified configuration.\n * This allows you to interact with the Aptos blockchain using the provided settings.\n *\n * @param config - The configuration settings for the Aptos client.\n * @param config.network - The network to connect to (e.g., TESTNET, MAINNET).\n * @param config.nodeUrl - The URL of the Aptos node to connect to.\n * @param config.account - The account details for authentication.\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network } from \"@aptos-labs/ts-sdk\";\n *\n * async function runExample() {\n * // Create a configuration for the Aptos client\n * const config = new AptosConfig({\n * network: Network.TESTNET, // specify the network\n * nodeUrl: \"https://testnet.aptos.dev\", // specify the node URL\n * });\n *\n * // Initialize the Aptos client\n * const aptos = new Aptos(config);\n *\n * console.log(\"Aptos client initialized:\", aptos);\n * }\n * runExample().catch(console.error);\n * ```\n */\n constructor(config: AptosConfig) {\n this.config = config;\n }\n\n /**\n * Build a simple transaction.\n *\n * This function allows you to create a transaction with specified sender and data.\n *\n * @param args.sender - The sender account address.\n * @param args.data - The transaction data.\n * @param args.options - Optional transaction configurations.\n * @param args.withFeePayer - Whether there is a fee payer for the transaction.\n *\n * @returns SimpleTransaction\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network } 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 * // Build a simple transaction\n * const transaction = await aptos.transaction.simple({\n * sender: \"0x1\", // replace with a real sender account address\n * data: {\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [\"0x2\", 100], // replace with a real destination account address\n * },\n * options: {\n * gasUnitPrice: 100, // specify your own gas unit price if needed\n * maxGasAmount: 1000, // specify your own max gas amount if needed\n * },\n * });\n *\n * console.log(transaction);\n * }\n * runExample().catch(console.error);\n * ```\n */\n async simple(args: {\n sender: AccountAddressInput;\n data: InputGenerateTransactionPayloadData;\n options?: InputGenerateTransactionOptions;\n withFeePayer?: boolean;\n }): Promise<SimpleTransaction> {\n return generateTransaction({ aptosConfig: this.config, ...args });\n }\n\n /**\n * Build a multi-agent transaction that allows multiple signers to authorize a transaction.\n *\n * @param args - The parameters for creating the multi-agent transaction.\n * @param args.sender - The sender account address.\n * @param args.data - The transaction data.\n * @param args.secondarySignerAddresses - An array of the secondary signers' account addresses.\n * @param args.options - Optional transaction configurations.\n * @param args.withFeePayer - Whether there is a fee payer for the transaction.\n *\n * @returns MultiAgentTransaction\n *\n * @example\n * ```typescript\n * import { Aptos, AptosConfig, Network } 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 * // Build a multi-agent transaction\n * const transaction = await aptos.multiAgent({\n * sender: \"0x1\", // replace with a real sender account address\n * data: {\n * // Transaction data structure\n * function: \"0x1::aptos_account::transfer\",\n * functionArguments: [\"0x2\", 100], // replace with a real destination account address and amount\n * },\n * secondarySignerAddresses: [\"0x3\", \"0x4\"], // replace with real secondary signer addresses\n * options: {\n * // Optional transaction configurations\n * maxGasAmount: \"1000\",\n * gasUnitPrice: \"1\",\n * },\n * });\n *\n * console.log(transaction);\n * }\n * runExample().catch(console.error);\n * ```\n */\n async multiAgent(args: {\n sender: AccountAddressInput;\n data: InputGenerateTransactionPayloadData;\n secondarySignerAddresses: AccountAddressInput[];\n options?: InputGenerateTransactionOptions;\n withFeePayer?: boolean;\n }): Promise<MultiAgentTransaction> {\n return generateTransaction({ aptosConfig: this.config, ...args });\n }\n}\n"],"mappings":"yCAaO,IAAMA,EAAN,KAAY,CA+BjB,YAAYC,EAAqB,CAC/B,KAAK,OAASA,CAChB,CAwCA,MAAM,OAAOC,EAKkB,CAC7B,OAAOC,EAAoB,CAAE,YAAa,KAAK,OAAQ,GAAGD,CAAK,CAAC,CAClE,CA2CA,MAAM,WAAWA,EAMkB,CACjC,OAAOC,EAAoB,CAAE,YAAa,KAAK,OAAQ,GAAGD,CAAK,CAAC,CAClE,CACF","names":["Build","config","args","generateTransaction"]}
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk-5B3SMBXQ.mjs";import{a as u}from"./chunk-AVZYJAXR.mjs";import{a as f}from"./chunk-MHN6XY4Z.mjs";import{a as v}from"./chunk-4O5XDQDO.mjs";import{e as h,j as d}from"./chunk-OIOGOW6I.mjs";import{a as g}from"./chunk-AJ5JHBAE.mjs";import{b as a}from"./chunk-SPRNSFUV.mjs";import{sha3_256 as H}from"@noble/hashes/sha3";import{secp256k1 as o}from"@noble/curves/secp256k1";import{HDKey as K}from"@scure/bip32";var n=class n extends f{constructor(e){super();let t=a.fromHexInput(e);if(t.toUint8Array().length!==n.LENGTH)throw new Error(`PublicKey length should be ${n.LENGTH}`);this.key=t}verifySignature(e){let{message:t,signature:i}=e,l=p(t),c=a.fromHexInput(l).toUint8Array(),x=H(c),A=i.toUint8Array();return o.verify(A,x,this.key.toUint8Array(),{lowS:!0})}toUint8Array(){return this.key.toUint8Array()}serialize(e){e.serializeBytes(this.key.toUint8Array())}deserialize(e){let t=e.deserializeBytes();return new y(t)}static deserialize(e){let t=e.deserializeBytes();return new n(t)}static isPublicKey(e){return e instanceof n}static isInstance(e){return"key"in e&&e.key?.data?.length===n.LENGTH}};n.LENGTH=65;var m=n,r=class r extends g{constructor(e,t){super();let i=u.parseHexInput(e,"secp256k1",t);if(i.toUint8Array().length!==r.LENGTH)throw new Error(`PrivateKey length should be ${r.LENGTH}`);this.key=i}static generate(){let e=o.utils.randomPrivateKey();return new r(e,!1)}static fromDerivationPath(e,t){if(!h(e))throw new Error(`Invalid derivation path ${e}`);return r.fromDerivationPathInner(e,d(t))}static fromDerivationPathInner(e,t){let{privateKey:i}=K.fromMasterSeed(t).derive(e);if(i===null)throw new Error("Invalid key");return new r(i,!1)}sign(e){let t=p(e),i=a.fromHexInput(t),l=H(i.toUint8Array()),c=o.sign(l,this.key.toUint8Array(),{lowS:!0});return new y(c.toCompactRawBytes())}publicKey(){let e=o.getPublicKey(this.key.toUint8Array(),!1);return new m(e)}toUint8Array(){return this.key.toUint8Array()}toString(){return this.toHexString()}toHexString(){return this.key.toString()}toAIP80String(){return u.formatPrivateKey(this.key.toString(),"secp256k1")}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new r(t,!1)}static isPrivateKey(e){return e instanceof r}};r.LENGTH=32;var S=r,s=class s extends v{constructor(e){super();let t=a.fromHexInput(e);if(t.toUint8Array().length!==s.LENGTH)throw new Error(`Signature length should be ${s.LENGTH}, received ${t.toUint8Array().length}`);this.data=t}toUint8Array(){return this.data.toUint8Array()}serialize(e){e.serializeBytes(this.data.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new s(t)}};s.LENGTH=64;var y=s;export{m as a,S as b,y as c};
2
- //# sourceMappingURL=chunk-KUL55M2H.mjs.map
1
+ import{a as v}from"./chunk-4O5XDQDO.mjs";import{a as p}from"./chunk-5B3SMBXQ.mjs";import{a as u}from"./chunk-AVZYJAXR.mjs";import{a as f}from"./chunk-MHN6XY4Z.mjs";import{e as h,j as d}from"./chunk-OIOGOW6I.mjs";import{a as g}from"./chunk-AJ5JHBAE.mjs";import{b as a}from"./chunk-SPRNSFUV.mjs";import{sha3_256 as H}from"@noble/hashes/sha3";import{secp256k1 as o}from"@noble/curves/secp256k1";import{HDKey as K}from"@scure/bip32";var n=class n extends f{constructor(e){super();let t=a.fromHexInput(e);if(t.toUint8Array().length!==n.LENGTH)throw new Error(`PublicKey length should be ${n.LENGTH}`);this.key=t}verifySignature(e){let{message:t,signature:i}=e,l=p(t),c=a.fromHexInput(l).toUint8Array(),x=H(c),A=i.toUint8Array();return o.verify(A,x,this.key.toUint8Array(),{lowS:!0})}toUint8Array(){return this.key.toUint8Array()}serialize(e){e.serializeBytes(this.key.toUint8Array())}deserialize(e){let t=e.deserializeBytes();return new y(t)}static deserialize(e){let t=e.deserializeBytes();return new n(t)}static isPublicKey(e){return e instanceof n}static isInstance(e){return"key"in e&&e.key?.data?.length===n.LENGTH}};n.LENGTH=65;var m=n,r=class r extends g{constructor(e,t){super();let i=u.parseHexInput(e,"secp256k1",t);if(i.toUint8Array().length!==r.LENGTH)throw new Error(`PrivateKey length should be ${r.LENGTH}`);this.key=i}static generate(){let e=o.utils.randomPrivateKey();return new r(e,!1)}static fromDerivationPath(e,t){if(!h(e))throw new Error(`Invalid derivation path ${e}`);return r.fromDerivationPathInner(e,d(t))}static fromDerivationPathInner(e,t){let{privateKey:i}=K.fromMasterSeed(t).derive(e);if(i===null)throw new Error("Invalid key");return new r(i,!1)}sign(e){let t=p(e),i=a.fromHexInput(t),l=H(i.toUint8Array()),c=o.sign(l,this.key.toUint8Array(),{lowS:!0});return new y(c.toCompactRawBytes())}publicKey(){let e=o.getPublicKey(this.key.toUint8Array(),!1);return new m(e)}toUint8Array(){return this.key.toUint8Array()}toString(){return this.toHexString()}toHexString(){return this.key.toString()}toAIP80String(){return u.formatPrivateKey(this.key.toString(),"secp256k1")}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new r(t,!1)}static isPrivateKey(e){return e instanceof r}};r.LENGTH=32;var S=r,s=class s extends v{constructor(e){super();let t=a.fromHexInput(e);if(t.toUint8Array().length!==s.LENGTH)throw new Error(`Signature length should be ${s.LENGTH}, received ${t.toUint8Array().length}`);this.data=t}toUint8Array(){return this.data.toUint8Array()}serialize(e){e.serializeBytes(this.data.toUint8Array())}static deserialize(e){let t=e.deserializeBytes();return new s(t)}};s.LENGTH=64;var y=s;export{m as a,S as b,y as c};
2
+ //# sourceMappingURL=chunk-YIQ3JFHW.mjs.map
@@ -1,2 +1,2 @@
1
- import{b as K}from"./chunk-H457BI3I.mjs";import{i as m,r as u}from"./chunk-XUP6VABV.mjs";import{b as f}from"./chunk-SPRNSFUV.mjs";import{a as y}from"./chunk-D52UKPQF.mjs";var h=class c extends K{constructor(e){let r=m.create(e);super({publicKey:r,...e}),this.publicKey=r}serialize(e){super.serialize(e)}static deserialize(e){let{address:r,proof:l,ephemeralKeyPair:i,jwt:o,uidKey:t,pepper:s,verificationKeyHash:n}=K.partialDeserialize(e),{iss:a,aud:p,uidVal:d}=u({jwt:o,uidKey:t});return new c({address:r,proof:l,ephemeralKeyPair:i,iss:a,uidKey:t,uidVal:d,aud:p,pepper:s,jwt:o,verificationKeyHash:n})}static fromBytes(e){return c.deserialize(new y(f.hexInputToUint8Array(e)))}static create(e){let{address:r,proof:l,jwt:i,ephemeralKeyPair:o,pepper:t,uidKey:s="sub",proofFetchCallback:n,verificationKey:a}=e,{iss:p,aud:d,uidVal:g}=u({jwt:i,uidKey:s});return new c({address:r,proof:l,ephemeralKeyPair:o,iss:p,uidKey:s,uidVal:g,aud:d,pepper:t,jwt:i,proofFetchCallback:n,verificationKeyHash:a?a.hash():void 0})}};export{h as a};
2
- //# sourceMappingURL=chunk-WGIYSLH6.mjs.map
1
+ import{b as K}from"./chunk-UWLW2VLZ.mjs";import{i as m,r as u}from"./chunk-K62JTXWQ.mjs";import{a as y}from"./chunk-D52UKPQF.mjs";import{b as f}from"./chunk-SPRNSFUV.mjs";var h=class c extends K{constructor(e){let r=m.create(e);super({publicKey:r,...e}),this.publicKey=r}serialize(e){super.serialize(e)}static deserialize(e){let{address:r,proof:l,ephemeralKeyPair:i,jwt:o,uidKey:t,pepper:s,verificationKeyHash:n}=K.partialDeserialize(e),{iss:a,aud:p,uidVal:d}=u({jwt:o,uidKey:t});return new c({address:r,proof:l,ephemeralKeyPair:i,iss:a,uidKey:t,uidVal:d,aud:p,pepper:s,jwt:o,verificationKeyHash:n})}static fromBytes(e){return c.deserialize(new y(f.hexInputToUint8Array(e)))}static create(e){let{address:r,proof:l,jwt:i,ephemeralKeyPair:o,pepper:t,uidKey:s="sub",proofFetchCallback:n,verificationKey:a}=e,{iss:p,aud:d,uidVal:g}=u({jwt:i,uidKey:s});return new c({address:r,proof:l,ephemeralKeyPair:o,iss:p,uidKey:s,uidVal:g,aud:d,pepper:t,jwt:i,proofFetchCallback:n,verificationKeyHash:a?a.hash():void 0})}};export{h as a};
2
+ //# sourceMappingURL=chunk-YP3VO6GM.mjs.map
@@ -10,6 +10,5 @@ import '../types/indexer.mjs';
10
10
  import '../types/generated/operations.mjs';
11
11
  import '../types/generated/types.mjs';
12
12
  import '../utils/apiEndpoints.mjs';
13
- import '@wgb5445/aptos-intent-npm';
14
13
  import '../bcs/deserializer.mjs';
15
14
  import '../transactions/instances/transactionArgument.mjs';
@@ -7,7 +7,6 @@ import '../types/types.mjs';
7
7
  import '../types/indexer.mjs';
8
8
  import '../types/generated/operations.mjs';
9
9
  import '../types/generated/types.mjs';
10
- import '@wgb5445/aptos-intent-npm';
11
10
  import '../bcs/deserializer.mjs';
12
11
  import '../transactions/instances/transactionArgument.mjs';
13
12
 
@@ -5,7 +5,6 @@ import '../utils/apiEndpoints.mjs';
5
5
  import '../types/indexer.mjs';
6
6
  import '../types/generated/operations.mjs';
7
7
  import '../types/generated/types.mjs';
8
- import '@wgb5445/aptos-intent-npm';
9
8
 
10
9
  /**
11
10
  * Sends a request using the specified options and returns the response.
@@ -1,2 +1,2 @@
1
- import{a,b}from"../chunk-KT3DT5GV.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J245N3XF.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-TM7OZT3W.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-L56DQ4N3.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-AMCJQIOT.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,a as request};
1
+ import{a,b}from"../chunk-SPX2YFZN.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J7PJSK3J.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-Q3CWUEXI.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-RZGTHCJY.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,a as request};
2
2
  //# sourceMappingURL=core.mjs.map
@@ -5,7 +5,6 @@ import '../utils/apiEndpoints.mjs';
5
5
  import '../types/indexer.mjs';
6
6
  import '../types/generated/operations.mjs';
7
7
  import '../types/generated/types.mjs';
8
- import '@wgb5445/aptos-intent-npm';
9
8
 
10
9
  /**
11
10
  * Options for making a GET request, including configuration for the API client.
@@ -1,2 +1,2 @@
1
- import{a,b,c,d}from"../chunk-6LLGRGCN.mjs";import"../chunk-KT3DT5GV.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J245N3XF.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-TM7OZT3W.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-L56DQ4N3.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-AMCJQIOT.mjs";import"../chunk-KDMSOCZY.mjs";export{a as get,b as getAptosFullNode,c as getAptosPepperService,d as paginateWithCursor};
1
+ import{a,b,c,d}from"../chunk-CPKG25HX.mjs";import"../chunk-SPX2YFZN.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J7PJSK3J.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-Q3CWUEXI.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-RZGTHCJY.mjs";import"../chunk-KDMSOCZY.mjs";export{a as get,b as getAptosFullNode,c as getAptosPepperService,d as paginateWithCursor};
2
2
  //# sourceMappingURL=get.mjs.map
@@ -7,5 +7,4 @@ import '../types/indexer.mjs';
7
7
  import '../types/generated/operations.mjs';
8
8
  import '../types/generated/types.mjs';
9
9
  import '../utils/apiEndpoints.mjs';
10
- import '@wgb5445/aptos-intent-npm';
11
10
  import '../utils/const.mjs';
@@ -1,2 +1,2 @@
1
- import"../chunk-7ECCT6PK.mjs";import{a as c,b as d,c as e,d as f}from"../chunk-6LLGRGCN.mjs";import{a as g,b as h,c as i,d as j,e as k,f as l}from"../chunk-WKNX43KN.mjs";import{a,b}from"../chunk-KT3DT5GV.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J245N3XF.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-TM7OZT3W.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-L56DQ4N3.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-AMCJQIOT.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,c as get,d as getAptosFullNode,e as getAptosPepperService,f as paginateWithCursor,g as post,j as postAptosFaucet,h as postAptosFullNode,i as postAptosIndexer,k as postAptosPepperService,l as postAptosProvingService,a as request};
1
+ import"../chunk-7ECCT6PK.mjs";import{a as c,b as d,c as e,d as f}from"../chunk-CPKG25HX.mjs";import{a as g,b as h,c as i,d as j,e as k,f as l}from"../chunk-LGHPJTF3.mjs";import{a,b}from"../chunk-SPX2YFZN.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J7PJSK3J.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-Q3CWUEXI.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-RZGTHCJY.mjs";import"../chunk-KDMSOCZY.mjs";export{b as aptosRequest,c as get,d as getAptosFullNode,e as getAptosPepperService,f as paginateWithCursor,g as post,j as postAptosFaucet,h as postAptosFullNode,i as postAptosIndexer,k as postAptosPepperService,l as postAptosProvingService,a as request};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -5,7 +5,6 @@ import '../utils/apiEndpoints.mjs';
5
5
  import '../types/indexer.mjs';
6
6
  import '../types/generated/operations.mjs';
7
7
  import '../types/generated/types.mjs';
8
- import '@wgb5445/aptos-intent-npm';
9
8
 
10
9
  /**
11
10
  * Options for making a POST request, including the API client configuration.
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e,f}from"../chunk-WKNX43KN.mjs";import"../chunk-KT3DT5GV.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J245N3XF.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-TM7OZT3W.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-L56DQ4N3.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-AMCJQIOT.mjs";import"../chunk-KDMSOCZY.mjs";export{a as post,d as postAptosFaucet,b as postAptosFullNode,c as postAptosIndexer,e as postAptosPepperService,f as postAptosProvingService};
1
+ import{a,b,c,d,e,f}from"../chunk-LGHPJTF3.mjs";import"../chunk-SPX2YFZN.mjs";import"../chunk-HGLO5LDS.mjs";import"../chunk-UZTJWOLS.mjs";import"../chunk-F45G3GP3.mjs";import"../chunk-V4FKFCBL.mjs";import"../chunk-D3OEQLUE.mjs";import"../chunk-J7PJSK3J.mjs";import"../chunk-FZY4PMEE.mjs";import"../chunk-ZMBXHMVQ.mjs";import"../chunk-BRV3RLKW.mjs";import"../chunk-Q3CWUEXI.mjs";import"../chunk-42H7WETG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-D52UKPQF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-RZGTHCJY.mjs";import"../chunk-KDMSOCZY.mjs";export{a as post,d as postAptosFaucet,b as postAptosFullNode,c as postAptosIndexer,e as postAptosPepperService,f as postAptosProvingService};
2
2
  //# sourceMappingURL=post.mjs.map
@@ -8,6 +8,5 @@ import '../../types/indexer.mjs';
8
8
  import '../../types/generated/operations.mjs';
9
9
  import '../../types/generated/types.mjs';
10
10
  import '../../utils/apiEndpoints.mjs';
11
- import '@wgb5445/aptos-intent-npm';
12
11
  import '../../bcs/deserializer.mjs';
13
12
  import '../../transactions/instances/transactionArgument.mjs';
@@ -1,2 +1,2 @@
1
- import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../chunk-6ZOVTYLJ.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
1
+ import"../../chunk-NECL5FCQ.mjs";import"../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../chunk-6ZOVTYLJ.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -7,7 +7,6 @@ import '../../../types/indexer.mjs';
7
7
  import '../../../types/generated/operations.mjs';
8
8
  import '../../../types/generated/types.mjs';
9
9
  import '../../../utils/apiEndpoints.mjs';
10
- import '@wgb5445/aptos-intent-npm';
11
10
  import '../../../bcs/deserializer.mjs';
12
11
  import '../../../transactions/instances/transactionArgument.mjs';
13
12
 
@@ -1,2 +1,2 @@
1
- import{a,b,c}from"../../../chunk-6ZOVTYLJ.mjs";import"../../../chunk-JNO7KPMG.mjs";import"../../../chunk-L56DQ4N3.mjs";import"../../../chunk-WQF3IOXC.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-AJ5JHBAE.mjs";import"../../../chunk-SPRNSFUV.mjs";import"../../../chunk-6Q2O5G3J.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
1
+ import{a,b,c}from"../../../chunk-6ZOVTYLJ.mjs";import"../../../chunk-JNO7KPMG.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-WQF3IOXC.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-AJ5JHBAE.mjs";import"../../../chunk-SPRNSFUV.mjs";import"../../../chunk-6Q2O5G3J.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
2
2
  //# sourceMappingURL=address.mjs.map
@@ -8,6 +8,5 @@ import '../../../types/indexer.mjs';
8
8
  import '../../../types/generated/operations.mjs';
9
9
  import '../../../types/generated/types.mjs';
10
10
  import '../../../utils/apiEndpoints.mjs';
11
- import '@wgb5445/aptos-intent-npm';
12
11
  import '../../../bcs/deserializer.mjs';
13
12
  import '../../../transactions/instances/transactionArgument.mjs';
@@ -1,2 +1,2 @@
1
- import"../../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../../chunk-6ZOVTYLJ.mjs";import"../../../chunk-JNO7KPMG.mjs";import"../../../chunk-L56DQ4N3.mjs";import"../../../chunk-WQF3IOXC.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-AJ5JHBAE.mjs";import"../../../chunk-SPRNSFUV.mjs";import"../../../chunk-6Q2O5G3J.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
1
+ import"../../../chunk-4QMXOWHP.mjs";import{a,b,c}from"../../../chunk-6ZOVTYLJ.mjs";import"../../../chunk-JNO7KPMG.mjs";import"../../../chunk-FD6FGKYY.mjs";import"../../../chunk-WQF3IOXC.mjs";import"../../../chunk-4WPQQPUF.mjs";import"../../../chunk-AJ5JHBAE.mjs";import"../../../chunk-SPRNSFUV.mjs";import"../../../chunk-6Q2O5G3J.mjs";import"../../../chunk-56CNRT2K.mjs";import"../../../chunk-KDMSOCZY.mjs";export{a as createObjectAddress,b as createResourceAddress,c as createTokenAddress};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -8,7 +8,6 @@ import '../types/indexer.mjs';
8
8
  import '../types/generated/operations.mjs';
9
9
  import '../types/generated/types.mjs';
10
10
  import '../utils/apiEndpoints.mjs';
11
- import '@wgb5445/aptos-intent-npm';
12
11
 
13
12
  /**
14
13
  * Provides reasons for an address was invalid.
@@ -1,2 +1,2 @@
1
- import{a,b}from"../chunk-JNO7KPMG.mjs";import"../chunk-L56DQ4N3.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{b as AccountAddress,a as AddressInvalidReason};
1
+ import{a,b}from"../chunk-JNO7KPMG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{b as AccountAddress,a as AddressInvalidReason};
2
2
  //# sourceMappingURL=accountAddress.mjs.map
@@ -10,5 +10,4 @@ import '../types/indexer.mjs';
10
10
  import '../types/generated/operations.mjs';
11
11
  import '../types/generated/types.mjs';
12
12
  import '../utils/apiEndpoints.mjs';
13
- import '@wgb5445/aptos-intent-npm';
14
13
  import './crypto/signature.mjs';
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-AKIO3OIT.mjs";import"../chunk-JNO7KPMG.mjs";import"../chunk-L56DQ4N3.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AuthenticationKey};
1
+ import{a}from"../chunk-AKIO3OIT.mjs";import"../chunk-JNO7KPMG.mjs";import"../chunk-FD6FGKYY.mjs";import"../chunk-WQF3IOXC.mjs";import"../chunk-4WPQQPUF.mjs";import"../chunk-AJ5JHBAE.mjs";import"../chunk-SPRNSFUV.mjs";import"../chunk-6Q2O5G3J.mjs";import"../chunk-56CNRT2K.mjs";import"../chunk-KDMSOCZY.mjs";export{a as AuthenticationKey};
2
2
  //# sourceMappingURL=authenticationKey.mjs.map
@@ -8,7 +8,6 @@ import '../../types/indexer.mjs';
8
8
  import '../../types/generated/operations.mjs';
9
9
  import '../../types/generated/types.mjs';
10
10
  import '../../utils/apiEndpoints.mjs';
11
- import '@wgb5445/aptos-intent-npm';
12
11
  import '../hex.mjs';
13
12
  import '../common.mjs';
14
13
  import '../accountAddress.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b,c,d}from"../../chunk-L2SDI7PI.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-TM7OZT3W.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{c as Ed25519PrivateKey,b as Ed25519PublicKey,d as Ed25519Signature,a as isCanonicalEd25519Signature};
1
+ import{a,b,c,d}from"../../chunk-VGJIATTB.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{c as Ed25519PrivateKey,b as Ed25519PublicKey,d as Ed25519Signature,a as isCanonicalEd25519Signature};
2
2
  //# sourceMappingURL=ed25519.mjs.map
@@ -7,7 +7,6 @@ import '../../types/indexer.mjs';
7
7
  import '../../types/generated/operations.mjs';
8
8
  import '../../types/generated/types.mjs';
9
9
  import '../../utils/apiEndpoints.mjs';
10
- import '@wgb5445/aptos-intent-npm';
11
10
  import '../hex.mjs';
12
11
  import '../common.mjs';
13
12
  import '../accountAddress.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../chunk-3XCYCFYI.mjs";import"../../chunk-L2SDI7PI.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-TM7OZT3W.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EphemeralPublicKey,b as EphemeralSignature};
1
+ import{a,b}from"../../chunk-GX4CYRK4.mjs";import"../../chunk-VGJIATTB.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EphemeralPublicKey,b as EphemeralSignature};
2
2
  //# sourceMappingURL=ephemeral.mjs.map
@@ -11,7 +11,6 @@ import '../../types/indexer.mjs';
11
11
  import '../../types/generated/operations.mjs';
12
12
  import '../../types/generated/types.mjs';
13
13
  import '../../utils/apiEndpoints.mjs';
14
- import '@wgb5445/aptos-intent-npm';
15
14
  import '../../transactions/instances/transactionArgument.mjs';
16
15
  import './ephemeral.mjs';
17
16
  import './proof.mjs';
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-YPBNYKOD.mjs";import"../../chunk-XUP6VABV.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-3XCYCFYI.mjs";import"../../chunk-L2SDI7PI.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-6LLGRGCN.mjs";import"../../chunk-WKNX43KN.mjs";import"../../chunk-KT3DT5GV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J245N3XF.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-TM7OZT3W.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-AMCJQIOT.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as FederatedKeylessPublicKey};
1
+ import{a}from"../../chunk-IQ4SCMB6.mjs";import"../../chunk-K62JTXWQ.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-GX4CYRK4.mjs";import"../../chunk-VGJIATTB.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-CPKG25HX.mjs";import"../../chunk-LGHPJTF3.mjs";import"../../chunk-SPX2YFZN.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-RZGTHCJY.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as FederatedKeylessPublicKey};
2
2
  //# sourceMappingURL=federatedKeyless.mjs.map
@@ -17,7 +17,6 @@ import '../../types/indexer.mjs';
17
17
  import '../../types/generated/operations.mjs';
18
18
  import '../../types/generated/types.mjs';
19
19
  import '../../utils/apiEndpoints.mjs';
20
- import '@wgb5445/aptos-intent-npm';
21
20
  import '../../bcs/serializer.mjs';
22
21
  import '../hex.mjs';
23
22
  import '../common.mjs';
@@ -1,2 +1,2 @@
1
- import"../../chunk-HEZ2ZYZA.mjs";import{a as s,b as t}from"../../chunk-QQM47PHZ.mjs";import{a as aa,b as ba}from"../../chunk-BLLHTGAP.mjs";import{a as _,b as $}from"../../chunk-LAAFLCDM.mjs";import{a as u,b as v,c as w}from"../../chunk-KUL55M2H.mjs";import{a as Z}from"../../chunk-YPBNYKOD.mjs";import{a as E,b as F,c as G,d as H,e as I,f as J,g as K,h as L,i as M,j as N,k as O,l as P,m as Q,n as R,o as S,p as T,q as U,r as V,s as W,t as X,u as Y}from"../../chunk-XUP6VABV.mjs";import{a as z,b as A,c as B,d as C,e as D}from"../../chunk-GMKKHGXK.mjs";import"../../chunk-UGTIALNW.mjs";import{a as x,b as y}from"../../chunk-3XCYCFYI.mjs";import{a as o,b as p,c as q,d as r}from"../../chunk-L2SDI7PI.mjs";import"../../chunk-5B3SMBXQ.mjs";import{a as k}from"../../chunk-AVZYJAXR.mjs";import{a as l,b as m}from"../../chunk-MHN6XY4Z.mjs";import{a as n}from"../../chunk-4O5XDQDO.mjs";import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-6LLGRGCN.mjs";import"../../chunk-WKNX43KN.mjs";import"../../chunk-KT3DT5GV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J245N3XF.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-TM7OZT3W.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-AMCJQIOT.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as APTOS_BIP44_REGEX,a as APTOS_HARDENED_REGEX,m as AccountPublicKey,_ as AnyPublicKey,$ as AnySignature,h as CKDPriv,E as EPK_HORIZON_SECS,q as Ed25519PrivateKey,p as Ed25519PublicKey,r as Ed25519Signature,O as EphemeralCertificate,x as EphemeralPublicKey,y as EphemeralSignature,Z as FederatedKeylessPublicKey,T as Groth16VerificationKey,P as Groth16Zkp,d as HARDENED_OFFSET,c as KeyType,S as KeylessConfiguration,M as KeylessPublicKey,N as KeylessSignature,F as MAX_AUD_VAL_BYTES,L as MAX_COMMITED_EPK_BYTES,J as MAX_EXTRA_FIELD_BYTES,I as MAX_ISS_VAL_BYTES,K as MAX_JWT_HEADER_B64_BYTES,G as MAX_UID_KEY_BYTES,H as MAX_UID_VAL_BYTES,X as MoveJWK,s as MultiEd25519PublicKey,t as MultiEd25519Signature,aa as MultiKey,ba as MultiKeySignature,k as PrivateKey,l as PublicKey,v as Secp256k1PrivateKey,u as Secp256k1PublicKey,w as Secp256k1Signature,n as Signature,R as ZeroKnowledgeSig,Q as ZkProof,C as bigIntToBytesLE,B as bytesToBigIntLE,g as deriveKey,V as getIssAudAndUidVal,U as getKeylessConfig,W as getKeylessJWKs,z as hashStrToField,o as isCanonicalEd25519Signature,e as isValidBIP44Path,f as isValidHardenedPath,j as mnemonicToSeed,A as padAndPackBytesWithLen,Y as parseJwtHeader,D as poseidonHash,i as splitPath};
1
+ import"../../chunk-HEZ2ZYZA.mjs";import{a as s,b as t}from"../../chunk-2YTHKFJZ.mjs";import{a as aa,b as ba}from"../../chunk-OVI7L7OG.mjs";import{a as _,b as $}from"../../chunk-P2FTRAK3.mjs";import{a as u,b as v,c as w}from"../../chunk-YIQ3JFHW.mjs";import{a as Z}from"../../chunk-IQ4SCMB6.mjs";import{a as E,b as F,c as G,d as H,e as I,f as J,g as K,h as L,i as M,j as N,k as O,l as P,m as Q,n as R,o as S,p as T,q as U,r as V,s as W,t as X,u as Y}from"../../chunk-K62JTXWQ.mjs";import{a as z,b as A,c as B,d as C,e as D}from"../../chunk-GMKKHGXK.mjs";import"../../chunk-UGTIALNW.mjs";import{a as x,b as y}from"../../chunk-GX4CYRK4.mjs";import{a as o,b as p,c as q,d as r}from"../../chunk-VGJIATTB.mjs";import{a as n}from"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import{a as k}from"../../chunk-AVZYJAXR.mjs";import{a as l,b as m}from"../../chunk-MHN6XY4Z.mjs";import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-CPKG25HX.mjs";import"../../chunk-LGHPJTF3.mjs";import"../../chunk-SPX2YFZN.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-RZGTHCJY.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as APTOS_BIP44_REGEX,a as APTOS_HARDENED_REGEX,m as AccountPublicKey,_ as AnyPublicKey,$ as AnySignature,h as CKDPriv,E as EPK_HORIZON_SECS,q as Ed25519PrivateKey,p as Ed25519PublicKey,r as Ed25519Signature,O as EphemeralCertificate,x as EphemeralPublicKey,y as EphemeralSignature,Z as FederatedKeylessPublicKey,T as Groth16VerificationKey,P as Groth16Zkp,d as HARDENED_OFFSET,c as KeyType,S as KeylessConfiguration,M as KeylessPublicKey,N as KeylessSignature,F as MAX_AUD_VAL_BYTES,L as MAX_COMMITED_EPK_BYTES,J as MAX_EXTRA_FIELD_BYTES,I as MAX_ISS_VAL_BYTES,K as MAX_JWT_HEADER_B64_BYTES,G as MAX_UID_KEY_BYTES,H as MAX_UID_VAL_BYTES,X as MoveJWK,s as MultiEd25519PublicKey,t as MultiEd25519Signature,aa as MultiKey,ba as MultiKeySignature,k as PrivateKey,l as PublicKey,v as Secp256k1PrivateKey,u as Secp256k1PublicKey,w as Secp256k1Signature,n as Signature,R as ZeroKnowledgeSig,Q as ZkProof,C as bigIntToBytesLE,B as bytesToBigIntLE,g as deriveKey,V as getIssAudAndUidVal,U as getKeylessConfig,W as getKeylessJWKs,z as hashStrToField,o as isCanonicalEd25519Signature,e as isValidBIP44Path,f as isValidHardenedPath,j as mnemonicToSeed,A as padAndPackBytesWithLen,Y as parseJwtHeader,D as poseidonHash,i as splitPath};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -14,7 +14,6 @@ import '../../types/indexer.mjs';
14
14
  import '../../types/generated/operations.mjs';
15
15
  import '../../types/generated/types.mjs';
16
16
  import '../../utils/apiEndpoints.mjs';
17
- import '@wgb5445/aptos-intent-npm';
18
17
  import '../../transactions/instances/transactionArgument.mjs';
19
18
  import '../../utils/const.mjs';
20
19
 
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../../chunk-XUP6VABV.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-3XCYCFYI.mjs";import"../../chunk-L2SDI7PI.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-6LLGRGCN.mjs";import"../../chunk-WKNX43KN.mjs";import"../../chunk-KT3DT5GV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J245N3XF.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-TM7OZT3W.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-AMCJQIOT.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EPK_HORIZON_SECS,k as EphemeralCertificate,p as Groth16VerificationKey,l as Groth16Zkp,o as KeylessConfiguration,i as KeylessPublicKey,j as KeylessSignature,b as MAX_AUD_VAL_BYTES,h as MAX_COMMITED_EPK_BYTES,f as MAX_EXTRA_FIELD_BYTES,e as MAX_ISS_VAL_BYTES,g as MAX_JWT_HEADER_B64_BYTES,c as MAX_UID_KEY_BYTES,d as MAX_UID_VAL_BYTES,t as MoveJWK,n as ZeroKnowledgeSig,m as ZkProof,r as getIssAudAndUidVal,q as getKeylessConfig,s as getKeylessJWKs,u as parseJwtHeader};
1
+ import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../../chunk-K62JTXWQ.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-GX4CYRK4.mjs";import"../../chunk-VGJIATTB.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-CPKG25HX.mjs";import"../../chunk-LGHPJTF3.mjs";import"../../chunk-SPX2YFZN.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-RZGTHCJY.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as EPK_HORIZON_SECS,k as EphemeralCertificate,p as Groth16VerificationKey,l as Groth16Zkp,o as KeylessConfiguration,i as KeylessPublicKey,j as KeylessSignature,b as MAX_AUD_VAL_BYTES,h as MAX_COMMITED_EPK_BYTES,f as MAX_EXTRA_FIELD_BYTES,e as MAX_ISS_VAL_BYTES,g as MAX_JWT_HEADER_B64_BYTES,c as MAX_UID_KEY_BYTES,d as MAX_UID_VAL_BYTES,t as MoveJWK,n as ZeroKnowledgeSig,m as ZkProof,r as getIssAudAndUidVal,q as getKeylessConfig,s as getKeylessJWKs,u as parseJwtHeader};
2
2
  //# sourceMappingURL=keyless.mjs.map
@@ -8,7 +8,6 @@ import '../../types/indexer.mjs';
8
8
  import '../../types/generated/operations.mjs';
9
9
  import '../../types/generated/types.mjs';
10
10
  import '../../utils/apiEndpoints.mjs';
11
- import '@wgb5445/aptos-intent-npm';
12
11
  import '../hex.mjs';
13
12
  import '../common.mjs';
14
13
  import '../accountAddress.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../chunk-QQM47PHZ.mjs";import"../../chunk-L2SDI7PI.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-TM7OZT3W.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as MultiEd25519PublicKey,b as MultiEd25519Signature};
1
+ import{a,b}from"../../chunk-2YTHKFJZ.mjs";import"../../chunk-VGJIATTB.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as MultiEd25519PublicKey,b as MultiEd25519Signature};
2
2
  //# sourceMappingURL=multiEd25519.mjs.map
@@ -8,7 +8,6 @@ import '../../types/indexer.mjs';
8
8
  import '../../types/generated/operations.mjs';
9
9
  import '../../types/generated/types.mjs';
10
10
  import '../../utils/apiEndpoints.mjs';
11
- import '@wgb5445/aptos-intent-npm';
12
11
  import '../hex.mjs';
13
12
  import '../common.mjs';
14
13
  import '../accountAddress.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../chunk-BLLHTGAP.mjs";import"../../chunk-LAAFLCDM.mjs";import"../../chunk-KUL55M2H.mjs";import"../../chunk-YPBNYKOD.mjs";import"../../chunk-XUP6VABV.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-3XCYCFYI.mjs";import"../../chunk-L2SDI7PI.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-6LLGRGCN.mjs";import"../../chunk-WKNX43KN.mjs";import"../../chunk-KT3DT5GV.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J245N3XF.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-TM7OZT3W.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-AMCJQIOT.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as MultiKey,b as MultiKeySignature};
1
+ import{a,b}from"../../chunk-OVI7L7OG.mjs";import"../../chunk-P2FTRAK3.mjs";import"../../chunk-YIQ3JFHW.mjs";import"../../chunk-IQ4SCMB6.mjs";import"../../chunk-K62JTXWQ.mjs";import"../../chunk-GMKKHGXK.mjs";import"../../chunk-UGTIALNW.mjs";import"../../chunk-GX4CYRK4.mjs";import"../../chunk-VGJIATTB.mjs";import"../../chunk-4O5XDQDO.mjs";import"../../chunk-5B3SMBXQ.mjs";import"../../chunk-AVZYJAXR.mjs";import"../../chunk-MHN6XY4Z.mjs";import"../../chunk-OIOGOW6I.mjs";import"../../chunk-AKIO3OIT.mjs";import"../../chunk-JNO7KPMG.mjs";import"../../chunk-HBIDHQ2M.mjs";import"../../chunk-7ECCT6PK.mjs";import"../../chunk-CPKG25HX.mjs";import"../../chunk-LGHPJTF3.mjs";import"../../chunk-SPX2YFZN.mjs";import"../../chunk-HGLO5LDS.mjs";import"../../chunk-UZTJWOLS.mjs";import"../../chunk-F45G3GP3.mjs";import"../../chunk-V4FKFCBL.mjs";import"../../chunk-D3OEQLUE.mjs";import"../../chunk-J7PJSK3J.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-RZGTHCJY.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as MultiKey,b as MultiKeySignature};
2
2
  //# sourceMappingURL=multiKey.mjs.map
@@ -6,7 +6,6 @@ import '../../types/indexer.mjs';
6
6
  import '../../types/generated/operations.mjs';
7
7
  import '../../types/generated/types.mjs';
8
8
  import '../../utils/apiEndpoints.mjs';
9
- import '@wgb5445/aptos-intent-npm';
10
9
  import '../common.mjs';
11
10
  import '../../bcs/serializer.mjs';
12
11
  import '../accountAddress.mjs';
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-AVZYJAXR.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as PrivateKey};
1
+ import{a}from"../../chunk-AVZYJAXR.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as PrivateKey};
2
2
  //# sourceMappingURL=privateKey.mjs.map
@@ -6,7 +6,6 @@ import '../../types/indexer.mjs';
6
6
  import '../../types/generated/operations.mjs';
7
7
  import '../../types/generated/types.mjs';
8
8
  import '../../utils/apiEndpoints.mjs';
9
- import '@wgb5445/aptos-intent-npm';
10
9
 
11
10
  /**
12
11
  * An abstract representation of a cryptographic proof associated with specific
@@ -1,2 +1,2 @@
1
- import{a}from"../../chunk-UGTIALNW.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-TM7OZT3W.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Proof};
1
+ import{a}from"../../chunk-UGTIALNW.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{a as Proof};
2
2
  //# sourceMappingURL=proof.mjs.map
@@ -6,7 +6,6 @@ import '../../types/indexer.mjs';
6
6
  import '../../types/generated/operations.mjs';
7
7
  import '../../types/generated/types.mjs';
8
8
  import '../../utils/apiEndpoints.mjs';
9
- import '@wgb5445/aptos-intent-npm';
10
9
  import '../hex.mjs';
11
10
  import '../common.mjs';
12
11
  import '../accountAddress.mjs';
@@ -1,2 +1,2 @@
1
- import{a,b}from"../../chunk-MHN6XY4Z.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-TM7OZT3W.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-L56DQ4N3.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as AccountPublicKey,a as PublicKey};
1
+ import{a,b}from"../../chunk-MHN6XY4Z.mjs";import"../../chunk-FZY4PMEE.mjs";import"../../chunk-ZMBXHMVQ.mjs";import"../../chunk-BRV3RLKW.mjs";import"../../chunk-Q3CWUEXI.mjs";import"../../chunk-42H7WETG.mjs";import"../../chunk-FD6FGKYY.mjs";import"../../chunk-WQF3IOXC.mjs";import"../../chunk-4WPQQPUF.mjs";import"../../chunk-D52UKPQF.mjs";import"../../chunk-AJ5JHBAE.mjs";import"../../chunk-SPRNSFUV.mjs";import"../../chunk-6Q2O5G3J.mjs";import"../../chunk-56CNRT2K.mjs";import"../../chunk-KDMSOCZY.mjs";export{b as AccountPublicKey,a as PublicKey};
2
2
  //# sourceMappingURL=publicKey.mjs.map
@@ -8,7 +8,6 @@ import '../../types/indexer.mjs';
8
8
  import '../../types/generated/operations.mjs';
9
9
  import '../../types/generated/types.mjs';
10
10
  import '../../utils/apiEndpoints.mjs';
11
- import '@wgb5445/aptos-intent-npm';
12
11
  import '../hex.mjs';
13
12
  import '../common.mjs';
14
13
  import '../accountAddress.mjs';