@xyo-network/xl1-protocol-sdk 1.26.42 → 1.26.43

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.
@@ -89,16 +89,16 @@ export declare const BaseConfigContextZod: z.ZodObject<{
89
89
  }, z.core.$strip>>;
90
90
  }, z.core.$strip>>;
91
91
  validation: z.ZodDefault<z.ZodObject<{
92
- allowedRewardRedeemers: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
92
+ allowedRewardRedeemers: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
93
93
  readonly __hex: true;
94
94
  } & {
95
95
  readonly __address: true;
96
- }, string>>>>>;
97
- allowedRewardEscrowAccountSigners: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
96
+ }, string>>>>;
97
+ allowedRewardEscrowAccountSigners: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
98
98
  readonly __hex: true;
99
99
  } & {
100
100
  readonly __address: true;
101
- }, string>>>>>;
101
+ }, string>>>>;
102
102
  minCandidates: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
103
103
  backoffMs: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
104
104
  }, z.core.$strip>>;
@@ -695,7 +695,7 @@ var TelemetryConfigZod = z13.object({
695
695
  }).describe("Telemetry configuration options");
696
696
 
697
697
  // src/config/Validation.ts
698
- import { AddressZod as AddressZod2, asAddress } from "@xylabs/sdk-js";
698
+ import { AddressZod as AddressZod2 } from "@xylabs/sdk-js";
699
699
  import { globalRegistry as globalRegistry11, z as z14 } from "zod";
700
700
 
701
701
  // src/primitives/block/rate/blockRate.ts
@@ -1228,26 +1228,16 @@ var DEFAULT_BACKOFF_MS = 12e4;
1228
1228
 
1229
1229
  // src/config/Validation.ts
1230
1230
  var ValidationConfigZod = z14.object({
1231
- allowedRewardRedeemers: z14.preprocess((val) => {
1232
- if (typeof val === "string") {
1233
- return val.split(",").map((s) => asAddress(s.trim()));
1234
- }
1235
- return val;
1236
- }, z14.array(AddressZod2).optional().register(globalRegistry11, {
1231
+ allowedRewardRedeemers: z14.array(AddressZod2).optional().register(globalRegistry11, {
1237
1232
  description: "List of allowed reward redeemer addresses, if undefined anyone can participate",
1238
1233
  title: "allowedRewardRedeemers",
1239
1234
  type: "array"
1240
- })),
1241
- allowedRewardEscrowAccountSigners: z14.preprocess((val) => {
1242
- if (typeof val === "string") {
1243
- return val.split(",").map((s) => asAddress(s.trim()));
1244
- }
1245
- return val;
1246
- }, z14.array(AddressZod2).optional().register(globalRegistry11, {
1235
+ }),
1236
+ allowedRewardEscrowAccountSigners: z14.array(AddressZod2).optional().register(globalRegistry11, {
1247
1237
  description: "List of allowed reward escrow account signer addresses, if undefined anyone can participate",
1248
1238
  title: "allowedRewardEscrowAccountSigners",
1249
1239
  type: "array"
1250
- })),
1240
+ }),
1251
1241
  minCandidates: z14.coerce.number().default(DEFAULT_MIN_CANDIDATES).register(globalRegistry11, {
1252
1242
  default: DEFAULT_MIN_CANDIDATES,
1253
1243
  description: "Minimum number of uncle candidates before selecting the best uncle",