@aelf-react/types
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -90,2 +90,9 @@ import type { ec } from 'elliptic'; | ||
}; | ||
export declare type ExtensionInfo = { | ||
detail: string; | ||
error: number; | ||
errorMessage: string & NightElfErrorMessage; | ||
from: 'contentNightElf'; | ||
sid: string; | ||
}; | ||
export declare type ChainMethodResult<T> = T & NightElfResult<T> & AElfSDKError; | ||
@@ -125,2 +132,4 @@ /** | ||
getAddress: (...args: unknown[]) => any; | ||
/** Get extension info */ | ||
getExtensionInfo?: () => Promise<ExtensionInfo | undefined>; | ||
/** login */ | ||
@@ -127,0 +136,0 @@ login: (options: LoginOptions, ...args: unknown[]) => Promise<{ |
@@ -22,3 +22,3 @@ { | ||
}, | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"files": [ | ||
@@ -25,0 +25,0 @@ "dist/*" |
7316
210