faceauthview
Advanced tools
Comparing version 1.0.1 to 1.0.3
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
144413
7
193
1
42