Skip to content

Commit 964711e

Browse files
committed
Merge branch 'develop' into release/5.1.0
2 parents 70d1fb2 + 1a693f5 commit 964711e

File tree

11 files changed

+58
-82
lines changed

11 files changed

+58
-82
lines changed

CHANGELOG.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@
22

33
## 5.1.0
44

5-
### Features
6-
7-
- Added analytics data collection ([PR 2927](https://github.com/input-output-hk/daedalus/pull/2927), [PR 2989](https://github.com/input-output-hk/daedalus/pull/2989), [PR 3003](https://github.com/input-output-hk/daedalus/pull/3003), [PR 3028](https://github.com/input-output-hk/daedalus/pull/3028))
8-
95
### Chores
106

7+
- Updated trezor-connect to v9 ([PR 3038](https://github.com/input-output-hk/daedalus/pull/3038))
8+
- Added analytics data collection ([PR 2927](https://github.com/input-output-hk/daedalus/pull/2927), [PR 2989](https://github.com/input-output-hk/daedalus/pull/2989), [PR 3003](https://github.com/input-output-hk/daedalus/pull/3003), [PR 3028](https://github.com/input-output-hk/daedalus/pull/3028))
119
- Updated LedgerJS to 5.1.0 ([PR 3036](https://github.com/input-output-hk/daedalus/pull/3036))
1210

1311
## 5.0.0
1412

1513
### Features
1614

1715
- Added new Mnemonic input component ([PR 2979](https://github.com/input-output-hk/daedalus/pull/2979))
16+
- Updated Terms of Service ([PR 3009](https://github.com/input-output-hk/daedalus/pull/3009))
1817

1918
### Fixes
2019

@@ -29,10 +28,6 @@
2928
- Fix `darwin-launcher.go` to replace its process image with `cardano-launcher` (binary), and not swallow `stdout` ([PR 3023](https://github.com/input-output-hk/daedalus/pull/3023))
3029
- Updated cardano-node to 1.35.1 ([PR 3012](https://github.com/input-output-hk/daedalus/pull/3012))
3130

32-
### Features
33-
34-
- Updated Terms of Service ([PR 3009](https://github.com/input-output-hk/daedalus/pull/3009))
35-
3631
## 4.12.0
3732

3833
### Fixes

installers/common/MacInstaller.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ buildElectronApp darwinConfig@DarwinConfig{dcAppName, dcAppNameApp} installerCon
253253
, "bytebuffer"
254254
, "call-bind"
255255
, "cashaddrjs"
256-
, "cbor-web"
257256
, "clone"
258257
, "create-hash"
259258
, "create-hmac"
@@ -313,15 +312,14 @@ buildElectronApp darwinConfig@DarwinConfig{dcAppName, dcAppNameApp} installerCon
313312
, "ripple-keypairs"
314313
, "ripple-lib"
315314
, "ripple-lib-transactionparser"
316-
, "runtypes"
317315
, "safe-buffer"
318316
, "semver-compare"
319317
, "smart-buffer"
320318
, "socks"
321319
, "socks-proxy-agent"
322320
, "tiny-inflate"
323321
, "tiny-secp256k1"
324-
, "trezor-connect"
322+
, "tslib"
325323
, "typeforce"
326324
, "unicode-properties"
327325
, "unicode-trie"

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
"@types/react-router-dom": "5.3.3",
108108
"@types/react-svg-inline": "2.1.3",
109109
"@types/react-table": "^7.7.9",
110-
"@types/trezor-connect": "8.1.18",
111110
"@types/uuid": "8.3.4",
112111
"@typescript-eslint/eslint-plugin": "5.20.0",
113112
"@typescript-eslint/parser": "5.20.0",
@@ -205,6 +204,7 @@
205204
"@cardano-foundation/ledgerjs-hw-app-cardano": "5.1.0",
206205
"@iohk-jormungandr/wallet-js": "0.5.0-pre7",
207206
"@ledgerhq/hw-transport-node-hid": "6.27.1",
207+
"@trezor/connect": "9.0.2",
208208
"aes-js": "3.1.2",
209209
"bech32": "2.0.0",
210210
"bignumber.js": "9.0.1",
@@ -218,7 +218,6 @@
218218
"cardano-js": "0.4.8",
219219
"cardano-launcher": "0.20220119.0",
220220
"cbor": "5.0.2",
221-
"cbor-web": "7.0.6",
222221
"check-disk-space": "3.2.0",
223222
"chroma-js": "2.1.0",
224223
"classnames": "2.2.6",
@@ -290,7 +289,6 @@
290289
"spectron-fake-dialog": "0.0.1",
291290
"tail": "2.2.4",
292291
"tcp-port-used": "1.0.1",
293-
"trezor-connect": "8.2.8-extended",
294292
"unorm": "1.6.0",
295293
"url": "0.11.0",
296294
"usb-detection": "4.13.0",

source/common/ipc/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
CommonParams,
55
Success,
66
Unsuccessful,
7-
} from 'trezor-connect';
7+
} from '@trezor/connect';
88
import type {
99
BugReportRequestHttpOptions,
1010
BugReportRequestPayload,

source/common/types/hardware-wallets.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BridgeInfo, Device as TrezorDevice, UdevInfo } from 'trezor-connect';
1+
import { BridgeInfo, Device as TrezorDevice, UdevInfo } from '@trezor/connect';
22

33
export type BIP32Path = Array<number>;
44
export type LedgerModel = 'nanoS' | 'nanoSP' | 'nanoX';

source/main/ipc/getHardwareWalletChannel.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import TransportNodeHid, {
44
} from '@ledgerhq/hw-transport-node-hid-noevents';
55
import AppAda, { utils } from '@cardano-foundation/ledgerjs-hw-app-cardano';
66
import TrezorConnect, {
7-
CardanoPublicKey,
87
DEVICE,
98
DEVICE_EVENT,
109
Features,
@@ -14,7 +13,7 @@ import TrezorConnect, {
1413
UI,
1514
UI_EVENT,
1615
Unsuccessful,
17-
} from 'trezor-connect';
16+
} from '@trezor/connect';
1817
import { find, get, includes, last, omit } from 'lodash';
1918
import { derivePublic as deriveChildXpub } from 'cardano-crypto.js';
2019
import {

source/main/trezor/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import TrezorConnect from 'trezor-connect';
1+
import TrezorConnect from '@trezor/connect';
22
import { logger } from '../utils/logging';
33
import { manifest } from './manifest';
44

source/main/trezor/manifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Manifest } from 'trezor-connect';
1+
import { Manifest } from '@trezor/connect';
22

33
export const manifest: Manifest = {
44

source/main/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ module.exports = {
9191
'js-chain-libs-node': 'commonjs2 js-chain-libs-node',
9292
usb: 'commonjs2 usb',
9393
'node-hid': 'commonjs2 node-hid',
94-
'trezor-connect': 'commonjs2 trezor-connect',
94+
'@trezor/connect': 'commonjs2 @trezor/connect',
9595
pdfkit: 'commonjs2 pdfkit',
9696
'usb-detection': 'commonjs2 usb-detection',
9797
},

yarn.lock

Lines changed: 45 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@
952952
core-js-pure "^3.20.2"
953953
regenerator-runtime "^0.13.4"
954954

955-
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.8", "@babel/runtime@^7.15.4", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.17.8", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
955+
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.8", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.17.8", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
956956
version "7.17.9"
957957
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72"
958958
dependencies:
@@ -2702,45 +2702,59 @@
27022702
version "1.1.2"
27032703
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
27042704

2705-
"@trezor/blockchain-link@^2.1.3":
2706-
version "2.1.3"
2707-
resolved "https://registry.yarnpkg.com/@trezor/blockchain-link/-/blockchain-link-2.1.3.tgz#1bae384b4af8a40cbcf74f44641da583e40b79c5"
2705+
"@trezor/blockchain-link@^2.1.4":
2706+
version "2.1.4"
2707+
resolved "https://registry.yarnpkg.com/@trezor/blockchain-link/-/blockchain-link-2.1.4.tgz#4f558f0187f7bea324f38f70b1e25473957ca265"
27082708
dependencies:
2709-
"@trezor/utils" "^1.0.0"
2709+
"@trezor/utils" "^9.0.2"
27102710
"@trezor/utxo-lib" "^1.0.0"
27112711
"@types/web" "^0.0.51"
2712-
bignumber.js "^9.0.1"
2712+
bignumber.js "^9.1.0"
27132713
events "^3.3.0"
27142714
ripple-lib "1.10.0"
27152715
socks-proxy-agent "6.1.1"
27162716
ws "7.4.6"
27172717

2718-
"@trezor/connect-common@^0.0.4":
2719-
version "0.0.4"
2720-
resolved "https://registry.yarnpkg.com/@trezor/connect-common/-/connect-common-0.0.4.tgz#0df221685272544770399aca1c624b037870e310"
2718+
"@trezor/[email protected].9":
2719+
version "0.0.9"
2720+
resolved "https://registry.yarnpkg.com/@trezor/connect-common/-/connect-common-0.0.9.tgz#22478585dac463d376f74c54510887516936850f"
27212721

2722-
"@trezor/rollout@^1.3.2":
2723-
version "1.3.2"
2724-
resolved "https://registry.yarnpkg.com/@trezor/rollout/-/rollout-1.3.2.tgz#9120f77c31bb12253a509b7b894b3777317dd763"
2722+
"@trezor/[email protected].2":
2723+
version "9.0.2"
2724+
resolved "https://registry.yarnpkg.com/@trezor/connect/-/connect-9.0.2.tgz#61bf6eb7d26cf527bfe55d5e0739e7f94afbe2f2"
27252725
dependencies:
2726-
"@trezor/utils" "^1.0.0"
2726+
"@trezor/blockchain-link" "^2.1.4"
2727+
"@trezor/connect-common" "0.0.9"
2728+
"@trezor/transport" "^1.1.4"
2729+
"@trezor/utils" "^9.0.2"
2730+
"@trezor/utxo-lib" "^1.0.0"
2731+
bignumber.js "^9.1.0"
2732+
blakejs "^1.2.1"
2733+
bowser "^2.11.0"
27272734
cross-fetch "^3.1.5"
2728-
runtypes "^6.5.1"
2735+
events "^3.3.0"
2736+
parse-uri "1.0.7"
2737+
randombytes "2.1.0"
2738+
tslib "^2.3.1"
27292739

2730-
"@trezor/[email protected].2":
2731-
version "1.1.2"
2732-
resolved "https://registry.yarnpkg.com/@trezor/transport/-/transport-1.1.2.tgz#a176257d269724045e2860c0255e7663d1a00424"
2740+
"@trezor/transport@^1.1.4":
2741+
version "1.1.4"
2742+
resolved "https://registry.yarnpkg.com/@trezor/transport/-/transport-1.1.4.tgz#3ffa2260f951242c427a669aa6abab010c53c678"
27332743
dependencies:
2734-
"@trezor/utils" "^1.0.0"
2744+
"@trezor/utils" "^9.0.2"
27352745
bytebuffer "^5.0.1"
27362746
json-stable-stringify "^1.0.1"
27372747
long "^4.0.0"
2738-
protobufjs "^6.11.2"
2748+
protobufjs "^6.11.3"
27392749

27402750
"@trezor/utils@^1.0.0":
27412751
version "1.0.1"
27422752
resolved "https://registry.yarnpkg.com/@trezor/utils/-/utils-1.0.1.tgz#594e31343bef1bec39ad7aad4624dd2a1329eb4a"
27432753

2754+
"@trezor/utils@^9.0.2":
2755+
version "9.0.2"
2756+
resolved "https://registry.yarnpkg.com/@trezor/utils/-/utils-9.0.2.tgz#a0e43227d454521fe115f371bfdfcfcd947c00c7"
2757+
27442758
"@trezor/utxo-lib@^1.0.0":
27452759
version "1.0.0"
27462760
resolved "https://registry.yarnpkg.com/@trezor/utxo-lib/-/utxo-lib-1.0.0.tgz#d6f28c9b1b0a2e3e7b83b59f5b9dad54889072ae"
@@ -3166,12 +3180,6 @@
31663180
dependencies:
31673181
"@types/jest" "*"
31683182

3169-
3170-
version "8.1.18"
3171-
resolved "https://registry.yarnpkg.com/@types/trezor-connect/-/trezor-connect-8.1.18.tgz#f9758bc38c6867e1be2775de67503b5191f97823"
3172-
dependencies:
3173-
trezor-connect "*"
3174-
31753183
"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.3":
31763184
version "2.0.6"
31773185
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d"
@@ -4767,10 +4775,14 @@ [email protected]:
47674775
version "9.0.1"
47684776
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.1.tgz#8d7ba124c882bfd8e43260c67475518d0689e4e5"
47694777

4770-
bignumber.js@^9.0.0, bignumber.js@^9.0.1, bignumber.js@^9.0.2:
4778+
bignumber.js@^9.0.0:
47714779
version "9.0.2"
47724780
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.2.tgz#71c6c6bed38de64e24a65ebe16cfcf23ae693673"
47734781

4782+
bignumber.js@^9.1.0:
4783+
version "9.1.0"
4784+
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62"
4785+
47744786
binary-extensions@^1.0.0:
47754787
version "1.13.1"
47764788
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65"
@@ -4847,6 +4859,10 @@ blakejs@^1.1.0:
48474859
version "1.2.1"
48484860
resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814"
48494861

4862+
blakejs@^1.2.1:
4863+
version "1.2.1"
4864+
resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814"
4865+
48504866
bluebird@^3.1.1, bluebird@^3.3.5, bluebird@^3.4.1, bluebird@^3.5.0, bluebird@^3.5.5:
48514867
version "3.7.2"
48524868
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
@@ -5386,7 +5402,7 @@ [email protected]:
53865402
dependencies:
53875403
big-integer "1.6.36"
53885404

5389-
[email protected], cbor-web@^7.0.6:
5405+
53905406
version "7.0.6"
53915407
resolved "https://registry.yarnpkg.com/cbor-web/-/cbor-web-7.0.6.tgz#6e23a0c58db4c38e485e395de511b9e2f628961c"
53925408

@@ -12839,7 +12855,7 @@ parse-passwd@^1.0.0:
1283912855
version "1.0.0"
1284012856
resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"
1284112857

12842-
parse-uri@^1.0.5:
12858+
1284312859
version "1.0.7"
1284412860
resolved "https://registry.yarnpkg.com/parse-uri/-/parse-uri-1.0.7.tgz#287629a09328a97e398468f21b8a00c4a2d9cc73"
1284512861

@@ -13515,7 +13531,7 @@ proto-list@~1.2.1:
1351513531
version "1.2.4"
1351613532
resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"
1351713533

13518-
protobufjs@^6.11.2:
13534+
protobufjs@^6.11.3:
1351913535
version "6.11.3"
1352013536
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74"
1352113537
dependencies:
@@ -14821,10 +14837,6 @@ run-queue@^1.0.0, run-queue@^1.0.3:
1482114837
dependencies:
1482214838
aproba "^1.1.1"
1482314839

14824-
runtypes@^6.5.1:
14825-
version "6.5.1"
14826-
resolved "https://registry.yarnpkg.com/runtypes/-/runtypes-6.5.1.tgz#125d9a50c3b7dd45db6e47d42bb1c411b4f3f008"
14827-
1482814840
1482914841
version "0.2.0"
1483014842
resolved "https://registry.yarnpkg.com/rust-cardano-crypto/-/rust-cardano-crypto-0.2.0.tgz#f665b0aa29b40a212f0c0814262bf4eca6d4f4fd"
@@ -16444,32 +16456,6 @@ tree-kill@^1.1.0, tree-kill@^1.2.2:
1644416456
version "1.2.2"
1644516457
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc"
1644616458

16447-
trezor-connect@*:
16448-
version "8.2.8"
16449-
resolved "https://registry.yarnpkg.com/trezor-connect/-/trezor-connect-8.2.8.tgz#184381a671e61c8d7242696199587b790a303aa0"
16450-
dependencies:
16451-
"@babel/runtime" "^7.15.4"
16452-
cross-fetch "^3.1.5"
16453-
events "^3.3.0"
16454-
16455-
16456-
version "8.2.8-extended"
16457-
resolved "https://registry.yarnpkg.com/trezor-connect/-/trezor-connect-8.2.8-extended.tgz#f940330eafb20f276670c8325007bedac275913e"
16458-
dependencies:
16459-
"@babel/runtime" "^7.15.4"
16460-
"@trezor/blockchain-link" "^2.1.3"
16461-
"@trezor/connect-common" "^0.0.4"
16462-
"@trezor/rollout" "^1.3.2"
16463-
"@trezor/transport" "1.1.2"
16464-
"@trezor/utxo-lib" "^1.0.0"
16465-
bignumber.js "^9.0.2"
16466-
bowser "^2.11.0"
16467-
cbor-web "^7.0.6"
16468-
cross-fetch "^3.1.5"
16469-
events "^3.3.0"
16470-
parse-uri "^1.0.5"
16471-
randombytes "2.1.0"
16472-
1647316459
trim-newlines@^3.0.0:
1647416460
version "3.0.1"
1647516461
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144"

0 commit comments

Comments
 (0)