o3-dapi-ont
Version:
Ontology Plugin for o3-dapi
20 lines (17 loc) • 363 B
text/typescript
import { sendMessage } from '../messaging';
import { Command } from '../constants';
interface Provider {
name: string;
version: string;
compatibility: string[];
website: string;
extra: {
theme: string,
currency: string,
};
}
export function getProvider(): Promise<Provider> {
return sendMessage({
command: Command.getProvider,
});
}