Skip to content

Commit

Permalink
Supporting versioned transactions in WalletConnect (#777)
Browse files Browse the repository at this point in the history
* Adding in the WalletConnect wallet-adapter

* Fixing type

* Advertising supported transaction versions

* Adding changeset

* Bumping jnwng/walletconnect-solana

* Reverting changes to file

* Reverting changes, adding caret

* Fixing formatting

* Updating deps

* Updating deps

* Fixing @solana/web3.js
  • Loading branch information
jnwng authored Jun 20, 2023
1 parent 0d0178c commit 18e023f
Show file tree
Hide file tree
Showing 59 changed files with 358 additions and 237 deletions.
5 changes: 5 additions & 0 deletions .changeset/eight-ligers-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@solana/wallet-adapter-walletconnect': patch
---

Add support for versioned transactions
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"pnpm": "^8.1.0",
"prettier": "^2.8.4",
"shx": "^0.3.4",
"turbo": "^1.8.2",
"turbo": "^1.10.3",
"typedoc": "^0.23.25",
"typescript": "~4.7.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"eventemitter3": "^4.0.7"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"@types/node-fetch": "^2.6.2",
"shx": "^0.3.4"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@solana/wallet-standard-wallet-adapter-react": "^1.0.1"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"@types/jest": "^28.1.8",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/starter/create-react-app-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@solana/wallet-adapter-react": "workspace:^0.15.30",
"@solana/wallet-adapter-react-ui": "workspace:^0.9.29",
"@solana/wallet-adapter-wallets": "workspace:^0.19.15",
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"react": "^18.2.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/starter/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@solana/wallet-adapter-react": "workspace:^0.15.30",
"@solana/wallet-adapter-react-ui": "workspace:^0.9.29",
"@solana/wallet-adapter-wallets": "workspace:^0.19.15",
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"antd": "^4.24.8",
"bs58": "^4.0.1",
"next": "^12.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/starter/material-ui-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@solana/wallet-adapter-material-ui": "workspace:^0.16.28",
"@solana/wallet-adapter-react": "workspace:^0.15.30",
"@solana/wallet-adapter-wallets": "workspace:^0.19.15",
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"notistack": "^2.0.8",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/starter/react-ui-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@solana/wallet-adapter-react": "workspace:^0.15.30",
"@solana/wallet-adapter-react-ui": "workspace:^0.9.29",
"@solana/wallet-adapter-wallets": "workspace:^0.19.15",
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/ant-design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"@ant-design/icons": "^4.8.0",
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"antd": "^4.24.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@emotion/styled": "^11.10.6",
"@mui/icons-material": "^5.11.9",
"@mui/material": "^5.11.10",
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/react-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@solana/wallet-adapter-react": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"react": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/wallets/alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/avana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/backpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/bitkeep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/bitpie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/blocto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@blocto/sdk": "^0.2.22",
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/brave/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/censo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"package": "shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.61.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@censo-custody/solana-wallet-adapter": "^0.1.0",
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/clover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/coin98/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^",
"bs58": "^4.0.1"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"@types/bs58": "^4.0.1",
"shx": "^0.3.4"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/wallets/coinbase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/coinhub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/exodus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/fractal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@fractalwagmi/solana-wallet-adapter": "^0.1.1",
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/glow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/huobi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/hyperpay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
4 changes: 2 additions & 2 deletions packages/wallets/keystone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
},
"peerDependencies": {
"@solana/web3.js": "^1.58.0"
"@solana/web3.js": "^1.74.0"
},
"dependencies": {
"@keystonehq/sol-keyring": "^0.3.1",
"@solana/wallet-adapter-base": "workspace:^"
},
"devDependencies": {
"@solana/web3.js": "^1.73.2",
"@solana/web3.js": "^1.74.0",
"shx": "^0.3.4"
}
}
Loading

0 comments on commit 18e023f

Please sign in to comment.