@ensnode/ensnode-sdk 0.0.0-next-20260609161049 → 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.js CHANGED
@@ -2054,6 +2054,7 @@ var DEVNET_NAME_WITH_OWNED_RESOLVER = asInterpretedName("example.eth");
2054
2054
  var SEPOLIA_V2_NAME = asInterpretedName("roppp.eth");
2055
2055
  var VITALIK_NAME = asInterpretedName("vitalik.eth");
2056
2056
  var GREG_NAME = asInterpretedName("gregskril.eth");
2057
+ var OFFCHAIN_NAME = asInterpretedName("patricio.onpoap.eth");
2057
2058
  var MAINNET_PUBLIC_RESOLVER = getDatasourceContract(
2058
2059
  ENSNamespaceIds3.Mainnet,
2059
2060
  DatasourceNames2.ReverseResolverRoot,
@@ -2083,8 +2084,8 @@ var GRAPHQL_API_EXAMPLE_QUERIES = [
2083
2084
  # Reverse resolve the ENS primary name of the account
2084
2085
  # using a convenient ETHEREUM alias for mainnet.
2085
2086
  primaryName(by: { chainName: ETHEREUM }) {
2086
- # Get the regular interpreted variant of the primary name
2087
- # and also the special beautified variant that optimizes names
2087
+ # Get the regular interpreted variant of the primary name
2088
+ # and also the special beautified variant that optimizes names
2088
2089
  # containing special characters such as emojis for proper display in interfaces.
2089
2090
  name { interpreted beautified }
2090
2091
  resolve {
@@ -2325,6 +2326,35 @@ query DomainProfile($name: InterpretedName!) {
2325
2326
  }`,
2326
2327
  variables: { default: { name: GREG_NAME } }
2327
2328
  },
2329
+ ////////////////////////////////////
2330
+ // Offchain Name (UnindexedDomain)
2331
+ ////////////////////////////////////
2332
+ {
2333
+ id: "offchain-name",
2334
+ query: `
2335
+ query OffchainName($name: InterpretedName!) {
2336
+ domain(by: { name: $name }) {
2337
+ # Resolvable-but-unindexed names (offchain / CCIP-Read) surface as UnindexedDomain
2338
+ __typename
2339
+ id
2340
+ canonical { name { interpreted } }
2341
+ resolver {
2342
+ # the wildcard Resolver that ENS Forward Resolution (ENSIP-10) lands on
2343
+ effective {
2344
+ extended
2345
+ contract { chainId address }
2346
+ }
2347
+ }
2348
+ resolve {
2349
+ records {
2350
+ addresses(coinTypes: [60]) { coinType address }
2351
+ texts(keys: ["avatar", "com.twitter", "description"]) { key value }
2352
+ }
2353
+ }
2354
+ }
2355
+ }`,
2356
+ variables: { default: { name: OFFCHAIN_NAME } }
2357
+ },
2328
2358
  //////////////////////
2329
2359
  // Domain Subdomains
2330
2360
  //////////////////////