Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Return bn_protect protect btn to update the user's RPC, Fix Frame wallet icon #1841

Merged
merged 5 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
"@web3-onboard/blocto": "^2.0.0",
"@web3-onboard/cede-store": "^2.1.0-alpha.1",
"@web3-onboard/coinbase": "^2.2.5-alpha.1",
"@web3-onboard/core": "^2.20.4",
"@web3-onboard/core": "^2.20.5-alpha.1",
"@web3-onboard/dcent": "^2.2.7",
"@web3-onboard/enkrypt": "^2.0.4",
"@web3-onboard/fortmatic": "^2.0.19",
"@web3-onboard/frame": "^2.0.1",
"@web3-onboard/frame": "^2.0.2-alpha.1",
"@web3-onboard/frontier": "^2.0.4",
"@web3-onboard/gas": "^2.1.8",
"@web3-onboard/gnosis": "^2.1.10",
Expand Down
1 change: 1 addition & 0 deletions docs/src/lib/services/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ const intiOnboard = async (theme) => {
})

return Onboard({
connect: { autoConnectAllPreviousWallet: true },
wallets: [
injected,
walletConnect,
Expand Down
8 changes: 7 additions & 1 deletion docs/src/routes/docs/[...3]modules/[...1]core/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,15 @@ type ConnectModalOptions = {
*/
wheresMyWalletLink?: string
/**
* Hide the where is my wallet link notice displayed in the connect modal
* Hide the "Where is my wallet?" link notice displayed in the connect modal
* at the bottom of the wallets list
*/
removeWhereIsMyWalletWarning?: boolean
/**
* Hide the "I don't have a wallet" link displayed
* on the left panel of the connect modal
*/
removeIDontHaveAWalletInfoLink?: boolean
/**
* @deprecated Has no effect unless `@web3-onboard/unstoppable-resolution`
* package has been added and passed into the web3-onboard initialization
Expand Down
397 changes: 238 additions & 159 deletions docs/yarn.lock

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,15 @@ type ConnectModalOptions = {
*/
wheresMyWalletLink?: string
/**
* Hide the where is my wallet link notice displayed in the connect modal
* Hide the "Where is my wallet?" link notice displayed in the connect modal
* at the bottom of the wallets list
*/
removeWhereIsMyWalletWarning?: boolean
/**
* Hide the "I don't have a wallet" link displayed
* on the left panel of the connect modal
*/
removeIDontHaveAWalletInfoLink?: boolean
/**
* @deprecated Has no effect unless `@web3-onboard/unstoppable-resolution`
* package has been added and passed into the web3-onboard initialization
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/core",
"version": "2.20.4",
"version": "2.20.5-alpha.1",
"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.",
"keywords": [
"Ethereum",
Expand Down
8 changes: 7 additions & 1 deletion packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,15 @@ export type ConnectModalOptions = {
*/
wheresMyWalletLink?: string
/**
* Hide the where is my wallet link notice displayed in the connect modal
* Hide the "Where is my wallet?" link notice displayed in the connect modal
* at the bottom of the wallets list
*/
removeWhereIsMyWalletWarning?: boolean
/**
* Hide the "I don't have a wallet" link displayed
* on the left panel of the connect modal
*/
removeIDontHaveAWalletInfoLink?: boolean
/**
* @deprecated Has no effect unless `@web3-onboard/unstoppable-resolution`
* package has been added and passed into the web3-onboard initialization
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ const connectModalOptions = Joi.object({
iDontHaveAWalletLink: Joi.string(),
wheresMyWalletLink: Joi.string(),
removeWhereIsMyWalletWarning: Joi.boolean(),
removeIDontHaveAWalletInfoLink: Joi.boolean(),
disableUDResolution: Joi.boolean()
})

Expand Down
Loading
Loading