@ledgerhq/ledger-key-ring-protocol 0.12.0 → 0.12.1-nightly.20260317030141
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 +15 -0
- package/lib-es/errors.d.ts +13 -13
- package/package.json +18 -15
- package/src/__tests__/integration/mock.sdk.test.ts +1 -1
- package/tsconfig.build.json +18 -0
- package/tsconfig.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
2
|
> @ledgerhq/ledger-key-ring-protocol@0.12.0 build /home/runner/work/ledger-live/ledger-live/libs/ledger-key-ring-protocol
|
|
3
|
-
> tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es
|
|
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,5 +1,20 @@
|
|
|
1
1
|
# @ledgerhq/live-wallet
|
|
2
2
|
|
|
3
|
+
## 0.12.1-nightly.20260317030141
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
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-nightly.20260317030141
|
|
9
|
+
- @ledgerhq/hw-transport@6.34.0-nightly.20260317030141
|
|
10
|
+
- @ledgerhq/hw-transport-mocker@6.33.0-nightly.20260317030141
|
|
11
|
+
- @ledgerhq/logs@6.16.0-nightly.20260317030141
|
|
12
|
+
- @ledgerhq/types-devices@6.30.0-nightly.20260317030141
|
|
13
|
+
- @ledgerhq/speculos-transport@0.6.1-nightly.20260317030141
|
|
14
|
+
- @ledgerhq/live-env@2.30.0-nightly.20260317030141
|
|
15
|
+
- @ledgerhq/live-network@2.4.1-nightly.20260317030141
|
|
16
|
+
- @ledgerhq/hw-ledger-key-ring-protocol@0.8.1-nightly.20260317030141
|
|
17
|
+
|
|
3
18
|
## 0.12.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/lib-es/errors.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export declare const ScannedOldImportQrCode: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
1
|
+
export declare const ScannedOldImportQrCode: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
2
2
|
[key: string]: unknown;
|
|
3
3
|
}>;
|
|
4
|
-
export declare const ScannedNewImportQrCode: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
4
|
+
export declare const ScannedNewImportQrCode: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
5
5
|
[key: string]: unknown;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const ScannedInvalidQrCode: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
7
|
+
export declare const ScannedInvalidQrCode: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
8
8
|
[key: string]: unknown;
|
|
9
9
|
}>;
|
|
10
|
-
export declare const InvalidDigitsError: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
10
|
+
export declare const InvalidDigitsError: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
11
11
|
[key: string]: unknown;
|
|
12
12
|
}>;
|
|
13
|
-
export declare const InvalidEncryptionKeyError: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
13
|
+
export declare const InvalidEncryptionKeyError: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
}>;
|
|
16
|
-
export declare const TrustchainEjected: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
16
|
+
export declare const TrustchainEjected: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
17
17
|
[key: string]: unknown;
|
|
18
18
|
}>;
|
|
19
|
-
export declare const TrustchainNotAllowed: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
19
|
+
export declare const TrustchainNotAllowed: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
20
20
|
[key: string]: unknown;
|
|
21
21
|
}>;
|
|
22
|
-
export declare const TrustchainOutdated: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
22
|
+
export declare const TrustchainOutdated: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
23
23
|
[key: string]: unknown;
|
|
24
24
|
}>;
|
|
25
|
-
export declare const TrustchainNotFound: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
25
|
+
export declare const TrustchainNotFound: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
26
26
|
[key: string]: unknown;
|
|
27
27
|
}>;
|
|
28
|
-
export declare const NoTrustchainInitialized: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
28
|
+
export declare const NoTrustchainInitialized: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
29
29
|
[key: string]: unknown;
|
|
30
30
|
}>;
|
|
31
|
-
export declare const TrustchainAlreadyInitialized: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
31
|
+
export declare const TrustchainAlreadyInitialized: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
32
32
|
[key: string]: unknown;
|
|
33
33
|
}>;
|
|
34
|
-
export declare const TrustchainAlreadyInitializedWithOtherSeed: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
34
|
+
export declare const TrustchainAlreadyInitializedWithOtherSeed: import("@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
35
35
|
[key: string]: unknown;
|
|
36
36
|
}>;
|
|
37
|
-
export declare const QRCodeWSClosed: import("@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
37
|
+
export declare const QRCodeWSClosed: import("@ledgerhq/errors/lib-es/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.
|
|
3
|
+
"version": "0.12.1-nightly.20260317030141",
|
|
4
4
|
"description": "Ledger Key Ring Protocol layer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ledger"
|
|
@@ -38,14 +38,17 @@
|
|
|
38
38
|
"./lib-es/*": "./lib-es/*.js",
|
|
39
39
|
"./lib-es/*.js": "./lib-es/*.js",
|
|
40
40
|
"./*": {
|
|
41
|
+
"@ledgerhq/source": "./src/*.ts",
|
|
41
42
|
"require": "./lib/*.js",
|
|
42
43
|
"default": "./lib-es/*.js"
|
|
43
44
|
},
|
|
44
45
|
"./*.js": {
|
|
46
|
+
"@ledgerhq/source": "./src/*.ts",
|
|
45
47
|
"require": "./lib/*.js",
|
|
46
48
|
"default": "./lib-es/*.js"
|
|
47
49
|
},
|
|
48
50
|
".": {
|
|
51
|
+
"@ledgerhq/source": "./src/index.ts",
|
|
49
52
|
"require": "./lib/index.js",
|
|
50
53
|
"default": "./lib-es/index.js"
|
|
51
54
|
},
|
|
@@ -57,19 +60,19 @@
|
|
|
57
60
|
"isomorphic-ws": "5.0.0",
|
|
58
61
|
"rxjs": "7.8.2",
|
|
59
62
|
"ws": "8.18.3",
|
|
60
|
-
"@ledgerhq/errors": "6.
|
|
61
|
-
"@ledgerhq/hw-transport": "6.
|
|
62
|
-
"@ledgerhq/hw-transport-mocker": "6.
|
|
63
|
-
"@ledgerhq/hw-ledger-key-ring-protocol": "0.8.
|
|
64
|
-
"@ledgerhq/live-env": "2.
|
|
65
|
-
"@ledgerhq/live-network": "2.4.
|
|
66
|
-
"@ledgerhq/logs": "6.
|
|
67
|
-
"@ledgerhq/speculos-transport": "0.6.
|
|
68
|
-
"@ledgerhq/types-devices": "^6.
|
|
63
|
+
"@ledgerhq/errors": "6.31.0-nightly.20260317030141",
|
|
64
|
+
"@ledgerhq/hw-transport": "6.34.0-nightly.20260317030141",
|
|
65
|
+
"@ledgerhq/hw-transport-mocker": "6.33.0-nightly.20260317030141",
|
|
66
|
+
"@ledgerhq/hw-ledger-key-ring-protocol": "0.8.1-nightly.20260317030141",
|
|
67
|
+
"@ledgerhq/live-env": "2.30.0-nightly.20260317030141",
|
|
68
|
+
"@ledgerhq/live-network": "2.4.1-nightly.20260317030141",
|
|
69
|
+
"@ledgerhq/logs": "6.16.0-nightly.20260317030141",
|
|
70
|
+
"@ledgerhq/speculos-transport": "0.6.1-nightly.20260317030141",
|
|
71
|
+
"@ledgerhq/types-devices": "^6.30.0-nightly.20260317030141"
|
|
69
72
|
},
|
|
70
73
|
"devDependencies": {
|
|
71
74
|
"@types/jest": "30.0.0",
|
|
72
|
-
"@types/node": "
|
|
75
|
+
"@types/node": "24.12.0",
|
|
73
76
|
"bip39": "^3.0.4",
|
|
74
77
|
"expect": "30.2.0",
|
|
75
78
|
"jest": "30.2.0",
|
|
@@ -80,13 +83,13 @@
|
|
|
80
83
|
},
|
|
81
84
|
"scripts": {
|
|
82
85
|
"clean": "rimraf lib lib-es",
|
|
83
|
-
"build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es",
|
|
86
|
+
"build": "tsc --project tsconfig.build.json && tsc --project tsconfig.build.json -m esnext --moduleResolution bundler --outDir lib-es",
|
|
84
87
|
"prewatch": "pnpm build",
|
|
85
|
-
"watch": "tsc --watch",
|
|
86
|
-
"watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es",
|
|
88
|
+
"watch": "tsc --watch --project tsconfig.build.json",
|
|
89
|
+
"watch:es": "tsc --watch --project tsconfig.build.json -m esnext --moduleResolution bundler --outDir lib-es",
|
|
87
90
|
"lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache",
|
|
88
91
|
"lint:fix": "pnpm lint --fix",
|
|
89
|
-
"typecheck": "tsc --noEmit",
|
|
92
|
+
"typecheck": "tsc --noEmit --customConditions node",
|
|
90
93
|
"unimported": "pnpm knip --directory ../.. -W libs/ledger-key-ring-protocol",
|
|
91
94
|
"test": "jest",
|
|
92
95
|
"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";
|
|
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";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"customConditions": []
|
|
5
|
+
},
|
|
6
|
+
"exclude": [
|
|
7
|
+
"**/*.test.ts",
|
|
8
|
+
"**/*.test.tsx",
|
|
9
|
+
"**/*.spec.ts",
|
|
10
|
+
"**/*.spec.tsx",
|
|
11
|
+
"**/__tests__/**/*",
|
|
12
|
+
"**/tests/**/*",
|
|
13
|
+
"**/*.test.js",
|
|
14
|
+
"**/*.test.jsx",
|
|
15
|
+
"**/*.spec.js",
|
|
16
|
+
"**/*.spec.jsx"
|
|
17
|
+
]
|
|
18
|
+
}
|