@aztec/test-wallet 3.0.0-nightly.20251121 → 3.0.0-nightly.20251122
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.
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ContractArtifact } from '@aztec/aztec.js/abi';
|
|
2
2
|
import { type Account, type AccountContract } from '@aztec/aztec.js/account';
|
|
3
3
|
import { type CallIntent, type ContractFunctionInteractionCallIntent, type IntentInnerHash, SetPublicAuthwitContractInteraction } from '@aztec/aztec.js/authorization';
|
|
4
|
-
import {
|
|
5
|
-
import { AccountManager } from '@aztec/aztec.js/wallet';
|
|
4
|
+
import { AccountManager, type SendOptions, type SimulateOptions } from '@aztec/aztec.js/wallet';
|
|
6
5
|
import { Fq, Fr } from '@aztec/foundation/fields';
|
|
7
6
|
import { AuthWitness } from '@aztec/stdlib/auth-witness';
|
|
8
7
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
@@ -10,6 +9,7 @@ import type { ContractInstanceWithAddress } from '@aztec/stdlib/contract';
|
|
|
10
9
|
import type { NotesFilter, UniqueNote } from '@aztec/stdlib/note';
|
|
11
10
|
import type { TxSimulationResult } from '@aztec/stdlib/tx';
|
|
12
11
|
import { ExecutionPayload } from '@aztec/stdlib/tx';
|
|
12
|
+
import { BaseWallet } from '@aztec/wallet-sdk/base-wallet';
|
|
13
13
|
import { ProvenTx } from '../utils.js';
|
|
14
14
|
/**
|
|
15
15
|
* Data for generating an account.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test_wallet.d.ts","sourceRoot":"","sources":["../../src/wallet/test_wallet.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,eAAe,EAAqB,MAAM,yBAAyB,CAAC;AAChG,OAAO,EACL,KAAK,UAAU,EACf,KAAK,qCAAqC,EAC1C,K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mC,CAAC;IAI/C;;;;;;OAMG;IACmB,aAAa,CACjC,IAAI,EAAE,YAAY,EAClB,mBAAmB,EAAE,EAAE,GAAG,eAAe,GAAG,UAAU,GAAG,qCAAqC,GAC7F,OAAO,CAAC,WAAW,CAAC;IAOvB,QAAQ,CAAC,qBAAqB,CAC5B,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,2BAA2B,CAAC;QAAC,QAAQ,EAAE,gBAAgB,CAAA;KAAE,CAAC;IAEpF,UAAU,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;IA6BjH;;;;;;;;OAQG;IACG,OAAO,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC;IAY3E;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAIpD;;;;OAIG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAGtB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SchnorrAccountContract } from '@aztec/accounts/schnorr';
|
|
2
2
|
import { SignerlessAccount } from '@aztec/aztec.js/account';
|
|
3
3
|
import { SetPublicAuthwitContractInteraction, getMessageHashFromIntent, lookupValidity } from '@aztec/aztec.js/authorization';
|
|
4
|
-
import { BaseWallet } from '@aztec/aztec.js/wallet';
|
|
5
4
|
import { AccountManager } from '@aztec/aztec.js/wallet';
|
|
6
5
|
import { Fr, GrumpkinScalar } from '@aztec/foundation/fields';
|
|
7
6
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
8
7
|
import { mergeExecutionPayloads } from '@aztec/stdlib/tx';
|
|
8
|
+
import { BaseWallet } from '@aztec/wallet-sdk/base-wallet';
|
|
9
9
|
import { ProvenTx } from '../utils.js';
|
|
10
10
|
/**
|
|
11
11
|
* Wallet implementation that stores accounts in memory and allows allows their creation
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/test-wallet",
|
|
3
3
|
"homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/test-wallet",
|
|
4
|
-
"version": "3.0.0-nightly.
|
|
4
|
+
"version": "3.0.0-nightly.20251122",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./client/bundle": "./dest/bundle.js",
|
|
@@ -62,13 +62,14 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@aztec/accounts": "3.0.0-nightly.
|
|
66
|
-
"@aztec/aztec.js": "3.0.0-nightly.
|
|
67
|
-
"@aztec/entrypoints": "3.0.0-nightly.
|
|
68
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
69
|
-
"@aztec/noir-contracts.js": "3.0.0-nightly.
|
|
70
|
-
"@aztec/pxe": "3.0.0-nightly.
|
|
71
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
65
|
+
"@aztec/accounts": "3.0.0-nightly.20251122",
|
|
66
|
+
"@aztec/aztec.js": "3.0.0-nightly.20251122",
|
|
67
|
+
"@aztec/entrypoints": "3.0.0-nightly.20251122",
|
|
68
|
+
"@aztec/foundation": "3.0.0-nightly.20251122",
|
|
69
|
+
"@aztec/noir-contracts.js": "3.0.0-nightly.20251122",
|
|
70
|
+
"@aztec/pxe": "3.0.0-nightly.20251122",
|
|
71
|
+
"@aztec/stdlib": "3.0.0-nightly.20251122",
|
|
72
|
+
"@aztec/wallet-sdk": "3.0.0-nightly.20251122"
|
|
72
73
|
},
|
|
73
74
|
"devDependencies": {
|
|
74
75
|
"@jest/globals": "^30.0.0",
|
|
@@ -9,8 +9,7 @@ import {
|
|
|
9
9
|
getMessageHashFromIntent,
|
|
10
10
|
lookupValidity,
|
|
11
11
|
} from '@aztec/aztec.js/authorization';
|
|
12
|
-
import {
|
|
13
|
-
import { AccountManager } from '@aztec/aztec.js/wallet';
|
|
12
|
+
import { AccountManager, type SendOptions, type SimulateOptions } from '@aztec/aztec.js/wallet';
|
|
14
13
|
import type { DefaultAccountEntrypointOptions } from '@aztec/entrypoints/account';
|
|
15
14
|
import { Fq, Fr, GrumpkinScalar } from '@aztec/foundation/fields';
|
|
16
15
|
import { AuthWitness } from '@aztec/stdlib/auth-witness';
|
|
@@ -19,6 +18,7 @@ import type { ContractInstanceWithAddress } from '@aztec/stdlib/contract';
|
|
|
19
18
|
import type { NotesFilter, UniqueNote } from '@aztec/stdlib/note';
|
|
20
19
|
import type { TxSimulationResult } from '@aztec/stdlib/tx';
|
|
21
20
|
import { ExecutionPayload, mergeExecutionPayloads } from '@aztec/stdlib/tx';
|
|
21
|
+
import { BaseWallet } from '@aztec/wallet-sdk/base-wallet';
|
|
22
22
|
|
|
23
23
|
import { ProvenTx } from '../utils.js';
|
|
24
24
|
|