@aztec/node-keystore 2.0.0-nightly.20250828 → 2.0.0-nightly.20250829

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/schemas.d.ts CHANGED
@@ -138,7 +138,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
138
138
  accountCount?: number | undefined;
139
139
  }>]>>;
140
140
  feeRecipient: z.ZodEffects<z.ZodString, string, string>;
141
- remoteSigner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
141
+ remoteSigner: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{
142
142
  remoteSignerUrl: z.ZodString;
143
143
  certPath: z.ZodOptional<z.ZodString>;
144
144
  certPass: z.ZodOptional<z.ZodString>;
@@ -150,7 +150,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
150
150
  remoteSignerUrl: string;
151
151
  certPath?: string | undefined;
152
152
  certPass?: string | undefined;
153
- }>]>>;
153
+ }>]>>>;
154
154
  }, "strip", z.ZodTypeAny, {
155
155
  attester: string | {
156
156
  address: string;
@@ -204,7 +204,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
204
204
  remoteSignerUrl: string;
205
205
  certPath?: string | undefined;
206
206
  certPass?: string | undefined;
207
- } | undefined;
207
+ } | null | undefined;
208
208
  }, {
209
209
  attester: string | {
210
210
  address: string;
@@ -258,7 +258,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
258
258
  remoteSignerUrl: string;
259
259
  certPath?: string | undefined;
260
260
  certPass?: string | undefined;
261
- } | undefined;
261
+ } | null | undefined;
262
262
  }>, "many">>;
263
263
  slasher: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
264
264
  address: z.ZodEffects<z.ZodString, string, string>;
@@ -327,7 +327,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
327
327
  addressCount?: number | undefined;
328
328
  accountCount?: number | undefined;
329
329
  }>]>>;
330
- remoteSigner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
330
+ remoteSigner: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{
331
331
  remoteSignerUrl: z.ZodString;
332
332
  certPath: z.ZodOptional<z.ZodString>;
333
333
  certPass: z.ZodOptional<z.ZodString>;
@@ -339,7 +339,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
339
339
  remoteSignerUrl: string;
340
340
  certPath?: string | undefined;
341
341
  certPass?: string | undefined;
342
- }>]>>;
342
+ }>]>>>;
343
343
  prover: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
344
344
  address: z.ZodEffects<z.ZodString, string, string>;
345
345
  remoteSignerUrl: z.ZodOptional<z.ZodString>;
@@ -490,7 +490,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
490
490
  remoteSignerUrl: string;
491
491
  certPath?: string | undefined;
492
492
  certPass?: string | undefined;
493
- } | undefined;
493
+ } | null | undefined;
494
494
  validators?: {
495
495
  attester: string | {
496
496
  address: string;
@@ -544,7 +544,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
544
544
  remoteSignerUrl: string;
545
545
  certPath?: string | undefined;
546
546
  certPass?: string | undefined;
547
- } | undefined;
547
+ } | null | undefined;
548
548
  }[] | undefined;
549
549
  slasher?: string | {
550
550
  address: string;
@@ -609,7 +609,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
609
609
  remoteSignerUrl: string;
610
610
  certPath?: string | undefined;
611
611
  certPass?: string | undefined;
612
- } | undefined;
612
+ } | null | undefined;
613
613
  validators?: {
614
614
  attester: string | {
615
615
  address: string;
@@ -663,7 +663,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
663
663
  remoteSignerUrl: string;
664
664
  certPath?: string | undefined;
665
665
  certPass?: string | undefined;
666
- } | undefined;
666
+ } | null | undefined;
667
667
  }[] | undefined;
668
668
  slasher?: string | {
669
669
  address: string;
@@ -728,7 +728,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
728
728
  remoteSignerUrl: string;
729
729
  certPath?: string | undefined;
730
730
  certPass?: string | undefined;
731
- } | undefined;
731
+ } | null | undefined;
732
732
  validators?: {
733
733
  attester: string | {
734
734
  address: string;
@@ -782,7 +782,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
782
782
  remoteSignerUrl: string;
783
783
  certPath?: string | undefined;
784
784
  certPass?: string | undefined;
785
- } | undefined;
785
+ } | null | undefined;
786
786
  }[] | undefined;
787
787
  slasher?: string | {
788
788
  address: string;
@@ -847,7 +847,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
847
847
  remoteSignerUrl: string;
848
848
  certPath?: string | undefined;
849
849
  certPass?: string | undefined;
850
- } | undefined;
850
+ } | null | undefined;
851
851
  validators?: {
852
852
  attester: string | {
853
853
  address: string;
@@ -901,7 +901,7 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
901
901
  remoteSignerUrl: string;
902
902
  certPath?: string | undefined;
903
903
  certPass?: string | undefined;
904
- } | undefined;
904
+ } | null | undefined;
905
905
  }[] | undefined;
906
906
  slasher?: string | {
907
907
  address: string;
package/dest/schemas.js CHANGED
@@ -66,14 +66,14 @@ const validatorKeyStoreSchema = z.object({
66
66
  coinbase: ethAddressSchema.optional(),
67
67
  publisher: ethAccountsSchema.optional(),
68
68
  feeRecipient: aztecAddressSchema,
69
- remoteSigner: remoteSignerConfigSchema.optional()
69
+ remoteSigner: remoteSignerConfigSchema.nullish()
70
70
  });
71
71
  // Main keystore schema
72
72
  export const keystoreSchema = z.object({
73
73
  schemaVersion: z.literal(1),
74
74
  validators: z.array(validatorKeyStoreSchema).optional(),
75
75
  slasher: ethAccountsSchema.optional(),
76
- remoteSigner: remoteSignerConfigSchema.optional(),
76
+ remoteSigner: remoteSignerConfigSchema.nullish(),
77
77
  prover: proverKeyStoreSchema.optional()
78
78
  }).refine((data)=>data.validators || data.prover, {
79
79
  message: 'Keystore must have at least validators or prover configuration',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/node-keystore",
3
- "version": "2.0.0-nightly.20250828",
3
+ "version": "2.0.0-nightly.20250829",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -62,9 +62,9 @@
62
62
  ]
63
63
  },
64
64
  "dependencies": {
65
- "@aztec/ethereum": "2.0.0-nightly.20250828",
66
- "@aztec/foundation": "2.0.0-nightly.20250828",
67
- "@aztec/stdlib": "2.0.0-nightly.20250828",
65
+ "@aztec/ethereum": "2.0.0-nightly.20250829",
66
+ "@aztec/foundation": "2.0.0-nightly.20250829",
67
+ "@aztec/stdlib": "2.0.0-nightly.20250829",
68
68
  "@ethersproject/wallet": "^5.7.0",
69
69
  "tslib": "^2.4.0",
70
70
  "viem": "2.23.7",
package/src/schemas.ts CHANGED
@@ -71,7 +71,7 @@ const validatorKeyStoreSchema = z.object({
71
71
  coinbase: ethAddressSchema.optional(),
72
72
  publisher: ethAccountsSchema.optional(),
73
73
  feeRecipient: aztecAddressSchema,
74
- remoteSigner: remoteSignerConfigSchema.optional(),
74
+ remoteSigner: remoteSignerConfigSchema.nullish(),
75
75
  });
76
76
 
77
77
  // Main keystore schema
@@ -80,7 +80,7 @@ export const keystoreSchema = z
80
80
  schemaVersion: z.literal(1),
81
81
  validators: z.array(validatorKeyStoreSchema).optional(),
82
82
  slasher: ethAccountsSchema.optional(),
83
- remoteSigner: remoteSignerConfigSchema.optional(),
83
+ remoteSigner: remoteSignerConfigSchema.nullish(),
84
84
  prover: proverKeyStoreSchema.optional(),
85
85
  })
86
86
  .refine(data => data.validators || data.prover, {