@injectivelabs/wallet-turnkey 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.
@@ -531,6 +531,13 @@ var TurnkeyWalletStrategy = class extends __injectivelabs_wallet_base.BaseConcre
531
531
  });
532
532
  }
533
533
  }
534
+ async getAddressesInfo() {
535
+ throw new __injectivelabs_exceptions.WalletException(/* @__PURE__ */ new Error("getAddressesInfo is not implemented"), {
536
+ code: __injectivelabs_exceptions.UnspecifiedErrorCode,
537
+ type: __injectivelabs_exceptions.ErrorType.WalletError,
538
+ contextModule: __injectivelabs_wallet_base.WalletAction.GetAccounts
539
+ });
540
+ }
534
541
  async getSessionOrConfirm(_address) {
535
542
  return await (await this.getTurnkeyWallet()).refreshSession();
536
543
  }
@@ -21,6 +21,11 @@ declare class TurnkeyWalletStrategy extends BaseConcreteStrategy implements Conc
21
21
  enable(): Promise<boolean>;
22
22
  disconnect(): Promise<void>;
23
23
  getAddresses(): Promise<string[]>;
24
+ getAddressesInfo(): Promise<{
25
+ address: string;
26
+ derivationPath: string;
27
+ baseDerivationPath: string;
28
+ }[]>;
24
29
  getSessionOrConfirm(_address?: string): Promise<string>;
25
30
  getWalletClient<TurnkeyWallet$1>(): Promise<TurnkeyWallet$1>;
26
31
  sendEvmTransaction(transaction: unknown, args: {
@@ -21,6 +21,11 @@ declare class TurnkeyWalletStrategy extends BaseConcreteStrategy implements Conc
21
21
  enable(): Promise<boolean>;
22
22
  disconnect(): Promise<void>;
23
23
  getAddresses(): Promise<string[]>;
24
+ getAddressesInfo(): Promise<{
25
+ address: string;
26
+ derivationPath: string;
27
+ baseDerivationPath: string;
28
+ }[]>;
24
29
  getSessionOrConfirm(_address?: string): Promise<string>;
25
30
  getWalletClient<TurnkeyWallet$1>(): Promise<TurnkeyWallet$1>;
26
31
  sendEvmTransaction(transaction: unknown, args: {
package/dist/esm/index.js CHANGED
@@ -531,6 +531,13 @@ var TurnkeyWalletStrategy = class extends BaseConcreteStrategy {
531
531
  });
532
532
  }
533
533
  }
534
+ async getAddressesInfo() {
535
+ throw new WalletException(/* @__PURE__ */ new Error("getAddressesInfo is not implemented"), {
536
+ code: UnspecifiedErrorCode,
537
+ type: ErrorType.WalletError,
538
+ contextModule: WalletAction.GetAccounts
539
+ });
540
+ }
534
541
  async getSessionOrConfirm(_address) {
535
542
  return await (await this.getTurnkeyWallet()).refreshSession();
536
543
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@injectivelabs/wallet-turnkey",
3
- "version": "1.16.38-alpha.3",
3
+ "version": "1.16.38-alpha.5",
4
4
  "description": "Turnkey wallet strategy for use with @injectivelabs/wallet-core.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -38,14 +38,14 @@
38
38
  "dist"
39
39
  ],
40
40
  "dependencies": {
41
- "@turnkey/sdk-browser": "5.2.3",
42
- "@turnkey/viem": "^0.9.10",
43
- "viem": "^2.40.3",
44
- "@injectivelabs/sdk-ts": "1.16.38-alpha.3",
45
- "@injectivelabs/ts-types": "1.16.38-alpha.1",
46
- "@injectivelabs/exceptions": "1.16.38-alpha.2",
47
- "@injectivelabs/utils": "1.16.38-alpha.2",
48
- "@injectivelabs/wallet-base": "1.16.38-alpha.3"
41
+ "@turnkey/sdk-browser": "^5.13.4",
42
+ "@turnkey/viem": "^0.14.16",
43
+ "viem": "^2.41.2",
44
+ "@injectivelabs/exceptions": "1.16.38-alpha.3",
45
+ "@injectivelabs/sdk-ts": "1.16.38-alpha.5",
46
+ "@injectivelabs/utils": "1.16.38-alpha.4",
47
+ "@injectivelabs/wallet-base": "1.16.38-alpha.5",
48
+ "@injectivelabs/ts-types": "1.16.38-alpha.2"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"