diff --git a/packages/wallets/wallet-strategy/package.json b/packages/wallets/wallet-strategy/package.json index adc1a35a7..4bbcd3d65 100644 --- a/packages/wallets/wallet-strategy/package.json +++ b/packages/wallets/wallet-strategy/package.json @@ -43,7 +43,7 @@ "@injectivelabs/utils": "^1.14.14", "@injectivelabs/wallet-base": "^0.0.1", "@injectivelabs/wallet-core": "^0.0.1", - "@injectivelabs/wallet-connect": "^0.0.1", + "@injectivelabs/wallet-wallet-connect": "^0.0.1", "@injectivelabs/wallet-cosmos": "^0.0.1", "@injectivelabs/wallet-cosmostation": "^0.0.1", "@injectivelabs/wallet-evm": "^0.0.1", diff --git a/packages/wallets/wallet-strategy/src/strategy/WalletStrategy.ts b/packages/wallets/wallet-strategy/src/strategy/WalletStrategy.ts index ff6b49e7b..5e77ab408 100644 --- a/packages/wallets/wallet-strategy/src/strategy/WalletStrategy.ts +++ b/packages/wallets/wallet-strategy/src/strategy/WalletStrategy.ts @@ -17,7 +17,7 @@ import { EvmWalletStrategy } from '@injectivelabs/wallet-evm' import { BaseWalletStrategy } from '@injectivelabs/wallet-core' import { CosmosWalletStrategy } from '@injectivelabs/wallet-cosmos' import { TrezorWalletStrategy } from '@injectivelabs/wallet-trezor' -import { WalletConnectStrategy } from '@injectivelabs/wallet-connect' +import { WalletConnectStrategy } from '@injectivelabs/wallet-wallet-connect' import { PrivateKeyWalletStrategy } from '@injectivelabs/wallet-private-key' import { CosmostationWalletStrategy } from '@injectivelabs/wallet-cosmostation' diff --git a/packages/wallets/wallet-strategy/tsconfig.build.esm.json b/packages/wallets/wallet-strategy/tsconfig.build.esm.json index 898ce96ec..b1e2980b9 100644 --- a/packages/wallets/wallet-strategy/tsconfig.build.esm.json +++ b/packages/wallets/wallet-strategy/tsconfig.build.esm.json @@ -30,7 +30,7 @@ "path": "../wallet-base/tsconfig.build.esm.json" }, { - "path": "../wallet-connect/tsconfig.build.esm.json" + "path": "../wallet-wallet-connect/tsconfig.build.esm.json" }, { "path": "../wallet-core/tsconfig.build.esm.json" diff --git a/packages/wallets/wallet-strategy/tsconfig.build.json b/packages/wallets/wallet-strategy/tsconfig.build.json index d4db6977a..e4eec6c2d 100644 --- a/packages/wallets/wallet-strategy/tsconfig.build.json +++ b/packages/wallets/wallet-strategy/tsconfig.build.json @@ -32,7 +32,7 @@ "path": "../wallet-base/tsconfig.build.json" }, { - "path": "../wallet-connect/tsconfig.build.json" + "path": "../wallet-wallet-connect/tsconfig.build.json" }, { "path": "../wallet-core/tsconfig.build.json" diff --git a/packages/wallets/wallet-strategy/tsconfig.json b/packages/wallets/wallet-strategy/tsconfig.json index 6a63b47bd..f69ab438a 100644 --- a/packages/wallets/wallet-strategy/tsconfig.json +++ b/packages/wallets/wallet-strategy/tsconfig.json @@ -30,6 +30,9 @@ }, { "path": "../wallet-keplr/tsconfig.json" + }, + { + "path": "../wallet-wallet-connect/tsconfig.json" } ] } diff --git a/packages/wallets/wallet-connect/README.md b/packages/wallets/wallet-wallet-connect/README.md similarity index 89% rename from packages/wallets/wallet-connect/README.md rename to packages/wallets/wallet-wallet-connect/README.md index 17d3c5245..434a4d450 100644 --- a/packages/wallets/wallet-connect/README.md +++ b/packages/wallets/wallet-wallet-connect/README.md @@ -1,4 +1,4 @@ -# 🌟 Injective Protocol - Magic Wallet Strategy +# 🌟 Injective Protocol - Wallet connect 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 Magic Wallets on Injective via the wallet strategy._ +_Package to use Wallet Connect Wallets on Injective via the wallet strategy._ --- ## 📚 Installation ```bash -yarn add @injectivelabs/wallet-magic +yarn add @injectivelabs/wallet-wallet-connect ``` --- diff --git a/packages/wallets/wallet-connect/package.json b/packages/wallets/wallet-wallet-connect/package.json similarity index 96% rename from packages/wallets/wallet-connect/package.json rename to packages/wallets/wallet-wallet-connect/package.json index 66f7a440e..71e16f5d1 100644 --- a/packages/wallets/wallet-connect/package.json +++ b/packages/wallets/wallet-wallet-connect/package.json @@ -1,5 +1,5 @@ { - "name": "@injectivelabs/wallet-connect", + "name": "@injectivelabs/wallet-wallet-connect", "description": "Wallet connect strategy for use with @injectivelabs/wallet-core.", "version": "0.0.1", "sideEffects": false, @@ -15,7 +15,7 @@ "dist" ], "_moduleAliases": { - "~wallet-connect": "dist" + "~wallet-wallet-connect": "dist" }, "scripts": { "postinstall": "link-module-alias", diff --git a/packages/wallets/wallet-connect/src/index.ts b/packages/wallets/wallet-wallet-connect/src/index.ts similarity index 100% rename from packages/wallets/wallet-connect/src/index.ts rename to packages/wallets/wallet-wallet-connect/src/index.ts diff --git a/packages/wallets/wallet-connect/src/strategy/strategy.ts b/packages/wallets/wallet-wallet-connect/src/strategy/strategy.ts similarity index 100% rename from packages/wallets/wallet-connect/src/strategy/strategy.ts rename to packages/wallets/wallet-wallet-connect/src/strategy/strategy.ts diff --git a/packages/wallets/wallet-connect/tsconfig.build.esm.json b/packages/wallets/wallet-wallet-connect/tsconfig.build.esm.json similarity index 89% rename from packages/wallets/wallet-connect/tsconfig.build.esm.json rename to packages/wallets/wallet-wallet-connect/tsconfig.build.esm.json index a26f50ec9..cb6eda388 100644 --- a/packages/wallets/wallet-connect/tsconfig.build.esm.json +++ b/packages/wallets/wallet-wallet-connect/tsconfig.build.esm.json @@ -8,7 +8,7 @@ "allowSyntheticDefaultImports": true, "target": "ESNext", "moduleResolution": "Node", - "tsBuildInfoFile": "../../.build-cache/wallet-connect.esm.tsbuildinfo" + "tsBuildInfoFile": "../../.build-cache/wallet-wallet-connect.esm.tsbuildinfo" }, "references": [ { diff --git a/packages/wallets/wallet-connect/tsconfig.build.json b/packages/wallets/wallet-wallet-connect/tsconfig.build.json similarity index 89% rename from packages/wallets/wallet-connect/tsconfig.build.json rename to packages/wallets/wallet-wallet-connect/tsconfig.build.json index 490d702e7..d22431145 100644 --- a/packages/wallets/wallet-connect/tsconfig.build.json +++ b/packages/wallets/wallet-wallet-connect/tsconfig.build.json @@ -3,7 +3,7 @@ "compilerOptions": { "rootDir": "./src", "outDir": "./dist/cjs", - "tsBuildInfoFile": "../../.build-cache/wallet-connect.tsbuildinfo" + "tsBuildInfoFile": "../../.build-cache/wallet-wallet-connect.tsbuildinfo" }, "include": [ "./src/**/*.ts" diff --git a/packages/wallets/wallet-connect/tsconfig.json b/packages/wallets/wallet-wallet-connect/tsconfig.json similarity index 100% rename from packages/wallets/wallet-connect/tsconfig.json rename to packages/wallets/wallet-wallet-connect/tsconfig.json diff --git a/packages/wallets/wallet-connect/yarn.lock b/packages/wallets/wallet-wallet-connect/yarn.lock similarity index 100% rename from packages/wallets/wallet-connect/yarn.lock rename to packages/wallets/wallet-wallet-connect/yarn.lock diff --git a/tsconfig.json b/tsconfig.json index 0884855bd..ca3651291 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -39,6 +39,15 @@ "@injectivelabs/wallet-keplr": [ "packages/wallets/wallet-keplr" ], + "@injectivelabs/wallet-trezor": [ + "packages/wallets/wallet-trezor" + ], + "@injectivelabs/wallet-magic": [ + "packages/wallets/wallet-magic" + ], + "@injectivelabs/wallet-wallet-connect": [ + "packages/wallets/wallet-wallet-connect" + ], "@injectivelabs/wallet-strategy": [ "packages/wallets/wallet-strategy" ]