@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 CHANGED
@@ -621,7 +621,10 @@ var makeEnsRainbowPublicConfigSchema = (valueLabel = "EnsRainbowPublicConfig") =
621
621
  )
622
622
  }),
623
623
  versionInfo: import_v42.z.object({
624
- ensRainbow: import_v42.z.string().nonempty({ error: `${valueLabel}.versionInfo.ensRainbow must be a non-empty string.` })
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 */) || config.plugins.includes("ensv2" /* ENSv2 */);
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 one of the '${"unigraph" /* Unigraph */}' or '${"ensv2" /* ENSv2 */}' plugins enabled.`
4441
+ reason: `The connected ENSNode's Config must have the '${"unigraph" /* Unigraph */}' plugin enabled.`
4438
4442
  };
4439
4443
  }
4440
4444
  function hasOmnigraphApiIndexingStatusSupport(indexingStatus) {