@ensnode/ensnode-sdk 0.0.0-next-20260609161907 → 0.0.0-next-20260610143726

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
@@ -2240,6 +2240,7 @@ var DEVNET_NAME_WITH_OWNED_RESOLVER = (0, import_enssdk9.asInterpretedName)("exa
2240
2240
  var SEPOLIA_V2_NAME = (0, import_enssdk9.asInterpretedName)("roppp.eth");
2241
2241
  var VITALIK_NAME = (0, import_enssdk9.asInterpretedName)("vitalik.eth");
2242
2242
  var GREG_NAME = (0, import_enssdk9.asInterpretedName)("gregskril.eth");
2243
+ var OFFCHAIN_NAME = (0, import_enssdk9.asInterpretedName)("patricio.onpoap.eth");
2243
2244
  var MAINNET_PUBLIC_RESOLVER = getDatasourceContract(
2244
2245
  import_datasources5.ENSNamespaceIds.Mainnet,
2245
2246
  import_datasources5.DatasourceNames.ReverseResolverRoot,
@@ -2269,8 +2270,8 @@ var GRAPHQL_API_EXAMPLE_QUERIES = [
2269
2270
  # Reverse resolve the ENS primary name of the account
2270
2271
  # using a convenient ETHEREUM alias for mainnet.
2271
2272
  primaryName(by: { chainName: ETHEREUM }) {
2272
- # Get the regular interpreted variant of the primary name
2273
- # and also the special beautified variant that optimizes names
2273
+ # Get the regular interpreted variant of the primary name
2274
+ # and also the special beautified variant that optimizes names
2274
2275
  # containing special characters such as emojis for proper display in interfaces.
2275
2276
  name { interpreted beautified }
2276
2277
  resolve {
@@ -2511,6 +2512,35 @@ query DomainProfile($name: InterpretedName!) {
2511
2512
  }`,
2512
2513
  variables: { default: { name: GREG_NAME } }
2513
2514
  },
2515
+ ////////////////////////////////////
2516
+ // Offchain Name (UnindexedDomain)
2517
+ ////////////////////////////////////
2518
+ {
2519
+ id: "offchain-name",
2520
+ query: `
2521
+ query OffchainName($name: InterpretedName!) {
2522
+ domain(by: { name: $name }) {
2523
+ # Resolvable-but-unindexed names (offchain / CCIP-Read) surface as UnindexedDomain
2524
+ __typename
2525
+ id
2526
+ canonical { name { interpreted } }
2527
+ resolver {
2528
+ # the wildcard Resolver that ENS Forward Resolution (ENSIP-10) lands on
2529
+ effective {
2530
+ extended
2531
+ contract { chainId address }
2532
+ }
2533
+ }
2534
+ resolve {
2535
+ records {
2536
+ addresses(coinTypes: [60]) { coinType address }
2537
+ texts(keys: ["avatar", "com.twitter", "description"]) { key value }
2538
+ }
2539
+ }
2540
+ }
2541
+ }`,
2542
+ variables: { default: { name: OFFCHAIN_NAME } }
2543
+ },
2514
2544
  //////////////////////
2515
2545
  // Domain Subdomains
2516
2546
  //////////////////////