@ensnode/ensnode-sdk 0.0.0-next-20260529231016 → 0.0.0-next-20260530141650

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 CHANGED
@@ -2318,6 +2318,35 @@ query DomainRegistration($name: InterpretedName!) {
2318
2318
  [import_datasources5.ENSNamespaceIds.SepoliaV2]: { name: SEPOLIA_V2_NAME }
2319
2319
  }
2320
2320
  },
2321
+ ////////////////////
2322
+ // Domain Records
2323
+ ////////////////////
2324
+ {
2325
+ id: "domain-records",
2326
+ query: `
2327
+ query DomainRecords(
2328
+ $name: InterpretedName!
2329
+ ) {
2330
+ domain(by: { name: $name }) {
2331
+ canonical { name { interpreted } }
2332
+ resolve {
2333
+ records {
2334
+ addresses(coinTypes: [60]) { coinType address }
2335
+ texts(keys: ["description"]) { key value }
2336
+ }
2337
+ }
2338
+ }
2339
+ }`,
2340
+ variables: {
2341
+ default: { name: "vitalik.eth" },
2342
+ [import_datasources5.ENSNamespaceIds.EnsTestEnv]: {
2343
+ name: DEVNET_NAME_WITH_OWNED_RESOLVER
2344
+ },
2345
+ [import_datasources5.ENSNamespaceIds.SepoliaV2]: {
2346
+ name: SEPOLIA_V2_NAME
2347
+ }
2348
+ }
2349
+ },
2321
2350
  //////////////////////
2322
2351
  // Domain Subdomains
2323
2352
  //////////////////////
@@ -2410,6 +2439,38 @@ query AccountDomains(
2410
2439
  }
2411
2440
  }
2412
2441
  }
2442
+ }`,
2443
+ variables: {
2444
+ default: { address: VITALIK_ADDRESS },
2445
+ [import_datasources5.ENSNamespaceIds.EnsTestEnv]: { address: import_devnet.accounts.owner.address },
2446
+ [import_datasources5.ENSNamespaceIds.SepoliaV2]: { address: SEPOLIA_V2_ACCOUNT }
2447
+ }
2448
+ },
2449
+ /////////////////////////
2450
+ // Account Primary Names
2451
+ /////////////////////////
2452
+ {
2453
+ id: "account-primary-names",
2454
+ query: `
2455
+ query AccountPrimaryNames($address: Address!) {
2456
+ account(by: { address: $address }) {
2457
+ address
2458
+ resolve {
2459
+ primaryNames(where: { chains: [ETHEREUM, BASE] }) {
2460
+ coinType
2461
+ chain
2462
+ name { interpreted beautified }
2463
+ resolve {
2464
+ records {
2465
+ addresses(coinTypes: [60]) {
2466
+ coinType
2467
+ address
2468
+ }
2469
+ }
2470
+ }
2471
+ }
2472
+ }
2473
+ }
2413
2474
  }`,
2414
2475
  variables: {
2415
2476
  default: { address: VITALIK_ADDRESS },