@keplr-wallet/types 0.12.174-rc.0 → 0.12.175-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.d.ts +0 -1
- package/build/index.js +0 -1
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +0 -1
- package/build/babylon.d.ts +0 -37
- package/build/babylon.js +0 -3
- package/build/babylon.js.map +0 -1
- package/src/babylon.ts +0 -43
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
@@ -25,5 +25,4 @@ __exportStar(require("./cosmjs"), exports);
|
|
25
25
|
__exportStar(require("./cosmjs-alt"), exports);
|
26
26
|
__exportStar(require("./secretjs"), exports);
|
27
27
|
__exportStar(require("./settled"), exports);
|
28
|
-
__exportStar(require("./babylon"), exports);
|
29
28
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,2CAAyB;AACzB,6CAA2B;AAC3B,2CAAyB;AACzB,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,2CAAyB;AACzB,6CAA2B;AAC3B,2CAAyB;AACzB,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@keplr-wallet/types",
|
3
|
-
"version": "0.12.
|
3
|
+
"version": "0.12.175-rc.0",
|
4
4
|
"main": "build/index.js",
|
5
5
|
"author": "chainapsis",
|
6
6
|
"license": "Apache-2.0",
|
@@ -21,5 +21,5 @@
|
|
21
21
|
"peerDependencies": {
|
22
22
|
"starknet": "^6"
|
23
23
|
},
|
24
|
-
"gitHead": "
|
24
|
+
"gitHead": "62f6bf52bd01a90a4c190eb512fc4c011ce9610d"
|
25
25
|
}
|
package/src/index.ts
CHANGED
package/build/babylon.d.ts
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
import { OfflineAminoSigner, OfflineDirectSigner } from "./cosmjs";
|
2
|
-
export interface IBBNProvider {
|
3
|
-
/**
|
4
|
-
* Connects to the wallet and returns the instance of the wallet provider.
|
5
|
-
* @returns A promise that resolves to an instance of the wrapper wallet provider.
|
6
|
-
* @throws An error if the wallet is not installed or if connection fails.
|
7
|
-
*/
|
8
|
-
connectWallet(): Promise<void>;
|
9
|
-
/**
|
10
|
-
* Gets the address of the connected wallet.
|
11
|
-
* @returns A promise that resolves to the address of the connected wallet.
|
12
|
-
*/
|
13
|
-
getAddress(): Promise<string>;
|
14
|
-
/**
|
15
|
-
* Gets the public key of the connected wallet.
|
16
|
-
* @returns A promise that resolves to the public key of the connected wallet.
|
17
|
-
*/
|
18
|
-
getPublicKeyHex(): Promise<string>;
|
19
|
-
/**
|
20
|
-
* Gets the name of the wallet provider.
|
21
|
-
* @returns A promise that resolves to the name of the wallet provider.
|
22
|
-
*/
|
23
|
-
getWalletProviderName(): Promise<string>;
|
24
|
-
/**
|
25
|
-
* Gets the icon of the wallet provider.
|
26
|
-
* @returns A promise that resolves to the icon of the wallet provider.
|
27
|
-
*/
|
28
|
-
getWalletProviderIcon(): Promise<string>;
|
29
|
-
/**
|
30
|
-
* Retrieves an offline signer that supports both Amino and Direct signing methods.
|
31
|
-
* This signer is used for signing transactions offline before broadcasting them to the network.
|
32
|
-
*
|
33
|
-
* @returns {Promise<OfflineAminoSigner & OfflineDirectSigner>} A promise that resolves to a signer supporting both Amino and Direct signing
|
34
|
-
* @throws {Error} If wallet connection is not established or signer cannot be retrieved
|
35
|
-
*/
|
36
|
-
getOfflineSigner(): Promise<OfflineAminoSigner & OfflineDirectSigner>;
|
37
|
-
}
|
package/build/babylon.js
DELETED
package/build/babylon.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"babylon.js","sourceRoot":"","sources":["../src/babylon.ts"],"names":[],"mappings":""}
|
package/src/babylon.ts
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
import { OfflineAminoSigner, OfflineDirectSigner } from "./cosmjs";
|
2
|
-
|
3
|
-
export interface IBBNProvider {
|
4
|
-
/**
|
5
|
-
* Connects to the wallet and returns the instance of the wallet provider.
|
6
|
-
* @returns A promise that resolves to an instance of the wrapper wallet provider.
|
7
|
-
* @throws An error if the wallet is not installed or if connection fails.
|
8
|
-
*/
|
9
|
-
connectWallet(): Promise<void>;
|
10
|
-
|
11
|
-
/**
|
12
|
-
* Gets the address of the connected wallet.
|
13
|
-
* @returns A promise that resolves to the address of the connected wallet.
|
14
|
-
*/
|
15
|
-
getAddress(): Promise<string>;
|
16
|
-
|
17
|
-
/**
|
18
|
-
* Gets the public key of the connected wallet.
|
19
|
-
* @returns A promise that resolves to the public key of the connected wallet.
|
20
|
-
*/
|
21
|
-
getPublicKeyHex(): Promise<string>;
|
22
|
-
|
23
|
-
/**
|
24
|
-
* Gets the name of the wallet provider.
|
25
|
-
* @returns A promise that resolves to the name of the wallet provider.
|
26
|
-
*/
|
27
|
-
getWalletProviderName(): Promise<string>;
|
28
|
-
|
29
|
-
/**
|
30
|
-
* Gets the icon of the wallet provider.
|
31
|
-
* @returns A promise that resolves to the icon of the wallet provider.
|
32
|
-
*/
|
33
|
-
getWalletProviderIcon(): Promise<string>;
|
34
|
-
|
35
|
-
/**
|
36
|
-
* Retrieves an offline signer that supports both Amino and Direct signing methods.
|
37
|
-
* This signer is used for signing transactions offline before broadcasting them to the network.
|
38
|
-
*
|
39
|
-
* @returns {Promise<OfflineAminoSigner & OfflineDirectSigner>} A promise that resolves to a signer supporting both Amino and Direct signing
|
40
|
-
* @throws {Error} If wallet connection is not established or signer cannot be retrieved
|
41
|
-
*/
|
42
|
-
getOfflineSigner(): Promise<OfflineAminoSigner & OfflineDirectSigner>;
|
43
|
-
}
|