@yidun/livedetect-sdk-h5 3.0.0 → 3.0.2
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.
- package/README.md +2 -2
- package/dist/NELiveDetection.umd.js +2 -2
- package/dist/es/NELiveDetection.esm.js +2 -2
- package/package.json +109 -109
package/README.md
CHANGED
|
@@ -69,9 +69,9 @@ import '@yidun/livedetect-sdk-h5/dist/es/NELiveDetection.css';
|
|
|
69
69
|
|
|
70
70
|
```html
|
|
71
71
|
<!-- head 标签下样式文件引入 -->
|
|
72
|
-
<link rel="stylesheet" href="https://yidunfe.nosdn.127.net/sdk/NELiveDetection.
|
|
72
|
+
<link rel="stylesheet" href="https://yidunfe.nosdn.127.net/sdk/NELiveDetection.v3.0.2.min.css" />
|
|
73
73
|
<!-- body 标签下引入 sdk -->
|
|
74
|
-
<script src="https://yidunfe.nosdn.127.net/sdk/NELiveDetection.
|
|
74
|
+
<script src="https://yidunfe.nosdn.127.net/sdk/NELiveDetection.v3.0.2.umd.js"></script>
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
引入该脚本之后,不需要像**模块引入**方式一样通过 `import` 引入 `NELiveDetection` 变量,该变量已经挂载到全局,初始化时直接按下列方式即可:
|