@aztec/wallets 5.1.0-nightly.20260720 → 5.1.0-nightly.20260722

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.
@@ -223,7 +223,7 @@ export class EmbeddedWallet extends BaseWallet {
223
223
  * private kernel circuit execution.
224
224
  */ async simulateViaEntrypoint(executionPayload, opts) {
225
225
  const { from, feeOptions, additionalScopes, skipTxValidation, skipFeeEnforcement, sendMessagesAs } = opts;
226
- const scopes = this.scopesFrom(from, additionalScopes);
226
+ const scopes = this.scopesFrom(from, additionalScopes ?? [], sendMessagesAs);
227
227
  const feeExecutionPayload = await feeOptions.walletFeePaymentMethod?.getExecutionPayload();
228
228
  const finalExecutionPayload = feeExecutionPayload ? mergeExecutionPayloads([
229
229
  feeExecutionPayload,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aztec/wallets",
3
3
  "homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/wallets",
4
- "version": "5.1.0-nightly.20260720",
4
+ "version": "5.1.0-nightly.20260722",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./embedded": {
@@ -28,16 +28,16 @@
28
28
  "../package.common.json"
29
29
  ],
30
30
  "dependencies": {
31
- "@aztec/accounts": "5.1.0-nightly.20260720",
32
- "@aztec/aztec.js": "5.1.0-nightly.20260720",
33
- "@aztec/entrypoints": "5.1.0-nightly.20260720",
34
- "@aztec/foundation": "5.1.0-nightly.20260720",
35
- "@aztec/kv-store": "5.1.0-nightly.20260720",
36
- "@aztec/protocol-contracts": "5.1.0-nightly.20260720",
37
- "@aztec/pxe": "5.1.0-nightly.20260720",
38
- "@aztec/standard-contracts": "5.1.0-nightly.20260720",
39
- "@aztec/stdlib": "5.1.0-nightly.20260720",
40
- "@aztec/wallet-sdk": "5.1.0-nightly.20260720"
31
+ "@aztec/accounts": "5.1.0-nightly.20260722",
32
+ "@aztec/aztec.js": "5.1.0-nightly.20260722",
33
+ "@aztec/entrypoints": "5.1.0-nightly.20260722",
34
+ "@aztec/foundation": "5.1.0-nightly.20260722",
35
+ "@aztec/kv-store": "5.1.0-nightly.20260722",
36
+ "@aztec/protocol-contracts": "5.1.0-nightly.20260722",
37
+ "@aztec/pxe": "5.1.0-nightly.20260722",
38
+ "@aztec/standard-contracts": "5.1.0-nightly.20260722",
39
+ "@aztec/stdlib": "5.1.0-nightly.20260722",
40
+ "@aztec/wallet-sdk": "5.1.0-nightly.20260722"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@jest/globals": "^30.0.0",
@@ -329,7 +329,7 @@ export class EmbeddedWallet extends BaseWallet {
329
329
  opts: SimulateViaEntrypointOptions,
330
330
  ): Promise<TxSimulationResultWithAppOffset> {
331
331
  const { from, feeOptions, additionalScopes, skipTxValidation, skipFeeEnforcement, sendMessagesAs } = opts;
332
- const scopes = this.scopesFrom(from, additionalScopes);
332
+ const scopes = this.scopesFrom(from, additionalScopes ?? [], sendMessagesAs);
333
333
 
334
334
  const feeExecutionPayload = await feeOptions.walletFeePaymentMethod?.getExecutionPayload();
335
335
  const finalExecutionPayload = feeExecutionPayload