@andresxid/xid_camera_ocr_sdk_react 0.1.0 → 0.1.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/CHANGELOG.md +7 -1
- package/LICENSE +9 -0
- package/README.md +2 -8
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
Public release under the XID proprietary license (LICENSE file added). No code changes.
|
|
6
|
+
|
|
3
7
|
## 0.1.0
|
|
4
8
|
|
|
9
|
+
Published 2026-10-29 (restricted).
|
|
10
|
+
|
|
5
11
|
Initial release of `@andresxid/xid_camera_ocr_sdk_react`, forked from `@andresxid/extract-sdk-*` 0.4.0.
|
|
6
12
|
|
|
7
13
|
### Added
|
|
@@ -11,7 +17,7 @@ Initial release of `@andresxid/xid_camera_ocr_sdk_react`, forked from `@andresxi
|
|
|
11
17
|
- Tips card (`showTips`, default on) shown during `starting`/`loading_detector` before the first completed capture, hidden on `streaming`, dismissible with its button, and shown again on every `error` even if dismissed earlier.
|
|
12
18
|
- Zero-config Vite 5.4+, 6 and 7 (no `optimizeDeps` or `worker` setting), proven by the packed-tarball consumer matrix.
|
|
13
19
|
- `workerUrl` option (with `opencvUrl`) so CJS and non-Vite consumers can self-host `cv-worker.js` and `opencv.js`.
|
|
14
|
-
- Full demo (`examples/full-demo`) with a
|
|
20
|
+
- Full demo (`examples/full-demo`) with a signing backend.
|
|
15
21
|
|
|
16
22
|
### Removed
|
|
17
23
|
|
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Copyright (c) 2026 XID. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software is the proprietary property of XID. It is made publicly available on npm solely so that XID customers and authorized integrators can integrate XID identity-verification services.
|
|
4
|
+
|
|
5
|
+
Use, installation and integration are permitted only together with XID services under an agreement with XID, or with XID's written permission. No other right or license is granted. In particular, you may not copy, modify, redistribute, sublicense or reverse engineer this software, or use it with non-XID services.
|
|
6
|
+
|
|
7
|
+
THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. XID IS NOT LIABLE FOR ANY DAMAGES ARISING FROM ITS USE.
|
|
8
|
+
|
|
9
|
+
Third-party components keep their own licenses. OpenCV.js is distributed under the Apache License 2.0; see dist/LICENSE-OpenCV.txt and dist/NOTICE-OpenCV.txt.
|
package/README.md
CHANGED
|
@@ -4,14 +4,8 @@ React component and headless hook that capture an identity document in the brows
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
The package is published as restricted. Add a token to your project `.npmrc` (keep the real token in the `NPM_TOKEN` environment variable, never in the file):
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
|
|
11
|
-
```
|
|
12
|
-
|
|
13
7
|
```bash
|
|
14
|
-
|
|
8
|
+
npm install @andresxid/xid_camera_ocr_sdk_react
|
|
15
9
|
```
|
|
16
10
|
|
|
17
11
|
Peer dependencies: `react >=18` and `react-dom >=18`. There are no runtime dependencies. The library supports Node >= 18 (the full demo and the Vite consumer harness need Node >= 20.19 because they run Vite 7).
|
|
@@ -220,4 +214,4 @@ Why each directive:
|
|
|
220
214
|
|
|
221
215
|
## License
|
|
222
216
|
|
|
223
|
-
|
|
217
|
+
Proprietary — © XID. See LICENSE. Use is permitted only with XID services under an agreement with XID. OpenCV.js is Apache-2.0 (notice in `dist/`).
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andresxid/xid_camera_ocr_sdk_react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "XID camera OCR capture for React — document capture with on-device OpenCV detection and auto-shutter",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
|
+
"author": "XID",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"main": "./dist/index.cjs",
|
|
8
9
|
"module": "./dist/index.js",
|
|
@@ -20,7 +21,8 @@
|
|
|
20
21
|
"files": [
|
|
21
22
|
"dist",
|
|
22
23
|
"README.md",
|
|
23
|
-
"CHANGELOG.md"
|
|
24
|
+
"CHANGELOG.md",
|
|
25
|
+
"LICENSE"
|
|
24
26
|
],
|
|
25
27
|
"sideEffects": false,
|
|
26
28
|
"engines": {
|
|
@@ -41,7 +43,7 @@
|
|
|
41
43
|
"prepublishOnly": "pnpm run build && pnpm run test && pnpm run test:dist && pnpm run check:size"
|
|
42
44
|
},
|
|
43
45
|
"publishConfig": {
|
|
44
|
-
"access": "
|
|
46
|
+
"access": "public"
|
|
45
47
|
},
|
|
46
48
|
"peerDependencies": {
|
|
47
49
|
"react": ">=18",
|