@gearbox-protocol/cli-utils 5.58.2 → 5.58.3
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.
|
@@ -43,5 +43,6 @@ export declare const ProvidersSchema: z.ZodObject<{
|
|
|
43
43
|
thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<CensoredString<string>, string>>>>, z.ZodTransform<CensoredString<string>[] | undefined, CensoredString<string>[]>>>;
|
|
44
44
|
erpcProjectId: z.ZodOptional<z.ZodString>;
|
|
45
45
|
erpcUrl: z.ZodDefault<z.ZodURL>;
|
|
46
|
+
jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
46
47
|
}, z.core.$strip>;
|
|
47
48
|
export type ProvidersSchema = z.infer<typeof ProvidersSchema>;
|
package/dist/providers-schema.js
CHANGED
|
@@ -106,4 +106,17 @@ export const ProvidersSchema = z.object({
|
|
|
106
106
|
description: "eRPC URL to use",
|
|
107
107
|
env: "ERPC_URL",
|
|
108
108
|
}),
|
|
109
|
+
/**
|
|
110
|
+
* Timeout for JSON RPC requests, in milliseconds
|
|
111
|
+
*/
|
|
112
|
+
jsonRpcTimeout: z.coerce
|
|
113
|
+
.number()
|
|
114
|
+
.int()
|
|
115
|
+
.positive()
|
|
116
|
+
.optional()
|
|
117
|
+
.register(zommandRegistry, {
|
|
118
|
+
flags: "--json-rpc-timeout <timeout>",
|
|
119
|
+
description: "Timeout for JSON RPC requests, in milliseconds",
|
|
120
|
+
env: "JSON_RPC_TIMEOUT",
|
|
121
|
+
}),
|
|
109
122
|
});
|