biometry-sdk 1.2.6 → 1.2.7

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 (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -252,13 +252,14 @@ The **Process Video** component enables you to record, upload, and process a vid
252
252
  import './node_modules/biometry-sdk/dist/biometry-sdk.esm.js';
253
253
  ```
254
254
  3. Include the component in your HTML:
255
- You can skip the npm installation and include the component directly in your HTML:
256
255
  ```html
257
256
  <script type="module" src="./index.js"></script>
258
257
 
259
258
  <process-video ...></process-video>
260
259
  ```
261
260
  **Option 2: Using CDN (Quick Integration)**
261
+
262
+ You can skip the npm installation and include the component directly in your HTML:
262
263
  ```html
263
264
  <script type="module" src="https://cdn.jsdelivr.net/npm/biometry-sdk/dist/biometry-sdk.esm.js"></script>
264
265
 
@@ -321,21 +322,21 @@ For more detailed information on Biometry’s API endpoints, parameters, and res
321
322
  ```
322
323
  - **Voice Onboarding**:
323
324
  ```javascript
324
- sdk.onbaordVoice(file, userFullName)
325
+ sdk.onboardVoice(file, userFullName)
325
326
  ```
326
327
  - **Face Onboarding**:
327
328
  ```javascript
328
329
  sdk.onboardFace(file, userFullName)
329
330
  ```
330
- - Face match
331
+ - **Face match**
331
332
  ```javascript
332
333
  sdk.faceMatch(image, video, userFullName, { ...options });
333
334
  ```
334
- - Process Video (basic):
335
+ - **Process Video (basic):**
335
336
  ```javascript
336
337
  sdk.processVideo(file, phrase, userFullName);
337
338
  ```
338
- - Process Video (advanced w/ reusing video or linking IDs):
339
+ - **Process Video (advanced w/ reusing video or linking IDs):**
339
340
  ```javascript
340
341
  sdk.processVideo(null, phrase, userFullName, {
341
342
  usePrefilledVideo: true,
@@ -343,7 +344,7 @@ For more detailed information on Biometry’s API endpoints, parameters, and res
343
344
  requestUserProvidedId: 'YOUR_CUSTOM_ID'
344
345
  });
345
346
  ```
346
- - UI Components:
347
+ - **UI Components:**
347
348
  - `<biometry-onboarding ...>` (face onboarding)
348
349
  - `<process-video ...>` (video onboarding)
349
350
  With these **direct SDK methods**, **UI components**, and advanced **best practices** (faceOnboard + faceMatch flows, reuse of video, error handling), you can build robust, privacy-conscious biometric solutions on your web application.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biometry-sdk",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "main": "dist/biometry-sdk.esm.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/biometry-sdk.esm.js",