UNPKG

swipelime-client-node

Version:

swipelime-client-node is the official swipelime Node.js client library

5 lines (4 loc) 443 B
import { Environment } from './types'; export declare const swipelimeConsoleError: (msg: string | Record<string, any>) => string; export declare const swipelimeError: (msg: string | Record<string, any>) => Error; export declare const getServerUrlForEnvironment: (environment?: Environment) => "wss://eu.swipelime.com/websocket" | "wss://canary.swipelime.com/websocket" | "wss://test.swipelime.com/websocket" | "ws://localhost:3000/websocket";