@ensnode/ensnode-sdk 0.0.0-next-20260220210218 → 0.0.0-next-20260223140405

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.ts CHANGED
@@ -1918,6 +1918,8 @@ interface SerializedCrossChainIndexingStatusSnapshotOmnichain extends Omit<Cross
1918
1918
  * Serialized representation of {@link CrossChainIndexingStatusSnapshot}
1919
1919
  */
1920
1920
  type SerializedCrossChainIndexingStatusSnapshot = SerializedCrossChainIndexingStatusSnapshotOmnichain;
1921
+ declare function serializeCrossChainIndexingStatusSnapshotOmnichain({ strategy, slowestChainIndexingCursor, snapshotTime, omnichainSnapshot, }: CrossChainIndexingStatusSnapshotOmnichain): SerializedCrossChainIndexingStatusSnapshotOmnichain;
1922
+ declare function serializeCrossChainIndexingStatusSnapshot(snapshot: CrossChainIndexingStatusSnapshot): SerializedCrossChainIndexingStatusSnapshot;
1921
1923
 
1922
1924
  /**
1923
1925
  * Serialized representation of {@link RealtimeIndexingStatusProjection}
@@ -4364,6 +4366,204 @@ declare const DEFAULT_ENSNODE_API_URL_SEPOLIA: "https://api.alpha-sepolia.ensnod
4364
4366
  */
4365
4367
  declare const getDefaultEnsNodeUrl: (namespace?: ENSNamespaceId) => URL;
4366
4368
 
4369
+ type EnsIndexerPublicConfigCompatibilityCheck = Omit<EnsIndexerPublicConfig, "databaseSchemaName" | "versionInfo">;
4370
+ /**
4371
+ * Validate if `configB` is compatible with `configA`, such that `configA` equals to `configB`.
4372
+ *
4373
+ * @throws error if configs are incompatible.
4374
+ */
4375
+ declare function validateEnsIndexerPublicConfigCompatibility(configA: EnsIndexerPublicConfigCompatibilityCheck, configB: EnsIndexerPublicConfigCompatibilityCheck): void;
4376
+
4377
+ /**
4378
+ * Builds an unvalidated {@link EnsIndexerPublicConfig} object to be
4379
+ * validated with {@link makeEnsIndexerPublicConfigSchema}.
4380
+ *
4381
+ * @param serializedPublicConfig - The serialized public config to build from.
4382
+ * @return An unvalidated {@link EnsIndexerPublicConfig} object.
4383
+ */
4384
+ declare function buildUnvalidatedEnsIndexerPublicConfig(serializedPublicConfig: SerializedEnsIndexerPublicConfig): Unvalidated<EnsIndexerPublicConfig>;
4385
+ /**
4386
+ * Deserialize value into {@link EnsIndexerPublicConfig} object.
4387
+ */
4388
+ declare function deserializeEnsIndexerPublicConfig(maybePublicConfig: Unvalidated<SerializedEnsIndexerPublicConfig>, valueLabel?: string): EnsIndexerPublicConfig;
4389
+ /**
4390
+ * Deserialize object into a {@link EnsIndexerPublicConfig} object.
4391
+ *
4392
+ * @deprecated Use {@link deserializeEnsIndexerPublicConfig} instead.
4393
+ */
4394
+ declare const deserializeENSIndexerPublicConfig: typeof deserializeEnsIndexerPublicConfig;
4395
+
4396
+ /**
4397
+ * Determines if the provided `config` results in indexing behavior compatible with the legacy ENS
4398
+ * Subgraph.
4399
+ *
4400
+ * @see https://ensnode.io/docs/concepts/what-is-the-ens-subgraph/
4401
+ */
4402
+ declare function isSubgraphCompatible(config: Pick<EnsIndexerPublicConfig, "namespace" | "plugins" | "labelSet">): boolean;
4403
+
4404
+ /**
4405
+ * Converts a Labelhash to bytes, with validation
4406
+ * @param labelHash The Labelhash to convert
4407
+ * @returns A ByteArray containing the bytes
4408
+ * @throws Error if `labelHash` is not a valid 32-byte hex string
4409
+ */
4410
+ declare function labelHashToBytes(labelHash: LabelHash): ByteArray;
4411
+
4412
+ /**
4413
+ * Builds a valid LabelSetId from a string.
4414
+ * @param maybeLabelSetId - The string to validate and convert to a LabelSetId.
4415
+ * @returns A valid LabelSetId.
4416
+ * @throws If the input string is not a valid LabelSetId.
4417
+ */
4418
+ declare function buildLabelSetId(maybeLabelSetId: string): LabelSetId;
4419
+ /**
4420
+ * Builds a valid LabelSetVersion from a number or string.
4421
+ * @param maybeLabelSetVersion - The number or string to validate and convert to a LabelSetVersion.
4422
+ * @returns A valid LabelSetVersion.
4423
+ * @throws If the input is not a valid LabelSetVersion.
4424
+ */
4425
+ declare function buildLabelSetVersion(maybeLabelSetVersion: number | string): LabelSetVersion;
4426
+ /**
4427
+ * Builds an EnsRainbowClientLabelSet.
4428
+ * @param labelSetId - The label set ID.
4429
+ * @param labelSetVersion - The label set version.
4430
+ * @returns A valid EnsRainbowClientLabelSet object.
4431
+ * @throws If `labelSetVersion` is defined without `labelSetId`.
4432
+ */
4433
+ declare function buildEnsRainbowClientLabelSet(labelSetId?: LabelSetId, labelSetVersion?: LabelSetVersion): EnsRainbowClientLabelSet;
4434
+ /**
4435
+ * Validates that the server's label set is compatible with the client's requested label set.
4436
+ * @param serverSet - The label set provided by the server.
4437
+ * @param clientSet - The label set requested by the client.
4438
+ * @throws If the server set is not compatible with the client set.
4439
+ */
4440
+ declare function validateSupportedLabelSetAndVersion(serverSet: EnsRainbowServerLabelSet, clientSet: EnsRainbowClientLabelSet): void;
4441
+
4442
+ /**
4443
+ * Parses a string into a non-negative integer.
4444
+ * @param input The string to parse
4445
+ * @returns The parsed non-negative integer
4446
+ * @throws Error if the input is not a valid non-negative integer
4447
+ */
4448
+ declare function parseNonNegativeInteger(maybeNumber: string): number;
4449
+
4450
+ /**
4451
+ * Serializes a {@link ChainConfig} object.
4452
+ */
4453
+ declare function serializeIndexedChainIds(indexedChainIds: Set<ChainId>): SerializedIndexedChainIds;
4454
+ /**
4455
+ * Serialize a {@link EnsIndexerPublicConfig} object.
4456
+ */
4457
+ declare function serializeEnsIndexerPublicConfig(config: EnsIndexerPublicConfig): SerializedEnsIndexerPublicConfig;
4458
+ /**
4459
+ * Serialize a {@link EnsIndexerPublicConfig} object.
4460
+ *
4461
+ * @deprecated Use {@link serializeEnsIndexerPublicConfig} instead.
4462
+ */
4463
+ declare const serializeENSIndexerPublicConfig: typeof serializeEnsIndexerPublicConfig;
4464
+
4465
+ /**
4466
+ * ENSDb Client Query
4467
+ *
4468
+ * Includes methods for reading from ENSDb.
4469
+ */
4470
+ interface EnsDbClientQuery {
4471
+ /**
4472
+ * Get ENSDb Version
4473
+ *
4474
+ * @returns the existing record, or `undefined`.
4475
+ */
4476
+ getEnsDbVersion(): Promise<string | undefined>;
4477
+ /**
4478
+ * Get ENSIndexer Public Config
4479
+ *
4480
+ * @returns the existing record, or `undefined`.
4481
+ */
4482
+ getEnsIndexerPublicConfig(): Promise<EnsIndexerPublicConfig | undefined>;
4483
+ /**
4484
+ * Get Indexing Status Snapshot
4485
+ *
4486
+ * @returns the existing record, or `undefined`.
4487
+ */
4488
+ getIndexingStatusSnapshot(): Promise<CrossChainIndexingStatusSnapshot | undefined>;
4489
+ }
4490
+ /**
4491
+ * ENSDb Client Mutation
4492
+ *
4493
+ * Includes methods for writing into ENSDb.
4494
+ */
4495
+ interface EnsDbClientMutation {
4496
+ /**
4497
+ * Upsert ENSDb Version
4498
+ *
4499
+ * @throws when upsert operation failed.
4500
+ */
4501
+ upsertEnsDbVersion(ensDbVersion: string): Promise<void>;
4502
+ /**
4503
+ * Upsert ENSIndexer Public Config
4504
+ *
4505
+ * @throws when upsert operation failed.
4506
+ */
4507
+ upsertEnsIndexerPublicConfig(ensIndexerPublicConfig: EnsIndexerPublicConfig): Promise<void>;
4508
+ /**
4509
+ * Upsert Indexing Status Snapshot
4510
+ *
4511
+ * @throws when upsert operation failed.
4512
+ */
4513
+ upsertIndexingStatusSnapshot(indexingStatus: CrossChainIndexingStatusSnapshot): Promise<void>;
4514
+ }
4515
+
4516
+ /**
4517
+ * Keys used to distinguish records in `ensnode_metadata` table in the ENSDb.
4518
+ */
4519
+ declare const EnsNodeMetadataKeys: {
4520
+ readonly EnsDbVersion: "ensdb_version";
4521
+ readonly EnsIndexerPublicConfig: "ensindexer_public_config";
4522
+ readonly EnsIndexerIndexingStatus: "ensindexer_indexing_status";
4523
+ };
4524
+ type EnsNodeMetadataKey = (typeof EnsNodeMetadataKeys)[keyof typeof EnsNodeMetadataKeys];
4525
+ interface EnsNodeMetadataEnsDbVersion {
4526
+ key: typeof EnsNodeMetadataKeys.EnsDbVersion;
4527
+ value: string;
4528
+ }
4529
+ interface EnsNodeMetadataEnsIndexerPublicConfig {
4530
+ key: typeof EnsNodeMetadataKeys.EnsIndexerPublicConfig;
4531
+ value: EnsIndexerPublicConfig;
4532
+ }
4533
+ interface EnsNodeMetadataEnsIndexerIndexingStatus {
4534
+ key: typeof EnsNodeMetadataKeys.EnsIndexerIndexingStatus;
4535
+ value: CrossChainIndexingStatusSnapshot;
4536
+ }
4537
+ /**
4538
+ * ENSNode Metadata
4539
+ *
4540
+ * Union type gathering all variants of ENSNode Metadata.
4541
+ */
4542
+ type EnsNodeMetadata = EnsNodeMetadataEnsDbVersion | EnsNodeMetadataEnsIndexerPublicConfig | EnsNodeMetadataEnsIndexerIndexingStatus;
4543
+
4544
+ /**
4545
+ * Serialized representation of {@link EnsNodeMetadataEnsDbVersion}.
4546
+ */
4547
+ type SerializedEnsNodeMetadataEnsDbVersion = EnsNodeMetadataEnsDbVersion;
4548
+ /**
4549
+ * Serialized representation of {@link EnsNodeMetadataEnsIndexerPublicConfig}.
4550
+ */
4551
+ interface SerializedEnsNodeMetadataEnsIndexerPublicConfig {
4552
+ key: typeof EnsNodeMetadataKeys.EnsIndexerPublicConfig;
4553
+ value: SerializedEnsIndexerPublicConfig;
4554
+ }
4555
+ /**
4556
+ * Serialized representation of {@link EnsNodeMetadataEnsIndexerIndexingStatus}.
4557
+ */
4558
+ interface SerializedEnsNodeMetadataEnsIndexerIndexingStatus {
4559
+ key: typeof EnsNodeMetadataKeys.EnsIndexerIndexingStatus;
4560
+ value: SerializedCrossChainIndexingStatusSnapshot;
4561
+ }
4562
+ /**
4563
+ * Serialized representation of {@link EnsNodeMetadata}
4564
+ */
4565
+ type SerializedEnsNodeMetadata = SerializedEnsNodeMetadataEnsDbVersion | SerializedEnsNodeMetadataEnsIndexerPublicConfig | SerializedEnsNodeMetadataEnsIndexerIndexingStatus;
4566
+
4367
4567
  /**
4368
4568
  * ENSIndexer Public Config Response
4369
4569
  */
@@ -4495,94 +4695,6 @@ declare class EnsIndexerClient {
4495
4695
  indexingStatus(): Promise<EnsIndexerIndexingStatusResponse>;
4496
4696
  }
4497
4697
 
4498
- /**
4499
- * Builds an unvalidated {@link EnsIndexerPublicConfig} object to be
4500
- * validated with {@link makeEnsIndexerPublicConfigSchema}.
4501
- *
4502
- * @param serializedPublicConfig - The serialized public config to build from.
4503
- * @return An unvalidated {@link EnsIndexerPublicConfig} object.
4504
- */
4505
- declare function buildUnvalidatedEnsIndexerPublicConfig(serializedPublicConfig: SerializedEnsIndexerPublicConfig): Unvalidated<EnsIndexerPublicConfig>;
4506
- /**
4507
- * Deserialize value into {@link EnsIndexerPublicConfig} object.
4508
- */
4509
- declare function deserializeEnsIndexerPublicConfig(maybePublicConfig: Unvalidated<SerializedEnsIndexerPublicConfig>, valueLabel?: string): EnsIndexerPublicConfig;
4510
- /**
4511
- * Deserialize object into a {@link EnsIndexerPublicConfig} object.
4512
- *
4513
- * @deprecated Use {@link deserializeEnsIndexerPublicConfig} instead.
4514
- */
4515
- declare const deserializeENSIndexerPublicConfig: typeof deserializeEnsIndexerPublicConfig;
4516
-
4517
- /**
4518
- * Determines if the provided `config` results in indexing behavior compatible with the legacy ENS
4519
- * Subgraph.
4520
- *
4521
- * @see https://ensnode.io/docs/concepts/what-is-the-ens-subgraph/
4522
- */
4523
- declare function isSubgraphCompatible(config: Pick<EnsIndexerPublicConfig, "namespace" | "plugins" | "labelSet">): boolean;
4524
-
4525
- /**
4526
- * Converts a Labelhash to bytes, with validation
4527
- * @param labelHash The Labelhash to convert
4528
- * @returns A ByteArray containing the bytes
4529
- * @throws Error if `labelHash` is not a valid 32-byte hex string
4530
- */
4531
- declare function labelHashToBytes(labelHash: LabelHash): ByteArray;
4532
-
4533
- /**
4534
- * Builds a valid LabelSetId from a string.
4535
- * @param maybeLabelSetId - The string to validate and convert to a LabelSetId.
4536
- * @returns A valid LabelSetId.
4537
- * @throws If the input string is not a valid LabelSetId.
4538
- */
4539
- declare function buildLabelSetId(maybeLabelSetId: string): LabelSetId;
4540
- /**
4541
- * Builds a valid LabelSetVersion from a number or string.
4542
- * @param maybeLabelSetVersion - The number or string to validate and convert to a LabelSetVersion.
4543
- * @returns A valid LabelSetVersion.
4544
- * @throws If the input is not a valid LabelSetVersion.
4545
- */
4546
- declare function buildLabelSetVersion(maybeLabelSetVersion: number | string): LabelSetVersion;
4547
- /**
4548
- * Builds an EnsRainbowClientLabelSet.
4549
- * @param labelSetId - The label set ID.
4550
- * @param labelSetVersion - The label set version.
4551
- * @returns A valid EnsRainbowClientLabelSet object.
4552
- * @throws If `labelSetVersion` is defined without `labelSetId`.
4553
- */
4554
- declare function buildEnsRainbowClientLabelSet(labelSetId?: LabelSetId, labelSetVersion?: LabelSetVersion): EnsRainbowClientLabelSet;
4555
- /**
4556
- * Validates that the server's label set is compatible with the client's requested label set.
4557
- * @param serverSet - The label set provided by the server.
4558
- * @param clientSet - The label set requested by the client.
4559
- * @throws If the server set is not compatible with the client set.
4560
- */
4561
- declare function validateSupportedLabelSetAndVersion(serverSet: EnsRainbowServerLabelSet, clientSet: EnsRainbowClientLabelSet): void;
4562
-
4563
- /**
4564
- * Parses a string into a non-negative integer.
4565
- * @param input The string to parse
4566
- * @returns The parsed non-negative integer
4567
- * @throws Error if the input is not a valid non-negative integer
4568
- */
4569
- declare function parseNonNegativeInteger(maybeNumber: string): number;
4570
-
4571
- /**
4572
- * Serializes a {@link ChainConfig} object.
4573
- */
4574
- declare function serializeIndexedChainIds(indexedChainIds: Set<ChainId>): SerializedIndexedChainIds;
4575
- /**
4576
- * Serialize a {@link EnsIndexerPublicConfig} object.
4577
- */
4578
- declare function serializeEnsIndexerPublicConfig(config: EnsIndexerPublicConfig): SerializedEnsIndexerPublicConfig;
4579
- /**
4580
- * Serialize a {@link EnsIndexerPublicConfig} object.
4581
- *
4582
- * @deprecated Use {@link serializeEnsIndexerPublicConfig} instead.
4583
- */
4584
- declare const serializeENSIndexerPublicConfig: typeof serializeEnsIndexerPublicConfig;
4585
-
4586
4698
  /**
4587
4699
  * Serialized representation of {@link ChainIndexingStatusSnapshot}
4588
4700
  */
@@ -5324,4 +5436,4 @@ declare function formatAssetId({ assetNamespace, contract: { chainId, address },
5324
5436
  declare function isHttpProtocol(url: URL): boolean;
5325
5437
  declare function isWebSocketProtocol(url: URL): boolean;
5326
5438
 
5327
- export { ADDR_REVERSE_NODE, ATTR_PROTOCOL_NAME, ATTR_PROTOCOL_STEP, ATTR_PROTOCOL_STEP_RESULT, type AcceleratableRequest, type AcceleratableResponse, type AccountId, type AccountIdString, type AssetId, type AssetIdString, type AssetNamespace, AssetNamespaces, BASENAMES_NODE, type BlockNumber, type BlockRef, type Blockrange, type Cache, type CachedResult, type CanonicalId, type CanonicalPath, type ChainId, type ChainIdString, type ChainIndexingConfig, type ChainIndexingConfigDefinite, type ChainIndexingConfigIndefinite, type ChainIndexingConfigTypeId, ChainIndexingConfigTypeIds, type ChainIndexingStatusId, ChainIndexingStatusIds, type ChainIndexingStatusSnapshot, type ChainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotCompleted, type ChainIndexingStatusSnapshotFollowing, type ChainIndexingStatusSnapshotForOmnichainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotQueued, ClientError, type ClientOptions, type ConfigResponse, type CrossChainIndexingStatusSnapshot, type CrossChainIndexingStatusSnapshotOmnichain, type CrossChainIndexingStrategyId, CrossChainIndexingStrategyIds, type CurrencyAmount, type CurrencyId, CurrencyIds, type CurrencyInfo, DEFAULT_ENSNODE_API_URL_MAINNET, DEFAULT_ENSNODE_API_URL_SEPOLIA, DEFAULT_EVM_CHAIN_ID, DEFAULT_EVM_COIN_TYPE, type DNSEncodedLiteralName, type DNSEncodedName, type DNSEncodedPartiallyInterpretedName, type Datetime, type DatetimeISO8601, type DeepPartial, type DefaultableChainId, type DomainAssetId, type DomainId, type Duration, ENCODED_REFERRER_BYTE_LENGTH, ENCODED_REFERRER_BYTE_OFFSET, type ENSApiPublicConfig, type ENSIndexerPublicConfig, type ENSIndexerVersionInfo, ENSNodeClient, ENS_ROOT, type ENSv1DomainId, type ENSv2DomainId, ETH_COIN_TYPE, ETH_NODE, EXPECTED_ENCODED_REFERRER_PADDING, type EncodedLabelHash, type EncodedReferrer, EnsApiClient, type EnsApiClientOptions, type EnsApiConfigResponse, type EnsApiIndexingStatusRequest, type EnsApiIndexingStatusResponse, type EnsApiIndexingStatusResponseCode, EnsApiIndexingStatusResponseCodes, type EnsApiIndexingStatusResponseError, type EnsApiIndexingStatusResponseOk, type EnsApiPublicConfig, EnsIndexerClient, type EnsIndexerClientOptions, type EnsIndexerConfigResponse, type EnsIndexerIndexingStatusRequest, type EnsIndexerIndexingStatusResponse, type EnsIndexerIndexingStatusResponseCode, EnsIndexerIndexingStatusResponseCodes, type EnsIndexerIndexingStatusResponseError, type EnsIndexerIndexingStatusResponseOk, type EnsIndexerPublicConfig, type EnsIndexerVersionInfo, type EnsRainbowClientLabelSet, type EnsRainbowServerLabelSet, type ErrorResponse, type ForwardResolutionArgs, ForwardResolutionProtocolStep, type ForwardResolutionResult, type Identity, type IndexingStatusRequest, type IndexingStatusResponse, type IndexingStatusResponseCode, IndexingStatusResponseCodes, type IndexingStatusResponseError, type IndexingStatusResponseOk, type InterpretedLabel, type InterpretedName, LINEANAMES_NODE, type Label, type LabelHash, type LabelHashPath, type LabelSetId, type LabelSetVersion, type LiteralLabel, type LiteralName, LruCache, type MultichainPrimaryNameResolutionArgs, type MultichainPrimaryNameResolutionResult, type NFTMintStatus, NFTMintStatuses, type NFTTransferEventMetadata, type NFTTransferType, NFTTransferTypes, NODE_ANY, type Name, type NameToken, type NameTokenOwnership, type NameTokenOwnershipBurned, type NameTokenOwnershipFullyOnchain, type NameTokenOwnershipNameWrapper, type NameTokenOwnershipType, NameTokenOwnershipTypes, type NameTokenOwnershipUnknown, type NameTokensRequest, type NameTokensResponse, type NameTokensResponseCode, NameTokensResponseCodes, type NameTokensResponseError, type NameTokensResponseErrorCode, NameTokensResponseErrorCodes, type NameTokensResponseErrorEnsIndexerConfigUnsupported, type NameTokensResponseErrorIndexingStatusUnsupported, type NameTokensResponseErrorNameTokensNotIndexed, type NameTokensResponseOk, type NamedIdentity, type NamedRegistrarAction, type Node, type NormalizedName, type OmnichainIndexingStatusId, OmnichainIndexingStatusIds, type OmnichainIndexingStatusSnapshot, type OmnichainIndexingStatusSnapshotBackfill, type OmnichainIndexingStatusSnapshotCompleted, type OmnichainIndexingStatusSnapshotFollowing, type OmnichainIndexingStatusSnapshotUnstarted, PROTOCOL_ATTRIBUTE_PREFIX, type PermissionsId, type PermissionsResourceId, type PermissionsUserId, PluginName, type Price, type PriceDai, type PriceEth, type PriceUsdc, RECORDS_PER_PAGE_DEFAULT, RECORDS_PER_PAGE_MAX, ROOT_NODE, ROOT_RESOURCE, type RealtimeIndexingStatusProjection, type RegisteredNameTokens, type RegistrarAction, type RegistrarActionEventId, type RegistrarActionPricing, type RegistrarActionPricingAvailable, type RegistrarActionPricingUnknown, type RegistrarActionReferral, type RegistrarActionReferralAvailable, type RegistrarActionReferralNotApplicable, type RegistrarActionType, RegistrarActionTypes, type RegistrarActionsFilter, type RegistrarActionsFilterBeginTimestamp, type RegistrarActionsFilterByDecodedReferrer, type RegistrarActionsFilterBySubregistryNode, type RegistrarActionsFilterEndTimestamp, type RegistrarActionsFilterType, RegistrarActionsFilterTypes, type RegistrarActionsFilterWithEncodedReferral, type RegistrarActionsOrder, RegistrarActionsOrders, type RegistrarActionsRequest, type RegistrarActionsResponse, type RegistrarActionsResponseCode, RegistrarActionsResponseCodes, type RegistrarActionsResponseError, type RegistrarActionsResponseOk, type RegistrationExpiryInfo, type RegistrationId, type RegistrationLifecycle, type RegistrationLifecycleStage, type RegistryId, type RenewalId, type RequestPageParams, type RequiredAndNotNull, type ResolutionStatusId, ResolutionStatusIds, type ResolvePrimaryNameRequest, type ResolvePrimaryNameResponse, type ResolvePrimaryNamesRequest, type ResolvePrimaryNamesResponse, type ResolveRecordsRequest, type ResolveRecordsResponse, type ResolvedIdentity, type ResolverId, type ResolverRecordsId, type ResolverRecordsResponse, type ResolverRecordsResponseBase, type ResolverRecordsSelection, type ResponsePageContext, type ResponsePageContextWithNoRecords, type ResponsePageContextWithRecords, type ReverseResolutionArgs, ReverseResolutionProtocolStep, type ReverseResolutionResult, type RpcUrl, SWRCache, type SWRCacheOptions, type SerializedAssetId, type SerializedChainIndexingStatusSnapshot, type SerializedChainIndexingStatusSnapshotBackfill, type SerializedChainIndexingStatusSnapshotCompleted, type SerializedChainIndexingStatusSnapshotFollowing, type SerializedChainIndexingStatusSnapshotQueued, type SerializedConfigResponse, type SerializedCurrencyAmount, type SerializedCurrentIndexingProjectionOmnichain, type SerializedDomainAssetId, type SerializedENSApiPublicConfig, type SerializedENSIndexerPublicConfig, type SerializedENSIndexerVersionInfo, type SerializedEnsApiConfigResponse, type SerializedEnsApiIndexingStatusResponse, type SerializedEnsApiIndexingStatusResponseError, type SerializedEnsApiIndexingStatusResponseOk, type SerializedEnsApiPublicConfig, type SerializedEnsIndexerConfigResponse, type SerializedEnsIndexerIndexingStatusResponse, type SerializedEnsIndexerIndexingStatusResponseError, type SerializedEnsIndexerIndexingStatusResponseOk, type SerializedEnsIndexerPublicConfig, type SerializedEnsIndexerVersionInfo, type SerializedIndexedChainIds, type SerializedIndexingStatusResponse, type SerializedIndexingStatusResponseError, type SerializedIndexingStatusResponseOk, type SerializedNameToken, type SerializedNameTokensResponse, type SerializedNameTokensResponseError, type SerializedNameTokensResponseOk, type SerializedNamedRegistrarAction, type SerializedOmnichainIndexingStatusSnapshot, type SerializedOmnichainIndexingStatusSnapshotBackfill, type SerializedOmnichainIndexingStatusSnapshotCompleted, type SerializedOmnichainIndexingStatusSnapshotFollowing, type SerializedOmnichainIndexingStatusSnapshotUnstarted, type SerializedPrice, type SerializedPriceDai, type SerializedPriceEth, type SerializedPriceUsdc, type SerializedRealtimeIndexingStatusProjection, type SerializedRegisteredNameTokens, type SerializedRegistrarAction, type SerializedRegistrarActionPricing, type SerializedRegistrarActionPricingAvailable, type SerializedRegistrarActionPricingUnknown, type SerializedRegistrarActionsResponse, type SerializedRegistrarActionsResponseError, type SerializedRegistrarActionsResponseOk, type SerializedTokenId, type SubgraphInterpretedLabel, type SubgraphInterpretedName, type Subregistry, type TheGraphCannotFallbackReason, TheGraphCannotFallbackReasonSchema, type TheGraphFallback, TheGraphFallbackSchema, type TokenId, TraceableENSProtocol, type TraceableRequest, type TraceableResponse, type TracingNode, type TracingSpan, type TracingTrace, TtlCache, type UnixTimestamp, type UnknownIdentity, type UnnamedIdentity, type UnresolvedIdentity, type Unvalidated, type UrlString, ZERO_ENCODED_REFERRER, accountIdEqual, addDuration, addPrices, addrReverseLabel, asLowerCaseAddress, beautifyName, bigIntToNumber, bigintToCoinType, buildAssetId, buildEncodedReferrer, buildEnsRainbowClientLabelSet, buildLabelSetId, buildLabelSetVersion, buildPageContext, buildUnresolvedIdentity, buildUnvalidatedCrossChainIndexingStatusSnapshot, buildUnvalidatedEnsIndexerPublicConfig, buildUnvalidatedOmnichainIndexingStatusSnapshot, buildUnvalidatedRealtimeIndexingStatusProjection, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotBackfill, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotCompleted, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotFollowing, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotUnstarted, coinTypeReverseLabel, coinTypeToEvmChainId, constructSubInterpretedName, createIndexingConfig, createRealtimeIndexingStatusProjection, decodeDNSEncodedLiteralName, decodeDNSEncodedName, decodeEncodedReferrer, deserializeAssetId, deserializeBlockNumber, deserializeBlockRef, deserializeBlockrange, deserializeChainId, deserializeChainIndexingStatusSnapshot, deserializeConfigResponse, deserializeCrossChainIndexingStatusSnapshot, deserializeDatetime, deserializeDuration, deserializeENSApiPublicConfig, deserializeENSIndexerPublicConfig, deserializeEnsApiConfigResponse, deserializeEnsApiIndexingStatusResponse, deserializeEnsApiPublicConfig, deserializeEnsIndexerConfigResponse, deserializeEnsIndexerIndexingStatusResponse, deserializeEnsIndexerPublicConfig, deserializeErrorResponse, deserializeIndexingStatusResponse, deserializeOmnichainIndexingStatusSnapshot, deserializePriceDai, deserializePriceEth, deserializePriceUsdc, deserializeRealtimeIndexingStatusProjection, deserializeRegistrarActionsResponse, deserializeUnixTimestamp, deserializeUrl, deserializedNameTokensResponse, durationBetween, encodeLabelHash, encodedLabelToLabelhash, ensureInterpretedLabel, evmChainIdToCoinType, formatAccountId, formatAssetId, formatNFTTransferEventMetadata, getBasenamesSubregistryId, getBasenamesSubregistryManagedName, getCanonicalId, getCurrencyInfo, getDatasourceContract, getDefaultEnsNodeUrl, getENSv1Registry, getENSv2RootRegistry, getENSv2RootRegistryId, getEthnamesSubregistryId, getEthnamesSubregistryManagedName, getLatestIndexedBlockRef, getLineanamesSubregistryId, getLineanamesSubregistryManagedName, getNFTTransferType, getNameHierarchy, getNameTokenOwnership, getNameWrapperAccounts, getOmnichainIndexingCursor, getOmnichainIndexingStatus, getParentNameFQDN, getResolvePrimaryNameChainIdParam, getTimestampForHighestOmnichainKnownBlock, getTimestampForLowestOmnichainStartBlock, hasNullByte, interpretAddress, interpretAddressRecordValue, interpretNameRecordValue, interpretTextRecordKey, interpretTextRecordValue, interpretTokenIdAsLabelHash, interpretTokenIdAsNode, interpretedLabelsToInterpretedName, interpretedLabelsToLabelHashPath, interpretedNameToInterpretedLabels, isENSv1Registry, isENSv2RootRegistry, isEncodedLabelHash, isHttpProtocol, isInterpetedLabel, isInterpretedName, isLabelHash, isNormalizedLabel, isNormalizedName, isPccFuseSet, isPriceCurrencyEqual, isPriceEqual, isRegistrarActionPricingAvailable, isRegistrarActionReferralAvailable, isRegistrationExpired, isRegistrationFullyExpired, isRegistrationInGracePeriod, isResolvedIdentity, isSelectionEmpty, isSubgraphCompatible, isWebSocketProtocol, labelHashToBytes, labelhashLiteralLabel, literalLabelToInterpretedLabel, literalLabelsToInterpretedName, literalLabelsToLiteralName, makeContractMatcher, makeENSApiPublicConfigSchema, makeENSv1DomainId, makeENSv2DomainId, makeEnsApiPublicConfigSchema, makePermissionsId, makePermissionsResourceId, makePermissionsUserId, makeRegistrationId, makeRegistryId, makeRenewalId, makeResolverId, makeResolverRecordsId, makeSerializedEnsApiPublicConfigSchema, makeSubdomainNode, maybeGetDatasourceContract, nameTokensPrerequisites, parseAccountId, parseAssetId, parseDai, parseEth, parseNonNegativeInteger, parsePartialInterpretedName, parseReverseName, parseTimestamp, parseUsdc, priceDai, priceEth, priceUsdc, registrarActionsFilter, registrarActionsPrerequisites, reverseName, scaleBigintByNumber, scalePrice, serializeAssetId, serializeChainId, serializeChainIndexingSnapshots, serializeConfigResponse, serializeDatetime, serializeDomainAssetId, serializeENSApiPublicConfig, serializeENSIndexerPublicConfig, serializeEnsApiConfigResponse, serializeEnsApiIndexingStatusResponse, serializeEnsApiPublicConfig, serializeEnsIndexerConfigResponse, serializeEnsIndexerIndexingStatusResponse, serializeEnsIndexerPublicConfig, serializeIndexedChainIds, serializeIndexingStatusResponse, serializeNameToken, serializeNameTokensResponse, serializeNamedRegistrarAction, serializeOmnichainIndexingStatusSnapshot, serializePrice, serializePriceDai, serializePriceEth, serializePriceUsdc, serializeRealtimeIndexingStatusProjection, serializeRegisteredNameTokens, serializeRegistrarAction, serializeRegistrarActionPricing, serializeRegistrarActionsResponse, serializeUrl, sortChainStatusesByStartBlockAsc, stripNullBytes, translateDefaultableChainIdToChainId, uint256ToHex32, uniq, validateChainIndexingStatusSnapshot, validateCrossChainIndexingStatusSnapshot, validateOmnichainIndexingStatusSnapshot, validateRealtimeIndexingStatusProjection, validateSupportedLabelSetAndVersion };
5439
+ export { ADDR_REVERSE_NODE, ATTR_PROTOCOL_NAME, ATTR_PROTOCOL_STEP, ATTR_PROTOCOL_STEP_RESULT, type AcceleratableRequest, type AcceleratableResponse, type AccountId, type AccountIdString, type AssetId, type AssetIdString, type AssetNamespace, AssetNamespaces, BASENAMES_NODE, type BlockNumber, type BlockRef, type Blockrange, type Cache, type CachedResult, type CanonicalId, type CanonicalPath, type ChainId, type ChainIdString, type ChainIndexingConfig, type ChainIndexingConfigDefinite, type ChainIndexingConfigIndefinite, type ChainIndexingConfigTypeId, ChainIndexingConfigTypeIds, type ChainIndexingStatusId, ChainIndexingStatusIds, type ChainIndexingStatusSnapshot, type ChainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotCompleted, type ChainIndexingStatusSnapshotFollowing, type ChainIndexingStatusSnapshotForOmnichainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotQueued, ClientError, type ClientOptions, type ConfigResponse, type CrossChainIndexingStatusSnapshot, type CrossChainIndexingStatusSnapshotOmnichain, type CrossChainIndexingStrategyId, CrossChainIndexingStrategyIds, type CurrencyAmount, type CurrencyId, CurrencyIds, type CurrencyInfo, DEFAULT_ENSNODE_API_URL_MAINNET, DEFAULT_ENSNODE_API_URL_SEPOLIA, DEFAULT_EVM_CHAIN_ID, DEFAULT_EVM_COIN_TYPE, type DNSEncodedLiteralName, type DNSEncodedName, type DNSEncodedPartiallyInterpretedName, type Datetime, type DatetimeISO8601, type DeepPartial, type DefaultableChainId, type DomainAssetId, type DomainId, type Duration, ENCODED_REFERRER_BYTE_LENGTH, ENCODED_REFERRER_BYTE_OFFSET, type ENSApiPublicConfig, type ENSIndexerPublicConfig, type ENSIndexerVersionInfo, ENSNodeClient, ENS_ROOT, type ENSv1DomainId, type ENSv2DomainId, ETH_COIN_TYPE, ETH_NODE, EXPECTED_ENCODED_REFERRER_PADDING, type EncodedLabelHash, type EncodedReferrer, EnsApiClient, type EnsApiClientOptions, type EnsApiConfigResponse, type EnsApiIndexingStatusRequest, type EnsApiIndexingStatusResponse, type EnsApiIndexingStatusResponseCode, EnsApiIndexingStatusResponseCodes, type EnsApiIndexingStatusResponseError, type EnsApiIndexingStatusResponseOk, type EnsApiPublicConfig, type EnsDbClientMutation, type EnsDbClientQuery, EnsIndexerClient, type EnsIndexerClientOptions, type EnsIndexerConfigResponse, type EnsIndexerIndexingStatusRequest, type EnsIndexerIndexingStatusResponse, type EnsIndexerIndexingStatusResponseCode, EnsIndexerIndexingStatusResponseCodes, type EnsIndexerIndexingStatusResponseError, type EnsIndexerIndexingStatusResponseOk, type EnsIndexerPublicConfig, type EnsIndexerPublicConfigCompatibilityCheck, type EnsIndexerVersionInfo, type EnsNodeMetadata, type EnsNodeMetadataEnsDbVersion, type EnsNodeMetadataEnsIndexerIndexingStatus, type EnsNodeMetadataEnsIndexerPublicConfig, type EnsNodeMetadataKey, EnsNodeMetadataKeys, type EnsRainbowClientLabelSet, type EnsRainbowServerLabelSet, type ErrorResponse, type ForwardResolutionArgs, ForwardResolutionProtocolStep, type ForwardResolutionResult, type Identity, type IndexingStatusRequest, type IndexingStatusResponse, type IndexingStatusResponseCode, IndexingStatusResponseCodes, type IndexingStatusResponseError, type IndexingStatusResponseOk, type InterpretedLabel, type InterpretedName, LINEANAMES_NODE, type Label, type LabelHash, type LabelHashPath, type LabelSetId, type LabelSetVersion, type LiteralLabel, type LiteralName, LruCache, type MultichainPrimaryNameResolutionArgs, type MultichainPrimaryNameResolutionResult, type NFTMintStatus, NFTMintStatuses, type NFTTransferEventMetadata, type NFTTransferType, NFTTransferTypes, NODE_ANY, type Name, type NameToken, type NameTokenOwnership, type NameTokenOwnershipBurned, type NameTokenOwnershipFullyOnchain, type NameTokenOwnershipNameWrapper, type NameTokenOwnershipType, NameTokenOwnershipTypes, type NameTokenOwnershipUnknown, type NameTokensRequest, type NameTokensResponse, type NameTokensResponseCode, NameTokensResponseCodes, type NameTokensResponseError, type NameTokensResponseErrorCode, NameTokensResponseErrorCodes, type NameTokensResponseErrorEnsIndexerConfigUnsupported, type NameTokensResponseErrorIndexingStatusUnsupported, type NameTokensResponseErrorNameTokensNotIndexed, type NameTokensResponseOk, type NamedIdentity, type NamedRegistrarAction, type Node, type NormalizedName, type OmnichainIndexingStatusId, OmnichainIndexingStatusIds, type OmnichainIndexingStatusSnapshot, type OmnichainIndexingStatusSnapshotBackfill, type OmnichainIndexingStatusSnapshotCompleted, type OmnichainIndexingStatusSnapshotFollowing, type OmnichainIndexingStatusSnapshotUnstarted, PROTOCOL_ATTRIBUTE_PREFIX, type PermissionsId, type PermissionsResourceId, type PermissionsUserId, PluginName, type Price, type PriceDai, type PriceEth, type PriceUsdc, RECORDS_PER_PAGE_DEFAULT, RECORDS_PER_PAGE_MAX, ROOT_NODE, ROOT_RESOURCE, type RealtimeIndexingStatusProjection, type RegisteredNameTokens, type RegistrarAction, type RegistrarActionEventId, type RegistrarActionPricing, type RegistrarActionPricingAvailable, type RegistrarActionPricingUnknown, type RegistrarActionReferral, type RegistrarActionReferralAvailable, type RegistrarActionReferralNotApplicable, type RegistrarActionType, RegistrarActionTypes, type RegistrarActionsFilter, type RegistrarActionsFilterBeginTimestamp, type RegistrarActionsFilterByDecodedReferrer, type RegistrarActionsFilterBySubregistryNode, type RegistrarActionsFilterEndTimestamp, type RegistrarActionsFilterType, RegistrarActionsFilterTypes, type RegistrarActionsFilterWithEncodedReferral, type RegistrarActionsOrder, RegistrarActionsOrders, type RegistrarActionsRequest, type RegistrarActionsResponse, type RegistrarActionsResponseCode, RegistrarActionsResponseCodes, type RegistrarActionsResponseError, type RegistrarActionsResponseOk, type RegistrationExpiryInfo, type RegistrationId, type RegistrationLifecycle, type RegistrationLifecycleStage, type RegistryId, type RenewalId, type RequestPageParams, type RequiredAndNotNull, type ResolutionStatusId, ResolutionStatusIds, type ResolvePrimaryNameRequest, type ResolvePrimaryNameResponse, type ResolvePrimaryNamesRequest, type ResolvePrimaryNamesResponse, type ResolveRecordsRequest, type ResolveRecordsResponse, type ResolvedIdentity, type ResolverId, type ResolverRecordsId, type ResolverRecordsResponse, type ResolverRecordsResponseBase, type ResolverRecordsSelection, type ResponsePageContext, type ResponsePageContextWithNoRecords, type ResponsePageContextWithRecords, type ReverseResolutionArgs, ReverseResolutionProtocolStep, type ReverseResolutionResult, type RpcUrl, SWRCache, type SWRCacheOptions, type SerializedAssetId, type SerializedChainIndexingStatusSnapshot, type SerializedChainIndexingStatusSnapshotBackfill, type SerializedChainIndexingStatusSnapshotCompleted, type SerializedChainIndexingStatusSnapshotFollowing, type SerializedChainIndexingStatusSnapshotQueued, type SerializedConfigResponse, type SerializedCrossChainIndexingStatusSnapshot, type SerializedCrossChainIndexingStatusSnapshotOmnichain, type SerializedCurrencyAmount, type SerializedCurrentIndexingProjectionOmnichain, type SerializedDomainAssetId, type SerializedENSApiPublicConfig, type SerializedENSIndexerPublicConfig, type SerializedENSIndexerVersionInfo, type SerializedEnsApiConfigResponse, type SerializedEnsApiIndexingStatusResponse, type SerializedEnsApiIndexingStatusResponseError, type SerializedEnsApiIndexingStatusResponseOk, type SerializedEnsApiPublicConfig, type SerializedEnsIndexerConfigResponse, type SerializedEnsIndexerIndexingStatusResponse, type SerializedEnsIndexerIndexingStatusResponseError, type SerializedEnsIndexerIndexingStatusResponseOk, type SerializedEnsIndexerPublicConfig, type SerializedEnsIndexerVersionInfo, type SerializedEnsNodeMetadata, type SerializedEnsNodeMetadataEnsDbVersion, type SerializedEnsNodeMetadataEnsIndexerIndexingStatus, type SerializedEnsNodeMetadataEnsIndexerPublicConfig, type SerializedIndexedChainIds, type SerializedIndexingStatusResponse, type SerializedIndexingStatusResponseError, type SerializedIndexingStatusResponseOk, type SerializedNameToken, type SerializedNameTokensResponse, type SerializedNameTokensResponseError, type SerializedNameTokensResponseOk, type SerializedNamedRegistrarAction, type SerializedOmnichainIndexingStatusSnapshot, type SerializedOmnichainIndexingStatusSnapshotBackfill, type SerializedOmnichainIndexingStatusSnapshotCompleted, type SerializedOmnichainIndexingStatusSnapshotFollowing, type SerializedOmnichainIndexingStatusSnapshotUnstarted, type SerializedPrice, type SerializedPriceDai, type SerializedPriceEth, type SerializedPriceUsdc, type SerializedRealtimeIndexingStatusProjection, type SerializedRegisteredNameTokens, type SerializedRegistrarAction, type SerializedRegistrarActionPricing, type SerializedRegistrarActionPricingAvailable, type SerializedRegistrarActionPricingUnknown, type SerializedRegistrarActionsResponse, type SerializedRegistrarActionsResponseError, type SerializedRegistrarActionsResponseOk, type SerializedTokenId, type SubgraphInterpretedLabel, type SubgraphInterpretedName, type Subregistry, type TheGraphCannotFallbackReason, TheGraphCannotFallbackReasonSchema, type TheGraphFallback, TheGraphFallbackSchema, type TokenId, TraceableENSProtocol, type TraceableRequest, type TraceableResponse, type TracingNode, type TracingSpan, type TracingTrace, TtlCache, type UnixTimestamp, type UnknownIdentity, type UnnamedIdentity, type UnresolvedIdentity, type Unvalidated, type UrlString, ZERO_ENCODED_REFERRER, accountIdEqual, addDuration, addPrices, addrReverseLabel, asLowerCaseAddress, beautifyName, bigIntToNumber, bigintToCoinType, buildAssetId, buildEncodedReferrer, buildEnsRainbowClientLabelSet, buildLabelSetId, buildLabelSetVersion, buildPageContext, buildUnresolvedIdentity, buildUnvalidatedCrossChainIndexingStatusSnapshot, buildUnvalidatedEnsIndexerPublicConfig, buildUnvalidatedOmnichainIndexingStatusSnapshot, buildUnvalidatedRealtimeIndexingStatusProjection, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotBackfill, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotCompleted, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotFollowing, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotUnstarted, coinTypeReverseLabel, coinTypeToEvmChainId, constructSubInterpretedName, createIndexingConfig, createRealtimeIndexingStatusProjection, decodeDNSEncodedLiteralName, decodeDNSEncodedName, decodeEncodedReferrer, deserializeAssetId, deserializeBlockNumber, deserializeBlockRef, deserializeBlockrange, deserializeChainId, deserializeChainIndexingStatusSnapshot, deserializeConfigResponse, deserializeCrossChainIndexingStatusSnapshot, deserializeDatetime, deserializeDuration, deserializeENSApiPublicConfig, deserializeENSIndexerPublicConfig, deserializeEnsApiConfigResponse, deserializeEnsApiIndexingStatusResponse, deserializeEnsApiPublicConfig, deserializeEnsIndexerConfigResponse, deserializeEnsIndexerIndexingStatusResponse, deserializeEnsIndexerPublicConfig, deserializeErrorResponse, deserializeIndexingStatusResponse, deserializeOmnichainIndexingStatusSnapshot, deserializePriceDai, deserializePriceEth, deserializePriceUsdc, deserializeRealtimeIndexingStatusProjection, deserializeRegistrarActionsResponse, deserializeUnixTimestamp, deserializeUrl, deserializedNameTokensResponse, durationBetween, encodeLabelHash, encodedLabelToLabelhash, ensureInterpretedLabel, evmChainIdToCoinType, formatAccountId, formatAssetId, formatNFTTransferEventMetadata, getBasenamesSubregistryId, getBasenamesSubregistryManagedName, getCanonicalId, getCurrencyInfo, getDatasourceContract, getDefaultEnsNodeUrl, getENSv1Registry, getENSv2RootRegistry, getENSv2RootRegistryId, getEthnamesSubregistryId, getEthnamesSubregistryManagedName, getLatestIndexedBlockRef, getLineanamesSubregistryId, getLineanamesSubregistryManagedName, getNFTTransferType, getNameHierarchy, getNameTokenOwnership, getNameWrapperAccounts, getOmnichainIndexingCursor, getOmnichainIndexingStatus, getParentNameFQDN, getResolvePrimaryNameChainIdParam, getTimestampForHighestOmnichainKnownBlock, getTimestampForLowestOmnichainStartBlock, hasNullByte, interpretAddress, interpretAddressRecordValue, interpretNameRecordValue, interpretTextRecordKey, interpretTextRecordValue, interpretTokenIdAsLabelHash, interpretTokenIdAsNode, interpretedLabelsToInterpretedName, interpretedLabelsToLabelHashPath, interpretedNameToInterpretedLabels, isENSv1Registry, isENSv2RootRegistry, isEncodedLabelHash, isHttpProtocol, isInterpetedLabel, isInterpretedName, isLabelHash, isNormalizedLabel, isNormalizedName, isPccFuseSet, isPriceCurrencyEqual, isPriceEqual, isRegistrarActionPricingAvailable, isRegistrarActionReferralAvailable, isRegistrationExpired, isRegistrationFullyExpired, isRegistrationInGracePeriod, isResolvedIdentity, isSelectionEmpty, isSubgraphCompatible, isWebSocketProtocol, labelHashToBytes, labelhashLiteralLabel, literalLabelToInterpretedLabel, literalLabelsToInterpretedName, literalLabelsToLiteralName, makeContractMatcher, makeENSApiPublicConfigSchema, makeENSv1DomainId, makeENSv2DomainId, makeEnsApiPublicConfigSchema, makePermissionsId, makePermissionsResourceId, makePermissionsUserId, makeRegistrationId, makeRegistryId, makeRenewalId, makeResolverId, makeResolverRecordsId, makeSerializedEnsApiPublicConfigSchema, makeSubdomainNode, maybeGetDatasourceContract, nameTokensPrerequisites, parseAccountId, parseAssetId, parseDai, parseEth, parseNonNegativeInteger, parsePartialInterpretedName, parseReverseName, parseTimestamp, parseUsdc, priceDai, priceEth, priceUsdc, registrarActionsFilter, registrarActionsPrerequisites, reverseName, scaleBigintByNumber, scalePrice, serializeAssetId, serializeChainId, serializeChainIndexingSnapshots, serializeConfigResponse, serializeCrossChainIndexingStatusSnapshot, serializeCrossChainIndexingStatusSnapshotOmnichain, serializeDatetime, serializeDomainAssetId, serializeENSApiPublicConfig, serializeENSIndexerPublicConfig, serializeEnsApiConfigResponse, serializeEnsApiIndexingStatusResponse, serializeEnsApiPublicConfig, serializeEnsIndexerConfigResponse, serializeEnsIndexerIndexingStatusResponse, serializeEnsIndexerPublicConfig, serializeIndexedChainIds, serializeIndexingStatusResponse, serializeNameToken, serializeNameTokensResponse, serializeNamedRegistrarAction, serializeOmnichainIndexingStatusSnapshot, serializePrice, serializePriceDai, serializePriceEth, serializePriceUsdc, serializeRealtimeIndexingStatusProjection, serializeRegisteredNameTokens, serializeRegistrarAction, serializeRegistrarActionPricing, serializeRegistrarActionsResponse, serializeUrl, sortChainStatusesByStartBlockAsc, stripNullBytes, translateDefaultableChainIdToChainId, uint256ToHex32, uniq, validateChainIndexingStatusSnapshot, validateCrossChainIndexingStatusSnapshot, validateEnsIndexerPublicConfigCompatibility, validateOmnichainIndexingStatusSnapshot, validateRealtimeIndexingStatusProjection, validateSupportedLabelSetAndVersion };
package/dist/index.js CHANGED
@@ -1673,6 +1673,12 @@ function serializeCrossChainIndexingStatusSnapshotOmnichain({
1673
1673
  omnichainSnapshot: serializeOmnichainIndexingStatusSnapshot(omnichainSnapshot)
1674
1674
  };
1675
1675
  }
1676
+ function serializeCrossChainIndexingStatusSnapshot(snapshot) {
1677
+ switch (snapshot.strategy) {
1678
+ case CrossChainIndexingStrategyIds.Omnichain:
1679
+ return serializeCrossChainIndexingStatusSnapshotOmnichain(snapshot);
1680
+ }
1681
+ }
1676
1682
 
1677
1683
  // src/indexing-status/serialize/realtime-indexing-status-projection.ts
1678
1684
  function serializeRealtimeIndexingStatusProjection(indexingProjection) {
@@ -3361,6 +3367,13 @@ var EnsApiClient = class _EnsApiClient {
3361
3367
  var ENSNodeClient = class extends EnsApiClient {
3362
3368
  };
3363
3369
 
3370
+ // src/ensdb/ensnode-metadata.ts
3371
+ var EnsNodeMetadataKeys = {
3372
+ EnsDbVersion: "ensdb_version",
3373
+ EnsIndexerPublicConfig: "ensindexer_public_config",
3374
+ EnsIndexerIndexingStatus: "ensindexer_indexing_status"
3375
+ };
3376
+
3364
3377
  // src/ensindexer/api/config/deserialize.ts
3365
3378
  function deserializeEnsIndexerConfigResponse(maybeResponse) {
3366
3379
  return deserializeEnsIndexerPublicConfig(maybeResponse, "EnsIndexerConfigResponse");
@@ -3538,6 +3551,66 @@ var EnsIndexerClient = class {
3538
3551
  }
3539
3552
  };
3540
3553
 
3554
+ // src/ensindexer/config/compatibility.ts
3555
+ function validateEnsIndexerPublicConfigCompatibility(configA, configB) {
3556
+ if (configA.indexedChainIds.symmetricDifference(configB.indexedChainIds).size > 0) {
3557
+ throw new Error(
3558
+ [
3559
+ `'indexedChainIds' must be compatible.`,
3560
+ `Stored Config 'indexedChainIds': '${Array.from(configA.indexedChainIds).join(", ")}'.`,
3561
+ `Current Config 'indexedChainIds': '${Array.from(configB.indexedChainIds).join(", ")}'.`
3562
+ ].join(" ")
3563
+ );
3564
+ }
3565
+ if (configA.isSubgraphCompatible !== configB.isSubgraphCompatible) {
3566
+ throw new Error(
3567
+ [
3568
+ `'isSubgraphCompatible' flag must be compatible.`,
3569
+ `Stored Config 'isSubgraphCompatible' flag: '${configA.isSubgraphCompatible}'.`,
3570
+ `Current Config 'isSubgraphCompatible' flag: '${configB.isSubgraphCompatible}'.`
3571
+ ].join(" ")
3572
+ );
3573
+ }
3574
+ if (configA.namespace !== configB.namespace) {
3575
+ throw new Error(
3576
+ [
3577
+ `'namespace' must be compatible.`,
3578
+ `Stored Config 'namespace': '${configA.namespace}'.`,
3579
+ `Current Config 'namespace': '${configB.namespace}'.`
3580
+ ].join(" ")
3581
+ );
3582
+ }
3583
+ if (configA.labelSet.labelSetId !== configB.labelSet.labelSetId) {
3584
+ throw new Error(
3585
+ [
3586
+ `'labelSet.labelSetId' must be compatible.`,
3587
+ `Stored Config 'labelSet.labelSetId': '${configA.labelSet.labelSetId}'.`,
3588
+ `Current Config 'labelSet.labelSetId': '${configB.labelSet.labelSetId}'.`
3589
+ ].join(" ")
3590
+ );
3591
+ }
3592
+ if (configA.labelSet.labelSetVersion !== configB.labelSet.labelSetVersion) {
3593
+ throw new Error(
3594
+ [
3595
+ `'labelSet.labelSetVersion' must be compatible.`,
3596
+ `Stored Config 'labelSet.labelSetVersion': '${configA.labelSet.labelSetVersion}'.`,
3597
+ `Current Config 'labelSet.labelSetVersion': '${configB.labelSet.labelSetVersion}'.`
3598
+ ].join(" ")
3599
+ );
3600
+ }
3601
+ const configAPluginsSet = new Set(configA.plugins);
3602
+ const configBPluginsSet = new Set(configB.plugins);
3603
+ if (configAPluginsSet.symmetricDifference(configBPluginsSet).size > 0) {
3604
+ throw new Error(
3605
+ [
3606
+ `'plugins' must be compatible.`,
3607
+ `Stored Config 'plugins': '${configA.plugins.join(", ")}'.`,
3608
+ `Current Config 'plugins': '${configB.plugins.join(", ")}'.`
3609
+ ].join(" ")
3610
+ );
3611
+ }
3612
+ }
3613
+
3541
3614
  // src/ensindexer/config/label-utils.ts
3542
3615
  import { hexToBytes as hexToBytes2 } from "viem";
3543
3616
  function labelHashToBytes(labelHash) {
@@ -4392,6 +4465,7 @@ export {
4392
4465
  EnsApiIndexingStatusResponseCodes,
4393
4466
  EnsIndexerClient,
4394
4467
  EnsIndexerIndexingStatusResponseCodes,
4468
+ EnsNodeMetadataKeys,
4395
4469
  ForwardResolutionProtocolStep,
4396
4470
  IndexingStatusResponseCodes,
4397
4471
  LINEANAMES_NODE,
@@ -4589,6 +4663,8 @@ export {
4589
4663
  serializeChainId,
4590
4664
  serializeChainIndexingSnapshots,
4591
4665
  serializeConfigResponse,
4666
+ serializeCrossChainIndexingStatusSnapshot,
4667
+ serializeCrossChainIndexingStatusSnapshotOmnichain,
4592
4668
  serializeDatetime,
4593
4669
  serializeDomainAssetId,
4594
4670
  serializeENSApiPublicConfig,
@@ -4622,6 +4698,7 @@ export {
4622
4698
  uniq,
4623
4699
  validateChainIndexingStatusSnapshot,
4624
4700
  validateCrossChainIndexingStatusSnapshot,
4701
+ validateEnsIndexerPublicConfigCompatibility,
4625
4702
  validateOmnichainIndexingStatusSnapshot,
4626
4703
  validateRealtimeIndexingStatusProjection,
4627
4704
  validateSupportedLabelSetAndVersion