Skip to content

Commit f22d2fc

Browse files
authored
Merge pull request #1087 from blocknative/release/2.1.0
Release: 2.1.0 (main)
2 parents 925ef0f + 2993732 commit f22d2fc

File tree

93 files changed

+2127
-427
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+2127
-427
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ jobs:
394394
- image: cimg/node:16.13.1
395395
working_directory: ~/web3-onboard-monorepo/packages/web3auth
396396
steps:
397-
- node-build-steps
397+
- node-staging-build-steps
398398
build-staging-dcent:
399399
docker:
400400
- image: cimg/node:16.13.1

.github/workflows/issue-to-notion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
-H 'Authorization: Bearer '"$NOTION_TOKEN"'' \
1616
-H "Content-Type: application/json" \
1717
-H "Notion-Version: 2022-02-22" \
18-
--data '{"parent":{"type":"database_id","database_id":"'"$DATABASE_ID"'"},"icon":{"type":"emoji","emoji":"🐛"},"properties":{"Name":{"type":"title","title":[{"type":"text","text":{"content":"'"$TITLE"'"}}]},"Assigned":{"people":['${people:0:-1}']},"Status":{"select":{"name":"'"$STATUS"'"}},"Flag":{"multi_select":[{"name":"'"$FLAG"'"}]},"Type":{"multi_select":[{"name":"bug"}]},"Project":{"multi_select":[{"name":"'"$PROJECT_NAME"'"}]}},"children":[{"object":"block","type":"bookmark","bookmark":{"url":"'"$ISSUE_URL"'"}}]}'
18+
--data '{"parent":{"type":"database_id","database_id":"'"$DATABASE_ID"'"},"icon":{"type":"emoji","emoji":"🐛"},"properties":{"Name":{"type":"title","title":[{"type":"text","text":{"content":"'"$(echo $TITLE | tr '"' "'")"'"}}]},"Assigned":{"people":['${people:0:-1}']},"Status":{"select":{"name":"'"$STATUS"'"}},"Flag":{"multi_select":[{"name":"'"$FLAG"'"}]},"Type":{"multi_select":[{"name":"bug"}]},"Project":{"multi_select":[{"name":"'"$PROJECT_NAME"'"}]}},"children":[{"object":"block","type":"bookmark","bookmark":{"url":"'"$ISSUE_URL"'"}}]}'
1919
env:
2020
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
2121
STATE: ${{ github.event.issue.state }}
2222
ISSUE_URL: ${{ github.event.issue.html_url }}
2323
TITLE: ${{ github.event.issue.title }}
24-
FLAG: Next Sprint
24+
FLAG: Github
2525
STATUS: Backlog
2626
# Product Work Board
2727
DATABASE_ID: 29876f9a9b864ca39a984f42e17fd345

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
- **Minimal Dependencies**: All wallet dependencies are included in separate packages, so you only include the ones you want to use in your app.
66
- **Multiple Wallets and Accounts Connection**: Allow your users to connect multiple wallets and multiple accounts within each wallet at the same time to your app.
77
- **Multiple Chain Support**: Allow users to switch between chains/networks with ease.
8+
- **Account Center**: A persistent interface to manage wallet connections and networks, with a minimal version for mobile
9+
- **Notify**: Real-time transaction notifications for the connected wallet addresses for all transaction states
810
- **Wallet Provider Standardization**: All wallet modules expose a provider that is patched to be compliant with the [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193), [EIP-1102](https://eips.ethereum.org/EIPS/eip-1102), [EIP-3085](https://eips.ethereum.org/EIPS/eip-3085) and [EIP-3326](https://ethereum-magicians.org/t/eip-3326-wallet-switchethereumchain/5471) specifications.
9-
- **Dynamic Imports**: Supporting multiple wallets in your app requires a lot of dependencies. Onboard dynamically imports a wallet and it's dependencies only when the user selects it, so that minimal bandwidth is used.
11+
- **Dynamic Imports**: Supporting multiple wallets in your app requires a lot of dependencies. Onboard dynamically imports a wallet and its dependencies only when the user selects it, so that minimal bandwidth is used.
1012

1113
## Quickstart
1214

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.0.2",
3+
"version": "2.1.0",
44
"private": true,
55
"workspaces": [
66
"./packages/*"

packages/coinbase/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/coinbase",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"description": "Coinbase Wallet module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -21,6 +21,6 @@
2121
},
2222
"dependencies": {
2323
"@coinbase/wallet-sdk": "^3.0.5",
24-
"@web3-onboard/common": "2.1.1"
24+
"@web3-onboard/common": "2.1.2"
2525
}
2626
}

packages/common/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/common",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"scripts": {
55
"build": "rollup -c",
66
"dev": "rollup -c -w",

packages/common/src/elements/AddressTable.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656
5757
tbody tr:hover {
58-
background-color: var(
58+
background: var(
5959
--account-select-primary-100,
6060
var(--onboard-primary-100, var(--primary-100))
6161
);
@@ -70,7 +70,7 @@
7070
7171
.selected-row,
7272
.selected-row:hover {
73-
background-color: var(
73+
background: var(
7474
--account-select-primary-500,
7575
var(--onboard-primary-500, var(--primary-500))
7676
);

packages/common/src/elements/TableHeader.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272
7373
input:disabled {
74-
background-color: var(
74+
background: var(
7575
--account-select-gray-100,
7676
var(--onboard-gray-100, var(--gray-100))
7777
);
@@ -80,7 +80,7 @@
8080
input[type='checkbox'] {
8181
-webkit-appearance: none;
8282
width: auto;
83-
background-color: var(
83+
background: var(
8484
--account-select-white,
8585
var(--onboard-white, var(--white))
8686
);
@@ -105,7 +105,7 @@
105105
}
106106
107107
input[type='checkbox']:checked {
108-
background-color: var(
108+
background: var(
109109
--account-select-primary-500,
110110
var(--onboard-primary-500, var(--primary-500))
111111
);

packages/common/src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,8 @@ export interface Chain {
430430
color?: string
431431
icon?: string // svg string
432432
providerConnectionInfo?: ConnectionInfo
433+
publicRpcUrl?: string
434+
blockExplorerUrl?: string
433435
}
434436

435437
export type TokenSymbol = string // eg ETH

packages/common/src/views/AccountSelect.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
}
244244
245245
select:disabled {
246-
background-color: var(
246+
background: var(
247247
--account-select-gray-100,
248248
var(--onboard-gray-100, var(--gray-100))
249249
);
@@ -397,7 +397,7 @@
397397
right: 0.2rem;
398398
width: 2.5rem;
399399
height: 2.5rem;
400-
background-color: var(
400+
background: var(
401401
--account-select-white,
402402
var(--onboard-white, var(--white))
403403
);

0 commit comments

Comments
 (0)