UNPKG

@fuel-infrastructure/fuel-hyperlane-registry

Version:

A collection of configs, artifacts, and schemas for Hyperlane

21 lines (20 loc) 940 B
import type { Logger } from 'pino'; import { IRegistry } from './IRegistry.js'; /** * Retrieves a registry instance based on the provided registry URIs. * The registry can be either a GitHub registry or a file system registry, * and the returned instance is a `MergedRegistry` that combines all the * specified registries. * * @param registryUris - An array of registry URIs to use for creating the registry. * @param enableProxy - If enabled, forwards all requests to Hyperlane Registry, with higher read limits. * @param branch - An optional branch name to use for the GitHub registry. * @param logger - An optional logger instance to use for logging. * @returns An `IRegistry` instance that combines the specified registries. */ export declare function getRegistry({ registryUris, enableProxy, branch, logger, }: { registryUris: string[]; enableProxy: boolean; branch?: string; logger?: Logger; }): IRegistry;