@provablehq/sdk 0.10.2-rc.1 → 0.10.3

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 (223) hide show
  1. package/dist/dynamic/browser.cjs +12 -0
  2. package/dist/dynamic/browser.d.cts +8 -0
  3. package/dist/dynamic/browser.d.ts +2 -2
  4. package/dist/dynamic/node.cjs +12 -0
  5. package/dist/dynamic/node.d.cts +8 -0
  6. package/dist/dynamic/node.d.ts +2 -2
  7. package/dist/mainnet/account.d.cts +347 -0
  8. package/dist/mainnet/browser.cjs +8507 -0
  9. package/dist/mainnet/browser.cjs.map +1 -0
  10. package/dist/mainnet/browser.d.cts +72 -0
  11. package/dist/mainnet/browser.d.ts +4 -5
  12. package/dist/mainnet/browser.js +332 -855
  13. package/dist/mainnet/browser.js.map +1 -1
  14. package/dist/mainnet/constants.d.cts +40 -0
  15. package/dist/mainnet/external-signing.d.cts +76 -0
  16. package/dist/mainnet/integrations/sealance/merkle-tree.d.cts +192 -0
  17. package/dist/mainnet/keys/keystore/error.d.cts +24 -0
  18. package/dist/mainnet/keys/keystore/file.d.cts +177 -0
  19. package/dist/mainnet/keys/keystore/interface.d.cts +161 -0
  20. package/dist/mainnet/keys/provider/interface.d.cts +170 -0
  21. package/dist/mainnet/keys/provider/memory.d.cts +213 -0
  22. package/dist/mainnet/keys/provider/memory.d.ts +6 -2
  23. package/dist/mainnet/keys/provider/offline.d.cts +365 -0
  24. package/dist/mainnet/keys/verifier/interface.d.cts +70 -0
  25. package/dist/mainnet/keys/verifier/memory.d.cts +37 -0
  26. package/dist/mainnet/keys/verifier/memory.d.ts +1 -1
  27. package/dist/mainnet/models/authorization.d.cts +6 -0
  28. package/dist/mainnet/models/authorization.d.ts +2 -2
  29. package/dist/mainnet/models/blockJSON.d.cts +33 -0
  30. package/dist/mainnet/models/confirmed_transaction.d.cts +9 -0
  31. package/dist/mainnet/models/cryptoBoxPubkey.d.cts +4 -0
  32. package/dist/mainnet/models/deployment/deploymentJSON.d.cts +6 -0
  33. package/dist/mainnet/models/deployment/deploymentObject.d.cts +6 -0
  34. package/dist/mainnet/models/encryptedProvingRequest.d.cts +4 -0
  35. package/dist/mainnet/models/execution/executionJSON.d.cts +11 -0
  36. package/dist/mainnet/models/execution/executionObject.d.cts +11 -0
  37. package/dist/mainnet/models/external-signing.d.cts +123 -0
  38. package/dist/mainnet/models/finalizeJSON.d.cts +6 -0
  39. package/dist/mainnet/models/functionInput.d.cts +7 -0
  40. package/dist/mainnet/models/functionObject.d.cts +8 -0
  41. package/dist/mainnet/models/imports.d.cts +7 -0
  42. package/dist/mainnet/models/input/inputJSON.d.cts +10 -0
  43. package/dist/mainnet/models/input/inputObject.d.cts +15 -0
  44. package/dist/mainnet/models/inputID.d.cts +4 -0
  45. package/dist/mainnet/models/keyPair.d.cts +4 -0
  46. package/dist/mainnet/models/output/outputJSON.d.cts +7 -0
  47. package/dist/mainnet/models/output/outputObject.d.cts +18 -0
  48. package/dist/mainnet/models/owner/ownerJSON.d.cts +4 -0
  49. package/dist/mainnet/models/owner/ownerObject.d.cts +5 -0
  50. package/dist/mainnet/models/plaintext/array.d.cts +3 -0
  51. package/dist/mainnet/models/plaintext/literal.d.cts +1 -0
  52. package/dist/mainnet/models/plaintext/plaintext.d.cts +5 -0
  53. package/dist/mainnet/models/plaintext/struct.d.cts +5 -0
  54. package/dist/mainnet/models/provingRequest.d.cts +6 -0
  55. package/dist/mainnet/models/provingRequest.d.ts +1 -1
  56. package/dist/mainnet/models/provingResponse.d.cts +51 -0
  57. package/dist/mainnet/models/ratification.d.cts +4 -0
  58. package/dist/mainnet/models/record-provider/encryptedRecord.d.cts +58 -0
  59. package/dist/mainnet/models/record-provider/ownedRecord.d.cts +60 -0
  60. package/dist/mainnet/models/record-provider/recordSearchParams.d.cts +19 -0
  61. package/dist/mainnet/models/record-scanner/encryptedRecordsResult.d.cts +7 -0
  62. package/dist/mainnet/models/record-scanner/encryptedRegistrationRequest.d.cts +8 -0
  63. package/dist/mainnet/models/record-scanner/error.d.cts +47 -0
  64. package/dist/mainnet/models/record-scanner/error.d.ts +1 -1
  65. package/dist/mainnet/models/record-scanner/ownedFilter.d.cts +22 -0
  66. package/dist/mainnet/models/record-scanner/ownedFilter.d.ts +3 -3
  67. package/dist/mainnet/models/record-scanner/ownedRecordsResponseFilter.d.cts +42 -0
  68. package/dist/mainnet/models/record-scanner/ownedRecordsResult.d.cts +13 -0
  69. package/dist/mainnet/models/record-scanner/recordsFilter.d.cts +35 -0
  70. package/dist/mainnet/models/record-scanner/recordsFilter.d.ts +2 -2
  71. package/dist/mainnet/models/record-scanner/recordsResponseFilter.d.cts +42 -0
  72. package/dist/mainnet/models/record-scanner/registrationRequest.d.cts +13 -0
  73. package/dist/mainnet/models/record-scanner/registrationResponse.d.cts +13 -0
  74. package/dist/mainnet/models/record-scanner/registrationResult.d.cts +9 -0
  75. package/dist/mainnet/models/record-scanner/revokeResult.d.cts +17 -0
  76. package/dist/mainnet/models/record-scanner/serialNumbersResult.d.cts +15 -0
  77. package/dist/mainnet/models/record-scanner/statusResponse.d.cts +13 -0
  78. package/dist/mainnet/models/record-scanner/statusResult.d.cts +13 -0
  79. package/dist/mainnet/models/record-scanner/tagsResult.d.cts +12 -0
  80. package/dist/mainnet/models/request.d.cts +14 -0
  81. package/dist/mainnet/models/request.d.ts +1 -1
  82. package/dist/mainnet/models/solution.d.cts +14 -0
  83. package/dist/mainnet/models/transaction/transactionJSON.d.cts +11 -0
  84. package/dist/mainnet/models/transaction/transactionObject.d.cts +14 -0
  85. package/dist/mainnet/models/transition/transitionJSON.d.cts +13 -0
  86. package/dist/mainnet/models/transition/transitionObject.d.cts +15 -0
  87. package/dist/mainnet/network-client.d.cts +850 -0
  88. package/dist/mainnet/network-client.d.ts +3 -16
  89. package/dist/mainnet/node-polyfill.cjs +238 -0
  90. package/dist/mainnet/node-polyfill.cjs.map +1 -0
  91. package/dist/mainnet/node-polyfill.d.cts +5 -0
  92. package/dist/mainnet/node-polyfill.js +1 -1
  93. package/dist/mainnet/node-polyfill.js.map +1 -1
  94. package/dist/mainnet/node.cjs +685 -0
  95. package/dist/mainnet/node.cjs.map +1 -0
  96. package/dist/mainnet/node.d.cts +3 -0
  97. package/dist/mainnet/node.js +3 -3
  98. package/dist/mainnet/polyfill/crypto.d.cts +1 -0
  99. package/dist/mainnet/polyfill/fetch.d.cts +1 -0
  100. package/dist/mainnet/polyfill/shared.d.cts +1 -0
  101. package/dist/mainnet/polyfill/worker.d.cts +1 -0
  102. package/dist/mainnet/polyfill/xmlhttprequest.d.cts +1 -0
  103. package/dist/mainnet/program-manager.d.cts +1588 -0
  104. package/dist/mainnet/program-manager.d.ts +1 -62
  105. package/dist/mainnet/record-provider.d.cts +274 -0
  106. package/dist/mainnet/record-scanner.d.cts +371 -0
  107. package/dist/mainnet/record-scanner.d.ts +9 -6
  108. package/dist/mainnet/security.d.cts +62 -0
  109. package/dist/mainnet/security.d.ts +5 -5
  110. package/dist/mainnet/utils.d.cts +23 -0
  111. package/dist/mainnet/utils.d.ts +10 -2
  112. package/dist/mainnet/wasm.d.cts +1 -0
  113. package/dist/mainnet/wasm.d.ts +1 -1
  114. package/dist/testnet/account.d.cts +347 -0
  115. package/dist/testnet/browser.cjs +8507 -0
  116. package/dist/testnet/browser.cjs.map +1 -0
  117. package/dist/testnet/browser.d.cts +72 -0
  118. package/dist/testnet/browser.d.ts +4 -5
  119. package/dist/testnet/browser.js +332 -855
  120. package/dist/testnet/browser.js.map +1 -1
  121. package/dist/testnet/constants.d.cts +40 -0
  122. package/dist/testnet/external-signing.d.cts +76 -0
  123. package/dist/testnet/integrations/sealance/merkle-tree.d.cts +192 -0
  124. package/dist/testnet/keys/keystore/error.d.cts +24 -0
  125. package/dist/testnet/keys/keystore/file.d.cts +177 -0
  126. package/dist/testnet/keys/keystore/interface.d.cts +161 -0
  127. package/dist/testnet/keys/provider/interface.d.cts +170 -0
  128. package/dist/testnet/keys/provider/memory.d.cts +213 -0
  129. package/dist/testnet/keys/provider/memory.d.ts +6 -2
  130. package/dist/testnet/keys/provider/offline.d.cts +365 -0
  131. package/dist/testnet/keys/verifier/interface.d.cts +70 -0
  132. package/dist/testnet/keys/verifier/memory.d.cts +37 -0
  133. package/dist/testnet/keys/verifier/memory.d.ts +1 -1
  134. package/dist/testnet/models/authorization.d.cts +6 -0
  135. package/dist/testnet/models/authorization.d.ts +2 -2
  136. package/dist/testnet/models/blockJSON.d.cts +33 -0
  137. package/dist/testnet/models/confirmed_transaction.d.cts +9 -0
  138. package/dist/testnet/models/cryptoBoxPubkey.d.cts +4 -0
  139. package/dist/testnet/models/deployment/deploymentJSON.d.cts +6 -0
  140. package/dist/testnet/models/deployment/deploymentObject.d.cts +6 -0
  141. package/dist/testnet/models/encryptedProvingRequest.d.cts +4 -0
  142. package/dist/testnet/models/execution/executionJSON.d.cts +11 -0
  143. package/dist/testnet/models/execution/executionObject.d.cts +11 -0
  144. package/dist/testnet/models/external-signing.d.cts +123 -0
  145. package/dist/testnet/models/finalizeJSON.d.cts +6 -0
  146. package/dist/testnet/models/functionInput.d.cts +7 -0
  147. package/dist/testnet/models/functionObject.d.cts +8 -0
  148. package/dist/testnet/models/imports.d.cts +7 -0
  149. package/dist/testnet/models/input/inputJSON.d.cts +10 -0
  150. package/dist/testnet/models/input/inputObject.d.cts +15 -0
  151. package/dist/testnet/models/inputID.d.cts +4 -0
  152. package/dist/testnet/models/keyPair.d.cts +4 -0
  153. package/dist/testnet/models/output/outputJSON.d.cts +7 -0
  154. package/dist/testnet/models/output/outputObject.d.cts +18 -0
  155. package/dist/testnet/models/owner/ownerJSON.d.cts +4 -0
  156. package/dist/testnet/models/owner/ownerObject.d.cts +5 -0
  157. package/dist/testnet/models/plaintext/array.d.cts +3 -0
  158. package/dist/testnet/models/plaintext/literal.d.cts +1 -0
  159. package/dist/testnet/models/plaintext/plaintext.d.cts +5 -0
  160. package/dist/testnet/models/plaintext/struct.d.cts +5 -0
  161. package/dist/testnet/models/provingRequest.d.cts +6 -0
  162. package/dist/testnet/models/provingRequest.d.ts +1 -1
  163. package/dist/testnet/models/provingResponse.d.cts +51 -0
  164. package/dist/testnet/models/ratification.d.cts +4 -0
  165. package/dist/testnet/models/record-provider/encryptedRecord.d.cts +58 -0
  166. package/dist/testnet/models/record-provider/ownedRecord.d.cts +60 -0
  167. package/dist/testnet/models/record-provider/recordSearchParams.d.cts +19 -0
  168. package/dist/testnet/models/record-scanner/encryptedRecordsResult.d.cts +7 -0
  169. package/dist/testnet/models/record-scanner/encryptedRegistrationRequest.d.cts +8 -0
  170. package/dist/testnet/models/record-scanner/error.d.cts +47 -0
  171. package/dist/testnet/models/record-scanner/error.d.ts +1 -1
  172. package/dist/testnet/models/record-scanner/ownedFilter.d.cts +22 -0
  173. package/dist/testnet/models/record-scanner/ownedFilter.d.ts +3 -3
  174. package/dist/testnet/models/record-scanner/ownedRecordsResponseFilter.d.cts +42 -0
  175. package/dist/testnet/models/record-scanner/ownedRecordsResult.d.cts +13 -0
  176. package/dist/testnet/models/record-scanner/recordsFilter.d.cts +35 -0
  177. package/dist/testnet/models/record-scanner/recordsFilter.d.ts +2 -2
  178. package/dist/testnet/models/record-scanner/recordsResponseFilter.d.cts +42 -0
  179. package/dist/testnet/models/record-scanner/registrationRequest.d.cts +13 -0
  180. package/dist/testnet/models/record-scanner/registrationResponse.d.cts +13 -0
  181. package/dist/testnet/models/record-scanner/registrationResult.d.cts +9 -0
  182. package/dist/testnet/models/record-scanner/revokeResult.d.cts +17 -0
  183. package/dist/testnet/models/record-scanner/serialNumbersResult.d.cts +15 -0
  184. package/dist/testnet/models/record-scanner/statusResponse.d.cts +13 -0
  185. package/dist/testnet/models/record-scanner/statusResult.d.cts +13 -0
  186. package/dist/testnet/models/record-scanner/tagsResult.d.cts +12 -0
  187. package/dist/testnet/models/request.d.cts +14 -0
  188. package/dist/testnet/models/request.d.ts +1 -1
  189. package/dist/testnet/models/solution.d.cts +14 -0
  190. package/dist/testnet/models/transaction/transactionJSON.d.cts +11 -0
  191. package/dist/testnet/models/transaction/transactionObject.d.cts +14 -0
  192. package/dist/testnet/models/transition/transitionJSON.d.cts +13 -0
  193. package/dist/testnet/models/transition/transitionObject.d.cts +15 -0
  194. package/dist/testnet/network-client.d.cts +850 -0
  195. package/dist/testnet/network-client.d.ts +3 -16
  196. package/dist/testnet/node-polyfill.cjs +238 -0
  197. package/dist/testnet/node-polyfill.cjs.map +1 -0
  198. package/dist/testnet/node-polyfill.d.cts +5 -0
  199. package/dist/testnet/node-polyfill.js +1 -1
  200. package/dist/testnet/node-polyfill.js.map +1 -1
  201. package/dist/testnet/node.cjs +685 -0
  202. package/dist/testnet/node.cjs.map +1 -0
  203. package/dist/testnet/node.d.cts +3 -0
  204. package/dist/testnet/node.js +3 -3
  205. package/dist/testnet/polyfill/crypto.d.cts +1 -0
  206. package/dist/testnet/polyfill/fetch.d.cts +1 -0
  207. package/dist/testnet/polyfill/shared.d.cts +1 -0
  208. package/dist/testnet/polyfill/worker.d.cts +1 -0
  209. package/dist/testnet/polyfill/xmlhttprequest.d.cts +1 -0
  210. package/dist/testnet/program-manager.d.cts +1588 -0
  211. package/dist/testnet/program-manager.d.ts +1 -62
  212. package/dist/testnet/record-provider.d.cts +274 -0
  213. package/dist/testnet/record-scanner.d.cts +371 -0
  214. package/dist/testnet/record-scanner.d.ts +9 -6
  215. package/dist/testnet/security.d.cts +62 -0
  216. package/dist/testnet/security.d.ts +5 -5
  217. package/dist/testnet/utils.d.cts +23 -0
  218. package/dist/testnet/utils.d.ts +10 -2
  219. package/dist/testnet/wasm.d.cts +1 -0
  220. package/dist/testnet/wasm.d.ts +1 -1
  221. package/package.json +51 -13
  222. package/dist/mainnet/keys/keystore/indexeddb.d.ts +0 -49
  223. package/dist/testnet/keys/keystore/indexeddb.d.ts +0 -49
@@ -0,0 +1,72 @@
1
+ import "./polyfill/shared.js";
2
+ import { Account } from "./account.js";
3
+ import { AleoNetworkClient, ProgramImports } from "./network-client.js";
4
+ import { BlockJSON, Header, Metadata } from "./models/blockJSON.js";
5
+ import { CachedKeyPair, FunctionKeyPair } from "./models/keyPair.js";
6
+ import { ConfirmedTransactionJSON } from "./models/confirmed_transaction.js";
7
+ import { CryptoBoxPubKey } from "./models/cryptoBoxPubkey.js";
8
+ import { DeploymentJSON, VerifyingKeys } from "./models/deployment/deploymentJSON.js";
9
+ import { DeploymentObject } from "./models/deployment/deploymentObject.js";
10
+ import { EncryptedProvingRequest } from "./models/encryptedProvingRequest.js";
11
+ import { EncryptedRecord } from "./models/record-provider/encryptedRecord.js";
12
+ import { ExecutionJSON, FeeExecutionJSON } from "./models/execution/executionJSON.js";
13
+ import { ExecutionObject, FeeExecutionObject } from "./models/execution/executionObject.js";
14
+ import { FinalizeJSON } from "./models/finalizeJSON.js";
15
+ import { FunctionInput } from "./models/functionInput.js";
16
+ import { FunctionObject } from "./models/functionObject.js";
17
+ import { ImportedVerifyingKeys, ImportedPrograms } from "./models/imports.js";
18
+ import { InputJSON } from "./models/input/inputJSON.js";
19
+ import { InputObject } from "./models/input/inputObject.js";
20
+ import { OutputJSON } from "./models/output/outputJSON.js";
21
+ import { OutputObject } from "./models/output/outputObject.js";
22
+ import { OwnedFilter } from "./models/record-scanner/ownedFilter.js";
23
+ import { OwnedRecord } from "./models/record-provider/ownedRecord.js";
24
+ import { OwnerJSON } from "./models/owner/ownerJSON.js";
25
+ import { PlaintextArray } from "./models/plaintext/array.js";
26
+ import { PlaintextLiteral } from "./models/plaintext/literal.js";
27
+ import { PlaintextObject } from "./models/plaintext/plaintext.js";
28
+ import { PlaintextStruct } from "./models/plaintext/struct.js";
29
+ import { ProvingRequestJSON } from "./models/provingRequest.js";
30
+ import { ProvingResponse, BroadcastResponse, BroadcastResult, ProvingResult, ProvingFailure, ProvingSuccess, ProveApiErrorBody, ProvingRequestError, isProvingResponse, isProveApiErrorBody } from "./models/provingResponse.js";
31
+ import { RatificationJSON } from "./models/ratification.js";
32
+ import { EncryptedRegistrationRequest } from "./models/record-scanner/encryptedRegistrationRequest.js";
33
+ import { EncryptedRecordsResult, EncryptedRecordsSuccess } from "./models/record-scanner/encryptedRecordsResult.js";
34
+ import { DecryptionNotEnabledError, RecordNotFoundError, RecordScannerErrorBody, RecordScannerFailure, RecordScannerRequestError, UUIDError, ViewKeyNotStoredError } from "./models/record-scanner/error.js";
35
+ import { OwnedRecordsResult, OwnedRecordsSuccess } from "./models/record-scanner/ownedRecordsResult.js";
36
+ import { OwnedRecordsResponseFilter } from "./models/record-scanner/ownedRecordsResponseFilter.js";
37
+ import { RegisterResult, RegisterSuccess } from "./models/record-scanner/registrationResult.js";
38
+ import { RegistrationRequest } from "./models/record-scanner/registrationRequest.js";
39
+ import { RegistrationResponse } from "./models/record-scanner/registrationResponse.js";
40
+ import { RevokeResult, RevokeSuccess, RevokeResponse } from "./models/record-scanner/revokeResult.js";
41
+ import { RecordsFilter } from "./models/record-scanner/recordsFilter.js";
42
+ import { RecordsResponseFilter } from "./models/record-scanner/recordsResponseFilter.js";
43
+ import { SerialNumbersResult, SerialNumbersSuccess } from "./models/record-scanner/serialNumbersResult.js";
44
+ import { StatusResponse } from "./models/record-scanner/statusResponse.js";
45
+ import { StatusResult, StatusSuccess } from "./models/record-scanner/statusResult.js";
46
+ import { TagsResult, TagsSuccess } from "./models/record-scanner/tagsResult.js";
47
+ import { RecordSearchParams } from "./models/record-provider/recordSearchParams.js";
48
+ import { SolutionsJSON, SolutionJSON, PartialSolutionJSON } from "./models/solution.js";
49
+ import { TransactionJSON } from "./models/transaction/transactionJSON.js";
50
+ import { TransactionObject } from "./models/transaction/transactionObject.js";
51
+ import { TransitionJSON } from "./models/transition/transitionJSON.js";
52
+ import { TransitionObject } from "./models/transition/transitionObject.js";
53
+ import { FunctionKeyProvider, KeySearchParams } from "./keys/provider/interface.js";
54
+ import { AleoKeyProvider, AleoKeyProviderParams, AleoKeyProviderInitParams } from "./keys/provider/memory.js";
55
+ import { KeyFingerprint, KeyMetadata, KeyVerificationError, KeyVerifier, sha256Hex } from "./keys/verifier/interface.js";
56
+ import { MemKeyVerifier } from "./keys/verifier/memory.js";
57
+ import { BaseFunctionKeyLocator, InvalidLocatorError, InvalidLocatorReason, KeyLocator, KeyStore, KeyType, ProvingKeyLocator, TranslationKeyLocator, VerifyingKeyLocator, provingKeyLocator, verifyingKeyLocator, translationKeyLocator } from "./keys/keystore/interface.js";
58
+ import { OfflineKeyProvider, OfflineSearchParams } from "./keys/provider/offline.js";
59
+ import { BlockHeightSearch, NetworkRecordProvider, RecordProvider } from "./record-provider.js";
60
+ import { RecordScanner, RecordScannerJWTData, RecordScannerOptions } from "./record-scanner.js";
61
+ import { SealanceMerkleTree } from "./integrations/sealance/merkle-tree.js";
62
+ declare function initializeWasm(): Promise<void>;
63
+ export { ProgramManager, ProvingRequestOptions, ExecuteOptions, FeeAuthorizationOptions, AuthorizationOptions, VerificationOptions, BatchVerificationOptions, inputsToFields, verifyProof, verifyBatchProof } from "./program-manager.js";
64
+ export { logAndThrow, TransportFunction } from "./utils.js";
65
+ export { Address, Authorization, Boolean, BHP256, BHP512, BHP768, BHP1024, Ciphertext, ComputeKey, DynamicRecord, Execution as FunctionExecution, ExecutionRequest, ExecutionResponse, EncryptionToolkit, Field, GraphKey, Group, I8, I16, I32, I64, I128, OfflineQuery, Pedersen64, Pedersen128, Plaintext, Poseidon2, Poseidon4, Poseidon8, PrivateKey, PrivateKeyCiphertext, Program, ProgramManager as ProgramManagerBase, Proof, ProvingKey, ProvingRequest, RecordCiphertext, RecordPlaintext, Signature, Scalar, stringToField, Transaction, Transition, U8, U16, U32, U64, U128, Value, VerifyingKey, ViewKey, initThreadPool, getOrInitConsensusVersionTestHeights, snarkVerify, snarkVerifyBatch, verifyFunctionExecution, } from "./wasm.js";
66
+ export { initializeWasm };
67
+ export { Key, CREDITS_PROGRAM_KEYS, KEY_STORE, PRIVATE_TRANSFER, PRIVATE_TO_PUBLIC_TRANSFER, PRIVATE_TRANSFER_TYPES, PUBLIC_TRANSFER, PUBLIC_TRANSFER_AS_SIGNER, PUBLIC_TO_PRIVATE_TRANSFER, RECORD_DOMAIN, VALID_TRANSFER_TYPES, } from "./constants.js";
68
+ export { Account, AleoKeyProvider, AleoKeyProviderParams, AleoKeyProviderInitParams, AleoNetworkClient, BlockJSON, BlockHeightSearch, BroadcastResponse, BroadcastResult, CachedKeyPair, ConfirmedTransactionJSON, CryptoBoxPubKey, DecryptionNotEnabledError, DeploymentJSON, DeploymentObject, EncryptedProvingRequest, EncryptedRecord, EncryptedRegistrationRequest, EncryptedRecordsResult, EncryptedRecordsSuccess, ExecutionJSON, ExecutionObject, FeeExecutionJSON, FeeExecutionObject, FinalizeJSON, FunctionInput, FunctionObject, FunctionKeyPair, FunctionKeyProvider, Header, isProvingResponse, isProveApiErrorBody, ImportedPrograms, ImportedVerifyingKeys, InputJSON, InputObject, InvalidLocatorError, InvalidLocatorReason, BaseFunctionKeyLocator, KeyFingerprint, KeyLocator, KeyMetadata, KeySearchParams, KeyStore, KeyType, KeyVerificationError, ProvingKeyLocator, provingKeyLocator, TranslationKeyLocator, translationKeyLocator, VerifyingKeyLocator, verifyingKeyLocator, KeyVerifier, MemKeyVerifier, Metadata, NetworkRecordProvider, OfflineKeyProvider, OfflineSearchParams, OutputJSON, OutputObject, OwnedFilter, OwnedRecord, OwnedRecordsResult, OwnedRecordsResponseFilter, OwnedRecordsSuccess, OwnerJSON, PartialSolutionJSON, PlaintextArray, PlaintextLiteral, PlaintextObject, PlaintextStruct, ProgramImports, ProveApiErrorBody, ProvingFailure, ProvingRequestError, ProvingRequestJSON, ProvingResult, ProvingSuccess, ProvingResponse, RatificationJSON, RecordsFilter, RecordsResponseFilter, RecordProvider, RecordScanner, RecordScannerErrorBody, RecordScannerFailure, RecordScannerJWTData, RecordScannerOptions, RecordNotFoundError, RecordScannerRequestError, ViewKeyNotStoredError, RecordSearchParams, RegisterResult, RegisterSuccess, RegistrationRequest, RegistrationResponse, RevokeResult, RevokeSuccess, RevokeResponse, SealanceMerkleTree, SerialNumbersResult, SerialNumbersSuccess, sha256Hex, SolutionJSON, SolutionsJSON, StatusResponse, StatusResult, StatusSuccess, TagsResult, TagsSuccess, TransactionJSON, TransactionObject, TransitionJSON, TransitionObject, UUIDError, VerifyingKeys, };
69
+ export { KeyVerificationError as ChecksumMismatchError, KeyVerifier as FunctionKeyVerifier, } from "./keys/verifier/interface.js";
70
+ export { encryptAuthorization, encryptProvingRequest, encryptViewKey, encryptRegistrationRequest, zeroizeBytes } from "./security.js";
71
+ export { toField, toGroup, toViewKey, toSignature, toAddress, isViewKeyStrategy, isInputIdStrategy, isRecordViewKeyStrategy, buildExecutionRequestFromExternallySignedData, computeExternalSigningInputs, } from "./external-signing.js";
72
+ export type { FieldLike, GroupLike, ViewKeyLike, SignatureLike, AddressLike, InputID, ExecutionRequestParams, RecordViewKeyStrategy, ViewKeyStrategy, InputIdStrategy, InputStrategy, ExternalSigningInput, ExternalSigningOptions, RequestSignInput, OutputFormat, FieldOutput, } from "./external-signing.js";
@@ -1,5 +1,4 @@
1
1
  import "./polyfill/shared.js";
2
- import { IndexedDBKeyStore } from "./keys/keystore/indexeddb.js";
3
2
  import { Account } from "./account.js";
4
3
  import { AleoNetworkClient, ProgramImports } from "./network-client.js";
5
4
  import { BlockJSON, Header, Metadata } from "./models/blockJSON.js";
@@ -13,7 +12,7 @@ import { EncryptedRecord } from "./models/record-provider/encryptedRecord.js";
13
12
  import { ExecutionJSON, FeeExecutionJSON } from "./models/execution/executionJSON.js";
14
13
  import { ExecutionObject, FeeExecutionObject } from "./models/execution/executionObject.js";
15
14
  import { FinalizeJSON } from "./models/finalizeJSON.js";
16
- import { FunctionInput } from "./models/functionInput";
15
+ import { FunctionInput } from "./models/functionInput.js";
17
16
  import { FunctionObject } from "./models/functionObject.js";
18
17
  import { ImportedVerifyingKeys, ImportedPrograms } from "./models/imports.js";
19
18
  import { InputJSON } from "./models/input/inputJSON.js";
@@ -62,11 +61,11 @@ import { RecordScanner, RecordScannerJWTData, RecordScannerOptions } from "./rec
62
61
  import { SealanceMerkleTree } from "./integrations/sealance/merkle-tree.js";
63
62
  declare function initializeWasm(): Promise<void>;
64
63
  export { ProgramManager, ProvingRequestOptions, ExecuteOptions, FeeAuthorizationOptions, AuthorizationOptions, VerificationOptions, BatchVerificationOptions, inputsToFields, verifyProof, verifyBatchProof } from "./program-manager.js";
65
- export { logAndThrow } from "./utils.js";
66
- export { Address, Authorization, Boolean, BHP256, BHP512, BHP768, BHP1024, Ciphertext, ComputeKey, DynamicRecord, Execution as FunctionExecution, ExecutionRequest, ExecutionResponse, EncryptionToolkit, Field, GraphKey, Group, I8, I16, I32, I64, I128, OfflineQuery, Pedersen64, Pedersen128, Plaintext, Poseidon2, Poseidon4, Poseidon8, PrivateKey, PrivateKeyCiphertext, Program, ProgramImportsBuilder, ProgramManager as ProgramManagerBase, Proof, ProvingKey, ProvingRequest, RecordCiphertext, RecordPlaintext, Signature, Scalar, stringToField, Transaction, Transition, U8, U16, U32, U64, U128, Value, VerifyingKey, ViewKey, initThreadPool, getOrInitConsensusVersionTestHeights, snarkVerify, snarkVerifyBatch, verifyFunctionExecution, } from "./wasm.js";
64
+ export { logAndThrow, TransportFunction } from "./utils.js";
65
+ export { Address, Authorization, Boolean, BHP256, BHP512, BHP768, BHP1024, Ciphertext, ComputeKey, DynamicRecord, Execution as FunctionExecution, ExecutionRequest, ExecutionResponse, EncryptionToolkit, Field, GraphKey, Group, I8, I16, I32, I64, I128, OfflineQuery, Pedersen64, Pedersen128, Plaintext, Poseidon2, Poseidon4, Poseidon8, PrivateKey, PrivateKeyCiphertext, Program, ProgramManager as ProgramManagerBase, Proof, ProvingKey, ProvingRequest, RecordCiphertext, RecordPlaintext, Signature, Scalar, stringToField, Transaction, Transition, U8, U16, U32, U64, U128, Value, VerifyingKey, ViewKey, initThreadPool, getOrInitConsensusVersionTestHeights, snarkVerify, snarkVerifyBatch, verifyFunctionExecution, } from "./wasm.js";
67
66
  export { initializeWasm };
68
67
  export { Key, CREDITS_PROGRAM_KEYS, KEY_STORE, PRIVATE_TRANSFER, PRIVATE_TO_PUBLIC_TRANSFER, PRIVATE_TRANSFER_TYPES, PUBLIC_TRANSFER, PUBLIC_TRANSFER_AS_SIGNER, PUBLIC_TO_PRIVATE_TRANSFER, RECORD_DOMAIN, VALID_TRANSFER_TYPES, } from "./constants.js";
69
- export { Account, AleoKeyProvider, AleoKeyProviderParams, AleoKeyProviderInitParams, AleoNetworkClient, BlockJSON, BlockHeightSearch, BroadcastResponse, BroadcastResult, CachedKeyPair, ConfirmedTransactionJSON, CryptoBoxPubKey, DecryptionNotEnabledError, DeploymentJSON, DeploymentObject, EncryptedProvingRequest, EncryptedRecord, EncryptedRegistrationRequest, EncryptedRecordsResult, EncryptedRecordsSuccess, ExecutionJSON, ExecutionObject, FeeExecutionJSON, FeeExecutionObject, FinalizeJSON, FunctionInput, FunctionObject, FunctionKeyPair, FunctionKeyProvider, Header, isProvingResponse, isProveApiErrorBody, ImportedPrograms, ImportedVerifyingKeys, IndexedDBKeyStore, InputJSON, InputObject, InvalidLocatorError, InvalidLocatorReason, BaseFunctionKeyLocator, KeyFingerprint, KeyLocator, KeyMetadata, KeySearchParams, KeyStore, KeyType, KeyVerificationError, ProvingKeyLocator, provingKeyLocator, TranslationKeyLocator, translationKeyLocator, VerifyingKeyLocator, verifyingKeyLocator, KeyVerifier, MemKeyVerifier, Metadata, NetworkRecordProvider, OfflineKeyProvider, OfflineSearchParams, OutputJSON, OutputObject, OwnedFilter, OwnedRecord, OwnedRecordsResult, OwnedRecordsResponseFilter, OwnedRecordsSuccess, OwnerJSON, PartialSolutionJSON, PlaintextArray, PlaintextLiteral, PlaintextObject, PlaintextStruct, ProgramImports, ProveApiErrorBody, ProvingFailure, ProvingRequestError, ProvingRequestJSON, ProvingResult, ProvingSuccess, ProvingResponse, RatificationJSON, RecordsFilter, RecordsResponseFilter, RecordProvider, RecordScanner, RecordScannerErrorBody, RecordScannerFailure, RecordScannerJWTData, RecordScannerOptions, RecordNotFoundError, RecordScannerRequestError, ViewKeyNotStoredError, RecordSearchParams, RegisterResult, RegisterSuccess, RegistrationRequest, RegistrationResponse, RevokeResult, RevokeSuccess, RevokeResponse, SealanceMerkleTree, SerialNumbersResult, SerialNumbersSuccess, sha256Hex, SolutionJSON, SolutionsJSON, StatusResponse, StatusResult, StatusSuccess, TagsResult, TagsSuccess, TransactionJSON, TransactionObject, TransitionJSON, TransitionObject, UUIDError, VerifyingKeys, };
68
+ export { Account, AleoKeyProvider, AleoKeyProviderParams, AleoKeyProviderInitParams, AleoNetworkClient, BlockJSON, BlockHeightSearch, BroadcastResponse, BroadcastResult, CachedKeyPair, ConfirmedTransactionJSON, CryptoBoxPubKey, DecryptionNotEnabledError, DeploymentJSON, DeploymentObject, EncryptedProvingRequest, EncryptedRecord, EncryptedRegistrationRequest, EncryptedRecordsResult, EncryptedRecordsSuccess, ExecutionJSON, ExecutionObject, FeeExecutionJSON, FeeExecutionObject, FinalizeJSON, FunctionInput, FunctionObject, FunctionKeyPair, FunctionKeyProvider, Header, isProvingResponse, isProveApiErrorBody, ImportedPrograms, ImportedVerifyingKeys, InputJSON, InputObject, InvalidLocatorError, InvalidLocatorReason, BaseFunctionKeyLocator, KeyFingerprint, KeyLocator, KeyMetadata, KeySearchParams, KeyStore, KeyType, KeyVerificationError, ProvingKeyLocator, provingKeyLocator, TranslationKeyLocator, translationKeyLocator, VerifyingKeyLocator, verifyingKeyLocator, KeyVerifier, MemKeyVerifier, Metadata, NetworkRecordProvider, OfflineKeyProvider, OfflineSearchParams, OutputJSON, OutputObject, OwnedFilter, OwnedRecord, OwnedRecordsResult, OwnedRecordsResponseFilter, OwnedRecordsSuccess, OwnerJSON, PartialSolutionJSON, PlaintextArray, PlaintextLiteral, PlaintextObject, PlaintextStruct, ProgramImports, ProveApiErrorBody, ProvingFailure, ProvingRequestError, ProvingRequestJSON, ProvingResult, ProvingSuccess, ProvingResponse, RatificationJSON, RecordsFilter, RecordsResponseFilter, RecordProvider, RecordScanner, RecordScannerErrorBody, RecordScannerFailure, RecordScannerJWTData, RecordScannerOptions, RecordNotFoundError, RecordScannerRequestError, ViewKeyNotStoredError, RecordSearchParams, RegisterResult, RegisterSuccess, RegistrationRequest, RegistrationResponse, RevokeResult, RevokeSuccess, RevokeResponse, SealanceMerkleTree, SerialNumbersResult, SerialNumbersSuccess, sha256Hex, SolutionJSON, SolutionsJSON, StatusResponse, StatusResult, StatusSuccess, TagsResult, TagsSuccess, TransactionJSON, TransactionObject, TransitionJSON, TransitionObject, UUIDError, VerifyingKeys, };
70
69
  export { KeyVerificationError as ChecksumMismatchError, KeyVerifier as FunctionKeyVerifier, } from "./keys/verifier/interface.js";
71
70
  export { encryptAuthorization, encryptProvingRequest, encryptViewKey, encryptRegistrationRequest, zeroizeBytes } from "./security.js";
72
71
  export { toField, toGroup, toViewKey, toSignature, toAddress, isViewKeyStrategy, isInputIdStrategy, isRecordViewKeyStrategy, buildExecutionRequestFromExternallySignedData, computeExternalSigningInputs, } from "./external-signing.js";