Skip to content

Commit 2a7edc9

Browse files
committed
Update Optimism label to OP Mainnet
1 parent 1df7db3 commit 2a7edc9

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": {

packages/solid/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/solid",
3-
"version": "2.0.3",
3+
"version": "2.0.4-alpha.1",
44
"description": "A collection of solid Composables for integrating Web3-Onboard in to a Solid project. 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, 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",
@@ -63,7 +63,7 @@
6363
},
6464
"dependencies": {
6565
"@web3-onboard/common": "^2.3.3",
66-
"@web3-onboard/core": "^2.21.5",
66+
"@web3-onboard/core": "^2.21.6-alpha.1",
6767
"solid-js": "^1.8.1"
6868
}
6969
}

packages/vue/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/vue",
3-
"version": "2.7.15",
3+
"version": "2.7.16-alpha.1",
44
"description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. 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, 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
"@vueuse/core": "^8.4.2",
6363
"@vueuse/rxjs": "^8.2.0",
6464
"@web3-onboard/common": "^2.3.4",
65-
"@web3-onboard/core": "^2.21.5",
65+
"@web3-onboard/core": "^2.21.6-alpha.1",
6666
"vue-demi": "^0.12.4"
6767
},
6868
"peerDependencies": {

yarn.lock

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6293,15 +6293,6 @@
62936293
ethers "5.5.4"
62946294
joi "17.9.1"
62956295

6296-
"@web3-onboard/injected-wallets@^2.10.14":
6297-
version "2.10.14"
6298-
resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.14.tgz#ad4f7585927651050caec232a62774f422fb9c01"
6299-
integrity sha512-lU/YCCYNr7+Qgg1lJ1vQofmJhMPZrkRTYO0lgkGsmLFVWZZ4rJIU1dm31h5iHm4nVUbw3ItYDICKsI1NgX46AQ==
6300-
dependencies:
6301-
"@web3-onboard/common" "^2.3.3"
6302-
joi "17.9.1"
6303-
lodash.uniqby "^4.7.0"
6304-
63056296
"@web3-react/abstract-connector@^6.0.7":
63066297
version "6.0.7"
63076298
resolved "https://registry.yarnpkg.com/@web3-react/abstract-connector/-/abstract-connector-6.0.7.tgz#401b3c045f1e0fab04256311be49d5144e9badc6"

0 commit comments

Comments
 (0)