@injectivelabs/wallet-strategy 1.15.18 → 1.15.19

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.
@@ -92,18 +92,12 @@ const createStrategy = ({ args, wallet, }) => {
92
92
  return undefined;
93
93
  }
94
94
  return new wallet_magic_1.MagicStrategy(args);
95
- case wallet_base_1.Wallet.TurnkeyOtp:
95
+ case wallet_base_1.Wallet.Turnkey:
96
96
  if (!args.metadata?.turnkey?.defaultOrganizationId ||
97
97
  !args.metadata?.turnkey?.iframeContainerId) {
98
98
  return undefined;
99
99
  }
100
- return new wallet_turnkey_1.TurnkeyOtpWalletStrategy(ethWalletArgs);
101
- case wallet_base_1.Wallet.TurnkeyOauth:
102
- if (!args.metadata?.turnkey?.defaultOrganizationId ||
103
- !args.metadata?.turnkey?.iframeContainerId) {
104
- return undefined;
105
- }
106
- return new wallet_turnkey_1.TurnkeyOauthWalletStrategy(ethWalletArgs);
100
+ return new wallet_turnkey_1.TurnkeyWalletStrategy(ethWalletArgs);
107
101
  default:
108
102
  return undefined;
109
103
  }
@@ -5,7 +5,7 @@ import { EvmWalletStrategy } from '@injectivelabs/wallet-evm';
5
5
  import { BaseWalletStrategy } from '@injectivelabs/wallet-core';
6
6
  import { CosmosWalletStrategy } from '@injectivelabs/wallet-cosmos';
7
7
  import { TrezorBip32Strategy, TrezorBip44Strategy, } from '@injectivelabs/wallet-trezor';
8
- import { TurnkeyOtpWalletStrategy, TurnkeyOauthWalletStrategy, } from '@injectivelabs/wallet-turnkey';
8
+ import { TurnkeyWalletStrategy } from '@injectivelabs/wallet-turnkey';
9
9
  import { WalletConnectStrategy } from '@injectivelabs/wallet-wallet-connect';
10
10
  import { PrivateKeyWalletStrategy } from '@injectivelabs/wallet-private-key';
11
11
  import { CosmostationWalletStrategy } from '@injectivelabs/wallet-cosmostation';
@@ -89,18 +89,12 @@ const createStrategy = ({ args, wallet, }) => {
89
89
  return undefined;
90
90
  }
91
91
  return new MagicStrategy(args);
92
- case Wallet.TurnkeyOtp:
92
+ case Wallet.Turnkey:
93
93
  if (!args.metadata?.turnkey?.defaultOrganizationId ||
94
94
  !args.metadata?.turnkey?.iframeContainerId) {
95
95
  return undefined;
96
96
  }
97
- return new TurnkeyOtpWalletStrategy(ethWalletArgs);
98
- case Wallet.TurnkeyOauth:
99
- if (!args.metadata?.turnkey?.defaultOrganizationId ||
100
- !args.metadata?.turnkey?.iframeContainerId) {
101
- return undefined;
102
- }
103
- return new TurnkeyOauthWalletStrategy(ethWalletArgs);
97
+ return new TurnkeyWalletStrategy(ethWalletArgs);
104
98
  default:
105
99
  return undefined;
106
100
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@injectivelabs/wallet-strategy",
3
3
  "description": "Wallet strategy with instantiated wallets",
4
- "version": "1.15.18",
4
+ "version": "1.15.19",
5
5
  "sideEffects": false,
6
6
  "type": "module",
7
7
  "author": {
@@ -58,22 +58,22 @@
58
58
  "dependencies": {
59
59
  "@ethereumjs/common": "^3.1.1",
60
60
  "@ethereumjs/tx": "^4.1.1",
61
- "@injectivelabs/exceptions": "^1.15.14",
62
- "@injectivelabs/networks": "^1.15.15",
63
- "@injectivelabs/sdk-ts": "^1.15.17",
64
- "@injectivelabs/ts-types": "^1.15.15",
65
- "@injectivelabs/utils": "^1.15.15",
66
- "@injectivelabs/wallet-base": "^1.15.17",
67
- "@injectivelabs/wallet-core": "^1.15.17",
68
- "@injectivelabs/wallet-cosmos": "^1.15.17",
69
- "@injectivelabs/wallet-cosmostation": "^1.15.17",
70
- "@injectivelabs/wallet-evm": "^1.15.17",
71
- "@injectivelabs/wallet-ledger": "^1.15.17",
72
- "@injectivelabs/wallet-magic": "^1.15.17",
73
- "@injectivelabs/wallet-private-key": "^1.15.17",
74
- "@injectivelabs/wallet-trezor": "^1.15.17",
75
- "@injectivelabs/wallet-turnkey": "^1.15.17",
76
- "@injectivelabs/wallet-wallet-connect": "^1.15.17",
61
+ "@injectivelabs/exceptions": "^1.15.15",
62
+ "@injectivelabs/networks": "^1.15.16",
63
+ "@injectivelabs/sdk-ts": "^1.15.18",
64
+ "@injectivelabs/ts-types": "^1.15.16",
65
+ "@injectivelabs/utils": "^1.15.16",
66
+ "@injectivelabs/wallet-base": "^1.15.18",
67
+ "@injectivelabs/wallet-core": "^1.15.18",
68
+ "@injectivelabs/wallet-cosmos": "^1.15.18",
69
+ "@injectivelabs/wallet-cosmostation": "^1.15.18",
70
+ "@injectivelabs/wallet-evm": "^1.15.18",
71
+ "@injectivelabs/wallet-ledger": "^1.15.18",
72
+ "@injectivelabs/wallet-magic": "^1.15.18",
73
+ "@injectivelabs/wallet-private-key": "^1.15.18",
74
+ "@injectivelabs/wallet-trezor": "^1.15.18",
75
+ "@injectivelabs/wallet-turnkey": "^1.15.18",
76
+ "@injectivelabs/wallet-wallet-connect": "^1.15.18",
77
77
  "alchemy-sdk": "^3.4.7",
78
78
  "eip1193-provider": "^1.0.1",
79
79
  "eth-sig-util": "^3.0.1",
@@ -87,5 +87,5 @@
87
87
  "@types/hdkey": "^2.0.1",
88
88
  "shx": "^0.3.3"
89
89
  },
90
- "gitHead": "2f3036b124dd1d178fd354b0b37352700f9b060c"
90
+ "gitHead": "f27adbec3b9a84e4af2c2fbf5dbcac802b254130"
91
91
  }