🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@vectis/extension-client

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vectis/extension-client - npm Package Compare versions

Comparing version
0.2.0
to
0.3.0
+3
types/index.d.ts
export { CosmosProvider } from './cosmos';
export { KeyInfo, ChainInfo } from './vectis';
export { VectisWindow } from './window';
export {};
+2
-1
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* () {

{
"name": "@vectis/extension-client",
"version": "0.2.0",
"version": "0.3.0",
"description": "Client for vectis extension",

@@ -5,0 +5,0 @@ "main": "index.js",