@aztec/bot 3.0.0-nightly.20251024 → 3.0.0-nightly.20251025

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.
package/dest/config.d.ts CHANGED
@@ -61,7 +61,7 @@ export type BotConfig = {
61
61
  stopWhenUnhealthy: boolean;
62
62
  /** Deploy an AMM contract and do swaps instead of transfers */
63
63
  ammTxs: boolean;
64
- } & Pick<DataStoreConfig, 'dataDirectory' | 'dataStoreMapSizeKB'>;
64
+ } & Pick<DataStoreConfig, 'dataDirectory' | 'dataStoreMapSizeKb'>;
65
65
  export declare const BotConfigSchema: z.ZodEffects<z.ZodObject<{
66
66
  nodeUrl: z.ZodOptional<z.ZodString>;
67
67
  nodeAdminUrl: z.ZodOptional<z.ZodString>;
@@ -89,7 +89,7 @@ export declare const BotConfigSchema: z.ZodEffects<z.ZodObject<{
89
89
  stopWhenUnhealthy: z.ZodBoolean;
90
90
  ammTxs: z.ZodDefault<z.ZodBoolean>;
91
91
  dataDirectory: z.ZodOptional<z.ZodString>;
92
- dataStoreMapSizeKB: z.ZodOptional<z.ZodNumber>;
92
+ dataStoreMapSizeKb: z.ZodOptional<z.ZodNumber>;
93
93
  }, "strip", z.ZodTypeAny, {
94
94
  l1ToL2MessageTimeoutSeconds: number;
95
95
  tokenSalt: Fr;
@@ -108,7 +108,7 @@ export declare const BotConfigSchema: z.ZodEffects<z.ZodObject<{
108
108
  stopWhenUnhealthy: boolean;
109
109
  ammTxs: boolean;
110
110
  dataDirectory?: string | undefined;
111
- dataStoreMapSizeKB?: number | undefined;
111
+ dataStoreMapSizeKb?: number | undefined;
112
112
  nodeUrl?: string | undefined;
113
113
  nodeAdminUrl?: string | undefined;
114
114
  l1RpcUrls?: string[] | undefined;
@@ -134,7 +134,7 @@ export declare const BotConfigSchema: z.ZodEffects<z.ZodObject<{
134
134
  maxConsecutiveErrors: number;
135
135
  stopWhenUnhealthy: boolean;
136
136
  dataDirectory?: string | undefined;
137
- dataStoreMapSizeKB?: number | undefined;
137
+ dataStoreMapSizeKb?: number | undefined;
138
138
  nodeUrl?: string | undefined;
139
139
  nodeAdminUrl?: string | undefined;
140
140
  l1RpcUrls?: string[] | undefined;
@@ -164,7 +164,7 @@ export declare const BotConfigSchema: z.ZodEffects<z.ZodObject<{
164
164
  stopWhenUnhealthy: boolean;
165
165
  ammTxs: boolean;
166
166
  dataDirectory: string | undefined;
167
- dataStoreMapSizeKB: number;
167
+ dataStoreMapSizeKb: number;
168
168
  nodeUrl: string | undefined;
169
169
  nodeAdminUrl: string | undefined;
170
170
  l1RpcUrls: string[] | undefined;
@@ -190,7 +190,7 @@ export declare const BotConfigSchema: z.ZodEffects<z.ZodObject<{
190
190
  maxConsecutiveErrors: number;
191
191
  stopWhenUnhealthy: boolean;
192
192
  dataDirectory?: string | undefined;
193
- dataStoreMapSizeKB?: number | undefined;
193
+ dataStoreMapSizeKb?: number | undefined;
194
194
  nodeUrl?: string | undefined;
195
195
  nodeAdminUrl?: string | undefined;
196
196
  l1RpcUrls?: string[] | undefined;
package/dest/config.js CHANGED
@@ -42,7 +42,7 @@ export const BotConfigSchema = z.object({
42
42
  stopWhenUnhealthy: z.boolean(),
43
43
  ammTxs: z.boolean().default(false),
44
44
  dataDirectory: z.string().optional(),
45
- dataStoreMapSizeKB: z.number().optional()
45
+ dataStoreMapSizeKb: z.number().optional()
46
46
  }).transform((config)=>({
47
47
  nodeUrl: undefined,
48
48
  nodeAdminUrl: undefined,
@@ -54,7 +54,7 @@ export const BotConfigSchema = z.object({
54
54
  l1PrivateKey: undefined,
55
55
  senderPrivateKey: undefined,
56
56
  dataDirectory: undefined,
57
- dataStoreMapSizeKB: 1_024 * 1_024,
57
+ dataStoreMapSizeKb: 1_024 * 1_024,
58
58
  ...config
59
59
  }));
60
60
  export const botConfigMappings = {
@@ -196,7 +196,7 @@ export const botConfigMappings = {
196
196
  ...booleanConfigHelper(false)
197
197
  },
198
198
  ...pickConfigMappings(dataConfigMappings, [
199
- 'dataStoreMapSizeKB',
199
+ 'dataStoreMapSizeKb',
200
200
  'dataDirectory'
201
201
  ])
202
202
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/bot",
3
- "version": "3.0.0-nightly.20251024",
3
+ "version": "3.0.0-nightly.20251025",
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.20251024",
58
- "@aztec/aztec.js": "3.0.0-nightly.20251024",
59
- "@aztec/entrypoints": "3.0.0-nightly.20251024",
60
- "@aztec/ethereum": "3.0.0-nightly.20251024",
61
- "@aztec/foundation": "3.0.0-nightly.20251024",
62
- "@aztec/kv-store": "3.0.0-nightly.20251024",
63
- "@aztec/noir-contracts.js": "3.0.0-nightly.20251024",
64
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251024",
65
- "@aztec/protocol-contracts": "3.0.0-nightly.20251024",
66
- "@aztec/stdlib": "3.0.0-nightly.20251024",
67
- "@aztec/telemetry-client": "3.0.0-nightly.20251024",
68
- "@aztec/test-wallet": "3.0.0-nightly.20251024",
57
+ "@aztec/accounts": "3.0.0-nightly.20251025",
58
+ "@aztec/aztec.js": "3.0.0-nightly.20251025",
59
+ "@aztec/entrypoints": "3.0.0-nightly.20251025",
60
+ "@aztec/ethereum": "3.0.0-nightly.20251025",
61
+ "@aztec/foundation": "3.0.0-nightly.20251025",
62
+ "@aztec/kv-store": "3.0.0-nightly.20251025",
63
+ "@aztec/noir-contracts.js": "3.0.0-nightly.20251025",
64
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251025",
65
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251025",
66
+ "@aztec/stdlib": "3.0.0-nightly.20251025",
67
+ "@aztec/telemetry-client": "3.0.0-nightly.20251025",
68
+ "@aztec/test-wallet": "3.0.0-nightly.20251025",
69
69
  "source-map-support": "^0.5.21",
70
70
  "tslib": "^2.4.0",
71
71
  "zod": "^3.23.8"
package/src/config.ts CHANGED
@@ -78,7 +78,7 @@ export type BotConfig = {
78
78
  stopWhenUnhealthy: boolean;
79
79
  /** Deploy an AMM contract and do swaps instead of transfers */
80
80
  ammTxs: boolean;
81
- } & Pick<DataStoreConfig, 'dataDirectory' | 'dataStoreMapSizeKB'>;
81
+ } & Pick<DataStoreConfig, 'dataDirectory' | 'dataStoreMapSizeKb'>;
82
82
 
83
83
  export const BotConfigSchema = z
84
84
  .object({
@@ -108,7 +108,7 @@ export const BotConfigSchema = z
108
108
  stopWhenUnhealthy: z.boolean(),
109
109
  ammTxs: z.boolean().default(false),
110
110
  dataDirectory: z.string().optional(),
111
- dataStoreMapSizeKB: z.number().optional(),
111
+ dataStoreMapSizeKb: z.number().optional(),
112
112
  })
113
113
  .transform(config => ({
114
114
  nodeUrl: undefined,
@@ -121,7 +121,7 @@ export const BotConfigSchema = z
121
121
  l1PrivateKey: undefined,
122
122
  senderPrivateKey: undefined,
123
123
  dataDirectory: undefined,
124
- dataStoreMapSizeKB: 1_024 * 1_024,
124
+ dataStoreMapSizeKb: 1_024 * 1_024,
125
125
  ...config,
126
126
  })) satisfies ZodFor<BotConfig>;
127
127
 
@@ -267,7 +267,7 @@ export const botConfigMappings: ConfigMappingsType<BotConfig> = {
267
267
  description: 'Deploy an AMM and send swaps to it',
268
268
  ...booleanConfigHelper(false),
269
269
  },
270
- ...pickConfigMappings(dataConfigMappings, ['dataStoreMapSizeKB', 'dataDirectory']),
270
+ ...pickConfigMappings(dataConfigMappings, ['dataStoreMapSizeKb', 'dataDirectory']),
271
271
  };
272
272
 
273
273
  export function getBotConfigFromEnv(): BotConfig {