Skip to content

Commit 3b83b74

Browse files
Merge pull request #1266 from blocknative/release/2.11.0
Release: 2.11.0 (main)
2 parents 50833aa + 44b4b6c commit 3b83b74

File tree

26 files changed

+298
-29
lines changed

26 files changed

+298
-29
lines changed

.circleci/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,12 @@ jobs:
303303
working_directory: ~/web3-onboard-monorepo/packages/sequence
304304
steps:
305305
- node-build-steps
306+
build-tallyho:
307+
docker:
308+
- image: cimg/node:16.13.1
309+
working_directory: ~/web3-onboard-monorepo/packages/tallyho
310+
steps:
311+
- node-build-steps
306312

307313
# Build staging/Alpha releases
308314
build-staging-core:
@@ -443,6 +449,12 @@ jobs:
443449
working_directory: ~/web3-onboard-monorepo/packages/sequence
444450
steps:
445451
- node-staging-build-steps
452+
build-staging-tallyho:
453+
docker:
454+
- image: cimg/node:16.13.1
455+
working_directory: ~/web3-onboard-monorepo/packages/tallyho
456+
steps:
457+
- node-staging-build-steps
446458

447459
workflows:
448460
version: 2
@@ -585,3 +597,9 @@ workflows:
585597
<<: *deploy_production_filters
586598
- build-staging-sequence:
587599
<<: *deploy_staging_filters
600+
tallyho:
601+
jobs:
602+
- build-tallyho:
603+
<<: *deploy_production_filters
604+
- build-staging-tallyho:
605+
<<: *deploy_staging_filters

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ For full documentation, check out the README.md for each package:
9696
- [MEW](packages/mew/README.md)
9797
- [Web3Auth](packages/web3auth/README.md)
9898
- [Sequence](packages/sequence/README.md)
99+
- [TallyHo](packages/tallyho/README.md)
99100

100101
**Hardware Wallets**
101102

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-onboard-monorepo",
3-
"version": "2.10.0",
3+
"version": "2.11.0",
44
"private": true,
55
"workspaces": {
66
"packages": ["./packages/*"],

packages/core/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,9 +858,11 @@ The Onboard styles can customized via [CSS variables](https://developer.mozilla.
858858
--onboard-wallet-button-background
859859
--onboard-wallet-button-background-hover
860860
--onboard-wallet-button-color
861+
--onboard-wallet-button-color-hover
861862
--onboard-wallet-button-border-color
862863
--onboard-wallet-button-border-radius
863864
--onboard-wallet-button-box-shadow
865+
--onboard-wallet-button-box-shadow-hover
864866
--onboard-wallet-app-icon-border-color
865867

866868
/* CUSTOMIZE THE SHARED MODAL */

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/core",
3-
"version": "2.8.2",
3+
"version": "2.8.3",
44
"description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ function mountApp() {
328328

329329
if (!containerElement) {
330330
throw new Error(
331-
`Element with query ${state.get().accountCenter} does not exist.`
331+
`Element with query ${containerElementQuery} does not exist.`
332332
)
333333
}
334334

packages/core/src/views/connect/Index.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
}
116116
117117
connectingErrorMessage = ''
118-
118+
scrollToTop()
119119
// change step on next event loop
120120
setTimeout(() => setStep('connectingWallet'), 1)
121121
} catch (error) {
@@ -196,8 +196,10 @@
196196
trackWallet(provider, label)
197197
updateSelectedWallet(update)
198198
setStep('connectedWallet')
199+
scrollToTop()
199200
} catch (error) {
200201
const { code } = error as { code: number; message: string }
202+
scrollToTop()
201203
202204
// user rejected account access
203205
if (code === ProviderRpcErrorCode.ACCOUNT_ACCESS_REJECTED) {

packages/core/src/views/connect/WalletButton.svelte

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
--onboard-wallet-button-background-hover,
3434
var(--onboard-primary-100, var(--primary-100))
3535
);
36+
color: var(
37+
--onboard-wallet-button-color-hover,
38+
var(--onboard-gray-700, var(--gray-700))
39+
);
3640
}
3741
3842
button.connected {
@@ -53,6 +57,10 @@
5357
);
5458
box-shadow: var(--onboard-wallet-button-box-shadow, var(--box-shadow-0));
5559
}
60+
61+
button.wallet-button-styling:hover {
62+
box-shadow: var(--onboard-wallet-button-box-shadow-hover, var(--box-shadow-0));
63+
}
5664
</style>
5765

5866
<button

packages/demo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@web3-onboard/fortmatic": "^2.0.13",
2929
"@web3-onboard/gas": "^2.1.2",
3030
"@web3-onboard/gnosis": "^2.1.2",
31-
"@web3-onboard/injected-wallets": "^2.2.1",
31+
"@web3-onboard/injected-wallets": "^2.2.2",
3232
"@web3-onboard/keepkey": "^2.3.0",
3333
"@web3-onboard/keystone": "^2.3.0",
3434
"@web3-onboard/ledger": "^2.3.0",
@@ -37,6 +37,7 @@
3737
"@web3-onboard/sequence": "^2.0.1",
3838
"@web3-onboard/torus": "^2.1.2",
3939
"@web3-onboard/trezor": "^2.3.0",
40+
"@web3-onboard/tallyho": "^2.0.0",
4041
"@web3-onboard/walletconnect": "^2.1.2",
4142
"@web3-onboard/web3auth": "^2.1.2",
4243
"vconsole": "^3.9.5"

packages/demo/src/App.svelte

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import gas from '@web3-onboard/gas'
1717
import dcentModule from '@web3-onboard/dcent'
1818
import sequenceModule from '@web3-onboard/sequence'
19+
import tallyHoModule from '@web3-onboard/tallyho'
1920
import {
2021
recoverAddress,
2122
arrayify,
@@ -84,6 +85,7 @@
8485
const keepkey = keepkeyModule()
8586
const keystone = keystoneModule()
8687
const gnosis = gnosisModule()
88+
const tallyho = tallyHoModule()
8789
8890
const trezorOptions = {
8991
@@ -104,21 +106,22 @@
104106
105107
const onboard = Onboard({
106108
wallets: [
109+
injected,
107110
web3auth,
108111
ledger,
109112
trezor,
110113
walletConnect,
111114
keepkey,
112115
keystone,
113116
coinbaseWallet,
114-
injected,
115117
magic,
116118
fortmatic,
117119
portis,
118120
torus,
119121
gnosis,
120122
dcent,
121-
sequence
123+
sequence,
124+
tallyho
122125
],
123126
gas,
124127
chains: [

0 commit comments

Comments
 (0)