@ensnode/ensnode-sdk 0.0.0-next-20260401164207 → 0.0.0-next-20260402005754
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/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -530,14 +530,14 @@ interface EnsIndexerPublicConfig {
|
|
|
530
530
|
*/
|
|
531
531
|
labelSet: Required<EnsRainbowClientLabelSet>;
|
|
532
532
|
/**
|
|
533
|
-
*
|
|
534
|
-
*
|
|
533
|
+
* The name of the ENSIndexer Schema in the ENSDb instance,
|
|
534
|
+
* where the ENSIndexer instance writes indexed data.
|
|
535
535
|
*
|
|
536
536
|
* Invariants:
|
|
537
537
|
* - Must be a non-empty string that is a valid Postgres database schema
|
|
538
538
|
* identifier.
|
|
539
539
|
*/
|
|
540
|
-
|
|
540
|
+
ensIndexerSchemaName: string;
|
|
541
541
|
/**
|
|
542
542
|
* ENSRainbow public config
|
|
543
543
|
*
|
|
@@ -3980,7 +3980,7 @@ declare function makeEnsApiPublicConfigSchema(valueLabel?: string): z.ZodObject<
|
|
|
3980
3980
|
}>;
|
|
3981
3981
|
}, z.core.$strict>], "canFallback">;
|
|
3982
3982
|
ensIndexerPublicConfig: z.ZodObject<{
|
|
3983
|
-
|
|
3983
|
+
ensIndexerSchemaName: z.ZodString;
|
|
3984
3984
|
ensRainbowPublicConfig: z.ZodObject<{
|
|
3985
3985
|
version: z.ZodString;
|
|
3986
3986
|
labelSet: z.ZodObject<{
|
|
@@ -4022,7 +4022,7 @@ declare function makeEnsApiPublicConfigSchema(valueLabel?: string): z.ZodObject<
|
|
|
4022
4022
|
declare const makeENSApiPublicConfigSchema: typeof makeEnsApiPublicConfigSchema;
|
|
4023
4023
|
declare function makeSerializedEnsApiPublicConfigSchema(valueLabel?: string): z.ZodObject<{
|
|
4024
4024
|
ensIndexerPublicConfig: z.ZodObject<{
|
|
4025
|
-
|
|
4025
|
+
ensIndexerSchemaName: z.ZodString;
|
|
4026
4026
|
ensRainbowPublicConfig: z.ZodObject<{
|
|
4027
4027
|
version: z.ZodString;
|
|
4028
4028
|
labelSet: z.ZodObject<{
|
|
@@ -4218,7 +4218,7 @@ declare class EnsIndexerClient {
|
|
|
4218
4218
|
indexingStatus(): Promise<EnsIndexerIndexingStatusResponse>;
|
|
4219
4219
|
}
|
|
4220
4220
|
|
|
4221
|
-
type EnsIndexerPublicConfigCompatibilityCheck = Omit<EnsIndexerPublicConfig, "
|
|
4221
|
+
type EnsIndexerPublicConfigCompatibilityCheck = Omit<EnsIndexerPublicConfig, "ensIndexerSchemaName" | "ensRainbowPublicConfig" | "versionInfo">;
|
|
4222
4222
|
/**
|
|
4223
4223
|
* Validate if `configB` is compatible with `configA`, such that `configA` equals to `configB`.
|
|
4224
4224
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -530,14 +530,14 @@ interface EnsIndexerPublicConfig {
|
|
|
530
530
|
*/
|
|
531
531
|
labelSet: Required<EnsRainbowClientLabelSet>;
|
|
532
532
|
/**
|
|
533
|
-
*
|
|
534
|
-
*
|
|
533
|
+
* The name of the ENSIndexer Schema in the ENSDb instance,
|
|
534
|
+
* where the ENSIndexer instance writes indexed data.
|
|
535
535
|
*
|
|
536
536
|
* Invariants:
|
|
537
537
|
* - Must be a non-empty string that is a valid Postgres database schema
|
|
538
538
|
* identifier.
|
|
539
539
|
*/
|
|
540
|
-
|
|
540
|
+
ensIndexerSchemaName: string;
|
|
541
541
|
/**
|
|
542
542
|
* ENSRainbow public config
|
|
543
543
|
*
|
|
@@ -3980,7 +3980,7 @@ declare function makeEnsApiPublicConfigSchema(valueLabel?: string): z.ZodObject<
|
|
|
3980
3980
|
}>;
|
|
3981
3981
|
}, z.core.$strict>], "canFallback">;
|
|
3982
3982
|
ensIndexerPublicConfig: z.ZodObject<{
|
|
3983
|
-
|
|
3983
|
+
ensIndexerSchemaName: z.ZodString;
|
|
3984
3984
|
ensRainbowPublicConfig: z.ZodObject<{
|
|
3985
3985
|
version: z.ZodString;
|
|
3986
3986
|
labelSet: z.ZodObject<{
|
|
@@ -4022,7 +4022,7 @@ declare function makeEnsApiPublicConfigSchema(valueLabel?: string): z.ZodObject<
|
|
|
4022
4022
|
declare const makeENSApiPublicConfigSchema: typeof makeEnsApiPublicConfigSchema;
|
|
4023
4023
|
declare function makeSerializedEnsApiPublicConfigSchema(valueLabel?: string): z.ZodObject<{
|
|
4024
4024
|
ensIndexerPublicConfig: z.ZodObject<{
|
|
4025
|
-
|
|
4025
|
+
ensIndexerSchemaName: z.ZodString;
|
|
4026
4026
|
ensRainbowPublicConfig: z.ZodObject<{
|
|
4027
4027
|
version: z.ZodString;
|
|
4028
4028
|
labelSet: z.ZodObject<{
|
|
@@ -4218,7 +4218,7 @@ declare class EnsIndexerClient {
|
|
|
4218
4218
|
indexingStatus(): Promise<EnsIndexerIndexingStatusResponse>;
|
|
4219
4219
|
}
|
|
4220
4220
|
|
|
4221
|
-
type EnsIndexerPublicConfigCompatibilityCheck = Omit<EnsIndexerPublicConfig, "
|
|
4221
|
+
type EnsIndexerPublicConfigCompatibilityCheck = Omit<EnsIndexerPublicConfig, "ensIndexerSchemaName" | "ensRainbowPublicConfig" | "versionInfo">;
|
|
4222
4222
|
/**
|
|
4223
4223
|
* Validate if `configB` is compatible with `configA`, such that `configA` equals to `configB`.
|
|
4224
4224
|
*
|
package/dist/index.js
CHANGED
|
@@ -964,7 +964,7 @@ var makePluginsListSchema = (valueLabel = "Plugins") => z3.array(z3.string(), {
|
|
|
964
964
|
}).refine((arr) => arr.length === uniq(arr).length, {
|
|
965
965
|
error: `${valueLabel} cannot contain duplicate values.`
|
|
966
966
|
});
|
|
967
|
-
var
|
|
967
|
+
var makeEnsIndexerSchemaNameSchema = (valueLabel = "ENS Indexer Schema Name") => z3.string({ error: `${valueLabel} must be a string` }).trim().nonempty({
|
|
968
968
|
error: `${valueLabel} is required and must be a non-empty string.`
|
|
969
969
|
});
|
|
970
970
|
var makeFullyPinnedLabelSetSchema = (valueLabel = "Label set") => {
|
|
@@ -1019,7 +1019,7 @@ function invariant_ensRainbowSupportedLabelSetAndVersion(ctx) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
var makeEnsIndexerPublicConfigSchema = (valueLabel = "ENSIndexerPublicConfig") => z3.object({
|
|
1022
|
-
|
|
1022
|
+
ensIndexerSchemaName: makeEnsIndexerSchemaNameSchema(`${valueLabel}.ensIndexerSchemaName`),
|
|
1023
1023
|
ensRainbowPublicConfig: makeEnsRainbowPublicConfigSchema(
|
|
1024
1024
|
`${valueLabel}.ensRainbowPublicConfig`
|
|
1025
1025
|
),
|
|
@@ -1033,7 +1033,7 @@ var makeEnsIndexerPublicConfigSchema = (valueLabel = "ENSIndexerPublicConfig") =
|
|
|
1033
1033
|
versionInfo: makeEnsIndexerVersionInfoSchema(`${valueLabel}.versionInfo`)
|
|
1034
1034
|
}).check(invariant_isSubgraphCompatibleRequirements).check(invariant_ensRainbowSupportedLabelSetAndVersion);
|
|
1035
1035
|
var makeSerializedEnsIndexerPublicConfigSchema = (valueLabel = "Serialized ENSIndexerPublicConfig") => z3.object({
|
|
1036
|
-
|
|
1036
|
+
ensIndexerSchemaName: makeEnsIndexerSchemaNameSchema(`${valueLabel}.ensIndexerSchemaName`),
|
|
1037
1037
|
ensRainbowPublicConfig: makeEnsRainbowPublicConfigSchema(
|
|
1038
1038
|
`${valueLabel}.ensRainbowPublicConfig`
|
|
1039
1039
|
),
|
|
@@ -1143,7 +1143,7 @@ function serializeIndexedChainIds(indexedChainIds) {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
function serializeEnsIndexerPublicConfig(config) {
|
|
1145
1145
|
const {
|
|
1146
|
-
|
|
1146
|
+
ensIndexerSchemaName,
|
|
1147
1147
|
ensRainbowPublicConfig,
|
|
1148
1148
|
indexedChainIds,
|
|
1149
1149
|
isSubgraphCompatible: isSubgraphCompatible2,
|
|
@@ -1153,7 +1153,7 @@ function serializeEnsIndexerPublicConfig(config) {
|
|
|
1153
1153
|
versionInfo
|
|
1154
1154
|
} = config;
|
|
1155
1155
|
return {
|
|
1156
|
-
|
|
1156
|
+
ensIndexerSchemaName,
|
|
1157
1157
|
ensRainbowPublicConfig,
|
|
1158
1158
|
indexedChainIds: serializeIndexedChainIds(indexedChainIds),
|
|
1159
1159
|
isSubgraphCompatible: isSubgraphCompatible2,
|