@injectivelabs/wallet-cosmostation 1.16.38-alpha.3 → 1.16.38-alpha.4

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.
@@ -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
  }
@@ -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;
@@ -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",
3
+ "version": "1.16.38-alpha.4",
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.33.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
- "@walletconnect/ethereum-provider": "2.18.1",
45
- "@injectivelabs/ts-types": "1.16.38-alpha.1",
46
- "@injectivelabs/utils": "1.16.38-alpha.2",
47
- "@injectivelabs/sdk-ts": "1.16.38-alpha.3",
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/wallet-base": "1.16.38-alpha.4",
47
+ "@injectivelabs/sdk-ts": "1.16.38-alpha.4"
50
48
  },
51
49
  "publishConfig": {
52
50
  "access": "public"