@ledgerhq/ledger-key-ring-protocol 0.12.1 → 0.12.2-nightly.20260319030508
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 +12 -0
- package/lib-es/errors.d.ts +13 -13
- package/package.json +11 -8
- package/src/__tests__/integration/mock.sdk.test.ts +1 -1
- package/tsconfig.build.json +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ledgerhq/live-wallet
|
|
2
2
|
|
|
3
|
+
## 0.12.2-nightly.20260319030508
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`982d4af`](https://github.com/LedgerHQ/ledger-live/commit/982d4afbeb7faf3814c3e96ffb6e3e88b58dfe73), [`6dac7f9`](https://github.com/LedgerHQ/ledger-live/commit/6dac7f974c28dcae409c110a60061996490c5088), [`8ce1cb7`](https://github.com/LedgerHQ/ledger-live/commit/8ce1cb755b3e68c8688f9e828596d3c2605ef3cb)]:
|
|
8
|
+
- @ledgerhq/hw-ledger-key-ring-protocol@0.9.0-nightly.20260319030508
|
|
9
|
+
- @ledgerhq/errors@6.32.0-nightly.20260319030508
|
|
10
|
+
- @ledgerhq/hw-transport@6.34.1-nightly.20260319030508
|
|
11
|
+
- @ledgerhq/speculos-transport@0.7.1-nightly.20260319030508
|
|
12
|
+
- @ledgerhq/live-network@2.4.2-nightly.20260319030508
|
|
13
|
+
- @ledgerhq/hw-transport-mocker@6.33.1-nightly.20260319030508
|
|
14
|
+
|
|
3
15
|
## 0.12.1
|
|
4
16
|
|
|
5
17
|
### Patch 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.2-nightly.20260319030508",
|
|
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,14 +60,14 @@
|
|
|
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.34.
|
|
62
|
-
"@ledgerhq/hw-transport-mocker": "6.33.
|
|
63
|
-
"@ledgerhq/hw-ledger-key-ring-protocol": "0.
|
|
63
|
+
"@ledgerhq/errors": "6.32.0-nightly.20260319030508",
|
|
64
|
+
"@ledgerhq/hw-transport": "6.34.1-nightly.20260319030508",
|
|
65
|
+
"@ledgerhq/hw-transport-mocker": "6.33.1-nightly.20260319030508",
|
|
66
|
+
"@ledgerhq/hw-ledger-key-ring-protocol": "0.9.0-nightly.20260319030508",
|
|
64
67
|
"@ledgerhq/live-env": "2.30.0",
|
|
68
|
+
"@ledgerhq/live-network": "2.4.2-nightly.20260319030508",
|
|
65
69
|
"@ledgerhq/logs": "6.16.0",
|
|
66
|
-
"@ledgerhq/
|
|
67
|
-
"@ledgerhq/speculos-transport": "0.7.0",
|
|
70
|
+
"@ledgerhq/speculos-transport": "0.7.1-nightly.20260319030508",
|
|
68
71
|
"@ledgerhq/types-devices": "^6.30.0"
|
|
69
72
|
},
|
|
70
73
|
"devDependencies": {
|
|
@@ -86,7 +89,7 @@
|
|
|
86
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";
|