@ensnode/ensnode-sdk 0.0.0-next-20260605153822 → 0.0.0-next-20260605211335
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 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +5 -1
- package/dist/internal.js.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -158,6 +158,7 @@ __export(index_exports, {
|
|
|
158
158
|
getOmnichainIndexingCursor: () => getOmnichainIndexingCursor,
|
|
159
159
|
getOmnichainIndexingStatus: () => getOmnichainIndexingStatus,
|
|
160
160
|
getResolvePrimaryNameChainIdParam: () => getResolvePrimaryNameChainIdParam,
|
|
161
|
+
getRootRegistry: () => getRootRegistry,
|
|
161
162
|
getRootRegistryId: () => getRootRegistryId,
|
|
162
163
|
getTimestampForHighestOmnichainKnownBlock: () => getTimestampForHighestOmnichainKnownBlock,
|
|
163
164
|
getTimestampForLowestOmnichainStartBlock: () => getTimestampForLowestOmnichainStartBlock,
|
|
@@ -5082,7 +5083,8 @@ var maybeGetENSv2RootRegistryId = (namespace) => {
|
|
|
5082
5083
|
if (!root) return void 0;
|
|
5083
5084
|
return (0, import_enssdk11.makeENSv2RegistryId)(root);
|
|
5084
5085
|
};
|
|
5085
|
-
var
|
|
5086
|
+
var getRootRegistry = (namespace) => maybeGetENSv2RootRegistry(namespace) ?? getENSv1RootRegistry(namespace);
|
|
5087
|
+
var getRootRegistryId = (namespace) => (0, import_enssdk11.makeConcreteRegistryId)(getRootRegistry(namespace));
|
|
5086
5088
|
var isRootRegistryId = (namespace, registryId) => registryId === getENSv1RootRegistryId(namespace) || registryId === maybeGetENSv2RootRegistryId(namespace);
|
|
5087
5089
|
|
|
5088
5090
|
// src/shared/url.ts
|