@ensnode/ensnode-sdk 0.0.0-next-20260126125206 → 0.0.0-next-20260128060750
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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1090,7 +1090,7 @@ function bigIntToNumber(n) {
|
|
|
1090
1090
|
var import_datasources4 = require("@ensnode/datasources");
|
|
1091
1091
|
var getENSv1Registry = (namespace) => getDatasourceContract(namespace, import_datasources4.DatasourceNames.ENSRoot, "ENSv1Registry");
|
|
1092
1092
|
var isENSv1Registry = (namespace, contract) => accountIdEqual(getENSv1Registry(namespace), contract);
|
|
1093
|
-
var getENSv2RootRegistry = (namespace) => getDatasourceContract(namespace, import_datasources4.DatasourceNames.
|
|
1093
|
+
var getENSv2RootRegistry = (namespace) => getDatasourceContract(namespace, import_datasources4.DatasourceNames.ENSv2Root, "RootRegistry");
|
|
1094
1094
|
var getENSv2RootRegistryId = (namespace) => makeRegistryId(getENSv2RootRegistry(namespace));
|
|
1095
1095
|
var isENSv2RootRegistry = (namespace, contract) => accountIdEqual(getENSv2RootRegistry(namespace), contract);
|
|
1096
1096
|
|
|
@@ -3239,6 +3239,7 @@ function getBasenamesSubregistryManagedName(namespaceId) {
|
|
|
3239
3239
|
case import_datasources7.ENSNamespaceIds.Mainnet:
|
|
3240
3240
|
return "base.eth";
|
|
3241
3241
|
case import_datasources7.ENSNamespaceIds.Sepolia:
|
|
3242
|
+
case import_datasources7.ENSNamespaceIds.SepoliaV2:
|
|
3242
3243
|
return "basetest.eth";
|
|
3243
3244
|
case import_datasources7.ENSNamespaceIds.EnsTestEnv:
|
|
3244
3245
|
throw new Error(
|
|
@@ -3267,6 +3268,7 @@ function getEthnamesSubregistryManagedName(namespaceId) {
|
|
|
3267
3268
|
switch (namespaceId) {
|
|
3268
3269
|
case import_datasources8.ENSNamespaceIds.Mainnet:
|
|
3269
3270
|
case import_datasources8.ENSNamespaceIds.Sepolia:
|
|
3271
|
+
case import_datasources8.ENSNamespaceIds.SepoliaV2:
|
|
3270
3272
|
case import_datasources8.ENSNamespaceIds.EnsTestEnv:
|
|
3271
3273
|
return "eth";
|
|
3272
3274
|
}
|
|
@@ -3293,6 +3295,7 @@ function getLineanamesSubregistryManagedName(namespaceId) {
|
|
|
3293
3295
|
case import_datasources9.ENSNamespaceIds.Mainnet:
|
|
3294
3296
|
return "linea.eth";
|
|
3295
3297
|
case import_datasources9.ENSNamespaceIds.Sepolia:
|
|
3298
|
+
case import_datasources9.ENSNamespaceIds.SepoliaV2:
|
|
3296
3299
|
return "linea-sepolia.eth";
|
|
3297
3300
|
case import_datasources9.ENSNamespaceIds.EnsTestEnv:
|
|
3298
3301
|
throw new Error(
|