@ensnode/ensnode-sdk 0.0.0-next-20260518172715 → 0.0.0-next-20260518194029
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -638,6 +638,7 @@ var PluginName = /* @__PURE__ */ ((PluginName2) => {
|
|
|
638
638
|
PluginName2["Registrars"] = "registrars";
|
|
639
639
|
PluginName2["TokenScope"] = "tokenscope";
|
|
640
640
|
PluginName2["ENSv2"] = "ensv2";
|
|
641
|
+
PluginName2["Unigraph"] = "unigraph";
|
|
641
642
|
return PluginName2;
|
|
642
643
|
})(PluginName || {});
|
|
643
644
|
|
|
@@ -4409,11 +4410,11 @@ function hasBackfillCompleted(indexingStatus) {
|
|
|
4409
4410
|
|
|
4410
4411
|
// src/omnigraph-api/prerequisites.ts
|
|
4411
4412
|
function hasOmnigraphApiConfigSupport(config) {
|
|
4412
|
-
const supported = config.plugins.includes("ensv2" /* ENSv2 */);
|
|
4413
|
+
const supported = config.plugins.includes("unigraph" /* Unigraph */) || config.plugins.includes("ensv2" /* ENSv2 */);
|
|
4413
4414
|
if (supported) return { supported };
|
|
4414
4415
|
return {
|
|
4415
4416
|
supported: false,
|
|
4416
|
-
reason: `The connected ENSNode's Config must have the '${"
|
|
4417
|
+
reason: `The connected ENSNode's Config must have the '${"unigraph" /* Unigraph */}' plugin enabled.`
|
|
4417
4418
|
};
|
|
4418
4419
|
}
|
|
4419
4420
|
function hasOmnigraphApiIndexingStatusSupport(indexingStatus) {
|