@zerochain/sdk
Version:
The Züs JS SDK is a JavaScript client library that provides a convenient interface for interacting with the Züs Network. It allows developers to perform various operations such as creating and managing allocations, uploading and downloading files, executi
9 lines (8 loc) • 362 B
TypeScript
declare const LOG_CODES: readonly ["WASM_LOADING", "WASM_LOADED", "OUTDATED_WASM_VERSION", "WASM_TYPE_MISMATCH_RETRY", "INVALID_WASM_CONFIG", "WASM_TYPE_MISMATCH"];
type LogData = {
message: string;
data?: any;
code: (typeof LOG_CODES)[number];
};
export type OnLog = (type: 'info' | 'error' | 'warn' | 'debug', logData: LogData) => void;
export {};