@aztec/accounts 0.34.0 → 0.35.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.
@@ -1,6 +1,6 @@
1
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';
2
+ import { type EntrypointInterface, type ExecutionRequestInit } from '@aztec/aztec.js/entrypoint';
3
+ import { type AuthWitness, type TxExecutionRequest } from '@aztec/circuit-types';
4
4
  import { type AztecAddress, type CompleteAddress, Fr } from '@aztec/circuits.js';
5
5
  import { DefaultAccountEntrypoint } from '@aztec/entrypoints/account';
6
6
  import { type NodeInfo } from '@aztec/types/interfaces';
@@ -29,8 +29,8 @@ export class DefaultAccountInterface implements AccountInterface {
29
29
  this.version = new Fr(nodeInfo.protocolVersion);
30
30
  }
31
31
 
32
- createTxExecutionRequest(executions: FunctionCall[], fee?: FeeOptions): Promise<TxExecutionRequest> {
33
- return this.entrypoint.createTxExecutionRequest(executions, fee);
32
+ createTxExecutionRequest(execution: ExecutionRequestInit): Promise<TxExecutionRequest> {
33
+ return this.entrypoint.createTxExecutionRequest(execution);
34
34
  }
35
35
 
36
36
  createAuthWit(messageHash: Fr): Promise<AuthWitness> {