@aptos-labs/ts-sdk 3.0.0 → 3.1.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 (336) hide show
  1. package/dist/common/{account-CEmLe1wW.d.ts → account-Bb5REyaT.d.ts} +60 -11
  2. package/dist/common/chunk-6MMUUJHX.js +4 -0
  3. package/dist/common/{chunk-5JIJXVJ5.js.map → chunk-6MMUUJHX.js.map} +1 -1
  4. package/dist/common/cli/index.d.ts +1 -1
  5. package/dist/common/cli/index.js +1 -1
  6. package/dist/common/index.d.ts +121 -9
  7. package/dist/common/index.js +55 -34
  8. package/dist/common/index.js.map +1 -1
  9. package/dist/esm/{Ed25519Account-Ccxj1zdx.d.mts → Ed25519Account-ndmdpFe9.d.mts} +1 -1
  10. package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
  11. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  12. package/dist/esm/account/AbstractedAccount.d.mts +2 -2
  13. package/dist/esm/account/AbstractedAccount.mjs +1 -1
  14. package/dist/esm/account/Account.d.mts +2 -2
  15. package/dist/esm/account/Account.mjs +1 -1
  16. package/dist/esm/account/AccountUtils.d.mts +3 -3
  17. package/dist/esm/account/AccountUtils.mjs +1 -1
  18. package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
  19. package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
  20. package/dist/esm/account/Ed25519Account.d.mts +2 -2
  21. package/dist/esm/account/Ed25519Account.mjs +1 -1
  22. package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
  23. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  24. package/dist/esm/account/FederatedKeylessAccount.d.mts +4 -3
  25. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  26. package/dist/esm/account/KeylessAccount.d.mts +4 -3
  27. package/dist/esm/account/KeylessAccount.mjs +1 -1
  28. package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
  29. package/dist/esm/account/MultiEd25519Account.mjs +1 -1
  30. package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
  31. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  32. package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
  33. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  34. package/dist/esm/account/index.d.mts +3 -3
  35. package/dist/esm/account/index.mjs +1 -1
  36. package/dist/esm/account/utils.d.mts +1 -1
  37. package/dist/esm/account/utils.mjs +1 -1
  38. package/dist/esm/{account-9G6tix5T.d.mts → account--Q9z_xMN.d.mts} +37 -3
  39. package/dist/esm/api/account/abstraction.d.mts +1 -1
  40. package/dist/esm/api/account/abstraction.mjs +1 -1
  41. package/dist/esm/api/account.d.mts +94 -3
  42. package/dist/esm/api/account.mjs +1 -1
  43. package/dist/esm/api/ans.d.mts +2 -2
  44. package/dist/esm/api/ans.mjs +1 -1
  45. package/dist/esm/api/aptos.d.mts +6 -4
  46. package/dist/esm/api/aptos.mjs +1 -1
  47. package/dist/esm/api/aptosConfig.d.mts +1 -1
  48. package/dist/esm/api/aptosConfig.mjs +1 -1
  49. package/dist/esm/api/coin.d.mts +1 -1
  50. package/dist/esm/api/coin.mjs +1 -1
  51. package/dist/esm/api/digitalAsset.d.mts +2 -2
  52. package/dist/esm/api/digitalAsset.mjs +1 -1
  53. package/dist/esm/api/event.d.mts +1 -1
  54. package/dist/esm/api/event.mjs +1 -1
  55. package/dist/esm/api/faucet.d.mts +1 -1
  56. package/dist/esm/api/faucet.mjs +1 -1
  57. package/dist/esm/api/fungibleAsset.d.mts +2 -2
  58. package/dist/esm/api/fungibleAsset.mjs +1 -1
  59. package/dist/esm/api/general.d.mts +1 -1
  60. package/dist/esm/api/general.mjs +1 -1
  61. package/dist/esm/api/index.d.mts +6 -4
  62. package/dist/esm/api/index.mjs +1 -1
  63. package/dist/esm/api/keyless.d.mts +3 -3
  64. package/dist/esm/api/keyless.mjs +1 -1
  65. package/dist/esm/api/object.d.mts +1 -1
  66. package/dist/esm/api/object.mjs +1 -1
  67. package/dist/esm/api/staking.d.mts +1 -1
  68. package/dist/esm/api/staking.mjs +1 -1
  69. package/dist/esm/api/table.d.mts +1 -1
  70. package/dist/esm/api/table.mjs +1 -1
  71. package/dist/esm/api/transaction.d.mts +3 -2
  72. package/dist/esm/api/transaction.mjs +1 -1
  73. package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
  74. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  75. package/dist/esm/api/transactionSubmission/helpers.d.mts +22 -9
  76. package/dist/esm/api/transactionSubmission/helpers.mjs +1 -1
  77. package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
  78. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  79. package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
  80. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  81. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  82. package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
  83. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  84. package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
  85. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  86. package/dist/esm/api/utils.d.mts +1 -1
  87. package/dist/esm/api/utils.mjs +1 -1
  88. package/dist/esm/bcs/consts.d.mts +1 -1
  89. package/dist/esm/bcs/deserializer.d.mts +1 -1
  90. package/dist/esm/bcs/index.d.mts +1 -1
  91. package/dist/esm/bcs/index.mjs +1 -1
  92. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
  93. package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
  94. package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
  95. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  96. package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
  97. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  98. package/dist/esm/bcs/serializer.d.mts +1 -1
  99. package/dist/esm/{chunk-YHGGNYYL.mjs → chunk-2PF7UFKU.mjs} +2 -2
  100. package/dist/esm/chunk-5HXLZHDW.mjs +1 -0
  101. package/dist/esm/chunk-5HXLZHDW.mjs.map +1 -0
  102. package/dist/esm/chunk-75NVN2CG.mjs +2 -0
  103. package/dist/esm/{chunk-HMUIOIBG.mjs.map → chunk-75NVN2CG.mjs.map} +1 -1
  104. package/dist/esm/chunk-IJE2LVZG.mjs +2 -0
  105. package/dist/esm/chunk-IJE2LVZG.mjs.map +1 -0
  106. package/dist/esm/chunk-JCFTAG5Z.mjs +2 -0
  107. package/dist/esm/{chunk-RJ7F4JDV.mjs.map → chunk-JCFTAG5Z.mjs.map} +1 -1
  108. package/dist/esm/{chunk-FSP4QM2T.mjs → chunk-JL6RR7ML.mjs} +2 -2
  109. package/dist/esm/chunk-L3GEIX2R.mjs +6 -0
  110. package/dist/esm/chunk-L3GEIX2R.mjs.map +1 -0
  111. package/dist/esm/{chunk-WOTQ7227.mjs → chunk-LIS2GDBI.mjs} +2 -2
  112. package/dist/esm/{chunk-7T62PEFI.mjs → chunk-LJEERFEH.mjs} +2 -2
  113. package/dist/esm/{chunk-IDHVW7HS.mjs → chunk-O7WBNU4J.mjs} +2 -2
  114. package/dist/esm/{chunk-SAMHWS73.mjs → chunk-PXQPKCDD.mjs} +2 -2
  115. package/dist/esm/chunk-QREVMGQZ.mjs +2 -0
  116. package/dist/esm/chunk-QREVMGQZ.mjs.map +1 -0
  117. package/dist/esm/{chunk-R7NQJWDG.mjs → chunk-S335GK43.mjs} +2 -2
  118. package/dist/esm/{chunk-PFXXFUBL.mjs → chunk-SZE4RT4B.mjs} +2 -2
  119. package/dist/esm/{chunk-VHNX2NUR.mjs → chunk-UL777LTI.mjs} +47 -26
  120. package/dist/esm/chunk-UL777LTI.mjs.map +1 -0
  121. package/dist/esm/{chunk-2XQKGWHQ.mjs → chunk-V74WPKSY.mjs} +2 -2
  122. package/dist/esm/{chunk-5ZRPV4YI.mjs → chunk-VW26RFJ7.mjs} +2 -2
  123. package/dist/esm/{chunk-UIVX6WSC.mjs → chunk-Y7ZQTLH4.mjs} +2 -2
  124. package/dist/esm/cli/index.d.mts +1 -1
  125. package/dist/esm/cli/index.mjs +1 -1
  126. package/dist/esm/cli/localNode.mjs +1 -1
  127. package/dist/esm/cli/move.d.mts +1 -1
  128. package/dist/esm/client/core.d.mts +1 -1
  129. package/dist/esm/client/core.mjs +1 -1
  130. package/dist/esm/client/get.d.mts +1 -1
  131. package/dist/esm/client/get.mjs +1 -1
  132. package/dist/esm/client/index.d.mts +1 -1
  133. package/dist/esm/client/index.mjs +1 -1
  134. package/dist/esm/client/post.d.mts +1 -1
  135. package/dist/esm/client/post.mjs +1 -1
  136. package/dist/esm/core/account/index.d.mts +1 -1
  137. package/dist/esm/core/account/index.mjs +1 -1
  138. package/dist/esm/core/account/utils/address.d.mts +1 -1
  139. package/dist/esm/core/account/utils/address.mjs +1 -1
  140. package/dist/esm/core/account/utils/index.d.mts +1 -1
  141. package/dist/esm/core/account/utils/index.mjs +1 -1
  142. package/dist/esm/core/accountAddress.d.mts +1 -1
  143. package/dist/esm/core/accountAddress.mjs +1 -1
  144. package/dist/esm/core/authenticationKey.d.mts +1 -1
  145. package/dist/esm/core/authenticationKey.mjs +1 -1
  146. package/dist/esm/core/crypto/abstraction.d.mts +1 -1
  147. package/dist/esm/core/crypto/abstraction.mjs +1 -1
  148. package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
  149. package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
  150. package/dist/esm/core/crypto/ed25519.d.mts +1 -1
  151. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  152. package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
  153. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  154. package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
  155. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  156. package/dist/esm/core/crypto/index.d.mts +3 -2
  157. package/dist/esm/core/crypto/index.mjs +1 -1
  158. package/dist/esm/core/crypto/keyless.d.mts +2 -2
  159. package/dist/esm/core/crypto/keyless.mjs +1 -1
  160. package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
  161. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  162. package/dist/esm/core/crypto/multiKey.d.mts +1 -1
  163. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  164. package/dist/esm/core/crypto/privateKey.d.mts +1 -1
  165. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  166. package/dist/esm/core/crypto/proof.d.mts +1 -1
  167. package/dist/esm/core/crypto/proof.mjs +1 -1
  168. package/dist/esm/core/crypto/publicKey.d.mts +1 -1
  169. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  170. package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
  171. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  172. package/dist/esm/core/crypto/signature.d.mts +1 -1
  173. package/dist/esm/core/crypto/signature.mjs +1 -1
  174. package/dist/esm/core/crypto/singleKey.d.mts +1 -1
  175. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  176. package/dist/esm/core/crypto/types.d.mts +11 -0
  177. package/dist/esm/core/crypto/types.mjs +2 -0
  178. package/dist/esm/core/crypto/types.mjs.map +1 -0
  179. package/dist/esm/core/crypto/utils.d.mts +1 -1
  180. package/dist/esm/core/hex.d.mts +1 -1
  181. package/dist/esm/core/index.d.mts +3 -2
  182. package/dist/esm/core/index.mjs +1 -1
  183. package/dist/esm/errors/index.d.mts +1 -1
  184. package/dist/esm/errors/index.mjs +1 -1
  185. package/dist/esm/{federatedKeyless-CVKW5pnz.d.mts → federatedKeyless-CiyplsOB.d.mts} +1 -1
  186. package/dist/esm/index.d.mts +6 -4
  187. package/dist/esm/index.mjs +1 -1
  188. package/dist/esm/internal/abstraction.d.mts +1 -1
  189. package/dist/esm/internal/abstraction.mjs +1 -1
  190. package/dist/esm/internal/account.d.mts +38 -8
  191. package/dist/esm/internal/account.mjs +1 -1
  192. package/dist/esm/internal/ans.d.mts +2 -2
  193. package/dist/esm/internal/ans.mjs +1 -1
  194. package/dist/esm/internal/coin.d.mts +1 -1
  195. package/dist/esm/internal/coin.mjs +1 -1
  196. package/dist/esm/internal/digitalAsset.d.mts +2 -2
  197. package/dist/esm/internal/digitalAsset.mjs +1 -1
  198. package/dist/esm/internal/event.d.mts +1 -1
  199. package/dist/esm/internal/event.mjs +1 -1
  200. package/dist/esm/internal/faucet.d.mts +1 -1
  201. package/dist/esm/internal/faucet.mjs +1 -1
  202. package/dist/esm/internal/fungibleAsset.d.mts +2 -2
  203. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  204. package/dist/esm/internal/general.d.mts +1 -1
  205. package/dist/esm/internal/general.mjs +1 -1
  206. package/dist/esm/internal/keyless.d.mts +12 -3
  207. package/dist/esm/internal/keyless.mjs +1 -1
  208. package/dist/esm/internal/object.d.mts +1 -1
  209. package/dist/esm/internal/object.mjs +1 -1
  210. package/dist/esm/internal/staking.d.mts +1 -1
  211. package/dist/esm/internal/staking.mjs +1 -1
  212. package/dist/esm/internal/table.d.mts +1 -1
  213. package/dist/esm/internal/table.mjs +1 -1
  214. package/dist/esm/internal/transaction.d.mts +1 -1
  215. package/dist/esm/internal/transaction.mjs +1 -1
  216. package/dist/esm/internal/transactionSubmission.d.mts +2 -2
  217. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  218. package/dist/esm/internal/utils/index.d.mts +1 -1
  219. package/dist/esm/internal/utils/index.mjs +1 -1
  220. package/dist/esm/internal/utils/utils.d.mts +1 -1
  221. package/dist/esm/internal/utils/utils.mjs +1 -1
  222. package/dist/esm/internal/view.d.mts +1 -1
  223. package/dist/esm/internal/view.mjs +1 -1
  224. package/dist/esm/transactions/authenticator/account.d.mts +1 -1
  225. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  226. package/dist/esm/transactions/authenticator/index.d.mts +1 -1
  227. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  228. package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
  229. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  230. package/dist/esm/transactions/index.d.mts +1 -1
  231. package/dist/esm/transactions/index.mjs +1 -1
  232. package/dist/esm/transactions/instances/chainId.d.mts +1 -1
  233. package/dist/esm/transactions/instances/identifier.d.mts +1 -1
  234. package/dist/esm/transactions/instances/index.d.mts +1 -1
  235. package/dist/esm/transactions/instances/index.mjs +1 -1
  236. package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
  237. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  238. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
  239. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  240. package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
  241. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  242. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
  243. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  244. package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
  245. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  246. package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
  247. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  248. package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
  249. package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
  250. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  251. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
  252. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  253. package/dist/esm/transactions/management/index.d.mts +2 -2
  254. package/dist/esm/transactions/management/index.mjs +1 -1
  255. package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
  256. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  257. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
  258. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  259. package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
  260. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  261. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
  262. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  263. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
  264. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  265. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
  266. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  267. package/dist/esm/transactions/typeTag/index.d.mts +1 -1
  268. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  269. package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
  270. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  271. package/dist/esm/transactions/types.d.mts +1 -1
  272. package/dist/esm/types/generated/operations.d.mts +37 -10
  273. package/dist/esm/types/generated/queries.d.mts +6 -2
  274. package/dist/esm/types/generated/queries.mjs +1 -1
  275. package/dist/esm/types/generated/types.d.mts +584 -1172
  276. package/dist/esm/types/generated/types.mjs +1 -1
  277. package/dist/esm/types/generated/types.mjs.map +1 -1
  278. package/dist/esm/types/index.d.mts +2 -2
  279. package/dist/esm/types/index.mjs +1 -1
  280. package/dist/esm/types/indexer.d.mts +8 -2
  281. package/dist/esm/types/types.d.mts +1 -1
  282. package/dist/esm/types/types.mjs +1 -1
  283. package/dist/esm/utils/const.d.mts +1 -0
  284. package/dist/esm/utils/const.mjs +1 -1
  285. package/dist/esm/utils/helpers.d.mts +1 -1
  286. package/dist/esm/utils/helpers.mjs +1 -1
  287. package/dist/esm/utils/index.d.mts +1 -1
  288. package/dist/esm/utils/index.mjs +1 -1
  289. package/dist/esm/utils/normalizeBundle.d.mts +1 -1
  290. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  291. package/dist/esm/version.d.mts +1 -1
  292. package/dist/esm/version.mjs +1 -1
  293. package/package.json +1 -1
  294. package/src/account/FederatedKeylessAccount.ts +7 -1
  295. package/src/account/KeylessAccount.ts +17 -2
  296. package/src/api/account.ts +135 -2
  297. package/src/api/transaction.ts +1 -0
  298. package/src/api/transactionSubmission/helpers.ts +26 -20
  299. package/src/api/transactionSubmission/submit.ts +3 -3
  300. package/src/core/crypto/index.ts +1 -0
  301. package/src/core/crypto/multiEd25519.ts +26 -0
  302. package/src/core/crypto/multiKey.ts +6 -0
  303. package/src/core/crypto/types.ts +9 -0
  304. package/src/internal/account.ts +526 -59
  305. package/src/internal/keyless.ts +10 -0
  306. package/src/internal/queries/getAccountAddressesForAuthKey.graphql +8 -0
  307. package/src/internal/queries/getAuthKeysForPublicKey.graphql +11 -0
  308. package/src/types/codegen.yaml +1 -1
  309. package/src/types/generated/operations.ts +39 -8
  310. package/src/types/generated/queries.ts +53 -0
  311. package/src/types/generated/types.ts +620 -1239
  312. package/src/types/indexer.ts +8 -0
  313. package/src/types/types.ts +40 -3
  314. package/src/utils/const.ts +1 -0
  315. package/src/version.ts +1 -1
  316. package/dist/common/chunk-5JIJXVJ5.js +0 -4
  317. package/dist/esm/chunk-4H2RMR7D.mjs +0 -2
  318. package/dist/esm/chunk-4H2RMR7D.mjs.map +0 -1
  319. package/dist/esm/chunk-GMDBBVDH.mjs +0 -6
  320. package/dist/esm/chunk-GMDBBVDH.mjs.map +0 -1
  321. package/dist/esm/chunk-HMUIOIBG.mjs +0 -2
  322. package/dist/esm/chunk-RJ7F4JDV.mjs +0 -2
  323. package/dist/esm/chunk-VHNX2NUR.mjs.map +0 -1
  324. package/dist/esm/chunk-W4BSN6SK.mjs +0 -2
  325. package/dist/esm/chunk-W4BSN6SK.mjs.map +0 -1
  326. /package/dist/esm/{chunk-YHGGNYYL.mjs.map → chunk-2PF7UFKU.mjs.map} +0 -0
  327. /package/dist/esm/{chunk-FSP4QM2T.mjs.map → chunk-JL6RR7ML.mjs.map} +0 -0
  328. /package/dist/esm/{chunk-WOTQ7227.mjs.map → chunk-LIS2GDBI.mjs.map} +0 -0
  329. /package/dist/esm/{chunk-7T62PEFI.mjs.map → chunk-LJEERFEH.mjs.map} +0 -0
  330. /package/dist/esm/{chunk-IDHVW7HS.mjs.map → chunk-O7WBNU4J.mjs.map} +0 -0
  331. /package/dist/esm/{chunk-SAMHWS73.mjs.map → chunk-PXQPKCDD.mjs.map} +0 -0
  332. /package/dist/esm/{chunk-R7NQJWDG.mjs.map → chunk-S335GK43.mjs.map} +0 -0
  333. /package/dist/esm/{chunk-PFXXFUBL.mjs.map → chunk-SZE4RT4B.mjs.map} +0 -0
  334. /package/dist/esm/{chunk-2XQKGWHQ.mjs.map → chunk-V74WPKSY.mjs.map} +0 -0
  335. /package/dist/esm/{chunk-5ZRPV4YI.mjs.map → chunk-VW26RFJ7.mjs.map} +0 -0
  336. /package/dist/esm/{chunk-UIVX6WSC.mjs.map → chunk-Y7ZQTLH4.mjs.map} +0 -0
@@ -178,6 +178,16 @@ export async function deriveKeylessAccount(args: {
178
178
  proofFetchCallback?: ProofFetchCallback;
179
179
  }): Promise<FederatedKeylessAccount>;
180
180
 
181
+ export async function deriveKeylessAccount(args: {
182
+ aptosConfig: AptosConfig;
183
+ jwt: string;
184
+ ephemeralKeyPair: EphemeralKeyPair;
185
+ jwkAddress?: AccountAddressInput;
186
+ uidKey?: string;
187
+ pepper?: HexInput;
188
+ proofFetchCallback?: ProofFetchCallback;
189
+ }): Promise<KeylessAccount | FederatedKeylessAccount>;
190
+
181
191
  export async function deriveKeylessAccount(args: {
182
192
  aptosConfig: AptosConfig;
183
193
  jwt: string;
@@ -0,0 +1,8 @@
1
+ query getAccountAddressesForAuthKey($where_condition: auth_key_account_addresses_bool_exp, $order_by: [auth_key_account_addresses_order_by!]) {
2
+ auth_key_account_addresses(where: $where_condition, order_by: $order_by) {
3
+ auth_key
4
+ account_address
5
+ last_transaction_version
6
+ is_auth_key_used
7
+ }
8
+ }
@@ -0,0 +1,11 @@
1
+ query getAuthKeysForPublicKey($where_condition: public_key_auth_keys_bool_exp, $order_by: [public_key_auth_keys_order_by!]) {
2
+ public_key_auth_keys(where: $where_condition, order_by: $order_by) {
3
+ public_key
4
+ public_key_type
5
+ auth_key
6
+ account_public_key
7
+ last_transaction_version
8
+ is_public_key_used
9
+ signature_type
10
+ }
11
+ }
@@ -1,6 +1,6 @@
1
1
  overwrite: true
2
2
  documents: src/internal/queries/**/*.graphql
3
- schema: https://api.mainnet.aptoslabs.com/v1/graphql
3
+ schema: https://api.devnet.aptoslabs.com/v1/graphql
4
4
  generates:
5
5
  src/types/generated/types.ts:
6
6
  plugins:
@@ -77,6 +77,20 @@ export type CurrentTokenOwnershipFieldsFragment = {
77
77
  } | null;
78
78
  };
79
79
 
80
+ export type GetAccountAddressesForAuthKeyQueryVariables = Types.Exact<{
81
+ where_condition?: Types.InputMaybe<Types.AuthKeyAccountAddressesBoolExp>;
82
+ order_by?: Types.InputMaybe<Array<Types.AuthKeyAccountAddressesOrderBy> | Types.AuthKeyAccountAddressesOrderBy>;
83
+ }>;
84
+
85
+ export type GetAccountAddressesForAuthKeyQuery = {
86
+ auth_key_account_addresses: Array<{
87
+ auth_key: string;
88
+ account_address: string;
89
+ last_transaction_version: any;
90
+ is_auth_key_used: boolean;
91
+ }>;
92
+ };
93
+
80
94
  export type GetAccountCoinsCountQueryVariables = Types.Exact<{
81
95
  address?: Types.InputMaybe<Types.Scalars["String"]["input"]>;
82
96
  }>;
@@ -96,15 +110,15 @@ export type GetAccountCoinsDataQueryVariables = Types.Exact<{
96
110
 
97
111
  export type GetAccountCoinsDataQuery = {
98
112
  current_fungible_asset_balances: Array<{
99
- amount?: any | null;
100
- asset_type?: string | null;
113
+ amount: any;
114
+ asset_type: string;
101
115
  is_frozen: boolean;
102
- is_primary?: boolean | null;
116
+ is_primary: boolean;
103
117
  last_transaction_timestamp?: any | null;
104
118
  last_transaction_version?: any | null;
105
119
  owner_address: string;
106
120
  storage_id: string;
107
- token_standard?: string | null;
121
+ token_standard: string;
108
122
  metadata?: {
109
123
  token_standard: string;
110
124
  symbol: string;
@@ -346,6 +360,23 @@ export type GetAccountTransactionsCountQuery = {
346
360
  account_transactions_aggregate: { aggregate?: { count: number } | null };
347
361
  };
348
362
 
363
+ export type GetAuthKeysForPublicKeyQueryVariables = Types.Exact<{
364
+ where_condition?: Types.InputMaybe<Types.PublicKeyAuthKeysBoolExp>;
365
+ order_by?: Types.InputMaybe<Array<Types.PublicKeyAuthKeysOrderBy> | Types.PublicKeyAuthKeysOrderBy>;
366
+ }>;
367
+
368
+ export type GetAuthKeysForPublicKeyQuery = {
369
+ public_key_auth_keys: Array<{
370
+ public_key: string;
371
+ public_key_type: string;
372
+ auth_key: string;
373
+ account_public_key?: string | null;
374
+ last_transaction_version: any;
375
+ is_public_key_used: boolean;
376
+ signature_type: string;
377
+ }>;
378
+ };
379
+
349
380
  export type GetChainTopUserTransactionsQueryVariables = Types.Exact<{
350
381
  limit?: Types.InputMaybe<Types.Scalars["Int"]["input"]>;
351
382
  }>;
@@ -394,15 +425,15 @@ export type GetCurrentFungibleAssetBalancesQueryVariables = Types.Exact<{
394
425
 
395
426
  export type GetCurrentFungibleAssetBalancesQuery = {
396
427
  current_fungible_asset_balances: Array<{
397
- amount?: any | null;
398
- asset_type?: string | null;
428
+ amount: any;
429
+ asset_type: string;
399
430
  is_frozen: boolean;
400
- is_primary?: boolean | null;
431
+ is_primary: boolean;
401
432
  last_transaction_timestamp?: any | null;
402
433
  last_transaction_version?: any | null;
403
434
  owner_address: string;
404
435
  storage_id: string;
405
- token_standard?: string | null;
436
+ token_standard: string;
406
437
  }>;
407
438
  };
408
439
 
@@ -82,6 +82,16 @@ export const CurrentTokenOwnershipFieldsFragmentDoc = `
82
82
  }
83
83
  }
84
84
  `;
85
+ export const GetAccountAddressesForAuthKey = `
86
+ query getAccountAddressesForAuthKey($where_condition: auth_key_account_addresses_bool_exp, $order_by: [auth_key_account_addresses_order_by!]) {
87
+ auth_key_account_addresses(where: $where_condition, order_by: $order_by) {
88
+ auth_key
89
+ account_address
90
+ last_transaction_version
91
+ is_auth_key_used
92
+ }
93
+ }
94
+ `;
85
95
  export const GetAccountCoinsCount = `
86
96
  query getAccountCoinsCount($address: String) {
87
97
  current_fungible_asset_balances_aggregate(
@@ -220,6 +230,19 @@ export const GetAccountTransactionsCount = `
220
230
  }
221
231
  }
222
232
  `;
233
+ export const GetAuthKeysForPublicKey = `
234
+ query getAuthKeysForPublicKey($where_condition: public_key_auth_keys_bool_exp, $order_by: [public_key_auth_keys_order_by!]) {
235
+ public_key_auth_keys(where: $where_condition, order_by: $order_by) {
236
+ public_key
237
+ public_key_type
238
+ auth_key
239
+ account_public_key
240
+ last_transaction_version
241
+ is_public_key_used
242
+ signature_type
243
+ }
244
+ }
245
+ `;
223
246
  export const GetChainTopUserTransactions = `
224
247
  query getChainTopUserTransactions($limit: Int) {
225
248
  user_transactions(limit: $limit, order_by: {version: desc}) {
@@ -512,6 +535,21 @@ const defaultWrapper: SdkFunctionWrapper = (action, _operationName, _operationTy
512
535
 
513
536
  export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper = defaultWrapper) {
514
537
  return {
538
+ getAccountAddressesForAuthKey(
539
+ variables?: Types.GetAccountAddressesForAuthKeyQueryVariables,
540
+ requestHeaders?: GraphQLClientRequestHeaders,
541
+ ): Promise<Types.GetAccountAddressesForAuthKeyQuery> {
542
+ return withWrapper(
543
+ (wrappedRequestHeaders) =>
544
+ client.request<Types.GetAccountAddressesForAuthKeyQuery>(GetAccountAddressesForAuthKey, variables, {
545
+ ...requestHeaders,
546
+ ...wrappedRequestHeaders,
547
+ }),
548
+ "getAccountAddressesForAuthKey",
549
+ "query",
550
+ variables,
551
+ );
552
+ },
515
553
  getAccountCoinsCount(
516
554
  variables?: Types.GetAccountCoinsCountQueryVariables,
517
555
  requestHeaders?: GraphQLClientRequestHeaders,
@@ -634,6 +672,21 @@ export function getSdk(client: GraphQLClient, withWrapper: SdkFunctionWrapper =
634
672
  variables,
635
673
  );
636
674
  },
675
+ getAuthKeysForPublicKey(
676
+ variables?: Types.GetAuthKeysForPublicKeyQueryVariables,
677
+ requestHeaders?: GraphQLClientRequestHeaders,
678
+ ): Promise<Types.GetAuthKeysForPublicKeyQuery> {
679
+ return withWrapper(
680
+ (wrappedRequestHeaders) =>
681
+ client.request<Types.GetAuthKeysForPublicKeyQuery>(GetAuthKeysForPublicKey, variables, {
682
+ ...requestHeaders,
683
+ ...wrappedRequestHeaders,
684
+ }),
685
+ "getAuthKeysForPublicKey",
686
+ "query",
687
+ variables,
688
+ );
689
+ },
637
690
  getChainTopUserTransactions(
638
691
  variables?: Types.GetChainTopUserTransactionsQueryVariables,
639
692
  requestHeaders?: GraphQLClientRequestHeaders,