@trezor/connect 9.3.1-beta.3 → 9.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +87 -106
- package/README.md +1 -1
- package/lib/data/version.d.ts +1 -1
- package/lib/data/version.js +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,50 +1,61 @@
|
|
|
1
|
-
| Package | Stable |
|
|
2
|
-
| :------------------------------: | :----: |
|
|
3
|
-
| npm @trezor/connect | 9.
|
|
4
|
-
| npm @trezor/connect-web | 9.
|
|
5
|
-
| npm @trezor/connect-webextension | 9.
|
|
1
|
+
| Package | Stable | Canary |
|
|
2
|
+
| :------------------------------: | :----: | :----: |
|
|
3
|
+
| npm @trezor/connect | 9.4.0 | - |
|
|
4
|
+
| npm @trezor/connect-web | 9.4.0 | - |
|
|
5
|
+
| npm @trezor/connect-webextension | 9.4.0 | - |
|
|
6
6
|
|
|
7
|
-
| Deployment | Stable |
|
|
8
|
-
| :----------------: | :----: |
|
|
9
|
-
| connect.trezor.io/ | 9.
|
|
7
|
+
| Deployment | Stable | Canary |
|
|
8
|
+
| :----------------: | :----: | :----: |
|
|
9
|
+
| connect.trezor.io/ | 9.4.0 | - |
|
|
10
10
|
|
|
11
11
|
Use the persistent link [connect.trezor.io/9](https://connect.trezor.io/9/) to access the latest stable version of Connect Explorer.
|
|
12
12
|
|
|
13
|
-
# 9.
|
|
13
|
+
# 9.4.0
|
|
14
14
|
|
|
15
15
|
## connect
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
- feat: Implement firmware hash check into device (905e656, 10a1c86, 95d3d90, 655b9d3)
|
|
19
|
-
- chore: rename bsc to bnb as it is declared in fw repo (0174dc2)
|
|
20
|
-
- fix: report devices without GetFeatures support as fw required (f6b7826)
|
|
21
|
-
- refactor: core and deviceList global state (6149ef1, d1e92f9, cbb4c5c, 167cacf, 0057aeb, 76ab7a0, 8e65374, 418b7cc)
|
|
17
|
+
### New Feature: coreMode Initialization Option
|
|
22
18
|
|
|
23
|
-
|
|
19
|
+
We have introduced a new initialization option, coreMode, which allows websites to choose between the existing iframe mode and the new popup mode. The popup mode enables the use of WebUSB on third-party websites, a feature not available in iframe mode. By default, coreMode is set to auto, allowing the library to automatically select the optimal mode based on the environment. For more details, please refer to the [init method documentation](https://connect.trezor.io/9.3.1-beta.1/methods/other/init/).
|
|
24
20
|
|
|
25
|
-
|
|
26
|
-
- fix typo in loader message (9adeb0b)
|
|
27
|
-
- allow on mobile (9a6ba2e, 462e45e)
|
|
28
|
-
- update no transport description message (10a79da)
|
|
21
|
+
### Legacy Passphrase Support Removed
|
|
29
22
|
|
|
30
|
-
|
|
23
|
+
Support for legacy passphrases has been discontinued. Users with firmware versions earlier than 1.0.9 and 2.3.0 will need to update their devices to continue using @trezor/connect.
|
|
31
24
|
|
|
32
|
-
|
|
33
|
-
- add loading indicator to method submit button (14e1248)
|
|
34
|
-
- clean up coins select - remove namecoin, vertcoin, capricoin and komodo (9cef961)
|
|
25
|
+
### Enhanced Popup Handshake Reliability
|
|
35
26
|
|
|
36
|
-
|
|
27
|
+
### Cardano Support Update
|
|
28
|
+
|
|
29
|
+
Added support for Conway certificates and increased the minimum supported firmware version to 2.6.0 to streamline legacy code.
|
|
30
|
+
|
|
31
|
+
### Minor Fixes
|
|
32
|
+
|
|
33
|
+
Various minor fixes have been implemented in Connect Explorer and the documentation.
|
|
37
34
|
|
|
38
|
-
|
|
39
|
-
- npm-prerelease: @trezor/blockchain-link-utils 1.1.1-beta.3
|
|
40
|
-
- npm-prerelease: @trezor/blockchain-link-types 1.1.1-beta.3
|
|
41
|
-
- npm-prerelease: @trezor/connect-analytics 1.1.1-beta.1
|
|
42
|
-
- npm-prerelease: @trezor/connect-common 0.1.1-beta.3
|
|
43
|
-
- npm-prerelease: @trezor/transport 1.2.1-beta.3
|
|
44
|
-
- npm-prerelease: @trezor/utils 9.1.1-beta.3
|
|
35
|
+
### Device Authentication Enhancement
|
|
45
36
|
|
|
46
|
-
|
|
37
|
+
The AuthenticateDevice method now verifies CA certificate extensions.
|
|
47
38
|
|
|
39
|
+
### New Support for T3B1
|
|
40
|
+
|
|
41
|
+
Added support for T3B1.
|
|
42
|
+
|
|
43
|
+
- chore(connect): Add Ambire Browser Extension to knownHosts (cbe81ab)
|
|
44
|
+
- chore(connect): remove ethereum-cryptography npm package (18851d1)
|
|
45
|
+
- chore(connect): split public and internal settings type (3aab4ea)
|
|
46
|
+
- chore(connect): add new CA pubkeys and update timestamp (48ec951)
|
|
47
|
+
- chore(connect): refactoring of the CheckFirmwareAuthenticity to support local binary (and wont download it from web, when its available in the suite) (82ab513)
|
|
48
|
+
- fix(connect): disallow interaction-less fw update when switching fw type (4936939)
|
|
49
|
+
- fix(connect): validate x509 asn1 component (bc13fe2)
|
|
50
|
+
- fix(connect): handle missing language binary (954dbb9)
|
|
51
|
+
- fix(connect): proceed with fw install even when language data fails to download (b40d1b7)
|
|
52
|
+
- test(connect): x509 extensions parser (163c82c)
|
|
53
|
+
- test(connect): update to min version fw 1.0.9 and 2.3.0 (544c311)
|
|
54
|
+
- add fw 2.8.1 (847cfd6)
|
|
55
|
+
- feat: Implement firmware hash check into device (905e656, 10a1c86, 95d3d90, 655b9d3)
|
|
56
|
+
- chore: rename bsc to bnb as it is declared in fw repo (0174dc2)
|
|
57
|
+
- fix: report devices without GetFeatures support as fw required (f6b7826)
|
|
58
|
+
- refactor: core and deviceList global state (6149ef1, d1e92f9, cbb4c5c, 167cacf, 0057aeb, 76ab7a0, 8e65374, 418b7cc)
|
|
48
59
|
- refactor(connect): removed initDeviceList, move transportReconnect inside DeviceList, make DeviceList reusable, device list constructor not throwing, singleton-like DeviceList, separate onTransportUpdate, pendingTransportEvent improved, improve DeviceList init flow (f4b3694, 02215de, b53259b, e8c6c25, e395dc8, 6509e5c, 3e30d64, d173966, 50cbbea, 1a81d89, 4780c51, 75bfe75, 83c0cb3, 73261c8, f2167bf, bb7dfee)
|
|
49
60
|
- fix(connect): correctly wait for device selection in case of overriding (0c7a3bd)
|
|
50
61
|
- fix(connect): Fork old PassphraseTypeCard to connect (155afda)
|
|
@@ -57,22 +68,46 @@ Use the persistent link [connect.trezor.io/9](https://connect.trezor.io/9/) to a
|
|
|
57
68
|
|
|
58
69
|
## connect-web
|
|
59
70
|
|
|
60
|
-
- don't fallback to core in popup with no webusb (7120e83)
|
|
61
71
|
- clean up in popupmanager when useUi=false (9bc2ea9)
|
|
72
|
+
- default coreMode to auto (e45d47e)
|
|
73
|
+
- automatic fallback to core in popup (e4e1fcc, 7120e83)
|
|
62
74
|
|
|
63
75
|
## connect-popup
|
|
64
76
|
|
|
65
77
|
- add missing device icons (9fdd1d7)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
-
|
|
78
|
+
- Opera is now not marked as unsupported browser (8e34af7)
|
|
79
|
+
- fix typo in loader message (9adeb0b)
|
|
80
|
+
- allow on mobile (9a6ba2e, 462e45e)
|
|
81
|
+
- update no transport description message (10a79da)
|
|
82
|
+
- remove bridge references, deeplink to suite desktop (98e98a4)
|
|
70
83
|
|
|
71
84
|
## connect-explorer
|
|
72
85
|
|
|
73
|
-
- wrong default coreMode in settings (3a81f14)
|
|
74
86
|
- don't validate connectSrc in webextension (8737d47)
|
|
75
87
|
- add link to new webextension example (86a13b1)
|
|
88
|
+
- add extra meta tags & preview image (c4e1c2d)
|
|
89
|
+
- add loading indicator to method submit button (14e1248)
|
|
90
|
+
- clean up coins select - remove namecoin, vertcoin, capricoin and komodo (9cef961)
|
|
91
|
+
- applySettings optional values (0bcd83a)
|
|
92
|
+
- hide extra headings from toc in homepage (14f89c4)
|
|
93
|
+
- show success message in settings (0ca7c0c)
|
|
94
|
+
- remove MTT for firmwareUpdate (ebbe96c)
|
|
95
|
+
- bad styled-components prop (e2b7fc7)
|
|
96
|
+
|
|
97
|
+
## connect-webextension
|
|
98
|
+
|
|
99
|
+
- Prevent multiple content script extension conflicts (348b32a)
|
|
100
|
+
- link changelog to the one in connect (a02ec72)
|
|
101
|
+
|
|
102
|
+
## connect-common
|
|
103
|
+
|
|
104
|
+
- add new fw 2.8.0 (314052b)
|
|
105
|
+
- fw version 1.9.0 and 2.3.0 required (ee623e4)
|
|
106
|
+
|
|
107
|
+
## connect-plugin-stellar
|
|
108
|
+
|
|
109
|
+
- update stellar sdk (89cf20e)
|
|
110
|
+
- update trends libs (70b9c11)
|
|
76
111
|
|
|
77
112
|
## Dependencies update
|
|
78
113
|
|
|
@@ -87,74 +122,20 @@ Use the persistent link [connect.trezor.io/9](https://connect.trezor.io/9/) to a
|
|
|
87
122
|
- bump rimraf from 5.0.5 to 6.0.1
|
|
88
123
|
- bump txs from 4.7.0 to 4.16.2
|
|
89
124
|
|
|
90
|
-
- npm-
|
|
91
|
-
- npm-
|
|
92
|
-
- npm-
|
|
93
|
-
- npm-
|
|
94
|
-
- npm-
|
|
95
|
-
- npm-
|
|
96
|
-
- npm-
|
|
97
|
-
- npm-
|
|
98
|
-
- npm-
|
|
99
|
-
- npm-
|
|
100
|
-
- npm-
|
|
101
|
-
- npm-
|
|
102
|
-
- npm-release: @trezor/
|
|
103
|
-
|
|
104
|
-
# 9.3.1-beta.1
|
|
105
|
-
|
|
106
|
-
We introduce a new init option `coreMode`, which allows websites to interact either using the existing `iframe` mode or the new `popup` mode. The `popup` mode is allows to use WebUSB even on third-party websites, which is not possible with the `iframe` mode. By default, the `coreMode` is set to `auto`, which means that the library will automatically choose the best mode based on the environment. More information can be found in [init method documentation](https://connect.trezor.io/9.3.1-beta.1/methods/other/init/).
|
|
107
|
-
|
|
108
|
-
Remove support for legacy passphrase, users with Firmware version smaller than 1.0.9 and 2.3.0 will be requested to update in order to use @trezor/connect (7bb57cf)
|
|
109
|
-
|
|
110
|
-
AuthenticateDevice verify CA cert extensions (4ba4445)
|
|
111
|
-
|
|
112
|
-
Add support for T3B1 (f7f1705)
|
|
113
|
-
|
|
114
|
-
- chore(connect): Add Ambire Browser Extension to knownHosts (cbe81ab)
|
|
115
|
-
- chore(connect): remove ethereum-cryptography (18851d1)
|
|
116
|
-
- chore(connect): split public and internal settings type (3aab4ea)
|
|
117
|
-
- chore(connect): remove useCoreInPopup from explorer and tests (fee60c1)
|
|
118
|
-
- chore(connect): add new CA pubkeys and update timestamp (48ec951)
|
|
119
|
-
- chore(connect): refactoring of the CheckFirmwareAuthenticity to support local binary (and wont download it from web, when its available in the suite) (82ab513)
|
|
120
|
-
- docs(connect): describe coreMode (a5238d6)
|
|
121
|
-
- fix(connect): disallow interaction-less fw update when switching fw type (4936939)
|
|
122
|
-
- fix(connect): validate x509 asn1 component (bc13fe2)
|
|
123
|
-
- fix(connect): handle missing language binary (954dbb9)
|
|
124
|
-
- fix(connect): proceed with fw install even when language data fails to download (b40d1b7)
|
|
125
|
-
- test(connect): x509 extensions parser (163c82c)
|
|
126
|
-
- test(connect): update to min version fw 1.0.9 and 2.3.0 (544c311)
|
|
127
|
-
|
|
128
|
-
## connect-ui
|
|
129
|
-
|
|
130
|
-
- remove bridge references, deeplink to suite desktop (98e98a4)
|
|
131
|
-
|
|
132
|
-
## connect-plugin-stellar
|
|
133
|
-
|
|
134
|
-
- update stellar sdk (89cf20e)
|
|
135
|
-
- update trends libs (70b9c11)
|
|
136
|
-
|
|
137
|
-
## connect-web
|
|
138
|
-
|
|
139
|
-
- default coreMode to auto (e45d47e)
|
|
140
|
-
- automatic fallback to core in popup (e4e1fcc)
|
|
141
|
-
|
|
142
|
-
## connect-webextension
|
|
143
|
-
|
|
144
|
-
- link changelog to the one in connect (a02ec72)
|
|
145
|
-
|
|
146
|
-
## connect-explorer
|
|
147
|
-
|
|
148
|
-
- applySettings optional values (0bcd83a)
|
|
149
|
-
- hide extra headings from toc in homepage (14f89c4)
|
|
150
|
-
- show success message in settings (0ca7c0c)
|
|
151
|
-
- remove MTT for firmwareUpdate (ebbe96c)
|
|
152
|
-
- bad styled-components prop (e2b7fc7)
|
|
153
|
-
|
|
154
|
-
## connect-common
|
|
155
|
-
|
|
156
|
-
- add new fw 2.8.0 (314052b)
|
|
157
|
-
- fw version 1.9.0 and 2.3.0 required (ee623e4)
|
|
125
|
+
- npm-release: @trezor/blockchain-link 2.3.0
|
|
126
|
+
- npm-release: @trezor/blockchain-link-utils 1.2.0
|
|
127
|
+
- npm-release: @trezor/blockchain-link-types 1.2.0
|
|
128
|
+
- npm-release: @trezor/connect-analytics 1.2.0
|
|
129
|
+
- npm-release: @trezor/analytics 1.2.0
|
|
130
|
+
- npm-release: @trezor/connect-common 0.2.0
|
|
131
|
+
- npm-release: @trezor/env-utils 1.2.0
|
|
132
|
+
- npm-release: @trezor/transport 1.3.0
|
|
133
|
+
- npm-release: @trezor/protobuf 1.2.0
|
|
134
|
+
- npm-release: @trezor/schema-utils 1.2.0
|
|
135
|
+
- npm-release: @trezor/protocol 1.2.0
|
|
136
|
+
- npm-release: @trezor/utxo-lib 2.2.0
|
|
137
|
+
- npm-release: @trezor/utils 9.2.0
|
|
138
|
+
- npm-release: @trezor/connect 9.4.0
|
|
158
139
|
|
|
159
140
|
# 9.3.0
|
|
160
141
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @trezor/connect
|
|
2
2
|
|
|
3
|
-
API version 9.
|
|
3
|
+
API version 9.4.0
|
|
4
4
|
|
|
5
5
|
[](https://github.com/trezor/trezor-suite/actions/workflows/test-connect.yml)
|
|
6
6
|
[](https://www.npmjs.org/package/@trezor/connect)
|
package/lib/data/version.d.ts
CHANGED
package/lib/data/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CONTENT_SCRIPT_VERSION = exports.DEFAULT_DOMAIN = exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '9.
|
|
4
|
+
exports.VERSION = '9.4.0';
|
|
5
5
|
const versionN = exports.VERSION.split('.').map(s => parseInt(s, 10));
|
|
6
6
|
const isBeta = exports.VERSION.includes('beta');
|
|
7
7
|
exports.DEFAULT_DOMAIN = isBeta
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trezor/connect",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0",
|
|
4
4
|
"author": "Trezor <info@trezor.io>",
|
|
5
5
|
"homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/connect",
|
|
6
6
|
"description": "High-level javascript interface for Trezor hardware wallet.",
|
|
@@ -71,16 +71,16 @@
|
|
|
71
71
|
"@ethereumjs/common": "^4.3.0",
|
|
72
72
|
"@ethereumjs/tx": "^5.3.0",
|
|
73
73
|
"@fivebinaries/coin-selection": "2.2.1",
|
|
74
|
-
"@trezor/blockchain-link": "2.
|
|
75
|
-
"@trezor/blockchain-link-types": "1.
|
|
76
|
-
"@trezor/connect-analytics": "1.
|
|
77
|
-
"@trezor/connect-common": "0.
|
|
78
|
-
"@trezor/protobuf": "1.
|
|
79
|
-
"@trezor/protocol": "1.
|
|
80
|
-
"@trezor/schema-utils": "1.
|
|
81
|
-
"@trezor/transport": "1.
|
|
82
|
-
"@trezor/utils": "9.
|
|
83
|
-
"@trezor/utxo-lib": "2.
|
|
74
|
+
"@trezor/blockchain-link": "2.3.0",
|
|
75
|
+
"@trezor/blockchain-link-types": "1.2.0",
|
|
76
|
+
"@trezor/connect-analytics": "1.2.0",
|
|
77
|
+
"@trezor/connect-common": "0.2.0",
|
|
78
|
+
"@trezor/protobuf": "1.2.0",
|
|
79
|
+
"@trezor/protocol": "1.2.0",
|
|
80
|
+
"@trezor/schema-utils": "1.2.0",
|
|
81
|
+
"@trezor/transport": "1.3.0",
|
|
82
|
+
"@trezor/utils": "9.2.0",
|
|
83
|
+
"@trezor/utxo-lib": "2.2.0",
|
|
84
84
|
"blakejs": "^1.2.1",
|
|
85
85
|
"bs58": "^5.0.0",
|
|
86
86
|
"bs58check": "^3.0.1",
|