@ensnode/ensnode-sdk 0.0.0-next-20260630105521 → 0.0.0-next-20260702173520

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.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ENSNamespaceId, DatasourceName } from '@ensnode/datasources';
2
2
  export { ENSNamespaceId, ENSNamespaceIds, getENSRootChainId } from '@ensnode/datasources';
3
- import { E as EnsRainbowPublicConfig, a as EnsIndexerPublicConfig, b as EnsIndexerVersionInfo, T as TheGraphFallback, U as Unvalidated, B as BlockNumber, c as BlockRef, L as LabelSetId, d as LabelSetVersion, e as EnsRainbowClientLabelSet, f as EnsRainbowServerLabelSet, P as PluginName, m as makeErrorResponseSchema, R as RegistrarAction, S as SerializedRegistrarAction, D as Datetime, g as PriceDai, h as PriceEnsTokens, i as PriceEth, j as PriceUsdc, k as Price, l as SerializedPrice, n as SerializedPriceDai, o as SerializedPriceEnsTokens, p as SerializedPriceEth, q as SerializedPriceUsdc } from './namespace-specific-value-C9XIUp1F.cjs';
4
- export { C as CurrencyAmount, r as CurrencyId, s as CurrencyIds, t as CurrencyInfo, u as DeepPartial, v as ENCODED_REFERRER_BYTE_LENGTH, w as ENCODED_REFERRER_BYTE_OFFSET, x as ENSIndexerPublicConfig, y as ENSIndexerVersionInfo, z as EXPECTED_ENCODED_REFERRER_PADDING, A as EncodedReferrer, F as EnsRainbowVersionInfo, N as NamespaceSpecificValue, G as RegistrarActionEventId, H as RegistrarActionPricing, I as RegistrarActionPricingAvailable, J as RegistrarActionPricingUnknown, K as RegistrarActionReferral, M as RegistrarActionReferralAvailable, O as RegistrarActionReferralNotApplicable, Q as RegistrarActionType, V as RegistrarActionTypes, W as RegistrationLifecycle, X as RegistrationLifecycleStage, Y as RequiredAndNotNull, Z as RequiredAndNull, _ as RpcUrl, $ as SerializedCurrencyAmount, a0 as SerializedRegistrarActionPricing, a1 as SerializedRegistrarActionPricingAvailable, a2 as SerializedRegistrarActionPricingUnknown, a3 as Subregistry, a4 as TheGraphCannotFallbackReason, a5 as TheGraphCannotFallbackReasonSchema, a6 as TheGraphFallbackSchema, a7 as ZERO_ENCODED_REFERRER, a8 as addPrices, a9 as buildEncodedReferrer, aa as decodeEncodedReferrer, ab as getCurrencyInfo, ac as getNamespaceSpecificValue, ad as interpretAddress, ae as interpretAddressRecordValue, af as interpretContenthashValue, ag as interpretDnszonehashValue, ah as interpretMetadataKey, ai as interpretNameRecordValue, aj as interpretPubkeyValue, ak as interpretTextRecordKey, al as interpretTextRecordValue, am as isPriceCurrencyEqual, an as isPriceEqual, ao as isRegistrarActionPricingAvailable, ap as isRegistrarActionReferralAvailable, aq as makeENSApiPublicConfigSchema, ar as makeEnsApiPublicConfigSchema, as as makeSerializedEnsApiPublicConfigSchema, at as maxPrice, au as minPrice, av as parseDai, aw as parseEnsTokens, ax as parseEth, ay as parseUsdc, az as priceDai, aA as priceEnsTokens, aB as priceEth, aC as priceUsdc, aD as scalePrice, aE as serializeRegistrarAction, aF as serializeRegistrarActionPricing, aG as subtractPrice } from './namespace-specific-value-C9XIUp1F.cjs';
3
+ import { E as EnsRainbowPublicConfig, a as EnsIndexerPublicConfig, b as EnsIndexerVersionInfo, T as TheGraphFallback, U as Unvalidated, B as BlockNumber, c as BlockRef, L as LabelSetId, d as LabelSetVersion, e as EnsRainbowClientLabelSet, f as EnsRainbowServerLabelSet, P as PluginName, m as makeErrorResponseSchema, R as RegistrarAction, S as SerializedRegistrarAction, D as Datetime, g as PriceDai, h as PriceEnsTokens, i as PriceEth, j as PriceUsdc, k as Price, l as SerializedPrice, n as SerializedPriceDai, o as SerializedPriceEnsTokens, p as SerializedPriceEth, q as SerializedPriceUsdc } from './namespace-specific-value-W7LwQOxx.cjs';
4
+ export { C as CurrencyAmount, r as CurrencyId, s as CurrencyIds, t as CurrencyInfo, u as DeepPartial, v as ENCODED_REFERRER_BYTE_LENGTH, w as ENCODED_REFERRER_BYTE_OFFSET, x as ENSIndexerPublicConfig, y as ENSIndexerVersionInfo, z as EXPECTED_ENCODED_REFERRER_PADDING, A as EncodedReferrer, F as EnsRainbowVersionInfo, N as NamespaceSpecificValue, G as RegistrarActionEventId, H as RegistrarActionPricing, I as RegistrarActionPricingAvailable, J as RegistrarActionPricingUnknown, K as RegistrarActionReferral, M as RegistrarActionReferralAvailable, O as RegistrarActionReferralNotApplicable, Q as RegistrarActionType, V as RegistrarActionTypes, W as RegistrationLifecycle, X as RegistrationLifecycleStage, Y as RequiredAndNotNull, Z as RequiredAndNull, _ as RpcUrl, $ as SerializedCurrencyAmount, a0 as SerializedRegistrarActionPricing, a1 as SerializedRegistrarActionPricingAvailable, a2 as SerializedRegistrarActionPricingUnknown, a3 as Subregistry, a4 as TheGraphCannotFallbackReason, a5 as TheGraphCannotFallbackReasonSchema, a6 as TheGraphFallbackSchema, a7 as ZERO_ENCODED_REFERRER, a8 as addPrices, a9 as buildEncodedReferrer, aa as decodeEncodedReferrer, ab as getCurrencyInfo, ac as getNamespaceSpecificValue, ad as interpretAddress, ae as interpretAddressRecordValue, af as interpretContenthashValue, ag as interpretDnszonehashValue, ah as interpretMetadataKey, ai as interpretNameRecordValue, aj as interpretPubkeyValue, ak as interpretTextRecordKey, al as interpretTextRecordValue, am as isPriceCurrencyEqual, an as isPriceEqual, ao as isRegistrarActionPricingAvailable, ap as isRegistrarActionReferralAvailable, aq as makeENSApiPublicConfigSchema, ar as makeEnsApiPublicConfigSchema, as as makeSerializedEnsApiPublicConfigSchema, at as maxPrice, au as minPrice, av as parseDai, aw as parseEnsTokens, ax as parseEth, ay as parseUsdc, az as priceDai, aA as priceEnsTokens, aB as priceEth, aC as priceUsdc, aD as scalePrice, aE as serializeRegistrarAction, aF as serializeRegistrarActionPricing, aG as subtractPrice } from './namespace-specific-value-W7LwQOxx.cjs';
5
5
  import * as enssdk from 'enssdk';
6
6
  import { ChainId, UnixTimestamp, Duration, ChainIdString, LabelHash, Node, Name, AssetId, Hex, AccountId, TokenId, AssetNamespace, Address, AssetIdString, InterpretedName, DefaultableChainId, CoinType, ContentType, InterfaceId, RecordVersion, UrlString, RegistryId, DatetimeISO8601 } from 'enssdk';
7
7
  import { ByteArray } from 'viem';
@@ -3291,10 +3291,8 @@ declare function validateIndexingMetadataContextInitialized(maybeIndexingMetadat
3291
3291
  /**
3292
3292
  * Check if provided EnsIndexerPublicConfig supports the Omnigraph API.
3293
3293
  *
3294
- * The Omnigraph API is served whenever the config indexes data it can expose: the ENS data model
3295
- * (`unigraph` / `ensv2`) or the highly-ENS-adjacent EFP protocol (`efp`). EFP qualifies on its own
3296
- * so an EFP-only config can still query the `efp` namespace (the ENS query fields are present but
3297
- * return no data without `unigraph`).
3294
+ * The Omnigraph API is served whenever the config indexes the ENS data model
3295
+ * (`unigraph`).
3298
3296
  */
3299
3297
  declare function hasOmnigraphApiConfigSupport(config: EnsIndexerPublicConfig): PrerequisiteResult;
3300
3298
  /**
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ENSNamespaceId, DatasourceName } from '@ensnode/datasources';
2
2
  export { ENSNamespaceId, ENSNamespaceIds, getENSRootChainId } from '@ensnode/datasources';
3
- import { E as EnsRainbowPublicConfig, a as EnsIndexerPublicConfig, b as EnsIndexerVersionInfo, T as TheGraphFallback, U as Unvalidated, B as BlockNumber, c as BlockRef, L as LabelSetId, d as LabelSetVersion, e as EnsRainbowClientLabelSet, f as EnsRainbowServerLabelSet, P as PluginName, m as makeErrorResponseSchema, R as RegistrarAction, S as SerializedRegistrarAction, D as Datetime, g as PriceDai, h as PriceEnsTokens, i as PriceEth, j as PriceUsdc, k as Price, l as SerializedPrice, n as SerializedPriceDai, o as SerializedPriceEnsTokens, p as SerializedPriceEth, q as SerializedPriceUsdc } from './namespace-specific-value-C9XIUp1F.js';
4
- export { C as CurrencyAmount, r as CurrencyId, s as CurrencyIds, t as CurrencyInfo, u as DeepPartial, v as ENCODED_REFERRER_BYTE_LENGTH, w as ENCODED_REFERRER_BYTE_OFFSET, x as ENSIndexerPublicConfig, y as ENSIndexerVersionInfo, z as EXPECTED_ENCODED_REFERRER_PADDING, A as EncodedReferrer, F as EnsRainbowVersionInfo, N as NamespaceSpecificValue, G as RegistrarActionEventId, H as RegistrarActionPricing, I as RegistrarActionPricingAvailable, J as RegistrarActionPricingUnknown, K as RegistrarActionReferral, M as RegistrarActionReferralAvailable, O as RegistrarActionReferralNotApplicable, Q as RegistrarActionType, V as RegistrarActionTypes, W as RegistrationLifecycle, X as RegistrationLifecycleStage, Y as RequiredAndNotNull, Z as RequiredAndNull, _ as RpcUrl, $ as SerializedCurrencyAmount, a0 as SerializedRegistrarActionPricing, a1 as SerializedRegistrarActionPricingAvailable, a2 as SerializedRegistrarActionPricingUnknown, a3 as Subregistry, a4 as TheGraphCannotFallbackReason, a5 as TheGraphCannotFallbackReasonSchema, a6 as TheGraphFallbackSchema, a7 as ZERO_ENCODED_REFERRER, a8 as addPrices, a9 as buildEncodedReferrer, aa as decodeEncodedReferrer, ab as getCurrencyInfo, ac as getNamespaceSpecificValue, ad as interpretAddress, ae as interpretAddressRecordValue, af as interpretContenthashValue, ag as interpretDnszonehashValue, ah as interpretMetadataKey, ai as interpretNameRecordValue, aj as interpretPubkeyValue, ak as interpretTextRecordKey, al as interpretTextRecordValue, am as isPriceCurrencyEqual, an as isPriceEqual, ao as isRegistrarActionPricingAvailable, ap as isRegistrarActionReferralAvailable, aq as makeENSApiPublicConfigSchema, ar as makeEnsApiPublicConfigSchema, as as makeSerializedEnsApiPublicConfigSchema, at as maxPrice, au as minPrice, av as parseDai, aw as parseEnsTokens, ax as parseEth, ay as parseUsdc, az as priceDai, aA as priceEnsTokens, aB as priceEth, aC as priceUsdc, aD as scalePrice, aE as serializeRegistrarAction, aF as serializeRegistrarActionPricing, aG as subtractPrice } from './namespace-specific-value-C9XIUp1F.js';
3
+ import { E as EnsRainbowPublicConfig, a as EnsIndexerPublicConfig, b as EnsIndexerVersionInfo, T as TheGraphFallback, U as Unvalidated, B as BlockNumber, c as BlockRef, L as LabelSetId, d as LabelSetVersion, e as EnsRainbowClientLabelSet, f as EnsRainbowServerLabelSet, P as PluginName, m as makeErrorResponseSchema, R as RegistrarAction, S as SerializedRegistrarAction, D as Datetime, g as PriceDai, h as PriceEnsTokens, i as PriceEth, j as PriceUsdc, k as Price, l as SerializedPrice, n as SerializedPriceDai, o as SerializedPriceEnsTokens, p as SerializedPriceEth, q as SerializedPriceUsdc } from './namespace-specific-value-W7LwQOxx.js';
4
+ export { C as CurrencyAmount, r as CurrencyId, s as CurrencyIds, t as CurrencyInfo, u as DeepPartial, v as ENCODED_REFERRER_BYTE_LENGTH, w as ENCODED_REFERRER_BYTE_OFFSET, x as ENSIndexerPublicConfig, y as ENSIndexerVersionInfo, z as EXPECTED_ENCODED_REFERRER_PADDING, A as EncodedReferrer, F as EnsRainbowVersionInfo, N as NamespaceSpecificValue, G as RegistrarActionEventId, H as RegistrarActionPricing, I as RegistrarActionPricingAvailable, J as RegistrarActionPricingUnknown, K as RegistrarActionReferral, M as RegistrarActionReferralAvailable, O as RegistrarActionReferralNotApplicable, Q as RegistrarActionType, V as RegistrarActionTypes, W as RegistrationLifecycle, X as RegistrationLifecycleStage, Y as RequiredAndNotNull, Z as RequiredAndNull, _ as RpcUrl, $ as SerializedCurrencyAmount, a0 as SerializedRegistrarActionPricing, a1 as SerializedRegistrarActionPricingAvailable, a2 as SerializedRegistrarActionPricingUnknown, a3 as Subregistry, a4 as TheGraphCannotFallbackReason, a5 as TheGraphCannotFallbackReasonSchema, a6 as TheGraphFallbackSchema, a7 as ZERO_ENCODED_REFERRER, a8 as addPrices, a9 as buildEncodedReferrer, aa as decodeEncodedReferrer, ab as getCurrencyInfo, ac as getNamespaceSpecificValue, ad as interpretAddress, ae as interpretAddressRecordValue, af as interpretContenthashValue, ag as interpretDnszonehashValue, ah as interpretMetadataKey, ai as interpretNameRecordValue, aj as interpretPubkeyValue, ak as interpretTextRecordKey, al as interpretTextRecordValue, am as isPriceCurrencyEqual, an as isPriceEqual, ao as isRegistrarActionPricingAvailable, ap as isRegistrarActionReferralAvailable, aq as makeENSApiPublicConfigSchema, ar as makeEnsApiPublicConfigSchema, as as makeSerializedEnsApiPublicConfigSchema, at as maxPrice, au as minPrice, av as parseDai, aw as parseEnsTokens, ax as parseEth, ay as parseUsdc, az as priceDai, aA as priceEnsTokens, aB as priceEth, aC as priceUsdc, aD as scalePrice, aE as serializeRegistrarAction, aF as serializeRegistrarActionPricing, aG as subtractPrice } from './namespace-specific-value-W7LwQOxx.js';
5
5
  import * as enssdk from 'enssdk';
6
6
  import { ChainId, UnixTimestamp, Duration, ChainIdString, LabelHash, Node, Name, AssetId, Hex, AccountId, TokenId, AssetNamespace, Address, AssetIdString, InterpretedName, DefaultableChainId, CoinType, ContentType, InterfaceId, RecordVersion, UrlString, RegistryId, DatetimeISO8601 } from 'enssdk';
7
7
  import { ByteArray } from 'viem';
@@ -3291,10 +3291,8 @@ declare function validateIndexingMetadataContextInitialized(maybeIndexingMetadat
3291
3291
  /**
3292
3292
  * Check if provided EnsIndexerPublicConfig supports the Omnigraph API.
3293
3293
  *
3294
- * The Omnigraph API is served whenever the config indexes data it can expose: the ENS data model
3295
- * (`unigraph` / `ensv2`) or the highly-ENS-adjacent EFP protocol (`efp`). EFP qualifies on its own
3296
- * so an EFP-only config can still query the `efp` namespace (the ENS query fields are present but
3297
- * return no data without `unigraph`).
3294
+ * The Omnigraph API is served whenever the config indexes the ENS data model
3295
+ * (`unigraph`).
3298
3296
  */
3299
3297
  declare function hasOmnigraphApiConfigSupport(config: EnsIndexerPublicConfig): PrerequisiteResult;
3300
3298
  /**
package/dist/index.js CHANGED
@@ -362,7 +362,6 @@ var PluginName = /* @__PURE__ */ ((PluginName2) => {
362
362
  PluginName2["ProtocolAcceleration"] = "protocol-acceleration";
363
363
  PluginName2["Registrars"] = "registrars";
364
364
  PluginName2["TokenScope"] = "tokenscope";
365
- PluginName2["ENSv2"] = "ensv2";
366
365
  PluginName2["Unigraph"] = "unigraph";
367
366
  PluginName2["EFP"] = "efp";
368
367
  return PluginName2;
@@ -4156,11 +4155,11 @@ function hasBackfillCompleted(indexingStatus) {
4156
4155
 
4157
4156
  // src/omnigraph-api/prerequisites.ts
4158
4157
  function hasOmnigraphApiConfigSupport(config) {
4159
- const supported = config.plugins.includes("unigraph" /* Unigraph */) || config.plugins.includes("ensv2" /* ENSv2 */) || config.plugins.includes("efp" /* EFP */);
4158
+ const supported = config.plugins.includes("unigraph" /* Unigraph */);
4160
4159
  if (supported) return { supported };
4161
4160
  return {
4162
4161
  supported: false,
4163
- reason: `The connected ENSNode's Config must have one of the '${"unigraph" /* Unigraph */}', '${"ensv2" /* ENSv2 */}', or '${"efp" /* EFP */}' plugins enabled.`
4162
+ reason: `The connected ENSNode's Config must have the '${"unigraph" /* Unigraph */}' plugin enabled.`
4164
4163
  };
4165
4164
  }
4166
4165
  function hasOmnigraphApiIndexingStatusSupport(indexingStatus) {