@vectis/extension-client
Advanced tools
| export { CosmosProvider } from './cosmos'; | ||
| export { KeyInfo, ChainInfo } from './vectis'; | ||
| export { VectisWindow } from './window'; |
| export {}; |
| import { AminoSignResponse, StdSignDoc } from '@cosmjs/amino'; | ||
| import { DirectSignResponse } from '@cosmjs/proto-signing'; | ||
| import { DirectSignResponse, OfflineSigner } from '@cosmjs/proto-signing'; | ||
| import { SignDoc } from 'cosmjs-types/cosmos/tx/v1beta1/tx'; | ||
@@ -13,2 +13,3 @@ import { CosmosProvider } from '../types/cosmos'; | ||
| }>; | ||
| export declare function getOfflineSigner(chainId: string): Promise<OfflineSigner>; | ||
| export declare function suggestChains(chainsInfo: ChainInfo[]): Promise<void>; | ||
@@ -15,0 +16,0 @@ export declare function enable(chainId: string): Promise<void>; |
@@ -29,2 +29,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
| } | ||
| export function getOfflineSigner(chainId) { | ||
| return __awaiter(this, void 0, void 0, function* () { | ||
| return yield window.vectis.cosmos.getOfflineSigner(chainId); | ||
| }); | ||
| } | ||
| export function suggestChains(chainsInfo) { | ||
@@ -31,0 +36,0 @@ return __awaiter(this, void 0, void 0, function* () { |
+1
-1
| { | ||
| "name": "@vectis/extension-client", | ||
| "version": "0.2.0", | ||
| "version": "0.3.0", | ||
| "description": "Client for vectis extension", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7199
6.21%13
18.18%157
6.8%