UNPKG

@gamechanger-finance/gc

Version:

Official GameChanger Wallet library and CLI for integrating with Cardano dapps and solve other tasks (https://gamechanger.finance/)

27 lines (26 loc) 812 B
import { APIEncoding, EncodingHandler } from '../types'; export declare const msgEncodings: { gzip: EncodingHandler; 'json-url-lzma': EncodingHandler; 'json-url-lzw': EncodingHandler; base64url: EncodingHandler; }; /** * Map of encoders and their message headers. Headers are used to auto-detect which decoder needs to be used to decode the message * * Sorted from worst to best compression for average message bodies */ export declare const EncodingByHeaders: { [header: string]: APIEncoding; }; /** * Map of message headers and their encoders. */ export declare const HeadersByEncoders: { [encoding: string]: string; }; export declare const EncodingHandlers: { [name: string]: () => Promise<EncodingHandler>; }; declare const handler: EncodingHandler; export default handler;