@aztec/bot 3.0.0-nightly.20251003 → 3.0.0-nightly.20251005

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,4 +1,4 @@
1
- import { AztecAddress, BatchCall, ContractFunctionInteraction, type SendMethodOptions, SentTx, TxHash, TxReceipt } from '@aztec/aztec.js';
1
+ import { AztecAddress, BatchCall, ContractFunctionInteraction, type SendInteractionOptions, SentTx, TxHash, TxReceipt } from '@aztec/aztec.js';
2
2
  import type { AztecNode } from '@aztec/stdlib/interfaces/client';
3
3
  import type { TestWallet } from '@aztec/test-wallet';
4
4
  import type { BotConfig } from './config.js';
@@ -14,6 +14,6 @@ export declare abstract class BaseBot {
14
14
  run(): Promise<TxReceipt | TxHash>;
15
15
  protected abstract createAndSendTx(logCtx: object): Promise<SentTx>;
16
16
  protected onTxMined(_receipt: TxReceipt, _logCtx: object): Promise<void>;
17
- protected getSendMethodOpts(interaction: ContractFunctionInteraction | BatchCall): Promise<SendMethodOptions>;
17
+ protected getSendMethodOpts(interaction: ContractFunctionInteraction | BatchCall): Promise<SendInteractionOptions>;
18
18
  }
19
19
  //# sourceMappingURL=base_bot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base_bot.d.ts","sourceRoot":"","sources":["../src/base_bot.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,SAAS,EACT,2BAA2B,EAC3B,KAAK,iBAAiB,EACtB,MAAM,EACN,MAAM,EACN,SAAS,EAGV,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,8BAAsB,OAAO;aAOT,IAAI,EAAE,SAAS;aACf,MAAM,EAAE,UAAU;aAClB,qBAAqB,EAAE,YAAY;IA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aACS,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,UAAU,EAClB,qBAAqB,EAAE,YAAY,EAC5C,MAAM,EAAE,SAAS;IAGb,GAAG,IAAI,OAAO,CAAC,SAAS,GAAG,MAAM,CAAC;IAoC/C,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAEnE,SAAS,CAAC,SAAS,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;cAKxD,iBAAiB,CAC/B,WAAW,EAAE,2BAA2B,GAAG,SAAS,GACnD,OAAO,CAAC,sBAAsB,CAAC;CAqBnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/bot",
3
- "version": "3.0.0-nightly.20251003",
3
+ "version": "3.0.0-nightly.20251005",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -54,18 +54,18 @@
54
54
  ]
55
55
  },
56
56
  "dependencies": {
57
- "@aztec/accounts": "3.0.0-nightly.20251003",
58
- "@aztec/aztec.js": "3.0.0-nightly.20251003",
59
- "@aztec/entrypoints": "3.0.0-nightly.20251003",
60
- "@aztec/ethereum": "3.0.0-nightly.20251003",
61
- "@aztec/foundation": "3.0.0-nightly.20251003",
62
- "@aztec/kv-store": "3.0.0-nightly.20251003",
63
- "@aztec/noir-contracts.js": "3.0.0-nightly.20251003",
64
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251003",
65
- "@aztec/protocol-contracts": "3.0.0-nightly.20251003",
66
- "@aztec/stdlib": "3.0.0-nightly.20251003",
67
- "@aztec/telemetry-client": "3.0.0-nightly.20251003",
68
- "@aztec/test-wallet": "3.0.0-nightly.20251003",
57
+ "@aztec/accounts": "3.0.0-nightly.20251005",
58
+ "@aztec/aztec.js": "3.0.0-nightly.20251005",
59
+ "@aztec/entrypoints": "3.0.0-nightly.20251005",
60
+ "@aztec/ethereum": "3.0.0-nightly.20251005",
61
+ "@aztec/foundation": "3.0.0-nightly.20251005",
62
+ "@aztec/kv-store": "3.0.0-nightly.20251005",
63
+ "@aztec/noir-contracts.js": "3.0.0-nightly.20251005",
64
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251005",
65
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251005",
66
+ "@aztec/stdlib": "3.0.0-nightly.20251005",
67
+ "@aztec/telemetry-client": "3.0.0-nightly.20251005",
68
+ "@aztec/test-wallet": "3.0.0-nightly.20251005",
69
69
  "source-map-support": "^0.5.21",
70
70
  "tslib": "^2.4.0",
71
71
  "zod": "^3.23.8"
package/src/base_bot.ts CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  AztecAddress,
3
3
  BatchCall,
4
4
  ContractFunctionInteraction,
5
- type SendMethodOptions,
5
+ type SendInteractionOptions,
6
6
  SentTx,
7
7
  TxHash,
8
8
  TxReceipt,
@@ -71,7 +71,9 @@ export abstract class BaseBot {
71
71
  return Promise.resolve();
72
72
  }
73
73
 
74
- protected async getSendMethodOpts(interaction: ContractFunctionInteraction | BatchCall): Promise<SendMethodOptions> {
74
+ protected async getSendMethodOpts(
75
+ interaction: ContractFunctionInteraction | BatchCall,
76
+ ): Promise<SendInteractionOptions> {
75
77
  const { l2GasLimit, daGasLimit, baseFeePadding } = this.config;
76
78
 
77
79
  this.wallet.setBaseFeePadding(baseFeePadding);