Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Binance wallet deeplink #164

Merged
merged 2 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/reef-knot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# reef-knot

## 5.5.3

### Patch Changes

- @reef-knot/[email protected]

## 5.5.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/reef-knot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reef-knot",
"version": "5.5.2",
"version": "5.5.3",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
Expand Down Expand Up @@ -45,7 +45,7 @@
"@reef-knot/core-react": "4.2.1",
"@reef-knot/web3-react": "4.0.1",
"@reef-knot/ui-react": "2.1.3",
"@reef-knot/wallets-list": "2.2.2",
"@reef-knot/wallets-list": "2.2.3",
"@reef-knot/wallets-helpers": "2.1.0",
"@reef-knot/types": "2.1.0",
"@reef-knot/ledger-connector": "4.1.0"
Expand Down
7 changes: 7 additions & 0 deletions packages/wallets-list/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @reef-knot/wallets-list

## 2.2.3

### Patch Changes

- Updated dependencies
- @reef-knot/[email protected]

## 2.2.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/wallets-list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reef-knot/wallets-list",
"version": "2.2.2",
"version": "2.2.3",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
Expand Down Expand Up @@ -43,7 +43,7 @@
"@reef-knot/wallet-adapter-exodus": "2.1.0",
"@reef-knot/wallet-adapter-walletconnect": "2.0.1",
"@reef-knot/wallet-adapter-ambire": "2.0.1",
"@reef-knot/wallet-adapter-binance-wallet": "1.0.2",
"@reef-knot/wallet-adapter-binance-wallet": "1.0.3",
"@reef-knot/wallet-adapter-bitkeep": "2.1.0",
"@reef-knot/wallet-adapter-coin98": "2.1.0",
"@reef-knot/wallet-adapter-brave": "2.1.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/wallets/binance-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @reef-knot/wallet-adapter-binance-wallet

## 1.0.3

### Patch Changes

- Fix Binance wallet deeplink – use origin

## 1.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/binance-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reef-knot/wallet-adapter-binance-wallet",
"version": "1.0.2",
"version": "1.0.3",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/binance-wallet/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const id = 'binanceWallet';
export const name = 'Binance Web3 Wallet';

const deeplinkDAppUrl = globalThis.window
? globalThis.window.location.host + globalThis.window.location.pathname
? globalThis.window.location.origin + globalThis.window.location.pathname
: '';

export const BinanceWeb3Wallet: WalletAdapterType = ({ defaultChain }) => {
Expand Down
Loading