@blockchain-web3/web3-tg-sdk
Version:
web3 sdk for tg
37 lines (36 loc) • 952 B
TypeScript
import EventEmitter from 'eventemitter3';
import { PROVIDER_ALLIANCE } from '../types';
export type AbstractAdapterOptions = {
protocol?: PROVIDER_ALLIANCE;
};
export default class AbstractAdapter extends EventEmitter {
constructor({ protocol }: {
protocol: any;
});
getAppInfo(): {
id: string;
version: string;
name: string;
homepage: string;
logo: string;
description: string;
downloadLinks: {
android: string;
googlePlay: string;
ios: string;
appleStore: string;
testflight: string;
telegram: string;
browserExtension: {
chrome: string;
edge: string;
};
};
deepLinks: {
scheme: string;
universallink: string;
direct_link: string;
};
};
_initializeChannelMessage(): void;
}