-
-
Notifications
You must be signed in to change notification settings - Fork 261
Steps for upgrading from v7 #584
Comments
it's a little bit hidden |
Thank you for the reply. |
This issue reproduces when upgrading from 7.0.5 (last v7 release) to 8.0.0-rc.1 The error shown in my original post triggers on the following line in our content script:
It looks like the whole popup & iframe logic was redone in 8.0.0 so it's really hard for me to look into what is going wrong. Is it possible to get help on this? |
here you go. working example with connect 8: |
Hmm, the example you posted definitely works for me. However, I created a minimal repro of my issue: https://github.com/SebastienGllmt/trezor-webpack You can see if you run the minimal repro, everything works fine. However, if you upgrade to version 8, it no longer works (fails to connect) Possibly the new mechanism trezor-connect now uses can only run in a background script? |
maybe because of this? |
Thb i've never tried to implement it elsewhere than background script, but if it works with 7 it should work with 8 too |
Ah yes, this is what changed! It works now! I updated my example repo to work with v8 also. Interestingly,
If you want, I can transfer ownership of my example repo to you or Trezor so you have an example to show people, but if you don't want to maintain it, that's fine. However, it's possible that maybe we should have put this in our background script from the start. |
It was added to changelog that this part was reworked, it was a massive change and i don't want point to every single line of code
|
with your permission i will use your example in this repo |
I made my example repo MIT so you can reuse any part of it you want or its entirety 👍 |
Hello,
I'm trying to upgrade Trezor-Connect inside Yoroi browser extension see this PR but I get the following error inside the connect.trezor.io page
I noticed the 8.0.0 changelog say
so presumably it's related, but I can't find examples of concretely what we have to change to upgrade our extension from v7 to v8.
The text was updated successfully, but these errors were encountered: