@injectivelabs/wallet-cosmostation 1.16.38-alpha.3 → 1.16.38-alpha.5
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/dist/cjs/index.cjs +6 -0
- package/dist/cjs/index.d.cts +5 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.js +6 -0
- package/package.json +6 -8
package/dist/cjs/index.cjs
CHANGED
|
@@ -128,6 +128,12 @@ var Cosmostation = class extends __injectivelabs_wallet_base.BaseConcreteStrateg
|
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
+
async getAddressesInfo() {
|
|
132
|
+
throw new __injectivelabs_exceptions.CosmosWalletException(/* @__PURE__ */ new Error("getAddressesInfo is not implemented"), {
|
|
133
|
+
code: __injectivelabs_exceptions.UnspecifiedErrorCode,
|
|
134
|
+
context: __injectivelabs_wallet_base.WalletAction.GetAccounts
|
|
135
|
+
});
|
|
136
|
+
}
|
|
131
137
|
async getSessionOrConfirm(address) {
|
|
132
138
|
return Promise.resolve(`0x${(0, __injectivelabs_sdk_ts_utils.uint8ArrayToHex)((0, __injectivelabs_sdk_ts_utils.stringToUint8Array)(`Confirmation for ${address} at time: ${Date.now()}`))}`);
|
|
133
139
|
}
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -28,6 +28,11 @@ declare class Cosmostation extends BaseConcreteStrategy implements ConcreteWalle
|
|
|
28
28
|
getWalletDeviceType(): Promise<WalletDeviceType>;
|
|
29
29
|
enable(): Promise<boolean>;
|
|
30
30
|
getAddresses(): Promise<string[]>;
|
|
31
|
+
getAddressesInfo(): Promise<{
|
|
32
|
+
address: string;
|
|
33
|
+
derivationPath: string;
|
|
34
|
+
baseDerivationPath: string;
|
|
35
|
+
}[]>;
|
|
31
36
|
getSessionOrConfirm(address?: AccountAddress): Promise<string>;
|
|
32
37
|
sendEvmTransaction(_transaction: unknown, _options: {
|
|
33
38
|
address: AccountAddress;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -28,6 +28,11 @@ declare class Cosmostation extends BaseConcreteStrategy implements ConcreteWalle
|
|
|
28
28
|
getWalletDeviceType(): Promise<WalletDeviceType>;
|
|
29
29
|
enable(): Promise<boolean>;
|
|
30
30
|
getAddresses(): Promise<string[]>;
|
|
31
|
+
getAddressesInfo(): Promise<{
|
|
32
|
+
address: string;
|
|
33
|
+
derivationPath: string;
|
|
34
|
+
baseDerivationPath: string;
|
|
35
|
+
}[]>;
|
|
31
36
|
getSessionOrConfirm(address?: AccountAddress): Promise<string>;
|
|
32
37
|
sendEvmTransaction(_transaction: unknown, _options: {
|
|
33
38
|
address: AccountAddress;
|
package/dist/esm/index.js
CHANGED
|
@@ -128,6 +128,12 @@ var Cosmostation = class extends BaseConcreteStrategy {
|
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
+
async getAddressesInfo() {
|
|
132
|
+
throw new CosmosWalletException(/* @__PURE__ */ new Error("getAddressesInfo is not implemented"), {
|
|
133
|
+
code: UnspecifiedErrorCode,
|
|
134
|
+
context: WalletAction.GetAccounts
|
|
135
|
+
});
|
|
136
|
+
}
|
|
131
137
|
async getSessionOrConfirm(address) {
|
|
132
138
|
return Promise.resolve(`0x${uint8ArrayToHex(stringToUint8Array(`Confirmation for ${address} at time: ${Date.now()}`))}`);
|
|
133
139
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-cosmostation",
|
|
3
|
-
"version": "1.16.38-alpha.
|
|
3
|
+
"version": "1.16.38-alpha.5",
|
|
4
4
|
"description": "Cosmostation strategy for use with @injectivelabs/wallet-core.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -38,15 +38,13 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@cosmjs/proto-signing": "^0.
|
|
41
|
+
"@cosmjs/proto-signing": "^0.37.0",
|
|
42
42
|
"@cosmostation/cosmos-client": "^0.0.5",
|
|
43
43
|
"@cosmostation/extension-client": "^0.1.15",
|
|
44
|
-
"@
|
|
45
|
-
"@injectivelabs/ts-types": "1.16.38-alpha.
|
|
46
|
-
"@injectivelabs/
|
|
47
|
-
"@injectivelabs/
|
|
48
|
-
"@injectivelabs/exceptions": "1.16.38-alpha.2",
|
|
49
|
-
"@injectivelabs/wallet-base": "1.16.38-alpha.3"
|
|
44
|
+
"@injectivelabs/exceptions": "1.16.38-alpha.3",
|
|
45
|
+
"@injectivelabs/ts-types": "1.16.38-alpha.2",
|
|
46
|
+
"@injectivelabs/sdk-ts": "1.16.38-alpha.5",
|
|
47
|
+
"@injectivelabs/wallet-base": "1.16.38-alpha.5"
|
|
50
48
|
},
|
|
51
49
|
"publishConfig": {
|
|
52
50
|
"access": "public"
|