@ensnode/ensnode-sdk 0.0.0-next-20260519084124 → 0.0.0-next-20260520162918
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 +10 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +19 -1
- package/dist/internal.d.ts +19 -1
- package/dist/internal.js +10 -0
- package/dist/internal.js.map +1 -1
- package/package.json +4 -4
package/dist/internal.cjs
CHANGED
|
@@ -70,7 +70,9 @@ __export(internal_exports, {
|
|
|
70
70
|
invariant_rpcConfigsSpecifiedForRootChain: () => invariant_rpcConfigsSpecifiedForRootChain,
|
|
71
71
|
invariant_rpcEndpointConfigIncludesAtLeastOneHTTPProtocolURL: () => invariant_rpcEndpointConfigIncludesAtLeastOneHTTPProtocolURL,
|
|
72
72
|
invariant_rpcEndpointConfigIncludesAtMostOneWebSocketsProtocolURL: () => invariant_rpcEndpointConfigIncludesAtMostOneWebSocketsProtocolURL,
|
|
73
|
+
isBridgeOriginDomain: () => isBridgeOriginDomain,
|
|
73
74
|
isBridgedResolver: () => isBridgedResolver,
|
|
75
|
+
isBridgedTargetRegistry: () => isBridgedTargetRegistry,
|
|
74
76
|
isConfigTemplateSubgraphCompatible: () => isConfigTemplateSubgraphCompatible,
|
|
75
77
|
isExtendedResolver: () => isExtendedResolver,
|
|
76
78
|
isKnownENSIP19ReverseResolver: () => isKnownENSIP19ReverseResolver,
|
|
@@ -3208,6 +3210,14 @@ function isBridgedResolver(namespace, resolver) {
|
|
|
3208
3210
|
(config) => accountIdEqual(config.resolver, resolver)
|
|
3209
3211
|
) ?? null;
|
|
3210
3212
|
}
|
|
3213
|
+
function isBridgeOriginDomain(namespace, domainId) {
|
|
3214
|
+
return getBridgedResolverConfigs(namespace).some((config) => config.originDomainId === domainId);
|
|
3215
|
+
}
|
|
3216
|
+
function isBridgedTargetRegistry(namespace, registryId) {
|
|
3217
|
+
return getBridgedResolverConfigs(namespace).some(
|
|
3218
|
+
(config) => config.targetRegistryId === registryId
|
|
3219
|
+
);
|
|
3220
|
+
}
|
|
3211
3221
|
|
|
3212
3222
|
// src/shared/protocol-acceleration/is-ensip-19-reverse-resolver.ts
|
|
3213
3223
|
var import_datasources15 = require("@ensnode/datasources");
|