@ledgerhq/ledger-key-ring-protocol 0.12.1-nightly.20260318030401 → 0.12.1
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +26 -11
- package/lib-es/errors.d.ts +13 -13
- package/package.json +11 -14
- package/src/__tests__/integration/mock.sdk.test.ts +1 -1
- package/tsconfig.build.json +0 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @ledgerhq/ledger-key-ring-protocol@0.12.
|
|
2
|
+
> @ledgerhq/ledger-key-ring-protocol@0.12.1 build /home/runner/work/ledger-live/ledger-live/libs/ledger-key-ring-protocol
|
|
3
3
|
> tsc --project tsconfig.build.json && tsc --project tsconfig.build.json -m esnext --moduleResolution bundler --outDir lib-es
|
|
4
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,34 @@
|
|
|
1
1
|
# @ledgerhq/live-wallet
|
|
2
2
|
|
|
3
|
-
## 0.12.1
|
|
3
|
+
## 0.12.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- Updated dependencies [[`c8d7be6`](https://github.com/LedgerHQ/ledger-live/commit/c8d7be6964aa9d8defd77de0b77ba7d42f472025), [`0eec459`](https://github.com/LedgerHQ/ledger-live/commit/0eec459415a0a0223695c87a890fb593deb303cf), [`
|
|
8
|
-
- @ledgerhq/errors@6.31.0
|
|
9
|
-
- @ledgerhq/hw-transport@6.34.0
|
|
10
|
-
- @ledgerhq/hw-transport-mocker@6.33.0
|
|
11
|
-
- @ledgerhq/logs@6.16.0
|
|
12
|
-
- @ledgerhq/types-devices@6.30.0
|
|
13
|
-
- @ledgerhq/speculos-transport@0.
|
|
14
|
-
- @ledgerhq/
|
|
15
|
-
- @ledgerhq/live-
|
|
16
|
-
- @ledgerhq/
|
|
7
|
+
- Updated dependencies [[`c8d7be6`](https://github.com/LedgerHQ/ledger-live/commit/c8d7be6964aa9d8defd77de0b77ba7d42f472025), [`0eec459`](https://github.com/LedgerHQ/ledger-live/commit/0eec459415a0a0223695c87a890fb593deb303cf), [`fd24208`](https://github.com/LedgerHQ/ledger-live/commit/fd242082615ef0af25f0f5f96389b7406fc194dc), [`8cb2da1`](https://github.com/LedgerHQ/ledger-live/commit/8cb2da1f175f143666abcb66ef94bd230456846d)]:
|
|
8
|
+
- @ledgerhq/errors@6.31.0
|
|
9
|
+
- @ledgerhq/hw-transport@6.34.0
|
|
10
|
+
- @ledgerhq/hw-transport-mocker@6.33.0
|
|
11
|
+
- @ledgerhq/logs@6.16.0
|
|
12
|
+
- @ledgerhq/types-devices@6.30.0
|
|
13
|
+
- @ledgerhq/speculos-transport@0.7.0
|
|
14
|
+
- @ledgerhq/live-env@2.30.0
|
|
15
|
+
- @ledgerhq/live-network@2.4.1
|
|
16
|
+
- @ledgerhq/hw-ledger-key-ring-protocol@0.8.1
|
|
17
|
+
|
|
18
|
+
## 0.12.1-next.0
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`c8d7be6`](https://github.com/LedgerHQ/ledger-live/commit/c8d7be6964aa9d8defd77de0b77ba7d42f472025), [`0eec459`](https://github.com/LedgerHQ/ledger-live/commit/0eec459415a0a0223695c87a890fb593deb303cf), [`fd24208`](https://github.com/LedgerHQ/ledger-live/commit/fd242082615ef0af25f0f5f96389b7406fc194dc), [`8cb2da1`](https://github.com/LedgerHQ/ledger-live/commit/8cb2da1f175f143666abcb66ef94bd230456846d)]:
|
|
23
|
+
- @ledgerhq/errors@6.31.0-next.0
|
|
24
|
+
- @ledgerhq/hw-transport@6.34.0-next.0
|
|
25
|
+
- @ledgerhq/hw-transport-mocker@6.33.0-next.0
|
|
26
|
+
- @ledgerhq/logs@6.16.0-next.0
|
|
27
|
+
- @ledgerhq/types-devices@6.30.0-next.0
|
|
28
|
+
- @ledgerhq/speculos-transport@0.7.0-next.0
|
|
29
|
+
- @ledgerhq/live-env@2.30.0-next.0
|
|
30
|
+
- @ledgerhq/live-network@2.4.1-next.0
|
|
31
|
+
- @ledgerhq/hw-ledger-key-ring-protocol@0.8.1-next.0
|
|
17
32
|
|
|
18
33
|
## 0.12.0
|
|
19
34
|
|
package/lib-es/errors.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export declare const ScannedOldImportQrCode: import("@ledgerhq/errors/lib
|
|
1
|
+
export declare const ScannedOldImportQrCode: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
2
2
|
[key: string]: unknown;
|
|
3
3
|
}>;
|
|
4
|
-
export declare const ScannedNewImportQrCode: import("@ledgerhq/errors/lib
|
|
4
|
+
export declare const ScannedNewImportQrCode: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
5
5
|
[key: string]: unknown;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const ScannedInvalidQrCode: import("@ledgerhq/errors/lib
|
|
7
|
+
export declare const ScannedInvalidQrCode: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
8
8
|
[key: string]: unknown;
|
|
9
9
|
}>;
|
|
10
|
-
export declare const InvalidDigitsError: import("@ledgerhq/errors/lib
|
|
10
|
+
export declare const InvalidDigitsError: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
11
11
|
[key: string]: unknown;
|
|
12
12
|
}>;
|
|
13
|
-
export declare const InvalidEncryptionKeyError: import("@ledgerhq/errors/lib
|
|
13
|
+
export declare const InvalidEncryptionKeyError: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
}>;
|
|
16
|
-
export declare const TrustchainEjected: import("@ledgerhq/errors/lib
|
|
16
|
+
export declare const TrustchainEjected: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
17
17
|
[key: string]: unknown;
|
|
18
18
|
}>;
|
|
19
|
-
export declare const TrustchainNotAllowed: import("@ledgerhq/errors/lib
|
|
19
|
+
export declare const TrustchainNotAllowed: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
20
20
|
[key: string]: unknown;
|
|
21
21
|
}>;
|
|
22
|
-
export declare const TrustchainOutdated: import("@ledgerhq/errors/lib
|
|
22
|
+
export declare const TrustchainOutdated: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
23
23
|
[key: string]: unknown;
|
|
24
24
|
}>;
|
|
25
|
-
export declare const TrustchainNotFound: import("@ledgerhq/errors/lib
|
|
25
|
+
export declare const TrustchainNotFound: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
26
26
|
[key: string]: unknown;
|
|
27
27
|
}>;
|
|
28
|
-
export declare const NoTrustchainInitialized: import("@ledgerhq/errors/lib
|
|
28
|
+
export declare const NoTrustchainInitialized: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
29
29
|
[key: string]: unknown;
|
|
30
30
|
}>;
|
|
31
|
-
export declare const TrustchainAlreadyInitialized: import("@ledgerhq/errors/lib
|
|
31
|
+
export declare const TrustchainAlreadyInitialized: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
32
32
|
[key: string]: unknown;
|
|
33
33
|
}>;
|
|
34
|
-
export declare const TrustchainAlreadyInitializedWithOtherSeed: import("@ledgerhq/errors/lib
|
|
34
|
+
export declare const TrustchainAlreadyInitializedWithOtherSeed: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
35
35
|
[key: string]: unknown;
|
|
36
36
|
}>;
|
|
37
|
-
export declare const QRCodeWSClosed: import("@ledgerhq/errors/lib
|
|
37
|
+
export declare const QRCodeWSClosed: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
38
38
|
time: number;
|
|
39
39
|
}>;
|
|
40
40
|
//# sourceMappingURL=errors.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/ledger-key-ring-protocol",
|
|
3
|
-
"version": "0.12.1
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "Ledger Key Ring Protocol layer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ledger"
|
|
@@ -38,17 +38,14 @@
|
|
|
38
38
|
"./lib-es/*": "./lib-es/*.js",
|
|
39
39
|
"./lib-es/*.js": "./lib-es/*.js",
|
|
40
40
|
"./*": {
|
|
41
|
-
"@ledgerhq/source": "./src/*.ts",
|
|
42
41
|
"require": "./lib/*.js",
|
|
43
42
|
"default": "./lib-es/*.js"
|
|
44
43
|
},
|
|
45
44
|
"./*.js": {
|
|
46
|
-
"@ledgerhq/source": "./src/*.ts",
|
|
47
45
|
"require": "./lib/*.js",
|
|
48
46
|
"default": "./lib-es/*.js"
|
|
49
47
|
},
|
|
50
48
|
".": {
|
|
51
|
-
"@ledgerhq/source": "./src/index.ts",
|
|
52
49
|
"require": "./lib/index.js",
|
|
53
50
|
"default": "./lib-es/index.js"
|
|
54
51
|
},
|
|
@@ -60,15 +57,15 @@
|
|
|
60
57
|
"isomorphic-ws": "5.0.0",
|
|
61
58
|
"rxjs": "7.8.2",
|
|
62
59
|
"ws": "8.18.3",
|
|
63
|
-
"@ledgerhq/
|
|
64
|
-
"@ledgerhq/
|
|
65
|
-
"@ledgerhq/hw-
|
|
66
|
-
"@ledgerhq/
|
|
67
|
-
"@ledgerhq/
|
|
68
|
-
"@ledgerhq/
|
|
69
|
-
"@ledgerhq/
|
|
70
|
-
"@ledgerhq/speculos-transport": "0.
|
|
71
|
-
"@ledgerhq/types-devices": "^6.30.0
|
|
60
|
+
"@ledgerhq/errors": "6.31.0",
|
|
61
|
+
"@ledgerhq/hw-transport": "6.34.0",
|
|
62
|
+
"@ledgerhq/hw-transport-mocker": "6.33.0",
|
|
63
|
+
"@ledgerhq/hw-ledger-key-ring-protocol": "0.8.1",
|
|
64
|
+
"@ledgerhq/live-env": "2.30.0",
|
|
65
|
+
"@ledgerhq/logs": "6.16.0",
|
|
66
|
+
"@ledgerhq/live-network": "2.4.1",
|
|
67
|
+
"@ledgerhq/speculos-transport": "0.7.0",
|
|
68
|
+
"@ledgerhq/types-devices": "^6.30.0"
|
|
72
69
|
},
|
|
73
70
|
"devDependencies": {
|
|
74
71
|
"@types/jest": "30.0.0",
|
|
@@ -89,7 +86,7 @@
|
|
|
89
86
|
"watch:es": "tsc --watch --project tsconfig.build.json -m esnext --moduleResolution bundler --outDir lib-es",
|
|
90
87
|
"lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache",
|
|
91
88
|
"lint:fix": "pnpm lint --fix",
|
|
92
|
-
"typecheck": "tsc --noEmit
|
|
89
|
+
"typecheck": "tsc --noEmit",
|
|
93
90
|
"unimported": "pnpm knip --directory ../.. -W libs/ledger-key-ring-protocol",
|
|
94
91
|
"test": "jest",
|
|
95
92
|
"coverage": "jest --coverage",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import fs from "fs";
|
|
3
|
-
import { TransportReplayer } from "@ledgerhq/hw-transport-mocker";
|
|
3
|
+
import { TransportReplayer } from "@ledgerhq/hw-transport-mocker/lib/openTransportReplayer";
|
|
4
4
|
import { RecordStore } from "@ledgerhq/hw-transport-mocker";
|
|
5
5
|
import { getEnv, setEnv } from "@ledgerhq/live-env";
|
|
6
6
|
import { ScenarioOptions } from "../../../tests/test-helpers/types";
|