PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/light-client-extension-helpers/dist/background
Просмотр файла: background-helper.d.mts
import { L as LightClientPageHelper, A as AddOnAddChainByUserListener } from '../types-CpJ7qODO.mjs';
export { B as BackgroundRpcSpec, I as InputChain, P as PageChain } from '../types-CpJ7qODO.mjs';
import { C as Client } from '../types-BlA9-2mv.mjs';
import '@polkadot-api/json-rpc-provider';
import 'smoldot';
type RegisterOptions = {
smoldotClient: Client;
getWellKnownChainSpecs: () => Promise<string[] | Record<string, string>>;
};
declare const register: ({ smoldotClient, getWellKnownChainSpecs, }: RegisterOptions) => {
lightClientPageHelper: LightClientPageHelper;
addOnAddChainByUserListener: AddOnAddChainByUserListener;
};
export { AddOnAddChainByUserListener, LightClientPageHelper, register };
Выполнить команду
Для локальной разработки. Не используйте в интернете!