@ensnode/ensnode-sdk 0.0.0-next-20260525164700 → 0.0.0-next-20260525215805
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/internal.cjs +19 -22
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +19 -22
- package/dist/internal.js.map +1 -1
- package/package.json +4 -4
package/dist/internal.cjs
CHANGED
|
@@ -2168,24 +2168,21 @@ var ENS_TEST_ENV_V2_ETH_REGISTRAR = getDatasourceContract(
|
|
|
2168
2168
|
"ETHRegistrar"
|
|
2169
2169
|
);
|
|
2170
2170
|
var VITALIK_ADDRESS = (0, import_enssdk8.toNormalizedAddress)("0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045");
|
|
2171
|
-
var
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
var SEPOLIA_V2_ADDRESS_WITH_PERMISSIONS = (0, import_enssdk8.toNormalizedAddress)(
|
|
2175
|
-
"0x4c65a1c8d330ce1c3f60e00cd55709ba5fe2e090"
|
|
2171
|
+
var SEPOLIA_V2_ACCOUNT = (0, import_enssdk8.toNormalizedAddress)("0x801d2e48d378f161dba7ad7ad002ad557714c191");
|
|
2172
|
+
var SEPOLIA_V2_ACCOUNT_WITH_V1_AND_V2 = (0, import_enssdk8.toNormalizedAddress)(
|
|
2173
|
+
"0xffffffffff52d316b7bd028358089bc8066b8f80"
|
|
2176
2174
|
);
|
|
2177
2175
|
var DEVNET_NAME_WITH_OWNED_RESOLVER = (0, import_enssdk8.asInterpretedName)("example.eth");
|
|
2178
|
-
var
|
|
2176
|
+
var SEPOLIA_V2_NAME = (0, import_enssdk8.asInterpretedName)("roppp.eth");
|
|
2179
2177
|
var MAINNET_PUBLIC_RESOLVER = getDatasourceContract(
|
|
2180
2178
|
import_datasources5.ENSNamespaceIds.Mainnet,
|
|
2181
2179
|
import_datasources5.DatasourceNames.ReverseResolverRoot,
|
|
2182
2180
|
"DefaultPublicResolver5"
|
|
2183
2181
|
);
|
|
2184
|
-
var
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
);
|
|
2182
|
+
var SEPOLIA_V2_RESOLVER_WITH_RECORDS = {
|
|
2183
|
+
chainId: 11155111,
|
|
2184
|
+
address: (0, import_enssdk8.toNormalizedAddress)("0x8fade66b79cc9f707ab26799354482eb93a5b7dd")
|
|
2185
|
+
};
|
|
2189
2186
|
function getGraphqlApiExampleQueryById(id) {
|
|
2190
2187
|
const found = graphqlApiExampleQueryById.get(id);
|
|
2191
2188
|
if (!found) {
|
|
@@ -2246,7 +2243,7 @@ query FindDomains(
|
|
|
2246
2243
|
order: { by: "NAME", dir: "DESC" }
|
|
2247
2244
|
},
|
|
2248
2245
|
[import_datasources5.ENSNamespaceIds.SepoliaV2]: {
|
|
2249
|
-
name: { starts_with: "
|
|
2246
|
+
name: { starts_with: "sf" },
|
|
2250
2247
|
order: { by: "NAME", dir: "DESC" }
|
|
2251
2248
|
}
|
|
2252
2249
|
}
|
|
@@ -2273,7 +2270,7 @@ query DomainByName($name: InterpretedName!) {
|
|
|
2273
2270
|
}`,
|
|
2274
2271
|
variables: {
|
|
2275
2272
|
default: { name: "eth" },
|
|
2276
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { name:
|
|
2273
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { name: SEPOLIA_V2_NAME }
|
|
2277
2274
|
}
|
|
2278
2275
|
},
|
|
2279
2276
|
///////////////////////
|
|
@@ -2318,7 +2315,7 @@ query DomainRegistration($name: InterpretedName!) {
|
|
|
2318
2315
|
}`,
|
|
2319
2316
|
variables: {
|
|
2320
2317
|
default: { name: "vitalik.eth" },
|
|
2321
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { name:
|
|
2318
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { name: SEPOLIA_V2_NAME }
|
|
2322
2319
|
}
|
|
2323
2320
|
},
|
|
2324
2321
|
//////////////////////
|
|
@@ -2391,7 +2388,7 @@ query DomainEvents($name: InterpretedName!) {
|
|
|
2391
2388
|
}`,
|
|
2392
2389
|
variables: {
|
|
2393
2390
|
default: { name: "newowner.eth" },
|
|
2394
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { name:
|
|
2391
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { name: SEPOLIA_V2_NAME }
|
|
2395
2392
|
}
|
|
2396
2393
|
},
|
|
2397
2394
|
////////////////////
|
|
@@ -2417,7 +2414,7 @@ query AccountDomains(
|
|
|
2417
2414
|
variables: {
|
|
2418
2415
|
default: { address: VITALIK_ADDRESS },
|
|
2419
2416
|
[import_datasources5.ENSNamespaceIds.EnsTestEnv]: { address: import_devnet.accounts.owner.address },
|
|
2420
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address:
|
|
2417
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address: SEPOLIA_V2_ACCOUNT }
|
|
2421
2418
|
}
|
|
2422
2419
|
},
|
|
2423
2420
|
////////////////////
|
|
@@ -2436,7 +2433,7 @@ query AccountEvents(
|
|
|
2436
2433
|
variables: {
|
|
2437
2434
|
default: { address: VITALIK_ADDRESS },
|
|
2438
2435
|
[import_datasources5.ENSNamespaceIds.EnsTestEnv]: { address: import_devnet.accounts.deployer.address },
|
|
2439
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address:
|
|
2436
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address: SEPOLIA_V2_ACCOUNT }
|
|
2440
2437
|
}
|
|
2441
2438
|
},
|
|
2442
2439
|
/////////////////////
|
|
@@ -2521,7 +2518,7 @@ query PermissionsByUser($address: Address!) {
|
|
|
2521
2518
|
}`,
|
|
2522
2519
|
variables: {
|
|
2523
2520
|
default: { address: import_devnet.accounts.deployer.address },
|
|
2524
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address:
|
|
2521
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address: SEPOLIA_V2_ACCOUNT }
|
|
2525
2522
|
}
|
|
2526
2523
|
},
|
|
2527
2524
|
//////////////////////////////////
|
|
@@ -2547,7 +2544,7 @@ query AccountResolverPermissions($address: Address!) {
|
|
|
2547
2544
|
}`,
|
|
2548
2545
|
variables: {
|
|
2549
2546
|
default: { address: import_devnet.accounts.deployer.address },
|
|
2550
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address:
|
|
2547
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address: SEPOLIA_V2_ACCOUNT }
|
|
2551
2548
|
}
|
|
2552
2549
|
},
|
|
2553
2550
|
//////////////////////////////
|
|
@@ -2570,7 +2567,7 @@ query DomainResolver($name: InterpretedName!) {
|
|
|
2570
2567
|
variables: {
|
|
2571
2568
|
default: { name: "vitalik.eth" },
|
|
2572
2569
|
[import_datasources5.ENSNamespaceIds.EnsTestEnv]: { name: DEVNET_NAME_WITH_OWNED_RESOLVER },
|
|
2573
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { name:
|
|
2570
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { name: SEPOLIA_V2_NAME }
|
|
2574
2571
|
}
|
|
2575
2572
|
},
|
|
2576
2573
|
////////////////////////
|
|
@@ -2602,7 +2599,7 @@ query ResolverByAddress($contract: AccountIdInput!) {
|
|
|
2602
2599
|
}`,
|
|
2603
2600
|
variables: {
|
|
2604
2601
|
default: { contract: MAINNET_PUBLIC_RESOLVER },
|
|
2605
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { contract:
|
|
2602
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { contract: SEPOLIA_V2_RESOLVER_WITH_RECORDS }
|
|
2606
2603
|
}
|
|
2607
2604
|
},
|
|
2608
2605
|
//////////////
|
|
@@ -2655,7 +2652,7 @@ query AccountMigratedNames($address: Address!) {
|
|
|
2655
2652
|
}`,
|
|
2656
2653
|
variables: {
|
|
2657
2654
|
default: { address: VITALIK_ADDRESS },
|
|
2658
|
-
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address:
|
|
2655
|
+
[import_datasources5.ENSNamespaceIds.SepoliaV2]: { address: SEPOLIA_V2_ACCOUNT_WITH_V1_AND_V2 }
|
|
2659
2656
|
}
|
|
2660
2657
|
},
|
|
2661
2658
|
{
|