{"_id":"@microblink/capture","_rev":"39-3d5dd7dda38efa2a3c3392d64f6a1549","name":"@microblink/capture","dist-tags":{"latest":"1.2.4"},"versions":{"1.0.0":{"name":"@microblink/capture","version":"1.0.0","author":{"name":"microblink"},"license":"ISC","_id":"@microblink/capture@1.0.0","maintainers":[{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"mirzamesic","email":"mesic.mirza07@gmail.com"},{"name":"dodoent","email":"DoDoEntertainment@gmail.com"},{"name":"markosopcic","email":"marko.sopcic@microblink.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"juraskrlec","email":"jura.skrlec@microblink.com"},{"name":"igrce","email":"ivan.grce@microblink.com"},{"name":"stepanic","email":"stepanic@loopus.co"},{"name":"vjekoart","email":"vjekoart@gmail.com"},{"name":"dcubelic-mb","email":"dominik.cubelic@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"5f452de6c0f1511139a642addb5470eb636d4866","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.0.0.tgz","fileCount":18,"integrity":"sha512-cXpv2MLbCURIMHfncbGXoFwtumuzJqbCpWLHufbVel80frpKXbh7OvJaMF6Aj+gQTdr0OMDSTt5okpmxA4Qo6g==","signatures":[{"sig":"MEUCICIztZweEV9Z8fOOryVMheHPgI0XQ/heiqrva0XLm6GbAiEAwqsiv1Lu8G6JEZK21Y+4xq442qDCcu/NwEPna0ONSVM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8235940},"main":"./dist/capture.umd.cjs","type":"module","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"scripts":{"lint":"concurrently pnpm:lint:types pnpm:lint:package","build":"concurrently -m 1 pnpm:build:js pnpm:build:types pnpm:rollup","clean":"rimraf .turbo types dist public *.tsbuildinfo","rollup":"api-extractor run --local --verbose","build:js":"vite build","build:dev":"concurrently pnpm:build:js-dev pnpm:build:types","lint:types":"tsc --emitDeclarationOnly false --noEmit","build:types":"tsc && tsx duplicate-types.mts","build:js-dev":"vite build --mode development","lint:package":"publint && attw --pack . --exclude-entrypoints style.css "},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"9.7.2","description":"The Capture Browser SDK gives you the ability to auto-capture high-quality images of identity documents in a user-friendly way. The SDK provides you with a rectified image of the document, ensuring a high success rate in extracting document text or verify","directories":{},"_nodeVersion":"19.7.0","_hasShrinkwrap":false,"devDependencies":{"zx":"^7.2.3","tsx":"^3.12.7","vite":"^4.4.6","rimraf":"^5.0.1","publint":"^0.1.16","solid-js":"^1.7.8","tsconfig":"workspace:*","@mb/utils":"workspace:^","concurrently":"^8.2.0","@arethetypeswrong/cli":"^0.7.0","@microsoft/api-extractor":"^7.36.3"},"_npmOperationalInternal":{"tmp":"tmp/capture_1.0.0_1689958762341_0.745480462255854","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@microblink/capture","version":"1.0.1","_id":"@microblink/capture@1.0.1","maintainers":[{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"mirzamesic","email":"mesic.mirza07@gmail.com"},{"name":"dodoent","email":"DoDoEntertainment@gmail.com"},{"name":"markosopcic","email":"marko.sopcic@microblink.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"juraskrlec","email":"jura.skrlec@microblink.com"},{"name":"igrce","email":"ivan.grce@microblink.com"},{"name":"stepanic","email":"stepanic@loopus.co"},{"name":"vjekoart","email":"vjekoart@gmail.com"},{"name":"dcubelic-mb","email":"dominik.cubelic@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"bca14e0993036e8c5faf481ee3b5cb3fdb900f2d","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.0.1.tgz","fileCount":18,"integrity":"sha512-ESovSmnJ4ZysuvkYuX9ZxgLU+H96kUJl4LdWhvmFmDYtZwHhmXT3YSPkXWJMuYJ9gE0zjqW5+hWpOpfM5WDs9Q==","signatures":[{"sig":"MEUCICfjHJS+uI4qAH3Fnj+M+He5A9kTiBwf/Rrc4rcVRBgdAiEAoRNUjnSEWWjrsMmXs1PulO1iE57I8KQuvLPS05+SH8I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8234938},"main":"./dist/capture.umd.cjs","type":"module","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"gitHead":"57ba45ce2b43417d0fc703b72083fd54e2d3f0f8","scripts":{"lint":"concurrently pnpm:lint:types pnpm:lint:package","build":"concurrently -m 1 pnpm:build:js pnpm:build:types pnpm:rollup","clean":"rimraf .turbo types dist public *.tsbuildinfo","rollup":"api-extractor run --local --verbose","build:js":"vite build","build:dev":"concurrently pnpm:build:js-dev pnpm:build:types","lint:types":"tsc --emitDeclarationOnly false --noEmit","build:types":"tsc && tsx duplicate-types.mts","build:js-dev":"vite build --mode development","lint:package":"publint && attw --pack . --exclude-entrypoints style.css "},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"9.7.2","description":"![logo-microblink](https://github.com/BlinkID/capture-browser/assets/2827047/ab8ab61b-ac82-4d84-8013-f6f2efe5bec5)","directories":{},"_nodeVersion":"19.7.0","dependencies":{"capture-ui":"workspace:^","capture-main":"workspace:^"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^7.2.3","tsx":"^3.12.7","vite":"^4.4.6","rimraf":"^5.0.1","publint":"^0.1.16","solid-js":"^1.7.8","tsconfig":"workspace:*","@mb/utils":"workspace:^","concurrently":"^8.2.0","@arethetypeswrong/cli":"^0.7.0","@microsoft/api-extractor":"^7.36.3"},"_npmOperationalInternal":{"tmp":"tmp/capture_1.0.1_1690477721695_0.9844444168712638","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@microblink/capture","version":"1.0.3","_id":"@microblink/capture@1.0.3","maintainers":[{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"mirzamesic","email":"mesic.mirza07@gmail.com"},{"name":"dodoent","email":"DoDoEntertainment@gmail.com"},{"name":"markosopcic","email":"marko.sopcic@microblink.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"juraskrlec","email":"jura.skrlec@microblink.com"},{"name":"igrce","email":"ivan.grce@microblink.com"},{"name":"stepanic","email":"stepanic@loopus.co"},{"name":"vjekoart","email":"vjekoart@gmail.com"},{"name":"dcubelic-mb","email":"dominik.cubelic@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"35e19746216c41a6935a29564d76fa25cf8258ce","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.0.3.tgz","fileCount":19,"integrity":"sha512-tKu7MduibASXIGjNeOrggxEK9envQXIRqKAZxPH2Jj1QGT2roWx+yUC/YY7v/5iVQUBc7+ePg4lcqCwgfyBG8A==","signatures":[{"sig":"MEUCIQCMByQrhPjXYf0aV8DTuTFL7awm9O/CeBvoXt89FWSRtQIgP0dinKQ/+9LUQrzNVdQiDwCRWbpmaS0eJds1qHHEWh4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8614493},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.0.3.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"scripts":{"lint":"concurrently pnpm:lint:types pnpm:lint:package","build":"concurrently -m 1 pnpm:build:js pnpm:build:types pnpm:rollup","clean":"rimraf .turbo types dist public *.tsbuildinfo","rollup":"api-extractor run --local --verbose","build:js":"vite build","build:dev":"concurrently pnpm:build:js-dev pnpm:build:types","lint:types":"tsc --emitDeclarationOnly false --noEmit","build:types":"tsc && tsx duplicate-types.mts","build:js-dev":"vite build --mode development","lint:package":"publint && attw --pack . --exclude-entrypoints style.css "},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/ee7c728ddd24531d8396c289866a16d5/microblink-capture-1.0.3.tgz","_integrity":"sha512-tKu7MduibASXIGjNeOrggxEK9envQXIRqKAZxPH2Jj1QGT2roWx+yUC/YY7v/5iVQUBc7+ePg4lcqCwgfyBG8A==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"9.7.2","description":"![logo-microblink](https://github.com/BlinkID/capture-browser/assets/2827047/ab8ab61b-ac82-4d84-8013-f6f2efe5bec5)","directories":{},"_nodeVersion":"19.7.0","dependencies":{"capture-ui":"^1.0.1","capture-main":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^7.2.3","tsx":"^3.12.7","vite":"^4.4.6","rimraf":"^5.0.1","publint":"^0.1.16","solid-js":"^1.7.8","tsconfig":"0.0.0","@mb/utils":"^0.0.0","concurrently":"^8.2.0","@arethetypeswrong/cli":"^0.7.0","@microsoft/api-extractor":"^7.36.3"},"_npmOperationalInternal":{"tmp":"tmp/capture_1.0.3_1690811312677_0.19734236716439946","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@microblink/capture","version":"1.0.5","_id":"@microblink/capture@1.0.5","maintainers":[{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"mirzamesic","email":"mesic.mirza07@gmail.com"},{"name":"dodoent","email":"DoDoEntertainment@gmail.com"},{"name":"markosopcic","email":"marko.sopcic@microblink.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"juraskrlec","email":"jura.skrlec@microblink.com"},{"name":"igrce","email":"ivan.grce@microblink.com"},{"name":"stepanic","email":"stepanic@loopus.co"},{"name":"vjekoart","email":"vjekoart@gmail.com"},{"name":"dcubelic-mb","email":"dominik.cubelic@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"cf98f954c8ad8bc508d2a74bf87145ba8fce0043","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.0.5.tgz","fileCount":19,"integrity":"sha512-s2cTdZt7T3b9E4HB7N/DORETi7COVxiS5EXTqK5k4NpcsvIEtabRp6uYxDkswg7jFxSLIjMiSiFm2YhT+jbS8w==","signatures":[{"sig":"MEUCIGN5owKP9SpIB9JxHR4Pl2jUuLGc2d5mIte+cUO7u0BxAiEA0qAkm3ycpmh676SIOi3vx8rxuPh/YQ13qxn5aZW+SZ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8613538},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.0.5.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/ad0985b3631016a5bfb1c1621656d0ee/microblink-capture-1.0.5.tgz","_integrity":"sha512-s2cTdZt7T3b9E4HB7N/DORETi7COVxiS5EXTqK5k4NpcsvIEtabRp6uYxDkswg7jFxSLIjMiSiFm2YhT+jbS8w==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"9.7.2","description":"Wasm prebuilts + TS types","directories":{},"_nodeVersion":"19.7.0","_hasShrinkwrap":false,"devDependencies":{"solid-js":"^1.7.8"},"_npmOperationalInternal":{"tmp":"tmp/capture_1.0.5_1690899527376_0.8342006632719292","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@microblink/capture","version":"1.0.7","_id":"@microblink/capture@1.0.7","maintainers":[{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"mirzamesic","email":"mesic.mirza07@gmail.com"},{"name":"dodoent","email":"DoDoEntertainment@gmail.com"},{"name":"markosopcic","email":"marko.sopcic@microblink.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"juraskrlec","email":"jura.skrlec@microblink.com"},{"name":"igrce","email":"ivan.grce@microblink.com"},{"name":"stepanic","email":"stepanic@loopus.co"},{"name":"vjekoart","email":"vjekoart@gmail.com"},{"name":"dcubelic-mb","email":"dominik.cubelic@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"f1ffac8485af6e086df2256631968496a45fbfac","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.0.7.tgz","fileCount":19,"integrity":"sha512-tMl6x3JnVotvnRySwLa0dzS6KwX8m6CO6bakEHJ6f4/yRrzwqnKy302ucPFpSiMKdic/c9JKhPfcyJ9dBpDxSg==","signatures":[{"sig":"MEQCIHSS8Fa+PCztvLdR3lWP6CLgfN6RFQe/tVfwg1n60XnSAiAJl8Rxrx85Bhef6m79iQieS+voxSgfzWqKqATO7CaKuw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8573644},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.0.7.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/07ad1f9a4b91caf2e0574325805473e7/microblink-capture-1.0.7.tgz","_integrity":"sha512-tMl6x3JnVotvnRySwLa0dzS6KwX8m6CO6bakEHJ6f4/yRrzwqnKy302ucPFpSiMKdic/c9JKhPfcyJ9dBpDxSg==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"9.7.2","description":"Wasm prebuilts + TS types","directories":{},"_nodeVersion":"19.7.0","_hasShrinkwrap":false,"devDependencies":{"solid-js":"^1.7.8"},"_npmOperationalInternal":{"tmp":"tmp/capture_1.0.7_1691169843062_0.2134644120144087","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@microblink/capture","version":"1.0.8","_id":"@microblink/capture@1.0.8","maintainers":[{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"mirzamesic","email":"mesic.mirza07@gmail.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"670965d8431fde85527907bf4f34f7cb91d7cdfe","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.0.8.tgz","fileCount":19,"integrity":"sha512-+OJrdavQ3S3jLPpgiypuLj+iPChEvqlCyK7//sfU20nOq0f/Wj+4fv7itazQHq6sCgsibAngbHXvgyk9SQIh9Q==","signatures":[{"sig":"MEUCID9vYwYikOgdcTlLA3TLMmLK0ciIt6aMWPzTtgXWSrlHAiEApNtQhPYNM9CaX22K1m/6vGtT2pgBUdpjIBMtm+K8RY8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8572984},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.0.8.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/8dd4b27063c15e48709922c1e0c5ffce/microblink-capture-1.0.8.tgz","_integrity":"sha512-+OJrdavQ3S3jLPpgiypuLj+iPChEvqlCyK7//sfU20nOq0f/Wj+4fv7itazQHq6sCgsibAngbHXvgyk9SQIh9Q==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"9.8.1","description":"Wasm prebuilts + TS types","directories":{},"_nodeVersion":"18.18.2","_hasShrinkwrap":false,"devDependencies":{"solid-js":"^1.7.8"},"_npmOperationalInternal":{"tmp":"tmp/capture_1.0.8_1698059112989_0.785378671446733","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@microblink/capture","version":"1.1.0","_id":"@microblink/capture@1.1.0","maintainers":[{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"mirzamesic","email":"mesic.mirza07@gmail.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"f20cab7f4a431170b06d005acc0bb095fd36306f","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.1.0.tgz","fileCount":19,"integrity":"sha512-ImK1dUOP/t5DIFZLeeBMN6tilmznL/M5hEPyPDWun1nkNEZ8DI5AV3DJTeHbWY8+r6SEyoLOAt3Hi0a8frUeFg==","signatures":[{"sig":"MEYCIQDp5z6rCzf9wwgoFivonUsx7tBdUgBd6pwwIwyRqzqEqQIhAIiLTNQ+fjnRjR0nHUQPVYwTM3wh6XS7a3o4obzJBLNk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8319371},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.1.0.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/8e3d12d173fb76f51ca0e9d0d274dcf6/microblink-capture-1.1.0.tgz","_integrity":"sha512-ImK1dUOP/t5DIFZLeeBMN6tilmznL/M5hEPyPDWun1nkNEZ8DI5AV3DJTeHbWY8+r6SEyoLOAt3Hi0a8frUeFg==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"9.8.1","description":"A smart image capturing library for WebAssembly-enabled browsers","directories":{},"_nodeVersion":"18.18.2","dependencies":{"solid-js":"^1.8.3","@types/emscripten":"^1.39.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/capture_1.1.0_1698530738906_0.26947948590589954","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@microblink/capture","version":"1.1.1","_id":"@microblink/capture@1.1.1","maintainers":[{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"mirzamesic","email":"mesic.mirza07@gmail.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"0adc5e736094ec3ff77624475df82f45b8f5311f","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.1.1.tgz","fileCount":20,"integrity":"sha512-6/VBAzxUKBC4IXwwiEpO9cxcmPa/zn+BQmcCvwQTJVA0Kix5faWY6G0roaIhyG/K0ESwkPBil9ql29SxQqTTsQ==","signatures":[{"sig":"MEQCIEDduBSBrA6WETV7Gym6wB3O+T2gOf+rpUrtEgXJ11HTAiBotpOz5yBHjzhyYdJwDB4JkOXmEt9pDW5qfTwK69m6kg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13651623},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.1.1.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/7ffb4432653c78979ad62e4a35befe9c/microblink-capture-1.1.1.tgz","_integrity":"sha512-6/VBAzxUKBC4IXwwiEpO9cxcmPa/zn+BQmcCvwQTJVA0Kix5faWY6G0roaIhyG/K0ESwkPBil9ql29SxQqTTsQ==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"9.8.1","description":"A smart image capturing library for WebAssembly-enabled browsers","directories":{},"_nodeVersion":"18.18.2","dependencies":{"solid-js":"^1.8.3","@types/emscripten":"^1.39.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/capture_1.1.1_1699541562614_0.0997846580072348","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@microblink/capture","version":"1.2.0","_id":"@microblink/capture@1.2.0","maintainers":[{"name":"mb-mpisacic","email":"martin.pisacic@microblink.com"},{"name":"mparadina","email":"milan.paradina@microblink.com"},{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"15364aef6ed153cbe8170527b504dc1717f87bb6","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.2.0.tgz","fileCount":19,"integrity":"sha512-ctb7hp2U5/qrXW4fncJEN7jrpD3uSx0aGREraG2/jWxYHn9IuDBRoebIEKN8tsU9HCoHb0NwG687cJLv/fPZJQ==","signatures":[{"sig":"MEUCIQDBKd7CUBlHtOfifhHhpFVR4ck3PadY6E46wx0y0u41OgIgJx7+IDXJS9Yngy6CcYnNibo2eAnFHBXlwvbK+G5uCKw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8500829},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.2.0.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/08161ea168b0c261569a4bd58a513916/microblink-capture-1.2.0.tgz","_integrity":"sha512-ctb7hp2U5/qrXW4fncJEN7jrpD3uSx0aGREraG2/jWxYHn9IuDBRoebIEKN8tsU9HCoHb0NwG687cJLv/fPZJQ==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"10.5.0","description":"A smart image capturing library for WebAssembly-enabled browsers","directories":{},"_nodeVersion":"18.18.2","dependencies":{"solid-js":"^1.8.3","@types/emscripten":"^1.39.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/capture_1.2.0_1712071856057_0.5604922396962597","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@microblink/capture","version":"1.2.1","_id":"@microblink/capture@1.2.1","maintainers":[{"name":"mb-mpisacic","email":"martin.pisacic@microblink.com"},{"name":"mparadina","email":"milan.paradina@microblink.com"},{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"95cee464251c05937159efe928d79d6de1ce4d38","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.2.1.tgz","fileCount":19,"integrity":"sha512-X6tJMl1oGkMdc+hj/ZBbv2S2kjE1zGZavEnP+bcRrTo37zVVdapBb2VhQz5RYbcRUSQg+NZl+g9FajQRqtSHgA==","signatures":[{"sig":"MEQCIHk0echjRDssV/WACtSeHeqeqDZA8lBEFzqNT+I6PHciAiAjw8O56BPvCJH3KfcOqYELEi7Z7o0gXen9zhHAOvrfbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8336448},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.2.1.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/d068430d81e505051aeac5ae83f242bb/microblink-capture-1.2.1.tgz","_integrity":"sha512-X6tJMl1oGkMdc+hj/ZBbv2S2kjE1zGZavEnP+bcRrTo37zVVdapBb2VhQz5RYbcRUSQg+NZl+g9FajQRqtSHgA==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"10.5.0","description":"A smart image capturing library for WebAssembly-enabled browsers","directories":{},"_nodeVersion":"18.18.2","dependencies":{"solid-js":"^1.8.3","@types/emscripten":"^1.39.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/capture_1.2.1_1712326088923_0.3033009017637147","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@microblink/capture","version":"1.2.2","_id":"@microblink/capture@1.2.2","maintainers":[{"name":"mb-mpisacic","email":"martin.pisacic@microblink.com"},{"name":"mparadina","email":"milan.paradina@microblink.com"},{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"8517c83d2e4908a63412c4e7aad784e15634b0bb","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.2.2.tgz","fileCount":19,"integrity":"sha512-9SJgqZmdOUlrkUk1IIsGIkeVD8ATLMjPw+h6nm1SOBLgH4BI9SlM04gu3NjA7TWEPcNl7TynYLtpvtUE82sv6Q==","signatures":[{"sig":"MEUCIBj0CgK2AQZkQIRzCdnDLVp1Cud//+oOPjjWgl7w6r2lAiEA77v3i0eQUkuB/hLNdrFYuPSxTn+iUVUfSHSN9I9UaS8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8336031},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.2.2.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/fc7c223f4dd0a740a64aeec1fe356bcb/microblink-capture-1.2.2.tgz","_integrity":"sha512-9SJgqZmdOUlrkUk1IIsGIkeVD8ATLMjPw+h6nm1SOBLgH4BI9SlM04gu3NjA7TWEPcNl7TynYLtpvtUE82sv6Q==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"10.5.2","description":"A smart image capturing library for WebAssembly-enabled browsers","directories":{},"_nodeVersion":"18.18.2","dependencies":{"solid-js":"^1.8.3","@types/emscripten":"^1.39.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/capture_1.2.2_1715244481161_0.4239599381333503","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@microblink/capture","version":"1.2.3","_id":"@microblink/capture@1.2.3","maintainers":[{"name":"mb-mpisacic","email":"martin.pisacic@microblink.com"},{"name":"mparadina","email":"milan.paradina@microblink.com"},{"name":"medvedecrobertmb","email":"robert.medvedec@microblink.com"},{"name":"ivancuric","email":"ivan.curic@gmail.com"},{"name":"microblinkadmin","email":"info@microblink.com"},{"name":"matijakrizanec","email":"matija.krizanec@microblink.com"}],"homepage":"https://microblink.com/","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"c20c748b3fb5e9080dc14c3b8af06f942453b80c","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.2.3.tgz","fileCount":19,"integrity":"sha512-HT14moaXSiJPujmCREnbibcanYih/7A1uKX+hOEhAY8pR1xCl/xonPp9IqzynOzKBcfiMVVBQr417P/a0vUyIw==","signatures":[{"sig":"MEYCIQCEPvcngPAjTHxRX2mRKTWK1fZDjMB1VJQim1Jc+Oh6SAIhAJ6jDE79y5bFjiAyaZ8xsliltWUQZpbOxx1x3QPy58Jm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8342779},"main":"./dist/capture.umd.cjs","type":"module","_from":"file:microblink-capture-1.2.3.tgz","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"_npmUser":{"name":"ivancuric","email":"ivan.curic@gmail.com"},"_resolved":"/private/var/folders/yy/4p9qm1px18jbdbg4zqzz1s440000gn/T/44640c2a1e1b9fe4454bd325ee013327/microblink-capture-1.2.3.tgz","_integrity":"sha512-HT14moaXSiJPujmCREnbibcanYih/7A1uKX+hOEhAY8pR1xCl/xonPp9IqzynOzKBcfiMVVBQr417P/a0vUyIw==","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"10.5.2","description":"A smart image capturing library for WebAssembly-enabled browsers","directories":{},"_nodeVersion":"18.18.2","dependencies":{"solid-js":"^1.8.3","@types/emscripten":"^1.39.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/capture_1.2.3_1716821767867_0.9317043336097566","host":"s3://npm-registry-packages"}},"1.2.4":{"_id":"@microblink/capture@1.2.4","bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"dist":{"shasum":"e56bccab087a04110f571608643c076d2238de5b","tarball":"https://registry.npmjs.org/@microblink/capture/-/capture-1.2.4.tgz","fileCount":19,"integrity":"sha512-3Ym9MW6WTwTCCozhe6yVX3n9PMhzr5T101uJKfSVAlBbGWvnAfmlD6An5WNh3FDqFubl7J/WXMj3YMYbH/VIhw==","signatures":[{"sig":"MEYCIQDNQ+YZClNpSrlZvhnGRPbIuMDL5Em4698Axr4UL1gU4gIhAKO9RcDVcU9255I6hxmUyELX1PDGV+dRNFFAbwAWP8AZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHdY4xgSQHA8h7wh9gxpQskdd2p52V5Yu6aZZLpGzZYRAiA8CQQ7f5tY/zq9qSyK/69vLqgSEG/tXcWKv4pIjL/2Rg=="}],"unpackedSize":8507997},"main":"./dist/capture.umd.cjs","name":"@microblink/capture","type":"module","types":"./types/index.d.ts","module":"./dist/capture.js","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/capture.js"},"require":{"types":"./types/index.d.cts","default":"./dist/capture.umd.cjs"}},"./style.css":"./dist/style.css","./package.json":"./package.json"},"gitHead":"3cbe7162d3c1fb57e086daf6aabdc6544221ba71","version":"1.2.4","_npmUser":{"name":"mkresic","email":"mario.kresic@microblink.com"},"homepage":"https://microblink.com/","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart image capturing library for WebAssembly-enabled browsers","directories":{},"maintainers":[{"name":"szivkovic","email":"sandra.zivkovic@microblink.com"},{"name":"ovi-cristur","email":"ovidiu.cristurean@microblink.com"},{"name":"nnstanusic","email":"nino.nikola.stanusic@microblink.com"},{"name":"horia.stere.microblink","email":"horia.stere@microblink.com"},{"name":"nico-microblink","email":"nico.moehn@microblink.com"},{"name":"mkresic","email":"mario.kresic@microblink.com"},{"name":"microblinkbot","email":"devops@microblink.com"}],"_nodeVersion":"20.19.5","dependencies":{"solid-js":"^1.8.3","@types/emscripten":"^1.39.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capture_1.2.4_1789461493551_0.8266051732653816"}}},"time":{"created":"2023-07-21T16:59:22.228Z","modified":"2026-09-15T08:38:14.029Z","1.0.0":"2023-07-21T16:59:22.643Z","1.0.1":"2023-07-27T17:08:41.960Z","1.0.2":"2023-07-31T13:40:13.308Z","1.0.3":"2023-07-31T13:48:33.042Z","1.0.4":"2023-08-01T14:01:00.083Z","1.0.5":"2023-08-01T14:18:47.710Z","1.0.7":"2023-08-04T17:24:03.390Z","1.0.8":"2023-10-23T11:05:13.240Z","1.1.0":"2023-10-28T22:05:39.289Z","1.1.1":"2023-11-09T14:52:43.072Z","1.2.0":"2024-04-02T15:30:56.383Z","1.2.1":"2024-04-05T14:08:09.208Z","1.2.2":"2024-05-09T08:48:01.436Z","1.2.3":"2024-05-27T14:56:08.137Z","1.2.4":"2026-09-15T08:38:13.789Z"},"bugs":{"url":"https://github.com/BlinkID/capture-browser/issues"},"homepage":"https://microblink.com/","repository":{"url":"git+https://github.com/BlinkID/capture-browser.git","type":"git"},"description":"A smart image capturing library for WebAssembly-enabled browsers","maintainers":[{"name":"szivkovic","email":"sandra.zivkovic@microblink.com"},{"name":"ovi-cristur","email":"ovidiu.cristurean@microblink.com"},{"name":"nnstanusic","email":"nino.nikola.stanusic@microblink.com"},{"name":"horia.stere.microblink","email":"horia.stere@microblink.com"},{"name":"nico-microblink","email":"nico.moehn@microblink.com"},{"name":"mkresic","email":"mario.kresic@microblink.com"},{"name":"microblinkbot","email":"devops@microblink.com"}],"readme":"![logo-microblink](https://github.com/BlinkID/capture-browser/assets/2827047/ab8ab61b-ac82-4d84-8013-f6f2efe5bec5)\n\n# _Capture_ SDK for browsers\n\nThe Capture Browser SDK gives you the ability to auto-capture high-quality images of identity documents in a user-friendly way. The SDK provides you with a rectified image of the document, ensuring a high success rate in extracting document text or verifying the document's validity.\n\nUsers are guided to avoid glare, blurred images, bad lighting conditions, fingers covering the document, or too much tilt. The SDK is able to recognize if a document is single-sided (i.e., passport) or double-sided (i.e., driving license) and prompt the user to scan the back side of the document when needed.\n\nIn the results, you can obtain a cropped, perspective-corrected image of the document, along with the original frame. These can be processed by your webapp in any way required. The SDK is lightweight and can be easily integrated into your webapp, blending seamlessly with your design.\n\n## Installation\n\nThe Capture SDK is available as a package on NPM for use with a module bundler.\n\n```bash\n# npm\nnpm install @microblink/capture\n\n# yarn\nyarn add @microblink/capture\n\n# pnpm\npnpm add @microblink/capture\n```\n\n## Obtaining a licence\n\nA valid license key is required to initialize scanning. You can request a free trial license key after registering on [Microblink Developer Hub](https://account.microblink.com/signin). The license is bound to the domain of your app.\n\n## Hosting environment\n\nIn order for the SDK to work it needs to run inside a [secure context](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).\nAdditionally, to run the threaded version of the SDK, the following headers need to be set on your server:\n\n```\nCross-Origin-Embedder-Policy: require-corp\nCross-Origin-Opener-Policy: same-origin\n```\n\nOtherwise, you will only be able to run the single-threaded version of the SDK.\n\nIn order to load the accompanying Wasm files and Web Workers, you also need to host them locally on your dev server. These files can be found inside the `node_modules/@microblink/capture/dist/resources` directory after installation. The `/resources` directory must be hosted without modification of the directory name or its contents.\n\nThe dev environments for the example apps have these set and you can use them as a reference.\n\n## Examples Quick Start\n\n### Requirements\n\nIn order to run the examples provided in the [GitHub repository](), you'll need the following tools:\n\n1. NodeJS LTS (18.x)\n\n   - Prefer using [`nvm`](https://github.com/nvm-sh/nvm) on dev machines:\n\n   ```sh\n   nvm install --lts\n   nvm use --lts\n   ```\n\n   - [alternative installation methods](https://nodejs.org/en/download)\n\n2. `pnpm`\n\n   - alternative package manager to `npm`\n   - easiest to install using `npm install -g pnpm`\n   - [alternative installation methods](https://pnpm.io/installation)\n\n### Device requirements\n\nAdditionally, your device will need a camera capable of providing a video stream with a minimum resolution of 1920x1080.\n\nThe minimum supported browser versions are Chrome 96, Firefox 79 and Safari 15.2. Web views are not supported as they are not providing a secure context.\n\n### Running the provided examples\n\nThe examples provided in the [GitHub repository]() can be run by first building the SDK by running `pnpm build`, and then navigating to the examples found in `/apps/*` and running `pnpm dev` for the dev server or `pnpm serve` for the production build.\n\nThese examples will move the `node_modules/@microblink/capture/dist/resources` as part of the build step to [Vite's public folder](https://vitejs.dev/guide/assets.html#the-public-directory), generate a local HTTPS certificate and apply the appropriate headers to Vite's dev server.\n\n## Using the SDK\n\nIt is strongly recommended to use TypeScript and an IDE that has a TypeScript language server during development as the SDK is strongly typed and provides JSdoc comments, links, usage examples, autocomplete, and other Intellisense features.\n\n### Using the provided UI component with `createCaptureUi`\n\nThe simplest way to initialize the SDK and start capturing is to call `createCaptureUi` and provide it with a licence key. This will mount a full-screen capturing UI in your web app. Make sure to also load the CSS styles for the component.\n\n```typescript\nimport { createCaptureUi } from \"@microblink/capture\";\nimport \"@microblink/capture/style.css\";\n\ncreateCaptureUi({\n  sdkSettings: {\n    licenseKey: \"YOUR_LICENCE\",\n    callbacks: {\n      onCaptureResult: (result) => {\n        /* do something with the result */\n      },\n    },\n  },\n});\n```\n\n### Headless usage with `createCaptureSdk`\n\nYou can also use the Capture SDK without the provided UI and build your own experience by using `createCaptureSdk`. All the mechanisms that the Capture UI uses are provided by the object returned by this method.\n\n```typescript\nimport { createCaptureSdk } from \"@microblink/capture\";\n\nconst sdk = await createCaptureSdk({\n  licenseKey: \"YOUR_LICENCE\",\n  callbacks: {\n    onCaptureResult: (result) => {\n      /* do something with the result */\n    },\n  },\n});\n\nawait sdk.startCameraStream(document.getElementById(\"videoElementId\"));\n```\n\nThe SDK will terminate automatically if the video element is dismounted and requires no handling on the developer's end.\n\n## Configuration\n\n### Configuring the Capture SDK\n\nThe SDK can be configured on initialization using `createCaptureSdk(settings)` . The configuration documentation can be found on [`CaptureSdkSettings`](/packages/capture-main/src/core/createCaptureSdk.ts#30).\n\nThe capturing process is handled using the [`Analyzer`](/packages/capture-wasm/src/Analyzer.ts). The configuration settings for the `Analyzer` can be found on [`AnalyzerSettings`](/packages/capture-wasm/src/AnalyzerSettings.ts).\n\n### Configuring the Capture UI\n\n`createCaptureUi` takes a [`CreateCaptureUiSettings`](/packages/capture-main/src/ui/createCaptureUi.tsx#52) configuration object as a parameter with both [`CaptureSdkSettings`](/packages/capture-main/src/core/createCaptureSdk.ts#30) that configures the SDK behaviour, and [`UiSettings`](/packages/capture-main/src/ui/StoreContext.tsx#36) which configures the UI itself.\n\nYou can configure the mount point of the UI, toggle the display of the onboarding screen and help screens, the error screen and provide your own localization strings.\n\nYou can find a list of all the localization strings in [`packages/capture-main/src/ui/locales/en.ts`](/packages/capture-main/src/ui/locales/en.ts)\n\n## Advanced usage\n\n### Instantiating the Capture UI with a preloaded `CaptureSdk` instance\n\nIn cases you want to reuse the `CaptureSdk` instance between component mounts/dismounts, preload it before showing the UI, or otherwise have greater control over the lifecycle of the SDK, you can use [`createCaptureUiWithInstance`](packages/capture-main/src/ui/createCaptureUi.tsx#67), which instead of SDK settings takes an instance of the `CaptureSdk`. You can see the usage in the `example-solidjs-sdk-preinit`.\n\n### State management and subscriptions\n\nThe Capture SDK tracks its internal state on the [`ReactiveStore`](/packages/capture-main/src/core/zustandStore.ts#8) object, which is implemented using [Zustand](https://github.com/pmndrs/zustand).\n\nThe user can get the internal state of the SDK at any time by calling `getState()` on the `CaptureSdk` object returned by `createCaptureSdk`. `CaptureSdk` is also available on the `CaptureComponent` instance returned by `createCaptureUi`.\n\nYou can also subscribe to state changes by calling `CaptureSdk.subscribe()`. Detailed documentation for using this feature is available [here](https://github.com/pmndrs/zustand#using-subscribe-with-selector).\n\n### UI customization\n\nThe UI can be customized by either overriding the CSS variables found at `packages/capture-main/src/ui/root-styles.scss`, or by manually targetting the CSS classes applied to the UI component.\n\nAll components rendered by the UI are nested under `.mb-style-scope` which provides some base styles.\n\n### Detailed capturing process information\n\nYou can find details on the internal state of the capture process using the [`onFrameAnalysis`](/packages/capture-main/src/core/createCaptureSdk.ts#57) callback. This callback will provide you with an `ImageData` instance of the previously processed frame and the [`FrameAnalysisResult`](/packages/capture-wasm/src/FrameAnalysisResult.ts).\n\n### Low-level access Direct API\n\nThis mode gives users the capability to directly interact with the `Analyzer` instance, bypassing the provided functionality in the Capture SDK such as camera and video management, user feedback, callbacks and state management.\n\n```typescript\nimport { createDirectApi } from \"@microblink/capture\";\n\nconst directApi = await createDirectApi({\n  licenseKey: \"YOUR_LICENCE\",\n});\n\n// The user is free to use methods available on\n// the `directApi` to fit their use case\n```\n\n## Troubleshooting\n\n### Integration problems\n\nIf you are experiencing issues with the SDK integration, first make sure that you have followed the integration instructions and used our [provided examples as reference](#examples-quick-start).\nAlso make sure that your device meets the [requirements](#requirements). If you're still having problems, please contact us at [help.microblink.com](help.microblink.com).\n\n### Licencing problems\n\nIf you are getting \"invalid licence key\" error or having other licence-related problems, first check the console. All licence-related problems are logged to error log so it is easy to determine what went wrong.\n\nWhen you have determined what is the licence-related problem or you simply do not understand the log, you should contact us [help.microblink.com](help.microblink.com). When contacting us, please make sure you provide following information:\n\n## Contact\n\nFor any other questions, feel free to contact us at [help.microblink.com](help.microblink.com).\n","readmeFilename":"README.md"}