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: convert to mv3 🎉 #53

Merged
merged 45 commits into from
Jan 9, 2023
Merged

feature: convert to mv3 🎉 #53

merged 45 commits into from
Jan 9, 2023

Conversation

0xisk
Copy link
Member

@0xisk 0xisk commented Dec 23, 2022

Explanation

  • Converting to MV3.

More Information

  1. Fixes Update Manifest to V3 #31
  2. Fixes Converting MetamaskService from the backgorund to a sepearte service for the UI #52
  3. Fixes Importing rln.js to integreate with RLN #42
  4. Fixes Encrypting Identities #54
  5. Fixes Update React / other dependencies #41
  6. Fixes import @rln.js package #49
  7. Fixes Convert browser.* APIs to chrome.* APIs #50
  8. Fixes Github fork issue #39
  9. Fixes Build: Appear the account address in the UI #17
  10. Fixes Replace @zk-kit/identity package #47
  11. Fixes Import @semaphore/ packages #48
  12. Fixes Replace @zk-kit/protocols package #44
  13. Fixes Enhance: "Add Identity" select list colors #4
  14. Fixes Build: Adding "Delete" option in the "..." Account settings button #15
  15. Fixes Enhance: "Add Identity" user output steps #5
  16. Fixes fix: "Add Identity" sign bug #21
  17. Fixes Build: implement the "enter" button click for the "unlock" #12
  18. Fixes Fix: failed to send onMessage error #22
  19. Fixes Fix: locking the wallet after removing the browser window #20
  20. Fixes build: adding "Rename" option to the account settings #25
  21. Fixes Enhance: wallet extension logo icon #7

Screenshots/Screencaps

Before

After

Manual Testing Steps

Pre-Merge Checklist

  • PR template is filled out
  • IF this PR fixes a bug, a test that would have caught the bug has been added
  • PR is linked to the appropriate GitHub issue
  • PR has been added to the appropriate release Milestone

+ If there are functional changes:

  • Manual testing complete & passed
  • "Extension QA Board" label has been applied

Iskander added 30 commits September 19, 2022 12:16
but its not the best way still, we need to use `importScripts()` better.

fix: removing unneeded packages for now `circomlibjs` and `ffjavascript`
…ch) => Promise<void>' is not assignable to parameter of type 'AnyAction'`
1. ERROR in src/background/services/protocols/semaphore.ts(65,89)
      TS2345: Argument of type 'SemaphoreFullProof' is not assignable to parameter of type 'Proof'.
  Type 'SemaphoreFullProof' is missing the following properties from type 'Proof': pi_a, pi_b, pi_c, protocol, curve

2. ERROR in src/background/services/protocols/semaphore.ts(51,21)
      TS2554: Expected 4 arguments, but got 5.

3. ERROR in src/background/services/protocols/semaphore.ts(7,5)
      TS2305: Module '"@zk-kit/protocols"' has no exported member 'genSignalHash'.

4. ERROR in src/background/services/protocols/rln.ts(42,21)
      TS2554: Expected 4 arguments, but got 5.
- Removing `@zk-kit/protocols` and `@zk-kit/identity`
- Importing `@semaphore-protocol/identity` and `rlnjs`
- Fixing main Readme typo
- Importing `@semaphore-protocol/group` and `@zk-kit/incremental-merkle-tree`
- Trying to temporary overcome eval() csp issue by running clean.sh after compiling.
- fixing webpack issue

build:
- Updating all packages in package.json including react.js to v18
@0xisk 0xisk self-assigned this Dec 23, 2022
@0xisk 0xisk added 🌱 new feature Troubleshooting new feature issues 🚀 release Troubleshooting releasing issues labels Dec 23, 2022
@0xisk 0xisk added this to the Successful Beta Release milestone Dec 23, 2022
@0xisk 0xisk linked an issue Dec 23, 2022 that may be closed by this pull request
Copy link
Collaborator

@AtHeartEngineer AtHeartEngineer left a comment

Choose a reason for hiding this comment

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

Nice!!! I'm seeing some UI spacing problems, but functionality-wise its working, so I think we should publish this as a beta version and start getting feedback.

@0xisk 0xisk merged commit 089334a into master Jan 9, 2023
@0xmad 0xmad deleted the feature/convert-mv3 branch February 21, 2023 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment