Skip to content

Commit

Permalink
Merge pull request #1220 from near/dev
Browse files Browse the repository at this point in the history
v8.9.14 Release (dev → main)
  • Loading branch information
gtsonevv authored Oct 23, 2024
2 parents 1340183 + 21049d4 commit 2fd7c12
Show file tree
Hide file tree
Showing 36 changed files with 239 additions and 165 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@

NEAR Wallet Selector makes it easy for users to interact with your dApp by providing an abstraction over various wallets within the NEAR ecosystem:

- [My NEAR Wallet](https://www.npmjs.com/package/@near-wallet-selector/my-near-wallet) - Browser wallet.
- [Mintbase Wallet](https://www.npmjs.com/package/@near-wallet-selector/mintbase-wallet) - Browser wallet.
- [Bitget Wallet](https://www.npmjs.com/package/@near-wallet-selector/bitget-wallet) - Injected wallet.
- [Bitte Wallet](https://www.npmjs.com/package/@near-wallet-selector/bitte-wallet) - Browser wallet.
- [Coin98 Wallet](https://www.npmjs.com/package/@near-wallet-selector/coin98-wallet) - Injected wallet.
- [Ethereum wallets](https://www.npmjs.com/package/@near-wallet-selector/ethereum-wallets) - Injected wallet.
- [Here Wallet](https://www.npmjs.com/package/@near-wallet-selector/here-wallet) - Mobile wallet.
- [Ledger](https://www.npmjs.com/package/@near-wallet-selector/ledger) - Hardware wallet.
- [Sender](https://www.npmjs.com/package/@near-wallet-selector/sender) - Injected wallet.
- [Math Wallet](https://www.npmjs.com/package/@near-wallet-selector/math-wallet) - Injected wallet.
- [Nightly](https://www.npmjs.com/package/@near-wallet-selector/nightly) - Injected wallet.
- [Meteor Wallet](https://www.npmjs.com/package/@near-wallet-selector/meteor-wallet) - Injected wallet.
- [Metamask Snap](https://www.npmjs.com/package/@near-wallet-selector/near-snap) - Injected wallet.
- [OKX Wallet](https://www.npmjs.com/package/@near-wallet-selector/okx-wallet) - Injected wallet.
- [Meteor Wallet](https://www.npmjs.com/package/@near-wallet-selector/meteor-wallet) - Injected wallet.
- [Mintbase Wallet](https://www.npmjs.com/package/@near-wallet-selector/mintbase-wallet) - Browser wallet.
- [My NEAR Wallet](https://www.npmjs.com/package/@near-wallet-selector/my-near-wallet) - Browser wallet.
- [Narwallets](https://www.npmjs.com/package/@near-wallet-selector/narwallets) - Injected wallet.
- [WELLDONE Wallet](https://www.npmjs.com/package/@near-wallet-selector/welldone-wallet) - Injected wallet.
- [Coin98 Wallet](https://www.npmjs.com/package/@near-wallet-selector/coin98-wallet) - Injected wallet.
- [Near Mobile Wallet](https://www.npmjs.com/package/@near-wallet-selector/near-mobile-wallet) - Mobile Wallet.
- [NearFi Wallet](https://www.npmjs.com/package/@near-wallet-selector/nearfi) - Mobile wallet.
- [Neth](https://www.npmjs.com/package/@near-wallet-selector/neth) - Injected wallet.
- [XDEFI Wallet](https://www.npmjs.com/package/@near-wallet-selector/xdefi) - Injected wallet.
- [Nightly](https://www.npmjs.com/package/@near-wallet-selector/nightly) - Injected wallet.
- [OKX Wallet](https://www.npmjs.com/package/@near-wallet-selector/okx-wallet) - Injected wallet.
- [Ramper Wallet](https://www.npmjs.com/package/@near-wallet-selector/ramper-wallet) - Injected wallet.
- [Bitget Wallet](https://www.npmjs.com/package/@near-wallet-selector/bitget-wallet) - Injected wallet.
- [Here Wallet](https://www.npmjs.com/package/@near-wallet-selector/here-wallet) - Mobile wallet.
- [NearFi Wallet](https://www.npmjs.com/package/@near-wallet-selector/nearfi) - Mobile wallet.
- [Near Mobile Wallet](https://www.npmjs.com/package/@near-wallet-selector/near-mobile-wallet) - Mobile Wallet.
- [Sender](https://www.npmjs.com/package/@near-wallet-selector/sender) - Injected wallet.
- [WalletConnect](https://www.npmjs.com/package/@near-wallet-selector/wallet-connect) - Bridge wallet.
- [Ethereum wallets](https://www.npmjs.com/package/@near-wallet-selector/ethereum-wallets) - Injected wallet.
- [WELLDONE Wallet](https://www.npmjs.com/package/@near-wallet-selector/welldone-wallet) - Injected wallet.
- [XDEFI Wallet](https://www.npmjs.com/package/@near-wallet-selector/xdefi) - Injected wallet.

## Preview

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ declare global {
// Get a project ID at https://cloud.walletconnect.com
const projectId = "30147604c5f01d0bc4482ab0665b5697";

// NOTE: This is the NEAR wallet playground used in dev mode.
// TODO: Replace with the NEAR chain after the protocol upgrade.
const near: Chain = {
id: 398,
name: "NEAR Protocol Testnet",
Expand All @@ -53,13 +51,13 @@ const near: Chain = {
symbol: "NEAR",
},
rpcUrls: {
default: { http: ["https://near-wallet-relayer.testnet.aurora.dev"] },
public: { http: ["https://near-wallet-relayer.testnet.aurora.dev"] },
default: { http: ["https://eth-rpc.testnet.near.org"] },
public: { http: ["https://eth-rpc.testnet.near.org"] },
},
blockExplorers: {
default: {
name: "NEAR Explorer",
url: "https://testnet.nearblocks.io",
url: "https://eth-explorer-testnet.near.org",
},
},
testnet: true,
Expand Down
9 changes: 4 additions & 5 deletions examples/react/contexts/WalletSelectorContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ const WalletSelectorContext =
// Get a project ID at https://cloud.walletconnect.com
const projectId = "30147604c5f01d0bc4482ab0665b5697";

// NOTE: This is the NEAR wallet playground used in dev mode.
// TODO: Replace with the NEAR chain after the protocol upgrade.
const near: Chain = {
id: 398,
name: "NEAR Protocol Testnet",
Expand All @@ -84,13 +82,13 @@ const near: Chain = {
symbol: "NEAR",
},
rpcUrls: {
default: { http: ["https://near-wallet-relayer.testnet.aurora.dev"] },
public: { http: ["https://near-wallet-relayer.testnet.aurora.dev"] },
default: { http: ["https://eth-rpc.testnet.near.org"] },
public: { http: ["https://eth-rpc.testnet.near.org"] },
},
blockExplorers: {
default: {
name: "NEAR Explorer",
url: "https://testnet.nearblocks.io",
url: "https://eth-explorer-testnet.near.org",
},
},
testnet: true,
Expand Down Expand Up @@ -137,6 +135,7 @@ export const WalletSelectorContextProvider: React.FC<{
if (!selector) {
return;
}
// Watch the connected Ethereum account and connect to the `ethereum-wallets` module automatically.
watchAccount(wagmiConfig, {
onChange: (data: GetAccountReturnType) => {
if (!data.address || selector.store.getState().selectedWalletId) {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "near-wallet-selector",
"version": "8.9.13",
"version": "8.9.14",
"description": "NEAR Wallet Selector makes it easy for users to interact with your dApp by providing an abstraction over various wallets within the NEAR ecosystem",
"keywords": [
"near",
Expand Down Expand Up @@ -94,7 +94,7 @@
"@here-wallet/core": "3.3.1",
"@jscutlery/semver": "5.3.1",
"@ledgerhq/hw-transport": "6.30.3",
"@ledgerhq/hw-transport-webhid": "6.29.2",
"@ledgerhq/hw-transport-webhid": "6.29.4",
"@metamask/detect-provider": "2.0.0",
"@meteorwallet/sdk": "1.0.9",
"@mintbase-js/wallet": "0.6.1",
Expand All @@ -107,8 +107,8 @@
"@walletconnect/modal": "2.6.2",
"@walletconnect/sign-client": "2.13.0",
"@web3modal/wagmi": "5.0.6",
"better-sqlite3": "11.2.1",
"big.js": "6.2.1",
"better-sqlite3": "11.3.0",
"big.js": "6.2.2",
"borsh": "0.7.0",
"browserify-fs": "1.0.0",
"bs58": "5.0.0",
Expand Down Expand Up @@ -223,4 +223,4 @@
"webpack": "5.75.0",
"webpack-merge": "5.8.0"
}
}
}
4 changes: 2 additions & 2 deletions packages/account-export/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-wallet-selector/account-export",
"version": "8.9.13",
"version": "8.9.14",
"description": "This is the Export Selector UI package for NEAR Wallet Selector.",
"keywords": [
"near",
Expand All @@ -23,4 +23,4 @@
"peerDependencies": {
"near-api-js": "4.0.3"
}
}
}
9 changes: 3 additions & 6 deletions packages/arepa-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-wallet-selector/arepa-wallet",
"version": "8.9.13",
"version": "8.9.14",
"description": "Arepa Wallet package for NEAR Wallet Selector.",
"keywords": [
"near",
Expand All @@ -20,8 +20,5 @@
"bugs": {
"url": "https://github.com/near/wallet-selector/issues"
},
"homepage": "https://github.com/near/wallet-selector/tree/main/packages/arepa-wallet",
"peerDependencies": {
"near-api-js": "4.0.3"
}
}
"homepage": "https://github.com/near/wallet-selector/tree/main/packages/arepa-wallet"
}
4 changes: 2 additions & 2 deletions packages/bitget-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-wallet-selector/bitget-wallet",
"version": "8.9.13",
"version": "8.9.14",
"description": "Bitget wallet package for NEAR Wallet Selector.",
"keywords": [
"near",
Expand All @@ -21,4 +21,4 @@
"url": "https://github.com/near/wallet-selector/issues"
},
"homepage": "https://github.com/near/wallet-selector/tree/main/packages/bitget-wallet"
}
}
4 changes: 2 additions & 2 deletions packages/bitte-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-wallet-selector/bitte-wallet",
"version": "8.9.13",
"version": "8.9.14",
"description": "Bitte wallet package for NEAR Wallet Selector.",
"keywords": [
"near",
Expand All @@ -21,4 +21,4 @@
"url": "https://github.com/near/wallet-selector/issues"
},
"homepage": "https://github.com/near/wallet-selector/tree/main/packages/bitte-wallet"
}
}
4 changes: 2 additions & 2 deletions packages/coin98-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-wallet-selector/coin98-wallet",
"version": "8.9.13",
"version": "8.9.14",
"description": "Coin 98 wallet package for NEAR Wallet Selector.",
"keywords": [
"near",
Expand All @@ -21,4 +21,4 @@
"url": "https://github.com/near/wallet-selector/issues"
},
"homepage": "https://github.com/near/wallet-selector/tree/main/packages/coin98-wallet"
}
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-wallet-selector/core",
"version": "8.9.13",
"version": "8.9.14",
"description": "This is the core package for NEAR Wallet Selector.",
"keywords": [
"near",
Expand All @@ -23,4 +23,4 @@
"near-api-js": "4.0.3",
"@near-js/providers": "latest"
}
}
}
Loading

0 comments on commit 2fd7c12

Please sign in to comment.