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

Feature- update appMetadata #1779

Merged
merged 20 commits into from
Jun 16, 2023
Merged

Feature- update appMetadata #1779

merged 20 commits into from
Jun 16, 2023

Conversation

leightkt
Copy link
Contributor

@leightkt leightkt commented Jun 15, 2023

Description

Allow for the updating of appMetadata after initialization

PLEASE NOTE- Checklist must be complete prior to review.

Checklist

  • Increment the version field in package.json of the package you have made changes in following semantic versioning and using alpha release tagging
  • Check the box that allows repo maintainers to update this PR
  • Test locally to make sure this feature/fix works
  • Run yarn check-all to confirm there are not any associated errors
  • Confirm this PR passes Circle CI checks
  • Add or update relevant information in the documentation

Docs Checklist

  • Include a screenshot of any changes (see docs README on running locally)
  • Add/update the appropriate package README (if applicable)
  • [NA] Add/update the related module in the docs demo (if applicable)
  • Add/update the related package in the docs/package.json file (if applicable)
Screenshot 2023-06-14 at 8 30 45 PM

@leightkt leightkt self-assigned this Jun 15, 2023
@vercel
Copy link

vercel bot commented Jun 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web3-onboard-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 8:08pm

@socket-security
Copy link

socket-security bot commented Jun 15, 2023

New and updated dependency changes detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives1 Size Publisher
@web3-onboard/core 🆕 2.19.2 None +0 661 kB cmeisl

Footnotes

  1. https://docs.socket.dev

@@ -217,6 +218,8 @@ function init(options: InitOptions): OnboardAPI {
unstoppableResolution
})

updateAppMetadata(appMetadata)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need an undefined check here and remove the default null initializer on ln 95

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated!

gettingStartedGuide: 'https://blocknative.com',
explore: 'https://blocknative.com'
},
// appMetadata: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be commented back in

@leightkt leightkt requested a review from Adamj1232 June 16, 2023 19:01
Copy link
Member

@Adamj1232 Adamj1232 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!!

@leightkt leightkt merged commit dbddeb8 into develop Jun 16, 2023
@leightkt leightkt deleted the feature/update-logo branch June 16, 2023 20:43
leightkt added a commit that referenced this pull request Jun 27, 2023
* update Google Analytics Script (#1770)

* feat: add OneKey wallet  (#1739)

* feat: Support OneKey wallet

* fix: OneKey docs

* Update injected package.json version

* Update demo package.json

---------

Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>

* Fix: Connect view on safari mobile & Remove unnecessary validation check for autoSelect (#1773)

* working as expected

* Bump versions

* Remove testing css

* Remove testing code from demo

* feat: add blocto wallet (#1699)

* Release 2.24.1 (develop) (#1776)

* Release 2.24.1 (docs) (#1778)

* Update +page.md (#1775)

* Feature- update appMetadata (#1779)

* update versions

* Upgrade wallet connect v2 packages (#1788)

---------

Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>
Co-authored-by: ByteZhang <ByteZhang@protonmail.com>
Co-authored-by: jimmy.pan <pan831225@gmail.com>
Co-authored-by: vanes <vanessa.mercado24@gmail.com>
leightkt added a commit that referenced this pull request Jun 27, 2023
* update Google Analytics Script (#1770)

* feat: add OneKey wallet  (#1739)

* feat: Support OneKey wallet

* fix: OneKey docs

* Update injected package.json version

* Update demo package.json

---------

Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>

* Fix: Connect view on safari mobile & Remove unnecessary validation check for autoSelect (#1773)

* working as expected

* Bump versions

* Remove testing css

* Remove testing code from demo

* feat: add blocto wallet (#1699)

* Release 2.24.1 (develop) (#1776)

* Release 2.24.1 (#1777)

* Update +page.md (#1775)

* Feature- update appMetadata (#1779)

* update versions

* Upgrade wallet connect v2 packages (#1788)

---------

Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>
Co-authored-by: ByteZhang <ByteZhang@protonmail.com>
Co-authored-by: jimmy.pan <pan831225@gmail.com>
Co-authored-by: vanes <vanessa.mercado24@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants