From 07e1aff5d2fc10f91590dd134cdae32eb75cc31b Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Fri, 25 Oct 2024 12:04:44 +0200 Subject: [PATCH] chore: minor copy --- packages/wallet-ts/README.md | 2 ++ packages/wallets/wallet-core/README.md | 11 +++++------ packages/wallets/wallet-cosmostation/README.md | 4 ++-- packages/wallets/wallet-evm/README.md | 4 ++-- packages/wallets/wallet-private-key/README.md | 4 ++-- .../wallet-strategy/src/strategy/WalletStrategy.ts | 1 + packages/wallets/wallet-trezor/README.md | 6 +++--- 7 files changed, 17 insertions(+), 15 deletions(-) diff --git a/packages/wallet-ts/README.md b/packages/wallet-ts/README.md index 02c1a6960..5b0426dab 100644 --- a/packages/wallet-ts/README.md +++ b/packages/wallet-ts/README.md @@ -6,6 +6,8 @@ _A convenient way to use different types of wallets on Injective._ +**DEPRECATED: PLEASE USE `@injectivelabs/wallet-strategy`** + --- ## 📚 Installation diff --git a/packages/wallets/wallet-core/README.md b/packages/wallets/wallet-core/README.md index e8e1d3d14..348d82cae 100644 --- a/packages/wallets/wallet-core/README.md +++ b/packages/wallets/wallet-core/README.md @@ -1,19 +1,19 @@ -# 🌟 Injective Protocol - MetaMask Wallet Strategy +# 🌟 Injective Protocol - Wallet Core -[![downloads](https://img.shields.io/npm/dm/@injectivelabs/wallet-ts.svg)](https://www.npmjs.com/package/@injectivelabs/wallet-ts) -[![npm-version](https://img.shields.io/npm/v/@injectivelabs/wallet-ts.svg)](https://www.npmjs.com/package/@injectivelabs/wallet-ts) +[![downloads](https://img.shields.io/npm/dm/@injectivelabs/wallet-core.svg)](https://www.npmjs.com/package/@injectivelabs/wallet-core) +[![npm-version](https://img.shields.io/npm/v/@injectivelabs/wallet-core.svg)](https://www.npmjs.com/package/@injectivelabs/wallet-core) [![license](https://img.shields.io/npm/l/express.svg)]() -_Package to use MetaMask Wallets on Injective via the wallet strategy._ +_Package to use Wallets on Injective via the wallet strategy._ --- ## 📚 Installation ```bash -yarn add @injectivelabs/wallet-cire +yarn add @injectivelabs/wallet-core ``` --- @@ -39,7 +39,6 @@ const broadcasterArgs: MsgBroadcasterOptions = {} /** define the broadcaster arg export const msgBroadcaster = new MsgBroadcaster({...broadcasterArgs, walletStrategy}) ``` - Read more and find example usages on our [WalletStrategy Docs](https://docs.ts.injective.network/wallet/wallet-wallet-strategy) --- diff --git a/packages/wallets/wallet-cosmostation/README.md b/packages/wallets/wallet-cosmostation/README.md index 17d3c5245..9f21496b3 100644 --- a/packages/wallets/wallet-cosmostation/README.md +++ b/packages/wallets/wallet-cosmostation/README.md @@ -1,4 +1,4 @@ -# 🌟 Injective Protocol - Magic Wallet Strategy +# 🌟 Injective Protocol - Wallet Cosmostation @@ -13,7 +13,7 @@ _Package to use Magic Wallets on Injective via the wallet strategy._ ## 📚 Installation ```bash -yarn add @injectivelabs/wallet-magic +yarn add @injectivelabs/wallet-cosmostation ``` --- diff --git a/packages/wallets/wallet-evm/README.md b/packages/wallets/wallet-evm/README.md index 3e907bc8a..c0afacae1 100644 --- a/packages/wallets/wallet-evm/README.md +++ b/packages/wallets/wallet-evm/README.md @@ -1,4 +1,4 @@ -# 🌟 Injective Protocol - MetaMask Wallet Strategy +# 🌟 Injective Protocol - Wallet EVM Strategy @@ -6,7 +6,7 @@ [![npm-version](https://img.shields.io/npm/v/@injectivelabs/wallet-ts.svg)](https://www.npmjs.com/package/@injectivelabs/wallet-ts) [![license](https://img.shields.io/npm/l/express.svg)]() -_Package to use MetaMask Wallets on Injective via the wallet strategy._ +_Package to use Wallets EVM on Injective via the wallet strategy._ --- diff --git a/packages/wallets/wallet-private-key/README.md b/packages/wallets/wallet-private-key/README.md index 3e907bc8a..5d627097d 100644 --- a/packages/wallets/wallet-private-key/README.md +++ b/packages/wallets/wallet-private-key/README.md @@ -1,4 +1,4 @@ -# 🌟 Injective Protocol - MetaMask Wallet Strategy +# 🌟 Injective Protocol - Private Wallet Strategy @@ -6,7 +6,7 @@ [![npm-version](https://img.shields.io/npm/v/@injectivelabs/wallet-ts.svg)](https://www.npmjs.com/package/@injectivelabs/wallet-ts) [![license](https://img.shields.io/npm/l/express.svg)]() -_Package to use MetaMask Wallets on Injective via the wallet strategy._ +_Package to use Private Wallet on Injective via the wallet strategy._ --- diff --git a/packages/wallets/wallet-strategy/src/strategy/WalletStrategy.ts b/packages/wallets/wallet-strategy/src/strategy/WalletStrategy.ts index 1b63f8e18..013e6bbbb 100644 --- a/packages/wallets/wallet-strategy/src/strategy/WalletStrategy.ts +++ b/packages/wallets/wallet-strategy/src/strategy/WalletStrategy.ts @@ -149,6 +149,7 @@ export class WalletStrategy extends BaseWalletStrategy { strategies, }) } + /** * Case 1: Private Key is set dynamically * If we have a dynamically set private key, diff --git a/packages/wallets/wallet-trezor/README.md b/packages/wallets/wallet-trezor/README.md index ba9e4caed..7f9a52996 100644 --- a/packages/wallets/wallet-trezor/README.md +++ b/packages/wallets/wallet-trezor/README.md @@ -1,4 +1,4 @@ -# 🌟 Injective Protocol - Ledger Wallet Strategy +# 🌟 Injective Protocol - Trezor Wallet Strategy @@ -6,14 +6,14 @@ [![npm-version](https://img.shields.io/npm/v/@injectivelabs/wallet-ts.svg)](https://www.npmjs.com/package/@injectivelabs/wallet-ts) [![license](https://img.shields.io/npm/l/express.svg)]() -_Package to use Ledger Wallets on Injective via the wallet strategy._ +_Package to use Trezor Wallets on Injective via the wallet strategy._ --- ## 📚 Installation ```bash -yarn add @injectivelabs/wallet-ledger +yarn add @injectivelabs/wallet-trezor ``` ---