@ledgerhq/device-core 0.9.2 → 0.9.3-nightly.20260331030457
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/errors.d.ts +14 -14
- package/lib/managerApi/use-cases/fetchMcus.d.ts +1 -1
- package/lib/managerApi/use-cases/fetchMcus.d.ts.map +1 -1
- package/lib-es/errors.d.ts +14 -14
- package/lib-es/managerApi/use-cases/fetchMcus.d.ts +1 -1
- package/lib-es/managerApi/use-cases/fetchMcus.d.ts.map +1 -1
- package/package.json +7 -7
- package/tsconfig.build.json +5 -1
- package/tsconfig.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ledgerhq/device-core
|
|
2
2
|
|
|
3
|
+
## 0.9.3-nightly.20260331030457
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`24e8f80`](https://github.com/LedgerHQ/ledger-live/commit/24e8f80dc314619f954e6966aff8698591d6e05e), [`1bf4e7e`](https://github.com/LedgerHQ/ledger-live/commit/1bf4e7efa2fbb310f9c3db8f5d72e68294f0f3fe), [`d0559d8`](https://github.com/LedgerHQ/ledger-live/commit/d0559d84e119c844d92dc82c7648d0d9dc6c6e20), [`deec161`](https://github.com/LedgerHQ/ledger-live/commit/deec16153656d444336f067970dcda5fff016d95), [`008a4bd`](https://github.com/LedgerHQ/ledger-live/commit/008a4bdb87f0e65fa23de3a29818a4d02f28f4f8)]:
|
|
8
|
+
- @ledgerhq/types-live@6.103.0-nightly.20260331030457
|
|
9
|
+
- @ledgerhq/devices@8.14.0-nightly.20260331030457
|
|
10
|
+
- @ledgerhq/errors@6.33.0-nightly.20260331030457
|
|
11
|
+
- @ledgerhq/hw-transport@6.35.0-nightly.20260331030457
|
|
12
|
+
- @ledgerhq/logs@6.17.0-nightly.20260331030457
|
|
13
|
+
- @ledgerhq/live-network@2.4.3-nightly.20260331030457
|
|
14
|
+
|
|
3
15
|
## 0.9.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/lib/errors.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
export declare const AppNotFound: import("
|
|
1
|
+
export declare const AppNotFound: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
2
2
|
[key: string]: unknown;
|
|
3
3
|
}>;
|
|
4
|
-
export declare const InvalidContext: import("
|
|
4
|
+
export declare const InvalidContext: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
5
5
|
[key: string]: unknown;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const InvalidAppNameLength: import("
|
|
7
|
+
export declare const InvalidAppNameLength: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
8
8
|
[key: string]: unknown;
|
|
9
9
|
}>;
|
|
10
|
-
export declare const GenerateAesKeyFailed: import("
|
|
10
|
+
export declare const GenerateAesKeyFailed: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
11
11
|
[key: string]: unknown;
|
|
12
12
|
}>;
|
|
13
|
-
export declare const InternalCryptoOperationFailed: import("
|
|
13
|
+
export declare const InternalCryptoOperationFailed: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
}>;
|
|
16
|
-
export declare const InternalComputeAesCmacFailed: import("
|
|
16
|
+
export declare const InternalComputeAesCmacFailed: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
17
17
|
[key: string]: unknown;
|
|
18
18
|
}>;
|
|
19
|
-
export declare const EncryptAppStorageFailed: import("
|
|
19
|
+
export declare const EncryptAppStorageFailed: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
20
20
|
[key: string]: unknown;
|
|
21
21
|
}>;
|
|
22
|
-
export declare const PinNotSet: import("
|
|
22
|
+
export declare const PinNotSet: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
23
23
|
[key: string]: unknown;
|
|
24
24
|
}>;
|
|
25
|
-
export declare const InvalidBackupHeader: import("
|
|
25
|
+
export declare const InvalidBackupHeader: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
26
26
|
[key: string]: unknown;
|
|
27
27
|
}>;
|
|
28
|
-
export declare const InvalidBackupLength: import("
|
|
28
|
+
export declare const InvalidBackupLength: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
29
29
|
[key: string]: unknown;
|
|
30
30
|
}>;
|
|
31
|
-
export declare const InvalidBackupState: import("
|
|
31
|
+
export declare const InvalidBackupState: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
32
32
|
[key: string]: unknown;
|
|
33
33
|
}>;
|
|
34
|
-
export declare const InvalidRestoreState: import("
|
|
34
|
+
export declare const InvalidRestoreState: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
35
35
|
[key: string]: unknown;
|
|
36
36
|
}>;
|
|
37
|
-
export declare const InvalidChunkLength: import("
|
|
37
|
+
export declare const InvalidChunkLength: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
38
38
|
[key: string]: unknown;
|
|
39
39
|
}>;
|
|
40
|
-
export declare const UserRefusedOnDevice: import("
|
|
40
|
+
export declare const UserRefusedOnDevice: import("node_modules/@ledgerhq/errors/lib/helpers").LedgerErrorConstructor<{
|
|
41
41
|
[key: string]: unknown;
|
|
42
42
|
}>;
|
|
43
43
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ManagerApiRepository } from "../repositories/ManagerApiRepository";
|
|
2
|
-
export declare function fetchMcus(managerApiRepository: ManagerApiRepository): Promise<import("
|
|
2
|
+
export declare function fetchMcus(managerApiRepository: ManagerApiRepository): Promise<import("node_modules/@ledgerhq/types-live/lib").McuVersion[]>;
|
|
3
3
|
//# sourceMappingURL=fetchMcus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchMcus.d.ts","sourceRoot":"","sources":["../../../src/managerApi/use-cases/fetchMcus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,wBAAgB,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"fetchMcus.d.ts","sourceRoot":"","sources":["../../../src/managerApi/use-cases/fetchMcus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,wBAAgB,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,yEAEnE"}
|
package/lib-es/errors.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
export declare const AppNotFound: import("
|
|
1
|
+
export declare const AppNotFound: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
2
2
|
[key: string]: unknown;
|
|
3
3
|
}>;
|
|
4
|
-
export declare const InvalidContext: import("
|
|
4
|
+
export declare const InvalidContext: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
5
5
|
[key: string]: unknown;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const InvalidAppNameLength: import("
|
|
7
|
+
export declare const InvalidAppNameLength: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
8
8
|
[key: string]: unknown;
|
|
9
9
|
}>;
|
|
10
|
-
export declare const GenerateAesKeyFailed: import("
|
|
10
|
+
export declare const GenerateAesKeyFailed: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
11
11
|
[key: string]: unknown;
|
|
12
12
|
}>;
|
|
13
|
-
export declare const InternalCryptoOperationFailed: import("
|
|
13
|
+
export declare const InternalCryptoOperationFailed: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
14
14
|
[key: string]: unknown;
|
|
15
15
|
}>;
|
|
16
|
-
export declare const InternalComputeAesCmacFailed: import("
|
|
16
|
+
export declare const InternalComputeAesCmacFailed: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
17
17
|
[key: string]: unknown;
|
|
18
18
|
}>;
|
|
19
|
-
export declare const EncryptAppStorageFailed: import("
|
|
19
|
+
export declare const EncryptAppStorageFailed: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
20
20
|
[key: string]: unknown;
|
|
21
21
|
}>;
|
|
22
|
-
export declare const PinNotSet: import("
|
|
22
|
+
export declare const PinNotSet: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
23
23
|
[key: string]: unknown;
|
|
24
24
|
}>;
|
|
25
|
-
export declare const InvalidBackupHeader: import("
|
|
25
|
+
export declare const InvalidBackupHeader: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
26
26
|
[key: string]: unknown;
|
|
27
27
|
}>;
|
|
28
|
-
export declare const InvalidBackupLength: import("
|
|
28
|
+
export declare const InvalidBackupLength: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
29
29
|
[key: string]: unknown;
|
|
30
30
|
}>;
|
|
31
|
-
export declare const InvalidBackupState: import("
|
|
31
|
+
export declare const InvalidBackupState: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
32
32
|
[key: string]: unknown;
|
|
33
33
|
}>;
|
|
34
|
-
export declare const InvalidRestoreState: import("
|
|
34
|
+
export declare const InvalidRestoreState: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
35
35
|
[key: string]: unknown;
|
|
36
36
|
}>;
|
|
37
|
-
export declare const InvalidChunkLength: import("
|
|
37
|
+
export declare const InvalidChunkLength: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
38
38
|
[key: string]: unknown;
|
|
39
39
|
}>;
|
|
40
|
-
export declare const UserRefusedOnDevice: import("
|
|
40
|
+
export declare const UserRefusedOnDevice: import("node_modules/@ledgerhq/errors/lib-es/helpers").LedgerErrorConstructor<{
|
|
41
41
|
[key: string]: unknown;
|
|
42
42
|
}>;
|
|
43
43
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ManagerApiRepository } from "../repositories/ManagerApiRepository";
|
|
2
|
-
export declare function fetchMcus(managerApiRepository: ManagerApiRepository): Promise<import("
|
|
2
|
+
export declare function fetchMcus(managerApiRepository: ManagerApiRepository): Promise<import("node_modules/@ledgerhq/types-live/lib-es").McuVersion[]>;
|
|
3
3
|
//# sourceMappingURL=fetchMcus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchMcus.d.ts","sourceRoot":"","sources":["../../../src/managerApi/use-cases/fetchMcus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,wBAAgB,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"fetchMcus.d.ts","sourceRoot":"","sources":["../../../src/managerApi/use-cases/fetchMcus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,wBAAgB,SAAS,CAAC,oBAAoB,EAAE,oBAAoB,4EAEnE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/device-core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3-nightly.20260331030457",
|
|
4
4
|
"description": "Ledger Live device core module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@noble/hashes": "1.8.0",
|
|
22
22
|
"semver": "7.7.3",
|
|
23
|
-
"@ledgerhq/devices": "8.
|
|
24
|
-
"@ledgerhq/errors": "^6.
|
|
25
|
-
"@ledgerhq/
|
|
26
|
-
"@ledgerhq/
|
|
27
|
-
"@ledgerhq/logs": "^6.
|
|
28
|
-
"@ledgerhq/types-live": "^6.
|
|
23
|
+
"@ledgerhq/devices": "8.14.0-nightly.20260331030457",
|
|
24
|
+
"@ledgerhq/errors": "^6.33.0-nightly.20260331030457",
|
|
25
|
+
"@ledgerhq/live-network": "^2.4.3-nightly.20260331030457",
|
|
26
|
+
"@ledgerhq/hw-transport": "6.35.0-nightly.20260331030457",
|
|
27
|
+
"@ledgerhq/logs": "^6.17.0-nightly.20260331030457",
|
|
28
|
+
"@ledgerhq/types-live": "^6.103.0-nightly.20260331030457"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@testing-library/dom": "10.4.1",
|
package/tsconfig.build.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": "./tsconfig.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
|
-
"customConditions": []
|
|
4
|
+
"customConditions": [],
|
|
5
|
+
"types": [
|
|
6
|
+
"node"
|
|
7
|
+
]
|
|
5
8
|
},
|
|
6
9
|
"exclude": [
|
|
7
10
|
"**/*.test.ts",
|
|
@@ -10,6 +13,7 @@
|
|
|
10
13
|
"**/*.spec.tsx",
|
|
11
14
|
"**/__tests__/**/*",
|
|
12
15
|
"**/tests/**/*",
|
|
16
|
+
"**/__mocks__/**/*",
|
|
13
17
|
"**/*.test.js",
|
|
14
18
|
"**/*.test.jsx",
|
|
15
19
|
"**/*.spec.js",
|
package/tsconfig.json
CHANGED
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
"declarationMap": true,
|
|
6
6
|
"noImplicitAny": true,
|
|
7
7
|
"noImplicitThis": true,
|
|
8
|
-
"downlevelIteration": true,
|
|
9
8
|
"lib": ["es2020", "dom"],
|
|
10
9
|
"outDir": "lib",
|
|
11
|
-
"
|
|
10
|
+
"rootDir": "src",
|
|
11
|
+
"paths": { "*": ["./*"] },
|
|
12
|
+
"types": ["node", "jest"]
|
|
12
13
|
},
|
|
13
14
|
"include": ["src/**/*", "src/index.ts"]
|
|
14
15
|
}
|