@sekyro/web 0.1.0-rc.3 → 0.1.0-rc.30

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 (137) hide show
  1. package/CHANGELOG.md +427 -0
  2. package/LICENSE +25 -16
  3. package/README.md +150 -62
  4. package/THIRD-PARTY-NOTICES.txt +154 -0
  5. package/dist/background-monitor-A7FKJOAG.js +1 -0
  6. package/dist/barcode-detect-C5IOXMKI.js +1 -0
  7. package/dist/camera-trait-V4UAOPIQ.js +1 -0
  8. package/dist/capture-constraints-CVqpMNGA.d.cts +48 -0
  9. package/dist/capture-constraints-CVqpMNGA.d.ts +48 -0
  10. package/dist/capture-session-doc-ESEZJBQM.js +1 -0
  11. package/dist/{capture-session-v3-CvIfcwST.d.ts → capture-session-v3-CTQL6eFd.d.cts} +259 -13
  12. package/dist/{capture-session-v3-COIO_F2w.d.cts → capture-session-v3-DHlOE6cS.d.ts} +259 -13
  13. package/dist/challenge-frame-YAQJ5YMB.js +1 -0
  14. package/dist/chunk-2LDOXGY3.js +1 -0
  15. package/dist/chunk-33KKMPJ5.js +1 -0
  16. package/dist/chunk-3LMJ4335.js +1 -0
  17. package/dist/chunk-53POX7U4.js +1 -0
  18. package/dist/chunk-7252SFZ6.js +1 -0
  19. package/dist/chunk-7QZWBDI5.js +1 -0
  20. package/dist/chunk-A7QFTU6M.js +1 -0
  21. package/dist/chunk-CJHMFPL6.js +1 -0
  22. package/dist/chunk-CMXN4SOZ.js +1 -0
  23. package/dist/chunk-CPUECYAJ.js +1 -0
  24. package/dist/chunk-DFTCAWMP.js +1 -0
  25. package/dist/chunk-DK5YPBDQ.js +1 -0
  26. package/dist/chunk-FPXL63KZ.js +1 -0
  27. package/dist/chunk-FSSMUAKC.js +1 -0
  28. package/dist/chunk-G6LKLN4U.js +1 -0
  29. package/dist/chunk-GFJATPUR.js +1 -0
  30. package/dist/chunk-GI3UFGRQ.js +1 -0
  31. package/dist/chunk-JLVZ35QK.js +2 -0
  32. package/dist/chunk-KA43AAM7.js +1 -0
  33. package/dist/chunk-KXFHVAYQ.js +1 -0
  34. package/dist/chunk-ODI4A5K4.js +1 -0
  35. package/dist/chunk-OEQJ62CC.js +3 -0
  36. package/dist/chunk-POIQGEZM.js +1 -0
  37. package/dist/chunk-RI3E7GBN.js +1 -0
  38. package/dist/chunk-S5BUCUZ4.js +1 -0
  39. package/dist/chunk-SLKRT74K.js +1 -0
  40. package/dist/chunk-SMKCBUJL.js +1 -0
  41. package/dist/chunk-SX7TUC3V.js +1 -0
  42. package/dist/chunk-TSA6GHUG.js +1 -0
  43. package/dist/chunk-UTPUHE4J.js +1 -0
  44. package/dist/chunk-VVUQ4PFU.js +1 -0
  45. package/dist/chunk-VWGKUQ3C.js +1 -0
  46. package/dist/chunk-ZKF2XMNX.js +1 -0
  47. package/dist/client/index.cjs +1 -357
  48. package/dist/client/index.d.cts +6 -37
  49. package/dist/client/index.d.ts +6 -37
  50. package/dist/client/index.js +1 -15
  51. package/dist/clip-inspect-DLJXVKV6.js +1 -0
  52. package/dist/core/index.cjs +1 -1606
  53. package/dist/core/index.d.cts +5 -4
  54. package/dist/core/index.d.ts +5 -4
  55. package/dist/core/index.js +1 -139
  56. package/dist/core/ocr/worker.bundle.js +42 -0
  57. package/dist/core/ocr/worker.cjs +42 -0
  58. package/dist/core/ocr/worker.d.cts +84 -0
  59. package/dist/core/ocr/worker.d.ts +84 -0
  60. package/dist/core/ocr/worker.js +41 -0
  61. package/dist/core/v3/detect-worker.cjs +1 -392
  62. package/dist/core/v3/detect-worker.d.cts +1 -1
  63. package/dist/core/v3/detect-worker.d.ts +1 -1
  64. package/dist/core/v3/detect-worker.js +1 -13
  65. package/dist/create-document-capture-V7XCRRDV.js +1 -0
  66. package/dist/create-portrait-capture-5VGYZUOK.js +1 -0
  67. package/dist/create-verification-CGBe2yLE.d.cts +3719 -0
  68. package/dist/create-verification-aoY2QoRx.d.ts +3719 -0
  69. package/dist/{detect-worker-CKXHlXx9.d.ts → detect-worker-CHqsPJoM.d.cts} +25 -2
  70. package/dist/{detect-worker-CKXHlXx9.d.cts → detect-worker-CHqsPJoM.d.ts} +25 -2
  71. package/dist/detector-scanic-SE3CL55N.js +1 -0
  72. package/dist/icao-gate-DveU9Cr8.d.ts +573 -0
  73. package/dist/icao-gate-T3BTOKFJ.js +1 -0
  74. package/dist/icao-gate-xyWB7dz2.d.cts +573 -0
  75. package/dist/icao-policy-BWu1JLgi.d.cts +80 -0
  76. package/dist/icao-policy-OOEQDG9_.d.ts +80 -0
  77. package/dist/icao-tuning-4ETMF53W.js +1 -0
  78. package/dist/index.cjs +3 -2649
  79. package/dist/index.d.cts +138 -5
  80. package/dist/index.d.ts +138 -5
  81. package/dist/index.js +1 -28
  82. package/dist/internal/index.cjs +3 -4179
  83. package/dist/internal/index.d.cts +390 -371
  84. package/dist/internal/index.d.ts +390 -371
  85. package/dist/internal/index.js +1 -647
  86. package/dist/keyframe-rank-YAJLYJYF.js +1 -0
  87. package/dist/landmarker-KB7LVXAU.js +1 -0
  88. package/dist/mrz-band-VYHOTDHY.js +1 -0
  89. package/dist/plan-runner-IXCKR4DB.js +1 -0
  90. package/dist/popup/index.cjs +1 -76
  91. package/dist/popup/index.d.cts +9 -3
  92. package/dist/popup/index.d.ts +9 -3
  93. package/dist/popup/index.js +1 -11
  94. package/dist/print-SEWS3VHQ.js +1 -0
  95. package/dist/scanic-ml-stub-KW7IZHUT.js +1 -0
  96. package/dist/segmenter-USLNBX65.js +1 -0
  97. package/dist/types-CezFEXzl.d.cts +2103 -0
  98. package/dist/types-CezFEXzl.d.ts +2103 -0
  99. package/dist/upload-file-EGXXM6TQ.js +1 -0
  100. package/package.json +30 -11
  101. package/sbom.cdx.json +349 -0
  102. package/dist/capture-constraints-BujkZcfb.d.cts +0 -21
  103. package/dist/capture-constraints-BujkZcfb.d.ts +0 -21
  104. package/dist/chunk-7TC6TOZ4.js +0 -1095
  105. package/dist/chunk-7TC6TOZ4.js.map +0 -1
  106. package/dist/chunk-FIXX2AXC.js +0 -864
  107. package/dist/chunk-FIXX2AXC.js.map +0 -1
  108. package/dist/chunk-MWNFSNMP.js +0 -52
  109. package/dist/chunk-MWNFSNMP.js.map +0 -1
  110. package/dist/chunk-NILNKLK6.js +0 -50
  111. package/dist/chunk-NILNKLK6.js.map +0 -1
  112. package/dist/chunk-NWF46H7K.js +0 -359
  113. package/dist/chunk-NWF46H7K.js.map +0 -1
  114. package/dist/chunk-WY6U7AIK.js +0 -193
  115. package/dist/chunk-WY6U7AIK.js.map +0 -1
  116. package/dist/chunk-YVFF4Q4G.js +0 -327
  117. package/dist/chunk-YVFF4Q4G.js.map +0 -1
  118. package/dist/client/index.cjs.map +0 -1
  119. package/dist/client/index.js.map +0 -1
  120. package/dist/core/index.cjs.map +0 -1
  121. package/dist/core/index.js.map +0 -1
  122. package/dist/core/v3/detect-worker.cjs.map +0 -1
  123. package/dist/core/v3/detect-worker.js.map +0 -1
  124. package/dist/create-verification-CP18eq1Q.d.cts +0 -348
  125. package/dist/create-verification-CswF2As-.d.ts +0 -348
  126. package/dist/detector-scanic-4C6IEW2K.js +0 -787
  127. package/dist/detector-scanic-4C6IEW2K.js.map +0 -1
  128. package/dist/hosted-client-BpvBqu9f.d.cts +0 -408
  129. package/dist/hosted-client-BpvBqu9f.d.ts +0 -408
  130. package/dist/index.cjs.map +0 -1
  131. package/dist/index.js.map +0 -1
  132. package/dist/internal/index.cjs.map +0 -1
  133. package/dist/internal/index.js.map +0 -1
  134. package/dist/popup/index.cjs.map +0 -1
  135. package/dist/popup/index.js.map +0 -1
  136. package/dist/scanic-ml-stub-S2OZ6HEF.js +0 -10
  137. package/dist/scanic-ml-stub-S2OZ6HEF.js.map +0 -1
@@ -0,0 +1 @@
1
+ var U=5242880,_=2560,g=[.92,.85,.75],m=new Set(["","image/jpeg","image/jpg","image/pjpeg","image/png","image/heic","image/heif","image/heic-sequence","image/heif-sequence"]),h=new Set(["heic","heix","hevc","hevx","heim","heis","mif1","msf1"]);function w(e){if(e.length>=3&&e[0]===255&&e[1]===216&&e[2]===255)return"jpeg";if(e.length>=8&&e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71&&e[4]===13&&e[5]===10&&e[6]===26&&e[7]===10)return"png";if(e.length>=12&&e[4]===102&&e[5]===116&&e[6]===121&&e[7]===112){let t=String.fromCharCode(e[8],e[9],e[10],e[11]);return h.has(t)?"heif":null}return null}function x(e){return e.length>=5&&e[0]===37&&e[1]===80&&e[2]===68&&e[3]===70&&e[4]===45}var b=new Set(["application/pdf","application/x-pdf"]);async function E(e){let t=(e.type??"").toLowerCase();if(t!==""&&!b.has(t))return"other";let n;try{n=x(await p(e))}catch{n=!1}return n?"pdf":t===""?"other":"bad"}async function p(e){let t=e.slice(0,16);return typeof t.arrayBuffer=="function"?new Uint8Array(await t.arrayBuffer()):new Promise((n,r)=>{let o=new FileReader;o.onload=()=>n(new Uint8Array(o.result)),o.onerror=()=>r(o.error),o.readAsArrayBuffer(t)})}var y=async e=>{let t=await createImageBitmap(e,{imageOrientation:"from-image"});return{width:t.width,height:t.height,draw:(n,r,o)=>n.drawImage(t,0,0,r,o),close:()=>t.close()}},A=(e,t)=>{let n=document.createElement("canvas");n.width=e.width,n.height=e.height;let r=n.getContext("2d");return r===null?Promise.resolve(null):(e.draw(r,e.width,e.height),new Promise(o=>n.toBlob(o,"image/jpeg",t)))};async function P(e,t={}){let n=(e.type??"").toLowerCase();if(!m.has(n)||e.size===0)throw new TypeError("unsupported_file");let r;try{r=w(await p(e))}catch{r=null}if(r===null)throw new TypeError("unsupported_file");if(r!=="heif"&&e.size<=5242880)return{blob:e,contentType:r==="png"?"image/png":"image/jpeg",converted:!1};let o=t.decode??y,d=t.encode??A,i;try{i=await o(e)}catch{throw new TypeError("unsupported_file")}try{if(!(i.width>0&&i.height>0))throw new TypeError("unsupported_file");let l=Math.min(2560,Math.max(i.width,i.height));for(let c=0;c<2;c+=1){let s=l/Math.max(i.width,i.height),u={width:Math.max(1,Math.round(i.width*s)),height:Math.max(1,Math.round(i.height*s)),draw:i.draw};for(let f of g){let a=await d(u,f).catch(()=>null);if(a!==null&&a.size>0&&a.size<=5242880)return{blob:a,contentType:"image/jpeg",converted:!0}}l=Math.round(l*.75)}throw new TypeError("unsupported_file")}finally{i.close()}}export{U as UPLOAD_MAX_BYTES,_ as UPLOAD_MAX_LONG_SIDE,E as pdfFileKind,P as prepareUploadFile,x as sniffPdf,w as sniffUploadFormat};
package/package.json CHANGED
@@ -1,17 +1,13 @@
1
1
  {
2
2
  "name": "@sekyro/web",
3
- "version": "0.1.0-rc.3",
4
- "description": "Sekyro web SDK — browser liveness capture, hosted-verification client and popup embed for Sekyro identity verification",
5
- "license": "UNLICENSED",
3
+ "version": "0.1.0-rc.30",
4
+ "description": "Sekyro AI web SDK \u2014 browser liveness capture, hosted-verification client and popup embed for Sekyro AI identity verification",
5
+ "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/IBTIKAR-Technologies/sekyro-sdks.git",
8
+ "url": "git+https://github.com/IBTIKAR-Technologies/ibtikar-identity.git",
9
9
  "directory": "packages/sekyro-web"
10
10
  },
11
- "homepage": "https://github.com/IBTIKAR-Technologies/sekyro-sdks/tree/main/packages/sekyro-web#readme",
12
- "bugs": {
13
- "url": "https://github.com/IBTIKAR-Technologies/sekyro-sdks/issues"
14
- },
15
11
  "keywords": [
16
12
  "sekyro",
17
13
  "kyc",
@@ -61,6 +57,17 @@
61
57
  "default": "./dist/core/v3/detect-worker.cjs"
62
58
  }
63
59
  },
60
+ "./core/ocr/worker": {
61
+ "import": {
62
+ "types": "./dist/core/ocr/worker.d.ts",
63
+ "default": "./dist/core/ocr/worker.js"
64
+ },
65
+ "require": {
66
+ "types": "./dist/core/ocr/worker.d.cts",
67
+ "default": "./dist/core/ocr/worker.cjs"
68
+ }
69
+ },
70
+ "./core/ocr/worker.bundle.js": "./dist/core/ocr/worker.bundle.js",
64
71
  "./client": {
65
72
  "import": {
66
73
  "types": "./dist/client/index.d.ts",
@@ -96,22 +103,34 @@
96
103
  "dist",
97
104
  "README.md",
98
105
  "CHANGELOG.md",
99
- "LICENSE"
106
+ "LICENSE",
107
+ "THIRD-PARTY-NOTICES.txt",
108
+ "sbom.cdx.json"
100
109
  ],
101
110
  "scripts": {
102
111
  "build": "tsup",
103
112
  "test": "vitest run",
104
113
  "typecheck": "tsc --noEmit",
105
114
  "api:report": "api-extractor run --local",
106
- "api:check": "api-extractor run"
115
+ "api:check": "api-extractor run",
116
+ "check:lazy-doc": "node scripts/check-lazy-doc.mjs",
117
+ "check:lazy-portrait": "node scripts/check-lazy-portrait.mjs",
118
+ "size": "node scripts/check-size.mjs",
119
+ "gen:ocr-assets": "node scripts/gen-ocr-assets.mjs",
120
+ "check:ocr-assets": "node scripts/gen-ocr-assets.mjs --check && node scripts/check-ocr-assets.mjs",
121
+ "gen:barcode-asset": "node scripts/gen-barcode-asset.mjs",
122
+ "check:barcode-asset": "node scripts/gen-barcode-asset.mjs --check"
107
123
  },
108
124
  "dependencies": {
109
- "@mediapipe/tasks-vision": "0.10.35"
125
+ "@mediapipe/tasks-vision": "0.10.35",
126
+ "@thumbmarkjs/thumbmarkjs": "1.12.0",
127
+ "zxing-wasm": "2.1.0"
110
128
  },
111
129
  "devDependencies": {
112
130
  "@microsoft/api-extractor": "^7.59.4",
113
131
  "@types/node": "^22",
114
132
  "@vitest/coverage-v8": "^3",
133
+ "jpeg-js": "0.4.4",
115
134
  "jsdom": "^25",
116
135
  "tsup": "^8",
117
136
  "typescript": "^5.7",
package/sbom.cdx.json ADDED
@@ -0,0 +1,349 @@
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": "web",
99
+ "group": "@sekyro",
100
+ "version": "0.1.0-rc.30",
101
+ "bom-ref": "@sekyro/web@0.1.0-rc.30",
102
+ "description": "Sekyro AI web SDK — browser liveness capture, hosted-verification client and popup embed for Sekyro AI identity verification",
103
+ "licenses": [
104
+ {
105
+ "license": {
106
+ "name": "SEE LICENSE IN LICENSE",
107
+ "acknowledgement": "declared"
108
+ }
109
+ }
110
+ ],
111
+ "purl": "pkg:npm/%40sekyro/web@0.1.0-rc.30?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2FIBTIKAR-Technologies%2Fibtikar-identity.git%23packages%2Fsekyro-web",
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-web",
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
+ {
149
+ "type": "library",
150
+ "name": "tasks-vision",
151
+ "group": "@mediapipe",
152
+ "version": "0.10.35",
153
+ "bom-ref": "@sekyro/web@0.1.0-rc.30|@mediapipe/tasks-vision@0.10.35",
154
+ "licenses": [
155
+ {
156
+ "license": {
157
+ "id": "Apache-2.0",
158
+ "acknowledgement": "declared"
159
+ }
160
+ }
161
+ ],
162
+ "purl": "pkg:npm/%40mediapipe/tasks-vision@0.10.35",
163
+ "externalReferences": [
164
+ {
165
+ "url": "https://registry.npmjs.org/@mediapipe/tasks-vision/-/tasks-vision-0.10.35.tgz",
166
+ "type": "distribution",
167
+ "hashes": [
168
+ {
169
+ "alg": "SHA-512",
170
+ "content": "1cebda77055113a242fb8e67c988669f2c27af987f27c299bce794355386f6aff4f3be6966022dce7141f5b453bcb736eb861226a899d4db08a424ad270fde82"
171
+ }
172
+ ],
173
+ "comment": "as detected from npm-ls property \"resolved\" and property \"integrity\""
174
+ }
175
+ ],
176
+ "properties": [
177
+ {
178
+ "name": "cdx:npm:package:path",
179
+ "value": "node_modules/@mediapipe/tasks-vision"
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ "type": "library",
185
+ "name": "thumbmarkjs",
186
+ "group": "@thumbmarkjs",
187
+ "version": "1.12.0",
188
+ "bom-ref": "@sekyro/web@0.1.0-rc.30|@thumbmarkjs/thumbmarkjs@1.12.0",
189
+ "licenses": [
190
+ {
191
+ "license": {
192
+ "id": "MIT",
193
+ "acknowledgement": "declared"
194
+ }
195
+ }
196
+ ],
197
+ "purl": "pkg:npm/%40thumbmarkjs/thumbmarkjs@1.12.0",
198
+ "externalReferences": [
199
+ {
200
+ "url": "https://registry.npmjs.org/@thumbmarkjs/thumbmarkjs/-/thumbmarkjs-1.12.0.tgz",
201
+ "type": "distribution",
202
+ "hashes": [
203
+ {
204
+ "alg": "SHA-512",
205
+ "content": "a8620a9522a1b07ec2b5acd4f1d868c010cda359750de02bdf42bbf399c2b457734966a6fecc9bca388f9a62aefe352392e509f24afc572457896431426ffcd7"
206
+ }
207
+ ],
208
+ "comment": "as detected from npm-ls property \"resolved\" and property \"integrity\""
209
+ }
210
+ ],
211
+ "properties": [
212
+ {
213
+ "name": "cdx:npm:package:path",
214
+ "value": "node_modules/@thumbmarkjs/thumbmarkjs"
215
+ }
216
+ ]
217
+ },
218
+ {
219
+ "type": "library",
220
+ "name": "emscripten",
221
+ "group": "@types",
222
+ "version": "1.41.6",
223
+ "bom-ref": "@sekyro/web@0.1.0-rc.30|@types/emscripten@1.41.6",
224
+ "licenses": [
225
+ {
226
+ "license": {
227
+ "id": "MIT",
228
+ "acknowledgement": "declared"
229
+ }
230
+ }
231
+ ],
232
+ "purl": "pkg:npm/%40types/emscripten@1.41.6",
233
+ "externalReferences": [
234
+ {
235
+ "url": "https://registry.npmjs.org/@types/emscripten/-/emscripten-1.41.6.tgz",
236
+ "type": "distribution",
237
+ "hashes": [
238
+ {
239
+ "alg": "SHA-512",
240
+ "content": "b8dfbd8bc6c54f90947197f2204603ad2b9e0021322866d4b39902ffbd831a5659a229e1f38b097d55748bc50e243d5ab1dce4bcb3c146b2ace35919f0c7445e"
241
+ }
242
+ ],
243
+ "comment": "as detected from npm-ls property \"resolved\" and property \"integrity\""
244
+ }
245
+ ],
246
+ "properties": [
247
+ {
248
+ "name": "cdx:npm:package:path",
249
+ "value": "node_modules/@types/emscripten"
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "type": "library",
255
+ "name": "type-fest",
256
+ "version": "4.41.0",
257
+ "bom-ref": "@sekyro/web@0.1.0-rc.30|type-fest@4.41.0",
258
+ "licenses": [
259
+ {
260
+ "expression": "(MIT OR CC0-1.0)",
261
+ "acknowledgement": "declared"
262
+ }
263
+ ],
264
+ "purl": "pkg:npm/type-fest@4.41.0",
265
+ "externalReferences": [
266
+ {
267
+ "url": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",
268
+ "type": "distribution",
269
+ "hashes": [
270
+ {
271
+ "alg": "SHA-512",
272
+ "content": "4de4d243a1f9607be9a95c0145c9cb0c20670ce1d662eec8bc66c74fa37c00eca672bf4f2468dcd464ed896653620d0d0a0630be761612454285002bf5b8dfc0"
273
+ }
274
+ ],
275
+ "comment": "as detected from npm-ls property \"resolved\" and property \"integrity\""
276
+ }
277
+ ],
278
+ "properties": [
279
+ {
280
+ "name": "cdx:npm:package:path",
281
+ "value": "node_modules/type-fest"
282
+ }
283
+ ]
284
+ },
285
+ {
286
+ "type": "library",
287
+ "name": "zxing-wasm",
288
+ "version": "2.1.0",
289
+ "bom-ref": "@sekyro/web@0.1.0-rc.30|zxing-wasm@2.1.0",
290
+ "licenses": [
291
+ {
292
+ "license": {
293
+ "id": "MIT",
294
+ "acknowledgement": "declared"
295
+ }
296
+ }
297
+ ],
298
+ "purl": "pkg:npm/zxing-wasm@2.1.0",
299
+ "externalReferences": [
300
+ {
301
+ "url": "https://registry.npmjs.org/zxing-wasm/-/zxing-wasm-2.1.0.tgz",
302
+ "type": "distribution",
303
+ "hashes": [
304
+ {
305
+ "alg": "SHA-512",
306
+ "content": "0afbb00d91d11f083a3de08045a083229ddd6ae0f87229f499b1eb41066d303aebe666e53f30a29808ddc3f5cc843fc0bb5d2afdfe7e480ba9bd8a98bd43a0d5"
307
+ }
308
+ ],
309
+ "comment": "as detected from npm-ls property \"resolved\" and property \"integrity\""
310
+ }
311
+ ],
312
+ "properties": [
313
+ {
314
+ "name": "cdx:npm:package:path",
315
+ "value": "node_modules/zxing-wasm"
316
+ }
317
+ ]
318
+ }
319
+ ],
320
+ "dependencies": [
321
+ {
322
+ "ref": "@sekyro/web@0.1.0-rc.30",
323
+ "dependsOn": [
324
+ "@sekyro/web@0.1.0-rc.30|@mediapipe/tasks-vision@0.10.35",
325
+ "@sekyro/web@0.1.0-rc.30|@thumbmarkjs/thumbmarkjs@1.12.0",
326
+ "@sekyro/web@0.1.0-rc.30|zxing-wasm@2.1.0"
327
+ ]
328
+ },
329
+ {
330
+ "ref": "@sekyro/web@0.1.0-rc.30|@mediapipe/tasks-vision@0.10.35"
331
+ },
332
+ {
333
+ "ref": "@sekyro/web@0.1.0-rc.30|@thumbmarkjs/thumbmarkjs@1.12.0"
334
+ },
335
+ {
336
+ "ref": "@sekyro/web@0.1.0-rc.30|@types/emscripten@1.41.6"
337
+ },
338
+ {
339
+ "ref": "@sekyro/web@0.1.0-rc.30|type-fest@4.41.0"
340
+ },
341
+ {
342
+ "ref": "@sekyro/web@0.1.0-rc.30|zxing-wasm@2.1.0",
343
+ "dependsOn": [
344
+ "@sekyro/web@0.1.0-rc.30|@types/emscripten@1.41.6",
345
+ "@sekyro/web@0.1.0-rc.30|type-fest@4.41.0"
346
+ ]
347
+ }
348
+ ]
349
+ }
@@ -1,21 +0,0 @@
1
- /** getUserMedia constraint tier — 720p-class on every device since 2026-07-06.
2
- * The v2 FAS-CLIP liveness head loses its texture cues below ~720p: the SAME
3
- * genuine clip scores heads 0.0001 at 720x1280 vs 0.355 at the old 480x360
4
- * mobile tier, which pushed real users into review (first observed live on
5
- * staging 2026-07-06; falsified on corpus clips the same day). Dimensions are
6
- * sensor-relative (landscape); mobile browsers deliver portrait via rotation
7
- * metadata, which the liveness service's decoder applies (cv2
8
- * ORIENTATION_AUTO). `isMobile` is kept for call-site compat and future
9
- * divergence — both tiers are 720p today. Bitrate pairs with VIDEO_BPS in
10
- * clip-recorder.ts (2.5 Mbps). */
11
- declare function buildCaptureConstraints(isMobile: boolean, facingMode: "user" | "environment"): MediaStreamConstraints;
12
- /** v1 mobile heuristic (FaceCaptureV2.tsx L216-224). */
13
- declare function detectIsMobile(): boolean;
14
- /** Gate radius as a fraction of the guidance circle (v1 L501: circleSize × 0.45). */
15
- declare const CIRCLE_RADIUS_FACTOR = 0.45;
16
- /** `inCircle` tolerance as a fraction of the gate radius (v1 L508: r × 0.9). */
17
- declare const IN_CIRCLE_FACTOR = 0.9;
18
- /** `centered` tolerance as a fraction of the gate radius (v1 L509: r × 0.4). */
19
- declare const CENTERED_FACTOR = 0.4;
20
-
21
- export { CENTERED_FACTOR as C, IN_CIRCLE_FACTOR as I, CIRCLE_RADIUS_FACTOR as a, buildCaptureConstraints as b, detectIsMobile as d };
@@ -1,21 +0,0 @@
1
- /** getUserMedia constraint tier — 720p-class on every device since 2026-07-06.
2
- * The v2 FAS-CLIP liveness head loses its texture cues below ~720p: the SAME
3
- * genuine clip scores heads 0.0001 at 720x1280 vs 0.355 at the old 480x360
4
- * mobile tier, which pushed real users into review (first observed live on
5
- * staging 2026-07-06; falsified on corpus clips the same day). Dimensions are
6
- * sensor-relative (landscape); mobile browsers deliver portrait via rotation
7
- * metadata, which the liveness service's decoder applies (cv2
8
- * ORIENTATION_AUTO). `isMobile` is kept for call-site compat and future
9
- * divergence — both tiers are 720p today. Bitrate pairs with VIDEO_BPS in
10
- * clip-recorder.ts (2.5 Mbps). */
11
- declare function buildCaptureConstraints(isMobile: boolean, facingMode: "user" | "environment"): MediaStreamConstraints;
12
- /** v1 mobile heuristic (FaceCaptureV2.tsx L216-224). */
13
- declare function detectIsMobile(): boolean;
14
- /** Gate radius as a fraction of the guidance circle (v1 L501: circleSize × 0.45). */
15
- declare const CIRCLE_RADIUS_FACTOR = 0.45;
16
- /** `inCircle` tolerance as a fraction of the gate radius (v1 L508: r × 0.9). */
17
- declare const IN_CIRCLE_FACTOR = 0.9;
18
- /** `centered` tolerance as a fraction of the gate radius (v1 L509: r × 0.4). */
19
- declare const CENTERED_FACTOR = 0.4;
20
-
21
- export { CENTERED_FACTOR as C, IN_CIRCLE_FACTOR as I, CIRCLE_RADIUS_FACTOR as a, buildCaptureConstraints as b, detectIsMobile as d };