@sekyro/react 0.0.0-stage → 0.1.0-rc.10

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +290 -0
  2. package/LICENSE +29 -0
  3. package/README.md +246 -2
  4. package/dist/chunk-2KED7D2Q.js +2 -0
  5. package/dist/chunk-3MMLW5JQ.js +2 -0
  6. package/dist/chunk-5OAGLIJS.js +2 -0
  7. package/dist/chunk-BTCCJFMS.js +2 -0
  8. package/dist/chunk-EZ5TVL6P.js +2 -0
  9. package/dist/chunk-G2GWGZYH.js +2 -0
  10. package/dist/chunk-H2KIOYQU.js +2 -0
  11. package/dist/chunk-MLGCQ74X.js +2 -0
  12. package/dist/chunk-PYAJMHZH.js +2 -0
  13. package/dist/chunk-R5W7UDFX.js +2 -0
  14. package/dist/chunk-RFCYXRRC.js +2 -0
  15. package/dist/chunk-RFJSBXAH.js +2 -0
  16. package/dist/chunk-RIE46W4P.js +2 -0
  17. package/dist/chunk-YY76AMUA.js +2 -0
  18. package/dist/chunk-ZCAZDOMD.js +2 -0
  19. package/dist/document-capture-view-BSK7QPBT.js +2 -0
  20. package/dist/eid-view-EOTE4E3T.js +2 -0
  21. package/dist/email-otp-view-TL43KM5T.js +2 -0
  22. package/dist/flow-views-5ADJL2OW.js +2 -0
  23. package/dist/fonts/Cairo-OFL.txt +93 -0
  24. package/dist/fonts/Geist-OFL.txt +93 -0
  25. package/dist/fonts/Inter-OFL.txt +93 -0
  26. package/dist/fonts/SekyroCairo-Bold.woff2 +0 -0
  27. package/dist/fonts/SekyroCairo-Regular.woff2 +0 -0
  28. package/dist/fonts/SekyroCairo-SemiBold.woff2 +0 -0
  29. package/dist/fonts/SekyroGeist-Bold.woff2 +0 -0
  30. package/dist/fonts/SekyroGeist-SemiBold.woff2 +0 -0
  31. package/dist/fonts/SekyroInter-Medium.woff2 +0 -0
  32. package/dist/fonts/SekyroInter-Regular.woff2 +0 -0
  33. package/dist/fonts/SekyroInter-SemiBold.woff2 +0 -0
  34. package/dist/index.cjs +2 -0
  35. package/dist/index.d.cts +16 -0
  36. package/dist/index.d.ts +16 -0
  37. package/dist/index.js +2 -0
  38. package/dist/overlay-de-SAZKXC6H.js +2 -0
  39. package/dist/overlay-es-H7CXA7UL.js +2 -0
  40. package/dist/overlay-pt-VW4D7A3A.js +2 -0
  41. package/dist/portrait-capture-view-YIONZJPI.js +2 -0
  42. package/dist/styles.css +675 -0
  43. package/dist/theme-DiGLpM-i.d.cts +492 -0
  44. package/dist/theme-DiGLpM-i.d.ts +492 -0
  45. package/dist/verification/index.cjs +2 -0
  46. package/dist/verification/index.d.cts +562 -0
  47. package/dist/verification/index.d.ts +562 -0
  48. package/dist/verification/index.js +2 -0
  49. package/dist/verification.css +577 -0
  50. package/package.json +99 -4
  51. package/sbom.cdx.json +153 -0
package/package.json CHANGED
@@ -1,6 +1,101 @@
1
1
  {
2
2
  "name": "@sekyro/react",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0-rc.10",
4
+ "description": "Sekyro AI React SDK — the themeable, accessible <LivenessCapture /> component over @sekyro/web (ar/fr/en, RTL-safe, WCAG AAA defaults)",
5
+ "license": "SEE LICENSE IN LICENSE",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/IBTIKAR-Technologies/ibtikar-identity.git",
9
+ "directory": "packages/sekyro-react"
10
+ },
11
+ "keywords": [
12
+ "sekyro",
13
+ "kyc",
14
+ "identity-verification",
15
+ "liveness",
16
+ "face-capture",
17
+ "react",
18
+ "mauritania",
19
+ "sdk"
20
+ ],
21
+ "engines": {
22
+ "node": ">=20"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "type": "module",
28
+ "sideEffects": [
29
+ "*.css"
30
+ ],
31
+ "main": "./dist/index.cjs",
32
+ "module": "./dist/index.js",
33
+ "types": "./dist/index.d.ts",
34
+ "exports": {
35
+ ".": {
36
+ "import": {
37
+ "types": "./dist/index.d.ts",
38
+ "default": "./dist/index.js"
39
+ },
40
+ "require": {
41
+ "types": "./dist/index.d.cts",
42
+ "default": "./dist/index.cjs"
43
+ }
44
+ },
45
+ "./verification": {
46
+ "import": {
47
+ "types": "./dist/verification/index.d.ts",
48
+ "default": "./dist/verification/index.js"
49
+ },
50
+ "require": {
51
+ "types": "./dist/verification/index.d.cts",
52
+ "default": "./dist/verification/index.cjs"
53
+ }
54
+ },
55
+ "./verification.css": "./dist/verification.css",
56
+ "./styles.css": "./dist/styles.css",
57
+ "./package.json": "./package.json"
58
+ },
59
+ "files": [
60
+ "dist",
61
+ "README.md",
62
+ "CHANGELOG.md",
63
+ "LICENSE",
64
+ "sbom.cdx.json"
65
+ ],
66
+ "scripts": {
67
+ "build": "tsup",
68
+ "test": "node scripts/check-css.mjs && node scripts/gen-step-strings.mjs --check && vitest run",
69
+ "size": "node scripts/check-size.mjs",
70
+ "voice:texts": "node --experimental-strip-types scripts/export-voice-texts.mts",
71
+ "typecheck": "tsc --noEmit",
72
+ "api:report": "api-extractor run --local && api-extractor run --local -c api-extractor.verification.json",
73
+ "api:check": "api-extractor run && api-extractor run -c api-extractor.verification.json",
74
+ "strings:steps": "node scripts/gen-step-strings.mjs"
75
+ },
76
+ "peerDependencies": {
77
+ "@sekyro/web": "^0.1.0-rc.12 || ^0.2.0-rc.0",
78
+ "react": ">=18.2",
79
+ "react-dom": ">=18.2"
80
+ },
81
+ "devDependencies": {
82
+ "@microsoft/api-extractor": "^7.59.4",
83
+ "@sekyro/web": "file:../sekyro-web",
84
+ "@testing-library/jest-dom": "^6",
85
+ "@testing-library/react": "^16",
86
+ "@types/jest-axe": "^3.5",
87
+ "@types/node": "^22",
88
+ "@types/qrcode": "1.5.5",
89
+ "@types/react": "^19",
90
+ "@types/react-dom": "^19",
91
+ "@vitejs/plugin-react": "^4",
92
+ "jest-axe": "^10",
93
+ "jsdom": "^25",
94
+ "qrcode": "1.5.4",
95
+ "react": "19.2.0",
96
+ "react-dom": "19.2.0",
97
+ "tsup": "^8",
98
+ "typescript": "^5.7",
99
+ "vitest": "^3"
100
+ }
101
+ }
package/sbom.cdx.json ADDED
@@ -0,0 +1,153 @@
1
+ {
2
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
3
+ "bomFormat": "CycloneDX",
4
+ "specVersion": "1.6",
5
+ "version": 1,
6
+ "metadata": {
7
+ "tools": {
8
+ "components": [
9
+ {
10
+ "type": "application",
11
+ "name": "npm",
12
+ "version": "11.12.1"
13
+ },
14
+ {
15
+ "type": "library",
16
+ "name": "cyclonedx-library",
17
+ "group": "@cyclonedx",
18
+ "version": "10.3.0",
19
+ "author": "Jan Kowalleck",
20
+ "description": "Core functionality of CycloneDX for JavaScript (Node.js or WebBrowser).",
21
+ "licenses": [
22
+ {
23
+ "license": {
24
+ "id": "Apache-2.0"
25
+ }
26
+ }
27
+ ],
28
+ "externalReferences": [
29
+ {
30
+ "url": "https://github.com/CycloneDX/cyclonedx-javascript-library/issues",
31
+ "type": "issue-tracker",
32
+ "comment": "as detected from PackageJson property \"bugs.url\""
33
+ },
34
+ {
35
+ "url": "git+https://github.com/CycloneDX/cyclonedx-javascript-library.git",
36
+ "type": "vcs",
37
+ "comment": "as detected from PackageJson property \"repository.url\""
38
+ },
39
+ {
40
+ "url": "https://github.com/CycloneDX/cyclonedx-javascript-library#readme",
41
+ "type": "website",
42
+ "comment": "as detected from PackageJson property \"homepage\""
43
+ }
44
+ ],
45
+ "properties": [
46
+ {
47
+ "name": "cdx:npm:package:constraint:engine:node",
48
+ "value": ">=20.18.0"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "type": "application",
54
+ "name": "cyclonedx-npm",
55
+ "group": "@cyclonedx",
56
+ "version": "6.0.1",
57
+ "author": "Jan Kowalleck",
58
+ "description": "Create CycloneDX Software Bill of Materials (SBOM) from NPM projects.",
59
+ "licenses": [
60
+ {
61
+ "license": {
62
+ "id": "Apache-2.0"
63
+ }
64
+ }
65
+ ],
66
+ "externalReferences": [
67
+ {
68
+ "url": "https://github.com/CycloneDX/cyclonedx-node-npm/issues",
69
+ "type": "issue-tracker",
70
+ "comment": "as detected from PackageJson property \"bugs.url\""
71
+ },
72
+ {
73
+ "url": "git+https://github.com/CycloneDX/cyclonedx-node-npm.git",
74
+ "type": "vcs",
75
+ "comment": "as detected from PackageJson property \"repository.url\""
76
+ },
77
+ {
78
+ "url": "https://github.com/CycloneDX/cyclonedx-node-npm#readme",
79
+ "type": "website",
80
+ "comment": "as detected from PackageJson property \"homepage\""
81
+ }
82
+ ],
83
+ "properties": [
84
+ {
85
+ "name": "cdx:npm:package:constraint:engine:node",
86
+ "value": ">=20.18.0"
87
+ },
88
+ {
89
+ "name": "cdx:npm:package:constraint:engine:npm",
90
+ "value": ">=9"
91
+ }
92
+ ]
93
+ }
94
+ ]
95
+ },
96
+ "component": {
97
+ "type": "application",
98
+ "name": "react",
99
+ "group": "@sekyro",
100
+ "version": "0.1.0-rc.10",
101
+ "bom-ref": "@sekyro/react@0.1.0-rc.10",
102
+ "description": "Sekyro AI React SDK — the themeable, accessible <LivenessCapture /> component over @sekyro/web (ar/fr/en, RTL-safe, WCAG AAA defaults)",
103
+ "licenses": [
104
+ {
105
+ "license": {
106
+ "name": "SEE LICENSE IN LICENSE",
107
+ "acknowledgement": "declared"
108
+ }
109
+ }
110
+ ],
111
+ "purl": "pkg:npm/%40sekyro/react@0.1.0-rc.10?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2FIBTIKAR-Technologies%2Fibtikar-identity.git%23packages%2Fsekyro-react",
112
+ "externalReferences": [
113
+ {
114
+ "url": "https://github.com/IBTIKAR-Technologies/ibtikar-identity/issues",
115
+ "type": "issue-tracker",
116
+ "comment": "as detected from PackageJson property \"bugs.url\""
117
+ },
118
+ {
119
+ "url": "git+https://github.com/IBTIKAR-Technologies/ibtikar-identity.git#packages/sekyro-react",
120
+ "type": "vcs",
121
+ "comment": "as detected from PackageJson property \"repository.url\" and \"repository.directory\""
122
+ },
123
+ {
124
+ "url": "https://github.com/IBTIKAR-Technologies/ibtikar-identity#readme",
125
+ "type": "website",
126
+ "comment": "as detected from PackageJson property \"homepage\""
127
+ }
128
+ ],
129
+ "properties": [
130
+ {
131
+ "name": "cdx:npm:package:constraint:engine:node",
132
+ "value": ">=20"
133
+ },
134
+ {
135
+ "name": "cdx:npm:package:path",
136
+ "value": ""
137
+ }
138
+ ]
139
+ },
140
+ "properties": [
141
+ {
142
+ "name": "cdx:reproducible",
143
+ "value": "true"
144
+ }
145
+ ]
146
+ },
147
+ "components": [],
148
+ "dependencies": [
149
+ {
150
+ "ref": "@sekyro/react@0.1.0-rc.10"
151
+ }
152
+ ]
153
+ }