@ensnode/ensnode-sdk 0.0.0-next-20260520210045 → 0.0.0-next-20260521165711
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 +4 -6
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +10 -8
- package/dist/internal.d.ts +10 -8
- package/dist/internal.js +4 -6
- package/dist/internal.js.map +1 -1
- package/package.json +4 -4
package/dist/internal.cjs
CHANGED
|
@@ -70,7 +70,7 @@ __export(internal_exports, {
|
|
|
70
70
|
invariant_rpcConfigsSpecifiedForRootChain: () => invariant_rpcConfigsSpecifiedForRootChain,
|
|
71
71
|
invariant_rpcEndpointConfigIncludesAtLeastOneHTTPProtocolURL: () => invariant_rpcEndpointConfigIncludesAtLeastOneHTTPProtocolURL,
|
|
72
72
|
invariant_rpcEndpointConfigIncludesAtMostOneWebSocketsProtocolURL: () => invariant_rpcEndpointConfigIncludesAtMostOneWebSocketsProtocolURL,
|
|
73
|
-
|
|
73
|
+
isBridgedOriginDomain: () => isBridgedOriginDomain,
|
|
74
74
|
isBridgedResolver: () => isBridgedResolver,
|
|
75
75
|
isBridgedTargetRegistry: () => isBridgedTargetRegistry,
|
|
76
76
|
isConfigTemplateSubgraphCompatible: () => isConfigTemplateSubgraphCompatible,
|
|
@@ -3210,13 +3210,11 @@ function isBridgedResolver(namespace, resolver) {
|
|
|
3210
3210
|
(config) => accountIdEqual(config.resolver, resolver)
|
|
3211
3211
|
) ?? null;
|
|
3212
3212
|
}
|
|
3213
|
-
function
|
|
3214
|
-
return getBridgedResolverConfigs(namespace).
|
|
3213
|
+
function isBridgedOriginDomain(namespace, domainId) {
|
|
3214
|
+
return getBridgedResolverConfigs(namespace).find((config) => config.originDomainId === domainId) ?? null;
|
|
3215
3215
|
}
|
|
3216
3216
|
function isBridgedTargetRegistry(namespace, registryId) {
|
|
3217
|
-
return getBridgedResolverConfigs(namespace).
|
|
3218
|
-
(config) => config.targetRegistryId === registryId
|
|
3219
|
-
);
|
|
3217
|
+
return getBridgedResolverConfigs(namespace).find((config) => config.targetRegistryId === registryId) ?? null;
|
|
3220
3218
|
}
|
|
3221
3219
|
|
|
3222
3220
|
// src/shared/protocol-acceleration/is-ensip-19-reverse-resolver.ts
|