@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
17 lines (16 loc) • 662 B
TypeScript
import { type Bridge, type GoInstance } from '../bridge';
import { bulkUpload, setWallet } from './sdkProxy';
declare const createSdkProxyObject: (go: GoInstance) => any;
declare const createJsProxyObject: () => any;
export type GoWasmProxy = {
/** @deprecated */
bulkUpload: typeof bulkUpload;
setWallet: typeof setWallet;
getWalletId: () => Bridge['walletId'];
getPrivateKey: () => Bridge['secretKey'];
getPeerPublicKey: () => Bridge['peerPublicKey'];
sdk: ReturnType<typeof createSdkProxyObject>;
jsProxy: ReturnType<typeof createJsProxyObject>;
};
export declare const createProxy: (go: GoInstance) => GoWasmProxy;
export {};