@ensnode/ensnode-sdk 0.0.0-next-20260529224949 → 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 +61 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +61 -0
- package/dist/internal.js.map +1 -1
- package/package.json +4 -4
package/dist/internal.js
CHANGED
|
@@ -2133,6 +2133,35 @@ query DomainRegistration($name: InterpretedName!) {
|
|
|
2133
2133
|
[ENSNamespaceIds3.SepoliaV2]: { name: SEPOLIA_V2_NAME }
|
|
2134
2134
|
}
|
|
2135
2135
|
},
|
|
2136
|
+
////////////////////
|
|
2137
|
+
// Domain Records
|
|
2138
|
+
////////////////////
|
|
2139
|
+
{
|
|
2140
|
+
id: "domain-records",
|
|
2141
|
+
query: `
|
|
2142
|
+
query DomainRecords(
|
|
2143
|
+
$name: InterpretedName!
|
|
2144
|
+
) {
|
|
2145
|
+
domain(by: { name: $name }) {
|
|
2146
|
+
canonical { name { interpreted } }
|
|
2147
|
+
resolve {
|
|
2148
|
+
records {
|
|
2149
|
+
addresses(coinTypes: [60]) { coinType address }
|
|
2150
|
+
texts(keys: ["description"]) { key value }
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
}`,
|
|
2155
|
+
variables: {
|
|
2156
|
+
default: { name: "vitalik.eth" },
|
|
2157
|
+
[ENSNamespaceIds3.EnsTestEnv]: {
|
|
2158
|
+
name: DEVNET_NAME_WITH_OWNED_RESOLVER
|
|
2159
|
+
},
|
|
2160
|
+
[ENSNamespaceIds3.SepoliaV2]: {
|
|
2161
|
+
name: SEPOLIA_V2_NAME
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2136
2165
|
//////////////////////
|
|
2137
2166
|
// Domain Subdomains
|
|
2138
2167
|
//////////////////////
|
|
@@ -2225,6 +2254,38 @@ query AccountDomains(
|
|
|
2225
2254
|
}
|
|
2226
2255
|
}
|
|
2227
2256
|
}
|
|
2257
|
+
}`,
|
|
2258
|
+
variables: {
|
|
2259
|
+
default: { address: VITALIK_ADDRESS },
|
|
2260
|
+
[ENSNamespaceIds3.EnsTestEnv]: { address: accounts.owner.address },
|
|
2261
|
+
[ENSNamespaceIds3.SepoliaV2]: { address: SEPOLIA_V2_ACCOUNT }
|
|
2262
|
+
}
|
|
2263
|
+
},
|
|
2264
|
+
/////////////////////////
|
|
2265
|
+
// Account Primary Names
|
|
2266
|
+
/////////////////////////
|
|
2267
|
+
{
|
|
2268
|
+
id: "account-primary-names",
|
|
2269
|
+
query: `
|
|
2270
|
+
query AccountPrimaryNames($address: Address!) {
|
|
2271
|
+
account(by: { address: $address }) {
|
|
2272
|
+
address
|
|
2273
|
+
resolve {
|
|
2274
|
+
primaryNames(where: { chains: [ETHEREUM, BASE] }) {
|
|
2275
|
+
coinType
|
|
2276
|
+
chain
|
|
2277
|
+
name { interpreted beautified }
|
|
2278
|
+
resolve {
|
|
2279
|
+
records {
|
|
2280
|
+
addresses(coinTypes: [60]) {
|
|
2281
|
+
coinType
|
|
2282
|
+
address
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
}
|
|
2228
2289
|
}`,
|
|
2229
2290
|
variables: {
|
|
2230
2291
|
default: { address: VITALIK_ADDRESS },
|