UNPKG

@3id/common

Version:
21 lines (20 loc) 1.24 kB
import { Network } from './types.js'; export declare const VALID_NETWORKS: string[]; export declare const DEV_API_URL = "https://ceramic-private-dev.3boxlabs.com"; export declare const CLAY_API_URL = "https://ceramic-private-clay.3boxlabs.com"; export declare const MAIN_API_URL = "https://ceramic-private.3boxlabs.com"; export declare const LOCAL_API_URL = "http://localhost:7007"; export declare const BASE_IFRAME_DEV_URL: string; export declare const BASE_IFRAME_CLAY_URL: string; export declare const BASE_IFRAME_MAIN_URL: string; export declare const BASE_IFRAME_LOCAL_URL: string; export declare const DEFAULT_IFRAME_MANAGE_PATH = "/management.html"; export declare const DEFAULT_IFRAME_PATH = "/index.html"; export declare const CERAMIC_NETWORK_API: Record<Network, string>; export declare const CERAMIC_NETWORK_IFRAME: Record<Network, string>; export declare const iframeManageUrl: (base: string) => string; export declare const iframeUrl: (base: string) => string; export declare const iframeByNetwork: (network: Network) => string; export declare const apiByNetwork: (network: Network) => string; export declare const isValidNetwork: (network: string) => boolean; export declare const DIDRPCNameSpace = "3id-connect-did-provider";