Skip to content

Commit 2ecd5ad

Browse files
Merge branch 'main' into fix/add-svelte
2 parents aaf34c6 + e863ce1 commit 2ecd5ad

File tree

30 files changed

+2186
-780
lines changed

30 files changed

+2186
-780
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ If you want to contribute to `@txnlab/use-wallet`, please follow these steps to
4545
```bash
4646
pnpm install
4747
```
48+
4849
- We use pnpm v9 as our package manager. If you are not familiar with pnpm, please refer to the [pnpm documentation](https://pnpm.io/cli/install).
4950

5051
- We use [nvm](https://github.com/nvm-sh/nvm) to manage node versions. Please make sure to use the version mentioned in the `.nvmrc` file.

docs/getting-started/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ const manager = new WalletManager({
6464
WalletId.EXODUS,
6565
WalletId.KIBISIS,
6666
WalletId.LUTE,
67+
WalletId.W3_WALLET,
6768

6869
// Example of a wallet with optional customizations
6970
{

docs/getting-started/supported-wallets.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,19 @@ import { WalletId } from '@txnlab/use-wallet'
277277

278278
See the [Testing with Mnemonic Wallet](../guides/testing-with-mnemonic-wallet.md) guide for details about end-to-end (E2E) testing.
279279

280+
#### W3 Wallet
281+
282+
Multi-currency wallet with desktop, mobile, and browser extension support.
283+
284+
```typescript
285+
import { WalletId } from '@txnlab/use-wallet'
286+
287+
// Basic usage (no options required)
288+
WalletId.W3_WALLET
289+
```
290+
291+
* [W3 Wallet Website](https://w3wallet.app)
292+
280293
### Custom Provider
281294

282295
For integrating unsupported wallets or implementing specialized wallet interactions.

examples/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@perawallet/connect": "^1.4.1",
1515
"@txnlab/use-wallet-react": "workspace:*",
1616
"@walletconnect/modal": "^2.7.0",
17-
"@walletconnect/sign-client": "^2.21.3",
17+
"@walletconnect/sign-client": "^2.21.4",
1818
"algosdk": "3.3.1",
1919
"canonify": "2.1.1",
2020
"lute-connect": "^1.6.1",

examples/nextjs/src/app/providers.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ const walletManager = new WalletManager({
2323
id: WalletId.MAGIC,
2424
options: { apiKey: 'pk_live_D17FD8D89621B5F3' }
2525
},
26-
WalletId.MNEMONIC
26+
WalletId.MNEMONIC,
27+
WalletId.W3_WALLET
2728
],
2829
defaultNetwork: NetworkId.TESTNET
2930
})

examples/nuxt/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
"@txnlab/use-wallet": "workspace:*",
2020
"@txnlab/use-wallet-vue": "workspace:*",
2121
"@walletconnect/modal": "^2.7.0",
22-
"@walletconnect/sign-client": "^2.21.3",
22+
"@walletconnect/sign-client": "^2.21.4",
2323
"algosdk": "3.3.1",
2424
"canonify": "2.1.1",
2525
"lute-connect": "^1.6.1",
26-
"nuxt": "3.17.5",
26+
"nuxt": "3.17.6",
2727
"vue": "3.5.17",
2828
"vue-router": "4.5.1"
2929
},
3030
"devDependencies": {
3131
"@types/node": "20.11.30",
3232
"typescript": "5.8.3",
33-
"vue-tsc": "2.2.10"
33+
"vue-tsc": "2.2.12"
3434
}
35-
}
35+
}

examples/nuxt/plugins/walletManager.client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export default defineNuxtPlugin((nuxtApp) => {
3131
id: WalletId.MAGIC,
3232
options: { apiKey: 'pk_live_D17FD8D89621B5F3' }
3333
},
34-
WalletId.MNEMONIC
34+
WalletId.MNEMONIC,
35+
WalletId.W3_WALLET
3536
],
3637
defaultNetwork: NetworkId.TESTNET
3738
})

examples/react-ts/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@perawallet/connect": "^1.4.1",
1717
"@txnlab/use-wallet-react": "workspace:*",
1818
"@walletconnect/modal": "^2.7.0",
19-
"@walletconnect/sign-client": "^2.21.3",
19+
"@walletconnect/sign-client": "^2.21.4",
2020
"algosdk": "3.3.1",
2121
"canonify": "2.1.1",
2222
"lute-connect": "^1.6.1",
@@ -26,14 +26,14 @@
2626
"devDependencies": {
2727
"@types/react": "18.3.23",
2828
"@types/react-dom": "18.3.7",
29-
"@typescript-eslint/eslint-plugin": "8.34.1",
30-
"@typescript-eslint/parser": "8.34.1",
29+
"@typescript-eslint/eslint-plugin": "8.35.1",
30+
"@typescript-eslint/parser": "8.35.1",
3131
"@vitejs/plugin-react": "4.6.0",
3232
"eslint": "8.57.1",
3333
"eslint-plugin-react-hooks": "5.2.0",
3434
"eslint-plugin-react-refresh": "0.4.20",
3535
"typescript": "5.8.3",
3636
"vite": "6.3.5",
37-
"vite-plugin-node-polyfills": "0.23.0"
37+
"vite-plugin-node-polyfills": "0.24.0"
3838
}
39-
}
39+
}

examples/react-ts/src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ const walletManager = new WalletManager({
3434
id: WalletId.MAGIC,
3535
options: { apiKey: 'pk_live_D17FD8D89621B5F3' }
3636
},
37-
WalletId.MNEMONIC
37+
WalletId.MNEMONIC,
38+
WalletId.W3_WALLET
3839
],
3940
defaultNetwork: NetworkId.TESTNET
4041
})

examples/solid-ts/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@perawallet/connect": "^1.4.1",
1818
"@txnlab/use-wallet-solid": "workspace:*",
1919
"@walletconnect/modal": "^2.7.0",
20-
"@walletconnect/sign-client": "^2.21.3",
20+
"@walletconnect/sign-client": "^2.21.4",
2121
"algosdk": "3.3.1",
2222
"canonify": "2.1.1",
2323
"lute-connect": "^1.6.1",
@@ -26,7 +26,7 @@
2626
"devDependencies": {
2727
"typescript": "5.8.3",
2828
"vite": "6.3.5",
29-
"vite-plugin-node-polyfills": "0.23.0",
30-
"vite-plugin-solid": "2.11.6"
29+
"vite-plugin-node-polyfills": "0.24.0",
30+
"vite-plugin-solid": "2.11.7"
3131
}
32-
}
32+
}

0 commit comments

Comments
 (0)