@make-software/csprclick-core-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -29,2 +29,3 @@ import { Provider } from '../types'; | ||
isUnlocked(): Promise<boolean | undefined>; | ||
forceConnect(): Promise<string | undefined>; | ||
sign(deploy: string, account: AccountType): Promise<SignResult | undefined>; | ||
@@ -31,0 +32,0 @@ signMessage(message: string, account: AccountType): Promise<SignResult | undefined>; |
{ | ||
"name": "@make-software/csprclick-core-client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "CSPR.click core client package for web applications", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -43,2 +43,3 @@ import SafeEventEmitter from '@metamask/safe-event-emitter'; | ||
getActiveAccount(): AccountType | null; | ||
getProviderName(provider: string | undefined): Promise<string | undefined>; | ||
getKnownAccounts(): Promise<Array<AccountType>>; | ||
@@ -45,0 +46,0 @@ forgetAccount(account: AccountType): void; |
@@ -30,3 +30,3 @@ import { Provider } from '../types'; | ||
signMessage(message: any, account: AccountType, options: TorusConnectOptions): Promise<SignResult | undefined>; | ||
sign(deploy: string, account: AccountType): Promise<SignResult | undefined>; | ||
sign(deploy: string, account: AccountType, options: TorusConnectOptions): Promise<SignResult | undefined>; | ||
triggerEvent(evtType: string, evtDetail: any): void; | ||
@@ -33,0 +33,0 @@ } |
@@ -47,3 +47,3 @@ import { AccountType, CONTENT_MODE } from '@make-software/csprclick-core-types'; | ||
abstract isUnlocked(): Promise<boolean | undefined>; | ||
abstract sign(deploy: string, account: AccountType): Promise<SignResult | undefined>; | ||
abstract sign(deploy: string, account: AccountType, options?: any): Promise<SignResult | undefined>; | ||
abstract signMessage(message: string, account: AccountType, options?: any): Promise<SignResult | undefined>; | ||
@@ -50,0 +50,0 @@ abstract send(deploy: string, account: AccountType, options?: any): Promise<SendResult | undefined>; |
22174
489