Skip to content

Commit 45ce92d

Browse files
authored
[UPDATE] - Label from Optimism -> OP Mainnet (#2152)
* Bump versions for release and Remove console.log * Update Optimism label to OP Mainnet
1 parent 6383cd5 commit 45ce92d

File tree

13 files changed

+18
-27
lines changed

13 files changed

+18
-27
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@web3-onboard/capsule": "^2.0.1",
5959
"@web3-onboard/cede-store": "^2.2.0",
6060
"@web3-onboard/coinbase": "^2.2.7",
61-
"@web3-onboard/core": "^2.21.5",
61+
"@web3-onboard/core": "^2.21.6-alpha.1",
6262
"@web3-onboard/dcent": "^2.2.7",
6363
"@web3-onboard/enkrypt": "^2.0.4",
6464
"@web3-onboard/fortmatic": "^2.0.19",

docs/src/lib/services/onboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ const intiOnboard = async (theme) => {
245245
{
246246
id: '0xA',
247247
token: 'OETH',
248-
label: 'Optimism',
248+
label: 'OP Mainnet',
249249
rpcUrl: 'https://mainnet.optimism.io'
250250
},
251251
{

docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ web3-onboard supports ALL EVM networks. Supporting a new network is simply a mat
4141
- Arbitrum Nova
4242
- Base
4343
- Polygon
44-
- Optimism
44+
- OP Mainnet
4545
- Avalanche
4646
- BNB Chain
4747
- Celo

docs/src/routes/docs/[...3]modules/[...1]core/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ const onboard = Onboard({
669669
{
670670
id: 10,
671671
token: 'OETH',
672-
label: 'Optimism',
672+
label: 'OP Mainnet',
673673
rpcUrl: 'https://mainnet.optimism.io'
674674
},
675675
{

docs/src/routes/examples/[...1]connect-wallet/+page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const chains = [
147147
{
148148
id: '0xA',
149149
token: 'OETH',
150-
label: 'Optimism',
150+
label: 'OP Mainnet',
151151
rpcUrl: 'https://mainnet.optimism.io'
152152
},
153153
{
@@ -415,7 +415,7 @@ const chains = [
415415
{
416416
id: '0xA',
417417
token: 'OETH',
418-
label: 'Optimism',
418+
label: 'OP Mainnet',
419419
rpcUrl: 'https://mainnet.optimism.io'
420420
},
421421
{

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.21.5",
3+
"version": "2.21.6-alpha.1",
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/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ export const chainIdToLabel: Record<string, string> = {
129129
'0x38': 'Binance',
130130
'0x89': 'Polygon',
131131
'0xfa': 'Fantom',
132-
'0xa': 'Optimism',
133-
'0x45': 'Optimism Kovan',
132+
'0xa': 'OP Mainnet',
133+
'0x45': 'OP Kovan',
134134
'0xa86a': 'Avalanche',
135135
'0xa4ec': 'Celo',
136136
'0x2105': 'Base',

packages/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@web3-onboard/blocto": "^2.0.1",
3333
"@web3-onboard/capsule": "2.0.1",
3434
"@web3-onboard/cede-store": "^2.2.0",
35-
"@web3-onboard/core": "^2.21.5",
35+
"@web3-onboard/core": "^2.21.6-alpha.1",
3636
"@web3-onboard/coinbase": "^2.2.7",
3737
"@web3-onboard/dcent": "^2.2.7",
3838
"@web3-onboard/enkrypt": "^2.0.3",

packages/demo/src/App.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@
346346
{
347347
id: 10,
348348
token: 'OETH',
349-
label: 'Optimism',
349+
label: 'OP Mainnet',
350350
rpcUrl: 'https://mainnet.optimism.io'
351351
},
352352
{
@@ -765,7 +765,7 @@
765765
>Set Chain to Matic</button
766766
>
767767
<button on:click={() => onboard.setChain({ chainId: 10 })}
768-
>Set Chain to Optimism</button
768+
>Set Chain to OP Mainnet</button
769769
>
770770
</div>
771771
<div class="position-buttons">

packages/react/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/react",
3-
"version": "2.8.16",
3+
"version": "2.8.17-alpha.1",
44
"description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, 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",
@@ -62,7 +62,7 @@
6262
},
6363
"dependencies": {
6464
"@web3-onboard/common": "^2.3.3",
65-
"@web3-onboard/core": "^2.21.5",
65+
"@web3-onboard/core": "^2.21.6-alpha.1",
6666
"use-sync-external-store": "1.0.0"
6767
},
6868
"peerDependencies": {

0 commit comments

Comments
 (0)