televerse-dao-typechain-types 1.0.8-alpha.2 → 1.0.8-alpha.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "televerse-dao-typechain-types",
3
3
  "sourceType": "commonjs",
4
- "version": "1.0.8-alpha.2",
4
+ "version": "1.0.8-alpha.4",
5
5
  "description": "The typechain types for the Televerse DAO smart contracts.",
6
6
  "license": "MIT",
7
7
  "files": [
@@ -124,6 +124,28 @@ declare const networkConfigSchema: z.ZodObject<{
124
124
  apiKeyRequired: z.ZodBoolean;
125
125
  }, z.core.$strip>>;
126
126
  }, z.core.$strip>;
127
+ export declare const configJsonSchema: z.ZodObject<{
128
+ networkSelection: z.ZodEnum<{
129
+ readonly holesky: "holesky";
130
+ readonly sepolia: "sepolia";
131
+ readonly lineaSepolia: "linea-sepolia";
132
+ }>;
133
+ selectedNetwork: z.ZodOptional<z.ZodObject<{
134
+ name: z.ZodEnum<{
135
+ readonly holesky: "holesky";
136
+ readonly sepolia: "sepolia";
137
+ readonly lineaSepolia: "linea-sepolia";
138
+ }>;
139
+ registryAddress: z.ZodString;
140
+ intChainId: z.ZodNumber;
141
+ hexChainId: z.ZodString;
142
+ providers: z.ZodArray<z.ZodObject<{
143
+ name: z.ZodString;
144
+ rpcUrl: z.ZodString;
145
+ apiKeyRequired: z.ZodBoolean;
146
+ }, z.core.$strip>>;
147
+ }, z.core.$strip>>;
148
+ }, z.core.$strip>;
127
149
  export type NetworkConfig = z.infer<typeof networkConfigSchema>;
128
150
  export declare const networksSchema: z.ZodRecord<z.ZodEnum<{
129
151
  readonly holesky: "holesky";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.networksSchema = exports.supportedNetworkEnumSchema = exports.jwtSchema = exports.searchRequestSchema = exports.QuoteSchema = exports.DIDCommQuoteMessageSchema = exports.GisPointSchema = exports.nniPayloadSchema = exports.postMessagePayloadSchema = exports.postMessageSchema = exports.ChargeFrequency = void 0;
3
+ exports.networksSchema = exports.configJsonSchema = exports.supportedNetworkEnumSchema = exports.jwtSchema = exports.searchRequestSchema = exports.QuoteSchema = exports.DIDCommQuoteMessageSchema = exports.GisPointSchema = exports.nniPayloadSchema = exports.postMessagePayloadSchema = exports.postMessageSchema = exports.ChargeFrequency = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.ChargeFrequency = {
6
6
  DAILY: 'DAILY',
@@ -90,4 +90,8 @@ const networkConfigSchema = zod_1.z
90
90
  }, {
91
91
  message: 'hexChainId does not match intChainId',
92
92
  });
93
+ exports.configJsonSchema = zod_1.z.object({
94
+ networkSelection: exports.supportedNetworkEnumSchema,
95
+ selectedNetwork: networkConfigSchema.optional(),
96
+ });
93
97
  exports.networksSchema = zod_1.z.record(exports.supportedNetworkEnumSchema, networkConfigSchema);