Skip to content

Commit 00b65ea

Browse files
Adamj1232taylorjdawsonbrendanwwAdam Carpentercb-jake
authored
Release: 1.37.1 - Master (#789)
* update walletlink to 2.4.4 * 1.37.0-0.0.2 - Update yarn.lock deps to run in Node v12 container (#786) * update yarn.lock to run in Node v12 container * Update package.json ver Co-authored-by: Adam Carpenter <Adam@blocknative.com> * 1.37.0-0.0.3 - Update to PR checklist for fork merges to run yarn with nove v12 (#787) * Update to PR checklist for fork merges to run yarn with nove v12 * Ver inc Co-authored-by: Adam Carpenter <Adam@blocknative.com> * Inc version number * 1.37.0-0.0.4 : use window.ethereum provider if available (#777) * coinbase wallet use window.ethereum vs. web3 * bump minor version Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com> Co-authored-by: Taylor Dawson <taylorjdawson@gmail.com> Co-authored-by: Brendan Weinstein <brendan.weinstein@coinbase.com> Co-authored-by: Adam Carpenter <Adam@blocknative.com> Co-authored-by: cb-jake <95890768+cb-jake@users.noreply.github.com>
1 parent 44e2070 commit 00b65ea

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bnc-onboard",
3-
"version": "1.37.0",
3+
"version": "1.37.1",
44
"description": "Onboard users to web3 by allowing them to select a wallet, get that wallet ready to transact and have access to synced wallet state.",
55
"keywords": [
66
"ethereum",
@@ -82,7 +82,7 @@
8282
"hdkey": "^2.0.1",
8383
"regenerator-runtime": "^0.13.7",
8484
"trezor-connect": "^8.1.9",
85-
"walletlink": "^2.2.6",
85+
"walletlink": "^2.4.4",
8686
"web3-provider-engine": "^15.0.4"
8787
},
8888
"resolutions": {

pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
- [ ] The version field in `package.json` is incremented following [semantic versioning](https://semver.org/)
66
- [ ] The box that allows repo maintainers to update this PR is checked
77
- [ ] I tested locally to make sure this feature/fix works
8-
- [ ] This PR passes the Circle CI checks
8+
- [ ] This PR passes the Circle CI checks (if **merging a fork** run `yarn` with node version 12.22.7 to ensure no errors)

src/modules/select/wallets/coinbase.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ function coinbase(options: CommonWalletOptions): WalletModule {
1313
wallet: async (helpers: Helpers) => {
1414
const { getProviderName, createLegacyProviderInterface } = helpers
1515
const provider =
16-
(window as any).web3 && (window as any).web3.currentProvider
16+
(window as any).ethereum ||
17+
((window as any).web3 && (window as any).web3.currentProvider)
1718

1819
return {
1920
provider,

yarn.lock

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3530,7 +3530,7 @@ buffer-xor@^1.0.3:
35303530
resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9"
35313531
integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=
35323532

3533-
buffer@6.0.3, buffer@^6.0.3:
3533+
buffer@6.0.3:
35343534
version "6.0.3"
35353535
resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6"
35363536
integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==
@@ -9389,7 +9389,7 @@ util@^0.11.0:
93899389
dependencies:
93909390
inherits "2.0.3"
93919391

9392-
util@^0.12.0, util@^0.12.4:
9392+
util@^0.12.0:
93939393
version "0.12.4"
93949394
resolved "https://registry.yarnpkg.com/util/-/util-0.12.4.tgz#66121a31420df8f01ca0c464be15dfa1d1850253"
93959395
integrity sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==
@@ -9465,15 +9465,14 @@ vm-browserify@^1.0.1:
94659465
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
94669466
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==
94679467

9468-
walletlink@^2.2.6:
9469-
version "2.2.6"
9470-
resolved "https://registry.yarnpkg.com/walletlink/-/walletlink-2.2.6.tgz#cfea3ba94e5ea33e87b0a2f31151a77ee1a59d72"
9471-
integrity sha512-4TF1kkpo9aq1QlfKv6jTCEsV8Rc+1RIuXn2EtsTJt9/H02fG3oy7k49sqB4gXZ9CWN48yoXnmSwq1GdkvfYGjw==
9468+
walletlink@^2.4.4:
9469+
version "2.4.4"
9470+
resolved "https://registry.yarnpkg.com/walletlink/-/walletlink-2.4.4.tgz#dc2a71d1d235335ef844cfb83da7eb9c264521d0"
9471+
integrity sha512-BzEfSXhykuVYv0Ltv0nQtxkCzBGQk7tJ1D46wF7N/P23USiJap48i8YXa1o+5WmcxonWwA3//HWVkguJ6vHwMg==
94729472
dependencies:
94739473
"@metamask/safe-event-emitter" "2.0.0"
94749474
bind-decorator "^1.0.11"
94759475
bn.js "^5.1.1"
9476-
buffer "^6.0.3"
94779476
clsx "^1.1.0"
94789477
eth-block-tracker "4.4.3"
94799478
eth-json-rpc-filters "4.2.2"
@@ -9484,7 +9483,6 @@ walletlink@^2.2.6:
94849483
preact "^10.5.9"
94859484
rxjs "^6.6.3"
94869485
stream-browserify "^3.0.0"
9487-
util "^0.12.4"
94889486

94899487
warning@^4.0.3:
94909488
version "4.0.3"

0 commit comments

Comments
 (0)