@ensnode/ensnode-sdk 0.0.0-next-20260401204707 → 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.cjs
CHANGED
|
@@ -973,7 +973,7 @@ var makePluginsListSchema = (valueLabel = "Plugins") => import_v43.z.array(impor
|
|
|
973
973
|
}).refine((arr) => arr.length === uniq(arr).length, {
|
|
974
974
|
error: `${valueLabel} cannot contain duplicate values.`
|
|
975
975
|
});
|
|
976
|
-
var
|
|
976
|
+
var makeEnsIndexerSchemaNameSchema = (valueLabel = "ENS Indexer Schema Name") => import_v43.z.string({ error: `${valueLabel} must be a string` }).trim().nonempty({
|
|
977
977
|
error: `${valueLabel} is required and must be a non-empty string.`
|
|
978
978
|
});
|
|
979
979
|
var makeFullyPinnedLabelSetSchema = (valueLabel = "Label set") => {
|
|
@@ -1028,7 +1028,7 @@ function invariant_ensRainbowSupportedLabelSetAndVersion(ctx) {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
1030
|
var makeEnsIndexerPublicConfigSchema = (valueLabel = "ENSIndexerPublicConfig") => import_v43.z.object({
|
|
1031
|
-
|
|
1031
|
+
ensIndexerSchemaName: makeEnsIndexerSchemaNameSchema(`${valueLabel}.ensIndexerSchemaName`),
|
|
1032
1032
|
ensRainbowPublicConfig: makeEnsRainbowPublicConfigSchema(
|
|
1033
1033
|
`${valueLabel}.ensRainbowPublicConfig`
|
|
1034
1034
|
),
|
|
@@ -1042,7 +1042,7 @@ var makeEnsIndexerPublicConfigSchema = (valueLabel = "ENSIndexerPublicConfig") =
|
|
|
1042
1042
|
versionInfo: makeEnsIndexerVersionInfoSchema(`${valueLabel}.versionInfo`)
|
|
1043
1043
|
}).check(invariant_isSubgraphCompatibleRequirements).check(invariant_ensRainbowSupportedLabelSetAndVersion);
|
|
1044
1044
|
var makeSerializedEnsIndexerPublicConfigSchema = (valueLabel = "Serialized ENSIndexerPublicConfig") => import_v43.z.object({
|
|
1045
|
-
|
|
1045
|
+
ensIndexerSchemaName: makeEnsIndexerSchemaNameSchema(`${valueLabel}.ensIndexerSchemaName`),
|
|
1046
1046
|
ensRainbowPublicConfig: makeEnsRainbowPublicConfigSchema(
|
|
1047
1047
|
`${valueLabel}.ensRainbowPublicConfig`
|
|
1048
1048
|
),
|
|
@@ -1152,7 +1152,7 @@ function serializeIndexedChainIds(indexedChainIds) {
|
|
|
1152
1152
|
}
|
|
1153
1153
|
function serializeEnsIndexerPublicConfig(config) {
|
|
1154
1154
|
const {
|
|
1155
|
-
|
|
1155
|
+
ensIndexerSchemaName,
|
|
1156
1156
|
ensRainbowPublicConfig,
|
|
1157
1157
|
indexedChainIds,
|
|
1158
1158
|
isSubgraphCompatible: isSubgraphCompatible2,
|
|
@@ -1162,7 +1162,7 @@ function serializeEnsIndexerPublicConfig(config) {
|
|
|
1162
1162
|
versionInfo
|
|
1163
1163
|
} = config;
|
|
1164
1164
|
return {
|
|
1165
|
-
|
|
1165
|
+
ensIndexerSchemaName,
|
|
1166
1166
|
ensRainbowPublicConfig,
|
|
1167
1167
|
indexedChainIds: serializeIndexedChainIds(indexedChainIds),
|
|
1168
1168
|
isSubgraphCompatible: isSubgraphCompatible2,
|