@ensnode/ensnode-sdk 0.0.0-next-20260619184733 → 0.0.0-next-20260619195520
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 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +44 -7
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +44 -7
- package/dist/internal.js.map +1 -1
- package/dist/{namespace-specific-value-BBZET9O0.d.cts → namespace-specific-value-C9XIUp1F.d.cts} +15 -2
- package/dist/{namespace-specific-value-BBZET9O0.d.ts → namespace-specific-value-C9XIUp1F.d.ts} +15 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -173,6 +173,7 @@ __export(index_exports, {
|
|
|
173
173
|
interpretAddressRecordValue: () => interpretAddressRecordValue,
|
|
174
174
|
interpretContenthashValue: () => interpretContenthashValue,
|
|
175
175
|
interpretDnszonehashValue: () => interpretDnszonehashValue,
|
|
176
|
+
interpretMetadataKey: () => interpretMetadataKey,
|
|
176
177
|
interpretNameRecordValue: () => interpretNameRecordValue,
|
|
177
178
|
interpretPubkeyValue: () => interpretPubkeyValue,
|
|
178
179
|
interpretTextRecordKey: () => interpretTextRecordKey,
|
|
@@ -641,6 +642,7 @@ var PluginName = /* @__PURE__ */ ((PluginName2) => {
|
|
|
641
642
|
PluginName2["TokenScope"] = "tokenscope";
|
|
642
643
|
PluginName2["ENSv2"] = "ensv2";
|
|
643
644
|
PluginName2["Unigraph"] = "unigraph";
|
|
645
|
+
PluginName2["EFP"] = "efp";
|
|
644
646
|
return PluginName2;
|
|
645
647
|
})(PluginName || {});
|
|
646
648
|
|
|
@@ -4428,11 +4430,11 @@ function hasBackfillCompleted(indexingStatus) {
|
|
|
4428
4430
|
|
|
4429
4431
|
// src/omnigraph-api/prerequisites.ts
|
|
4430
4432
|
function hasOmnigraphApiConfigSupport(config) {
|
|
4431
|
-
const supported = config.plugins.includes("unigraph" /* Unigraph */) || config.plugins.includes("ensv2" /* ENSv2 */);
|
|
4433
|
+
const supported = config.plugins.includes("unigraph" /* Unigraph */) || config.plugins.includes("ensv2" /* ENSv2 */) || config.plugins.includes("efp" /* EFP */);
|
|
4432
4434
|
if (supported) return { supported };
|
|
4433
4435
|
return {
|
|
4434
4436
|
supported: false,
|
|
4435
|
-
reason: `The connected ENSNode's Config must have the '${"unigraph" /* Unigraph */}'
|
|
4437
|
+
reason: `The connected ENSNode's Config must have one of the '${"unigraph" /* Unigraph */}', '${"ensv2" /* ENSv2 */}', or '${"efp" /* EFP */}' plugins enabled.`
|
|
4436
4438
|
};
|
|
4437
4439
|
}
|
|
4438
4440
|
function hasOmnigraphApiIndexingStatusSupport(indexingStatus) {
|
|
@@ -4885,6 +4887,10 @@ function interpretTextRecordKey(key) {
|
|
|
4885
4887
|
if (key === "") return null;
|
|
4886
4888
|
return key;
|
|
4887
4889
|
}
|
|
4890
|
+
function interpretMetadataKey(key) {
|
|
4891
|
+
if (hasNullByte(key)) return null;
|
|
4892
|
+
return key;
|
|
4893
|
+
}
|
|
4888
4894
|
function interpretTextRecordValue(value) {
|
|
4889
4895
|
if (hasNullByte(value)) return null;
|
|
4890
4896
|
if (value === "") return null;
|