@aztec/accounts 0.32.0 → 0.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 (50) hide show
  1. package/dest/artifacts/EcdsaAccount.json +1 -1
  2. package/dest/artifacts/SchnorrAccount.json +1 -1
  3. package/dest/artifacts/SchnorrSingleKeyAccount.json +1 -1
  4. package/dest/defaults/account_contract.d.ts +4 -4
  5. package/dest/defaults/account_contract.d.ts.map +1 -1
  6. package/dest/defaults/account_interface.d.ts +5 -5
  7. package/dest/defaults/account_interface.d.ts.map +1 -1
  8. package/dest/defaults/account_interface.js +1 -1
  9. package/dest/ecdsa/account_contract.d.ts +2 -2
  10. package/dest/ecdsa/account_contract.d.ts.map +1 -1
  11. package/dest/ecdsa/account_contract.js +1 -1
  12. package/dest/ecdsa/artifact.js +1 -1
  13. package/dest/ecdsa/index.d.ts +4 -4
  14. package/dest/ecdsa/index.d.ts.map +1 -1
  15. package/dest/ecdsa/index.js +1 -1
  16. package/dest/schnorr/account_contract.d.ts +3 -3
  17. package/dest/schnorr/account_contract.d.ts.map +1 -1
  18. package/dest/schnorr/account_contract.js +1 -1
  19. package/dest/schnorr/artifact.js +1 -1
  20. package/dest/schnorr/index.d.ts +4 -4
  21. package/dest/schnorr/index.d.ts.map +1 -1
  22. package/dest/schnorr/index.js +1 -1
  23. package/dest/single_key/account_contract.d.ts +2 -2
  24. package/dest/single_key/account_contract.d.ts.map +1 -1
  25. package/dest/single_key/account_contract.js +1 -1
  26. package/dest/single_key/artifact.js +1 -1
  27. package/dest/single_key/index.d.ts +4 -4
  28. package/dest/single_key/index.d.ts.map +1 -1
  29. package/dest/single_key/index.js +1 -1
  30. package/dest/testing/configuration.d.ts +2 -2
  31. package/dest/testing/configuration.d.ts.map +1 -1
  32. package/dest/testing/create_account.d.ts +2 -2
  33. package/dest/testing/create_account.d.ts.map +1 -1
  34. package/package.json +8 -8
  35. package/src/artifacts/EcdsaAccount.json +1 -1
  36. package/src/artifacts/SchnorrAccount.json +1 -1
  37. package/src/artifacts/SchnorrSingleKeyAccount.json +1 -1
  38. package/src/defaults/account_contract.ts +4 -4
  39. package/src/defaults/account_interface.ts +5 -5
  40. package/src/ecdsa/account_contract.ts +4 -4
  41. package/src/ecdsa/artifact.ts +1 -1
  42. package/src/ecdsa/index.ts +4 -4
  43. package/src/schnorr/account_contract.ts +4 -4
  44. package/src/schnorr/artifact.ts +1 -1
  45. package/src/schnorr/index.ts +4 -4
  46. package/src/single_key/account_contract.ts +5 -5
  47. package/src/single_key/artifact.ts +1 -1
  48. package/src/single_key/index.ts +4 -4
  49. package/src/testing/configuration.ts +2 -2
  50. package/src/testing/create_account.ts +2 -2
@@ -1,7 +1,7 @@
1
- import { AccountContract, AccountInterface, AuthWitnessProvider } from '@aztec/aztec.js/account';
2
- import { CompleteAddress } from '@aztec/circuit-types';
3
- import { ContractArtifact } from '@aztec/foundation/abi';
4
- import { NodeInfo } from '@aztec/types/interfaces';
1
+ import { type AccountContract, type AccountInterface, type AuthWitnessProvider } from '@aztec/aztec.js/account';
2
+ import { type CompleteAddress } from '@aztec/circuit-types';
3
+ import { type ContractArtifact } from '@aztec/foundation/abi';
4
+ import { type NodeInfo } from '@aztec/types/interfaces';
5
5
 
6
6
  import { DefaultAccountInterface } from '../defaults/account_interface.js';
7
7
 
@@ -1,9 +1,9 @@
1
- import { AccountInterface, AuthWitnessProvider } from '@aztec/aztec.js/account';
2
- import { EntrypointInterface, FeeOptions } from '@aztec/aztec.js/entrypoint';
3
- import { AuthWitness, FunctionCall, TxExecutionRequest } from '@aztec/circuit-types';
4
- import { AztecAddress, CompleteAddress, Fr } from '@aztec/circuits.js';
1
+ import { type AccountInterface, type AuthWitnessProvider } from '@aztec/aztec.js/account';
2
+ import { type EntrypointInterface, type FeeOptions } from '@aztec/aztec.js/entrypoint';
3
+ import { type AuthWitness, type FunctionCall, type TxExecutionRequest } from '@aztec/circuit-types';
4
+ import { type AztecAddress, type CompleteAddress, Fr } from '@aztec/circuits.js';
5
5
  import { DefaultAccountEntrypoint } from '@aztec/entrypoints/account';
6
- import { NodeInfo } from '@aztec/types/interfaces';
6
+ import { type NodeInfo } from '@aztec/types/interfaces';
7
7
 
8
8
  /**
9
9
  * Default implementation for an account interface. Requires that the account uses the default
@@ -1,8 +1,8 @@
1
- import { AuthWitnessProvider } from '@aztec/aztec.js/account';
2
- import { AuthWitness, CompleteAddress } from '@aztec/circuit-types';
1
+ import { type AuthWitnessProvider } from '@aztec/aztec.js/account';
2
+ import { AuthWitness, type CompleteAddress } from '@aztec/circuit-types';
3
3
  import { Ecdsa } from '@aztec/circuits.js/barretenberg';
4
- import { ContractArtifact } from '@aztec/foundation/abi';
5
- import { Fr } from '@aztec/foundation/fields';
4
+ import { type ContractArtifact } from '@aztec/foundation/abi';
5
+ import { type Fr } from '@aztec/foundation/fields';
6
6
 
7
7
  import { DefaultAccountContract } from '../defaults/account_contract.js';
8
8
  import { EcdsaAccountContractArtifact } from './artifact.js';
@@ -1,4 +1,4 @@
1
- import { NoirCompiledContract, loadContractArtifact } from '@aztec/aztec.js';
1
+ import { type NoirCompiledContract, loadContractArtifact } from '@aztec/aztec.js';
2
2
 
3
3
  import EcdsaAccountContractJson from '../artifacts/EcdsaAccount.json' assert { type: 'json' };
4
4
 
@@ -4,10 +4,10 @@
4
4
  *
5
5
  * @packageDocumentation
6
6
  */
7
- import { AccountManager, Salt } from '@aztec/aztec.js/account';
8
- import { AccountWallet, getWallet } from '@aztec/aztec.js/wallet';
9
- import { GrumpkinPrivateKey, PXE } from '@aztec/circuit-types';
10
- import { AztecAddress } from '@aztec/circuits.js';
7
+ import { AccountManager, type Salt } from '@aztec/aztec.js/account';
8
+ import { type AccountWallet, getWallet } from '@aztec/aztec.js/wallet';
9
+ import { type GrumpkinPrivateKey, type PXE } from '@aztec/circuit-types';
10
+ import { type AztecAddress } from '@aztec/circuits.js';
11
11
 
12
12
  import { EcdsaAccountContract } from './account_contract.js';
13
13
 
@@ -1,8 +1,8 @@
1
- import { AuthWitnessProvider } from '@aztec/aztec.js/account';
2
- import { AuthWitness, CompleteAddress, GrumpkinPrivateKey } from '@aztec/circuit-types';
1
+ import { type AuthWitnessProvider } from '@aztec/aztec.js/account';
2
+ import { AuthWitness, type CompleteAddress, type GrumpkinPrivateKey } from '@aztec/circuit-types';
3
3
  import { Schnorr } from '@aztec/circuits.js/barretenberg';
4
- import { ContractArtifact } from '@aztec/foundation/abi';
5
- import { Fr } from '@aztec/foundation/fields';
4
+ import { type ContractArtifact } from '@aztec/foundation/abi';
5
+ import { type Fr } from '@aztec/foundation/fields';
6
6
 
7
7
  import { DefaultAccountContract } from '../defaults/account_contract.js';
8
8
  import { SchnorrAccountContractArtifact } from './artifact.js';
@@ -1,4 +1,4 @@
1
- import { NoirCompiledContract, loadContractArtifact } from '@aztec/aztec.js';
1
+ import { type NoirCompiledContract, loadContractArtifact } from '@aztec/aztec.js';
2
2
 
3
3
  import SchnorrAccountContractJson from '../artifacts/SchnorrAccount.json' assert { type: 'json' };
4
4
 
@@ -4,10 +4,10 @@
4
4
  *
5
5
  * @packageDocumentation
6
6
  */
7
- import { AccountManager, Salt } from '@aztec/aztec.js/account';
8
- import { AccountWallet, getWallet } from '@aztec/aztec.js/wallet';
9
- import { GrumpkinPrivateKey, PXE } from '@aztec/circuit-types';
10
- import { AztecAddress } from '@aztec/circuits.js';
7
+ import { AccountManager, type Salt } from '@aztec/aztec.js/account';
8
+ import { type AccountWallet, getWallet } from '@aztec/aztec.js/wallet';
9
+ import { type GrumpkinPrivateKey, type PXE } from '@aztec/circuit-types';
10
+ import { type AztecAddress } from '@aztec/circuits.js';
11
11
 
12
12
  import { SchnorrAccountContract } from './account_contract.js';
13
13
 
@@ -1,10 +1,10 @@
1
1
  import { generatePublicKey } from '@aztec/aztec.js';
2
- import { AuthWitnessProvider } from '@aztec/aztec.js/account';
3
- import { AuthWitness, CompleteAddress, GrumpkinPrivateKey } from '@aztec/circuit-types';
4
- import { PartialAddress } from '@aztec/circuits.js';
2
+ import { type AuthWitnessProvider } from '@aztec/aztec.js/account';
3
+ import { AuthWitness, type CompleteAddress, type GrumpkinPrivateKey } from '@aztec/circuit-types';
4
+ import { type PartialAddress } from '@aztec/circuits.js';
5
5
  import { Schnorr } from '@aztec/circuits.js/barretenberg';
6
- import { ContractArtifact } from '@aztec/foundation/abi';
7
- import { Fr } from '@aztec/foundation/fields';
6
+ import { type ContractArtifact } from '@aztec/foundation/abi';
7
+ import { type Fr } from '@aztec/foundation/fields';
8
8
 
9
9
  import { DefaultAccountContract } from '../defaults/account_contract.js';
10
10
  import { SchnorrSingleKeyAccountContractArtifact } from './artifact.js';
@@ -1,4 +1,4 @@
1
- import { NoirCompiledContract, loadContractArtifact } from '@aztec/aztec.js';
1
+ import { type NoirCompiledContract, loadContractArtifact } from '@aztec/aztec.js';
2
2
 
3
3
  import SchnorrSingleKeyAccountContractJson from '../artifacts/SchnorrSingleKeyAccount.json' assert { type: 'json' };
4
4
 
@@ -4,10 +4,10 @@
4
4
  *
5
5
  * @packageDocumentation
6
6
  */
7
- import { AccountManager, Salt } from '@aztec/aztec.js/account';
8
- import { AccountWallet, getWallet } from '@aztec/aztec.js/wallet';
9
- import { GrumpkinPrivateKey, PXE } from '@aztec/circuit-types';
10
- import { AztecAddress } from '@aztec/circuits.js';
7
+ import { AccountManager, type Salt } from '@aztec/aztec.js/account';
8
+ import { type AccountWallet, getWallet } from '@aztec/aztec.js/wallet';
9
+ import { type GrumpkinPrivateKey, type PXE } from '@aztec/circuit-types';
10
+ import { type AztecAddress } from '@aztec/circuits.js';
11
11
 
12
12
  import { SingleKeyAccountContract } from './account_contract.js';
13
13
 
@@ -1,6 +1,6 @@
1
1
  import { generatePublicKey } from '@aztec/aztec.js';
2
- import { AccountWalletWithPrivateKey } from '@aztec/aztec.js/wallet';
3
- import { PXE } from '@aztec/circuit-types';
2
+ import { type AccountWalletWithPrivateKey } from '@aztec/aztec.js/wallet';
3
+ import { type PXE } from '@aztec/circuit-types';
4
4
  import { Fr, GrumpkinScalar } from '@aztec/foundation/fields';
5
5
 
6
6
  import { getSchnorrAccount } from '../schnorr/index.js';
@@ -1,5 +1,5 @@
1
- import { AccountWalletWithPrivateKey } from '@aztec/aztec.js/wallet';
2
- import { PXE } from '@aztec/circuit-types';
1
+ import { type AccountWalletWithPrivateKey } from '@aztec/aztec.js/wallet';
2
+ import { type PXE } from '@aztec/circuit-types';
3
3
  import { GrumpkinScalar } from '@aztec/circuits.js';
4
4
 
5
5
  import { getSchnorrAccount } from '../schnorr/index.js';