-
-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
6687a20
to
fa0deae
Compare
Hello guys, updated this PR once again. We should be using I have tested this build locally with metamask-extension and it did work. The only problem is that I havent updated your tests here yet because I am not very familiar with mocha. Mocha tests will run happily against |
actually, we could pass argument lazyLoad: true which postpones iframe creation until something is called on trezor. and since all the methods that would trigger iframe creation later on are stubbed in your tests, it actually never happens and we don't need to have document object available. |
I have created a branch on the extension repo that uses this branch to build the eth-trezor-keyring package. We can do QA against that before we merge this PR |
a couple of lint errors running |
@danjm Is request or statement? Shall we run |
pushed result of |
@mroz22 sorry for letting this get stale. Would you mind rebasing when you have a chance? |
sure. I also squashed the fixups, but no changes were made besides that. |
tried that locally, and I hate to say that, but it worked. will try again tomorrow with fresh head and possibly some fresh install of everything |
Not sure I follow? |
I tried to get the same error you posted here locally on my machine. steps roughly:
and it did not give any error. can't it be something with CI cache possibly? |
hmmm it fails for me running it locally with the same steps. You must have |
Got it.
|
Socket Security Pull Request Report👍 No new dependency issues detected in pull request Pull request report summary
Bot CommandsTo ignore an alert, reply with a comment starting with Ignoring: Powered by socket.dev |
Hi @adonesky1, I pushed changes (4b94610) which should fix the tslib issue. Could you please approve running the tests workflow? 🙏 |
@SocketSecurity ignore keccak@3.0.3 secp256k1@4.0.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@mroz22 could you actually bump |
@adonesky1 thanks, I created an issue for that. it should be resolved soon trezor/trezor-suite#7501 |
Hi guys, @darkwing @sime
I made this PR #132 work, not sure if it is to your taste.
Regarding your questions @darkwing
At the moment we are using this internally in trezor-suite (even in production) and now we would like to roll out @trezor/connect v 9 further onto 3rd party implementations. However no rigid deadline set yet. So right now we are trying to get one or two of them work (in PR) before we proceed
It is not allowed to call TrezorConnect.init multiple times but this changes has been around for some time in version 8 as well. Could find which one brought this change exactly.