Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

voiceit2-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

voiceit2-nodejs - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

16

index.js

@@ -164,3 +164,3 @@ let unirest = require('unirest');

.field('contentLanguage', options.contentLanguage)
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : true )
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : false )
.attach('video', options.videoFilePath)

@@ -177,3 +177,3 @@ .end(function (httpResponse) {

.field('contentLanguage', options.contentLanguage)
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : true )
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : false )
.attach('video', options.videoFilePath)

@@ -190,3 +190,3 @@ .end(function (httpResponse) {

.field('contentLanguage', options.contentLanguage)
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : true )
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : false )
.field('fileUrl', options.videoFileURL)

@@ -250,3 +250,3 @@ .end(function (httpResponse) {

.field('userId', options.userId)
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : true )
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : false )
.attach('video', options.videoFilePath)

@@ -263,3 +263,3 @@ .end(function (httpResponse) {

.field('contentLanguage', options.contentLanguage)
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : true )
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : false )
.attach('video', options.videoFilePath)

@@ -276,3 +276,3 @@ .end(function (httpResponse) {

.field('contentLanguage', options.contentLanguage)
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : true )
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : false )
.field('fileUrl', options.videoFileURL)

@@ -313,3 +313,3 @@ .end(function (httpResponse) {

.field('contentLanguage', options.contentLanguage)
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : true )
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : false )
.attach('video', options.videoFilePath)

@@ -326,3 +326,3 @@ .end(function (httpResponse) {

.field('contentLanguage', options.contentLanguage)
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : true )
.field('doBlinkDetection', (options.doBlinkDetection != null ) ? options.doBlinkDetection : false )
.field('fileUrl', options.videoFileURL)

@@ -329,0 +329,0 @@ .end(function (httpResponse) {

{
"name": "voiceit2-nodejs",
"version": "1.0.3",
"version": "1.0.4",
"description": "VoiceIt's API 2.0 Face + Voice Verification/Identification Node Wrapper",

@@ -5,0 +5,0 @@ "main": "index.js",

# VoiceIt's API 2.0 Node Wrapper
[![npm version](https://badge.fury.io/js/voiceit2-nodejs.svg)](https://badge.fury.io/js/voiceit2-nodejs)
A NodeJS wrapper for VoiceIt's API2.0 featuring Face + Voice Verification and Identification.

@@ -301,3 +303,3 @@

Create video enrollment for user with given userId(begins with 'usr_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to disable blink detection. Note: File recording need to be no less than 1.2 seconds and no more than 5 seconds
Create video enrollment for user with given userId(begins with 'usr_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to enable blink detection. Note: File recording need to be no less than 1.2 seconds and no more than 5 seconds

@@ -314,3 +316,3 @@ ```javascript

or with blinkDetection disabled
or with blinkDetection enabled

@@ -322,3 +324,3 @@ ```javascript

videoFilePath : "FULL_VIDEO_PATH",
doBlinkDetection: false
doBlinkDetection: true
},(jsonResponse)=>{

@@ -331,3 +333,3 @@ console.log(jsonResponse);

Create video enrollment for user with given userId(begins with 'usr_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to disable blink detection. Note: File recording need to be no less than 1.2 seconds and no more than 5 seconds
Create video enrollment for user with given userId(begins with 'usr_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to enable blink detection. Note: File recording need to be no less than 1.2 seconds and no more than 5 seconds

@@ -344,3 +346,3 @@ ```javascript

or with blinkDetection disabled
or with blinkDetection enabled

@@ -352,3 +354,3 @@ ```javascript

videoFileURL : "PUBLIC_URL_TO_VIDEO_FILE_HERE",
doBlinkDetection: false
doBlinkDetection: true
},(jsonResponse)=>{

@@ -361,3 +363,3 @@ console.log(jsonResponse);

Create face enrollment for user with given userId(begins with 'usr_') and optionally a boolean to disable blink detection. Note: It is recommended that you send a 2 second mp4 video
Create face enrollment for user with given userId(begins with 'usr_') and optionally a boolean to enable blink detection. Note: It is recommended that you send a 2 second mp4 video

@@ -373,3 +375,3 @@ ```javascript

or with blinkDetection disabled
or with blinkDetection enabled

@@ -380,3 +382,3 @@ ```javascript

videoFilePath : "FULL_VIDEO_PATH",
doBlinkDetection: false
doBlinkDetection: true
},(jsonResponse)=>{

@@ -418,3 +420,3 @@ console.log(jsonResponse);

Verify user with given userId(begins with 'usr_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to disable blink detection. Note: File recording needs to be no less than 1.2 seconds and no more than 5 seconds
Verify user with given userId(begins with 'usr_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to enable blink detection. Note: File recording needs to be no less than 1.2 seconds and no more than 5 seconds

@@ -431,3 +433,3 @@ ```javascript

or with blinkDetection disabled
or with blinkDetection enable

@@ -439,3 +441,3 @@ ```javascript

videoFilePath : "FULL_VIDEO_PATH",
doBlinkDetection: false
doBlinkDetection: true
},(jsonResponse)=>{

@@ -448,3 +450,3 @@ console.log(jsonResponse);

Verify user with given userId(begins with 'usr_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to disable blink detection. Note: File recording needs to be no less than 1.2 seconds and no more than 5 seconds
Verify user with given userId(begins with 'usr_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to enable blink detection. Note: File recording needs to be no less than 1.2 seconds and no more than 5 seconds

@@ -461,3 +463,3 @@ ```javascript

or with blinkDetection disabled
or with blinkDetection enable

@@ -469,3 +471,3 @@ ```javascript

videoFileURL : "PUBLIC_URL_TO_VIDEO_FILE_HERE",
doBlinkDetection: false
doBlinkDetection: true
},(jsonResponse)=>{

@@ -478,3 +480,3 @@ console.log(jsonResponse);

Verify user's face with given userId(begins with 'usr_') and optionally a boolean to disable blink detection. Note: Provide an about 2 seconds long video(mp4 codec is recommended) of the user's face
Verify user's face with given userId(begins with 'usr_') and optionally a boolean to enable blink detection. Note: Provide an about 2 seconds long video(mp4 codec is recommended) of the user's face

@@ -490,3 +492,3 @@ ```javascript

or with blinkDetection disabled
or with blinkDetection enabled

@@ -497,3 +499,3 @@ ```javascript

videoFilePath : "FULL_VIDEO_PATH",
doBlinkDetection: false
doBlinkDetection: true
},(jsonResponse)=>{

@@ -534,3 +536,3 @@ console.log(jsonResponse);

Identify user inside group with the given groupId(begins with 'grp_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to disable blink detection. Note: File recording needs to be no less than 1.2 seconds and no more than 5 seconds
Identify user inside group with the given groupId(begins with 'grp_'), contentLanguage('en-US','es-ES', etc.) and optionally a boolean to enable blink detection. Note: File recording needs to be no less than 1.2 seconds and no more than 5 seconds

@@ -547,3 +549,3 @@ ```javascript

or with blinkDetection disabled
or with blinkDetection enabled

@@ -555,3 +557,3 @@ ```javascript

videoFilePath : "FULL_VIDEO_PATH",
doBlinkDetection: false
doBlinkDetection: true
},(jsonResponse)=>{

@@ -563,3 +565,3 @@ console.log(jsonResponse);

Identify user inside group with the given groupId(begins with 'grp_') , contentLanguage('en-US','es-ES', etc.) and optionally a boolean to disable blink detection. Note: File recording needs to be no less than 1.2 seconds and no more than 5 seconds
Identify user inside group with the given groupId(begins with 'grp_') , contentLanguage('en-US','es-ES', etc.) and optionally a boolean to enable blink detection. Note: File recording needs to be no less than 1.2 seconds and no more than 5 seconds

@@ -576,3 +578,3 @@ ```javascript

or with blinkDetection disabled
or with blinkDetection enabled

@@ -584,3 +586,3 @@ ```javascript

videoFileURL : "PUBLIC_URL_TO_VIDEO_FILE_HERE",
doBlinkDetection: false
doBlinkDetection: true
},(jsonResponse)=>{

@@ -587,0 +589,0 @@ console.log(jsonResponse);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc