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

faceauthview

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faceauthview - npm Package Compare versions

Comparing version 1.0.1 to 1.0.3

README.md

5

package.json
{
"name": "faceauthview",
"version": "1.0.1",
"version": "1.0.3",
"description": "微信小程序自定义人脸识别组件",

@@ -9,3 +9,4 @@ "main": "index.js",

"src",
"package.json"
"package.json",
"README.md"
],

@@ -12,0 +13,0 @@ "scripts": {

@@ -36,3 +36,3 @@ Component({

initCamera: function () {
console.log(`[faceAuthView] : 初始化摄像头`)
console.log(`[faceAuthView] : 初始化摄像头!`)
this.ctx = wx.createCameraContext()

@@ -53,3 +53,3 @@ },

*/
async getCode() {
async getCode () {
const that = this

@@ -113,3 +113,3 @@ wx.request({

*/
stopRecord() {
stopRecord () {
wx.showLoading({

@@ -132,3 +132,3 @@ title: '视频处理中',

this.triggerEvent('authFail', {
message: '停止录制失败'
message: '停止录制失败!'
})

@@ -142,3 +142,3 @@ })

*/
getVideoBase64(tempVideoPath) {
getVideoBase64 (tempVideoPath) {
wx.showLoading({

@@ -165,2 +165,5 @@ title: '认证中',

})
this.triggerEvent('authFail', {
message: '视频转换base64异常'
})
}

@@ -170,3 +173,3 @@ })

auth(data) {
auth (data) {
console.log(`[faceAuthView] : 调用API认证结果`)

@@ -173,0 +176,0 @@ const that = this

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