@ensnode/ensnode-sdk 0.0.0-next-20260702165053 → 0.0.0-next-20260707062507
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 +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +113 -93
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +58 -3
- package/dist/internal.d.ts +58 -3
- package/dist/internal.js +109 -89
- package/dist/internal.js.map +1 -1
- package/dist/{namespace-specific-value-C9XIUp1F.d.cts → namespace-specific-value-D_ZkcwDQ.d.cts} +18 -2
- package/dist/{namespace-specific-value-C9XIUp1F.d.ts → namespace-specific-value-D_ZkcwDQ.d.ts} +18 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -621,7 +621,10 @@ var makeEnsRainbowPublicConfigSchema = (valueLabel = "EnsRainbowPublicConfig") =
|
|
|
621
621
|
)
|
|
622
622
|
}),
|
|
623
623
|
versionInfo: import_v42.z.object({
|
|
624
|
-
|
|
624
|
+
commit: import_v42.z.optional(
|
|
625
|
+
import_v42.z.string().nonempty(`${valueLabel}.versionInfo.commit must be a non-empty string.`)
|
|
626
|
+
),
|
|
627
|
+
ensRainbow: import_v42.z.string().nonempty(`${valueLabel}.versionInfo.ensRainbow must be a non-empty string.`)
|
|
625
628
|
})
|
|
626
629
|
});
|
|
627
630
|
|
|
@@ -640,7 +643,6 @@ var PluginName = /* @__PURE__ */ ((PluginName2) => {
|
|
|
640
643
|
PluginName2["ProtocolAcceleration"] = "protocol-acceleration";
|
|
641
644
|
PluginName2["Registrars"] = "registrars";
|
|
642
645
|
PluginName2["TokenScope"] = "tokenscope";
|
|
643
|
-
PluginName2["ENSv2"] = "ensv2";
|
|
644
646
|
PluginName2["Unigraph"] = "unigraph";
|
|
645
647
|
PluginName2["EFP"] = "efp";
|
|
646
648
|
return PluginName2;
|
|
@@ -734,6 +736,7 @@ var makeNonEmptyStringSchema = (valueLabel = "Value") => import_v43.z.string().n
|
|
|
734
736
|
var makeEnsIndexerVersionInfoSchema = (valueLabel = "Value") => import_v43.z.object(
|
|
735
737
|
{
|
|
736
738
|
ponder: makeNonEmptyStringSchema(),
|
|
739
|
+
commit: import_v43.z.optional(makeNonEmptyStringSchema()),
|
|
737
740
|
ensDb: makeNonEmptyStringSchema(),
|
|
738
741
|
ensIndexer: makeNonEmptyStringSchema(),
|
|
739
742
|
ensNormalize: makeNonEmptyStringSchema()
|
|
@@ -836,6 +839,7 @@ var TheGraphFallbackSchema = import_v45.z.discriminatedUnion("canFallback", [
|
|
|
836
839
|
|
|
837
840
|
// src/ensapi/config/zod-schemas.ts
|
|
838
841
|
var makeEnsApiVersionInfoSchema = (valueLabel = "ENS API version info") => import_v46.z.object({
|
|
842
|
+
commit: import_v46.z.optional(import_v46.z.string().nonempty(`${valueLabel}.commit must be a non-empty string`)),
|
|
839
843
|
ensApi: import_v46.z.string().nonempty(`${valueLabel}.ensApi must be a non-empty string`),
|
|
840
844
|
ensNormalize: import_v46.z.string().nonempty(`${valueLabel}.ensNormalize must be a non-empty string`)
|
|
841
845
|
});
|
|
@@ -4430,11 +4434,11 @@ function hasBackfillCompleted(indexingStatus) {
|
|
|
4430
4434
|
|
|
4431
4435
|
// src/omnigraph-api/prerequisites.ts
|
|
4432
4436
|
function hasOmnigraphApiConfigSupport(config) {
|
|
4433
|
-
const supported = config.plugins.includes("unigraph" /* Unigraph */)
|
|
4437
|
+
const supported = config.plugins.includes("unigraph" /* Unigraph */);
|
|
4434
4438
|
if (supported) return { supported };
|
|
4435
4439
|
return {
|
|
4436
4440
|
supported: false,
|
|
4437
|
-
reason: `The connected ENSNode's Config must have
|
|
4441
|
+
reason: `The connected ENSNode's Config must have the '${"unigraph" /* Unigraph */}' plugin enabled.`
|
|
4438
4442
|
};
|
|
4439
4443
|
}
|
|
4440
4444
|
function hasOmnigraphApiIndexingStatusSupport(indexingStatus) {
|