@ledgerhq/react-native-hid 6.37.0 → 6.38.0-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.
@@ -1,4 +1,4 @@
1
1
 
2
2
  > @ledgerhq/react-native-hid@6.37.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/react-native-hid
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,19 @@
1
1
  # @ledgerhq/react-native-hid
2
2
 
3
+ ## 6.38.0-nightly.20260317030141
4
+
5
+ ### Minor Changes
6
+
7
+ - [#15304](https://github.com/LedgerHQ/ledger-live/pull/15304) [`c8d7be6`](https://github.com/LedgerHQ/ledger-live/commit/c8d7be6964aa9d8defd77de0b77ba7d42f472025) Thanks [@gre-ledger](https://github.com/gre-ledger)! - Bump Node.js runtime to 24. Proto/toolchain and pnpm catalog use Node 24 and @types/node 24; engines and .nvmrc updated. TSConfig lib set to ES2022 where needed; Jest configs updated for ESM (imports, \_\_dirname, createRequire). CI: Linux build deps in setup-caches/setup-build-desktop; optional native deps (cpu-features, node-hid, usb, unrs-resolver) removed from onlyBuiltDependencies so install succeeds.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`c8d7be6`](https://github.com/LedgerHQ/ledger-live/commit/c8d7be6964aa9d8defd77de0b77ba7d42f472025)]:
12
+ - @ledgerhq/devices@8.12.0-nightly.20260317030141
13
+ - @ledgerhq/errors@6.31.0-nightly.20260317030141
14
+ - @ledgerhq/hw-transport@6.34.0-nightly.20260317030141
15
+ - @ledgerhq/logs@6.16.0-nightly.20260317030141
16
+
3
17
  ## 6.37.0
4
18
 
5
19
  ### Minor Changes
package/jest.config.ts CHANGED
@@ -1,4 +1,8 @@
1
- import baseConfig from "../../jest.config";
1
+ import { dirname } from "node:path";
2
+ import { fileURLToPath } from "node:url";
3
+ import baseConfig from "../../jest.config.ts";
4
+
5
+ const __dirname = dirname(fileURLToPath(import.meta.url));
2
6
 
3
7
  export default {
4
8
  ...baseConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/react-native-hid",
3
- "version": "6.37.0",
3
+ "version": "6.38.0-nightly.20260317030141",
4
4
  "nativePackage": true,
5
5
  "description": "Ledger Hardware Wallet Web implementation of the communication layer, using U2F api",
6
6
  "keywords": [
@@ -30,14 +30,14 @@
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
32
  "rxjs": "7.8.2",
33
- "@ledgerhq/devices": "8.11.0",
34
- "@ledgerhq/errors": "^6.30.0",
35
- "@ledgerhq/hw-transport": "6.33.0",
36
- "@ledgerhq/logs": "^6.15.0"
33
+ "@ledgerhq/devices": "8.12.0-nightly.20260317030141",
34
+ "@ledgerhq/errors": "^6.31.0-nightly.20260317030141",
35
+ "@ledgerhq/hw-transport": "6.34.0-nightly.20260317030141",
36
+ "@ledgerhq/logs": "^6.16.0-nightly.20260317030141"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/jest": "30.0.0",
40
- "@types/node": "22.19.13",
40
+ "@types/node": "24.12.0",
41
41
  "documentation": "14.0.2",
42
42
  "jest": "30.2.0",
43
43
  "rimraf": "^4.4.1",
@@ -51,12 +51,29 @@
51
51
  "react-native": "*"
52
52
  },
53
53
  "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",
54
+ "exports": {
55
+ ".": {
56
+ "@ledgerhq/source": "./src/index.ts",
57
+ "import": "./lib-es/index.js",
58
+ "require": "./lib/index.js",
59
+ "default": "./lib/index.js"
60
+ },
61
+ "./lib-es/*": "./lib-es/*.js",
62
+ "./lib/*": "./lib/*.js",
63
+ "./*": {
64
+ "@ledgerhq/source": "./src/*.ts",
65
+ "import": "./lib-es/*.js",
66
+ "require": "./lib/*.js",
67
+ "default": "./lib/*.js"
68
+ },
69
+ "./package.json": "./package.json"
70
+ },
54
71
  "scripts": {
55
72
  "clean": "rimraf lib lib-es",
56
- "build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es",
73
+ "build": "tsc --project tsconfig.build.json && tsc --project tsconfig.build.json -m esnext --moduleResolution bundler --outDir lib-es",
57
74
  "prewatch": "pnpm build",
58
- "watch": "tsc --watch",
59
- "watch:es": "tsc --watch -m esnext --moduleResolution bundler --outDir lib-es",
75
+ "watch": "tsc --watch --project tsconfig.build.json",
76
+ "watch:es": "tsc --watch --project tsconfig.build.json -m esnext --moduleResolution bundler --outDir lib-es",
60
77
  "doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts",
61
78
  "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache",
62
79
  "lint:fix": "pnpm lint --fix",
@@ -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
+ }