Closed jakubdolejs closed 9 months ago
Hello @jakubdolejs Thank you for your inquiry! This issue has been fixed in the latest BlinkID In-Browser version 6.3.2. https://github.com/BlinkID/blinkid-in-browser/releases/tag/v6.3.2 Please test it out and let us know if everything works as expected.
Thank you. 6.3.2 works.
Environment:
Bug description
The
BlinkIDSDK.loadWasmModule
function throws the following error:Javascript console output:
This is in a bare bones test application. The BlinkID SDK is installed using
npm
. The project is bundled using esbuild.Steps to reproduce
Create a new NodeJS package
Install BlinkID and esbuild
Add build script in package.json
blinkIDLicenceKey
constant (first line of index.ts) from[redacted]
to your BlinkID licence key.Build the project
Start a web server that serves the index.html file (I'm using Python for simplicity):
Point the domain name for which your licence key is registered to the server. I'm using an ngrok tunnel.
Source code
src/index.ts
```typescript const blinkIDLicenceKey: string = "[redacted]"; import * as BlinkIDSDK from "@microblink/blinkid-in-browser-sdk"; async function loadBlinkID(): Promiseindex.html
```html