Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

update trezor-connect@7#13

Merged
brunobar79 merged 4 commits intoMetaMask:masterfrom
szymonlesisz:master
Mar 1, 2019
Merged

update trezor-connect@7#13
brunobar79 merged 4 commits intoMetaMask:masterfrom
szymonlesisz:master

Conversation

@szymonlesisz
Copy link
Copy Markdown
Contributor

Hi,
I would like to ask you to update trezor-connect version to 7.0.1
There were some major changes in ethereum protobuf messages in new Trezor firmware (1.8.0/2.1.0) and connect@6 will probably fail on "signTransaction" and "getAddress" methods.
There is also a new, required method "manifest" which needs to be added. We would like you to provide a contact to reach you in case of any required maintenance.

Trezor.manifest({
      email: 'support@metamask.io',
      appUrl: 'https://metamask.io'
});

you can read more here:
https://github.com/trezor/connect/blob/develop/docs/index.md#trezor-connect-manifest

Copy link
Copy Markdown
Contributor

@brunobar79 brunobar79 left a comment

Choose a reason for hiding this comment

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

@szymonlesisz Thank you for this PR! Looks good just two nits and we can merge it.

package.json Outdated
"events": "^2.0.0",
"hdkey": "0.8.0",
"trezor-connect": "^6.0.2"
"trezor-connect": "7.0.1"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add back the ^ ?

index.js Outdated
this.paths = {}
this.deserialize(opts)
TrezorConnect.manifest({
email: 'support@metamask.io',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would you mind moving these two as const at to the top of the file ?

@szymonlesisz
Copy link
Copy Markdown
Contributor Author

Sure thing, it's there as requested

@brunobar79
Copy link
Copy Markdown
Contributor

Thank you @szymonlesisz !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants