@keplr-wallet/types 0.13.12 → 0.13.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/wallet/keplr.d.ts +9 -0
- package/package.json +2 -2
- package/src/wallet/keplr.ts +12 -0
package/build/wallet/keplr.d.ts
CHANGED
|
@@ -183,6 +183,15 @@ export interface Keplr {
|
|
|
183
183
|
}>>;
|
|
184
184
|
signPsbt(chainId: string, psbtHex: string, options?: SignPsbtOptions): Promise<string>;
|
|
185
185
|
signPsbts(chainId: string, psbtsHexes: string[], options?: SignPsbtOptions): Promise<string[]>;
|
|
186
|
+
getAllWallets(): Promise<{
|
|
187
|
+
id: string;
|
|
188
|
+
name: string;
|
|
189
|
+
isSelected: boolean;
|
|
190
|
+
addresses: {
|
|
191
|
+
[chainId: string]: string;
|
|
192
|
+
};
|
|
193
|
+
}[]>;
|
|
194
|
+
switchAccount(id: string): Promise<void>;
|
|
186
195
|
readonly ethereum: IEthereumProvider;
|
|
187
196
|
readonly starknet: IStarknetProvider;
|
|
188
197
|
readonly bitcoin: IBitcoinProvider;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keplr-wallet/types",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.13",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"author": "chainapsis",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"starknet": "^8"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "d806e87af06491dd189d849f69614a8b06c627bc"
|
|
30
30
|
}
|
package/src/wallet/keplr.ts
CHANGED
|
@@ -337,6 +337,18 @@ export interface Keplr {
|
|
|
337
337
|
psbtsHexes: string[],
|
|
338
338
|
options?: SignPsbtOptions
|
|
339
339
|
): Promise<string[]>;
|
|
340
|
+
|
|
341
|
+
getAllWallets(): Promise<
|
|
342
|
+
{
|
|
343
|
+
id: string;
|
|
344
|
+
name: string;
|
|
345
|
+
isSelected: boolean;
|
|
346
|
+
addresses: { [chainId: string]: string };
|
|
347
|
+
}[]
|
|
348
|
+
>;
|
|
349
|
+
|
|
350
|
+
switchAccount(id: string): Promise<void>;
|
|
351
|
+
|
|
340
352
|
readonly ethereum: IEthereumProvider;
|
|
341
353
|
|
|
342
354
|
readonly starknet: IStarknetProvider;
|