@yqzk/liveness-detection-web-component 1.0.0 → 1.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 CHANGED
@@ -1,20 +1,20 @@
1
- # @liveness-detection/web-component
1
+ # @yqzk/liveness-detection-web-component
2
2
 
3
3
  活体检测 Web Component - 标准 Web 组件,可集成到任何前端框架。
4
4
 
5
5
  ## 特性
6
6
 
7
- - 🎯 标准 Web Component,无框架依赖
8
- - 📦 支持 ES Module 和 UMD 格式
9
- - 🎨 样式内置,无需额外 CSS 文件
10
- - 📱 响应式设计,自适应各种屏幕
11
- - 🌐 完整的 TypeScript 类型支持
12
- - 自动预热,快速启动
7
+ - 标准 Web Component,无框架依赖
8
+ - 支持 ES Module 和 UMD 格式
9
+ - 样式内置,无需额外 CSS 文件
10
+ - 响应式设计,自适应各种屏幕
11
+ - 完整的 TypeScript 类型支持
12
+ - 自动预热,快速启动
13
13
 
14
14
  ## 安装
15
15
 
16
16
  ```bash
17
- npm install @liveness-detection/web-component
17
+ npm i @yqzk/liveness-detection-web-component
18
18
  ```
19
19
 
20
20
  ## 快速开始
@@ -34,7 +34,7 @@ npm install @liveness-detection/web-component
34
34
 
35
35
  <!-- 2. 导入并使用 -->
36
36
  <script type="module">
37
- import '@liveness-detection/web-component';
37
+ import '@yqzk/liveness-detection-web-component';
38
38
 
39
39
  const detector = document.querySelector('liveness-detector');
40
40
 
@@ -64,7 +64,7 @@ npm install @liveness-detection/web-component
64
64
 
65
65
  ```tsx
66
66
  import { useEffect, useRef } from 'react';
67
- import '@liveness-detection/web-component';
67
+ import '@yqzk/liveness-detection-web-component';
68
68
 
69
69
  function App() {
70
70
  const detectorRef = useRef<any>(null);
@@ -139,7 +139,7 @@ function App() {
139
139
 
140
140
  <script setup lang="ts">
141
141
  import { ref, onMounted } from 'vue';
142
- import '@liveness-detection/web-component';
142
+ import '@yqzk/liveness-detection-web-component';
143
143
 
144
144
  const detectorRef = ref<any>(null);
145
145
 
@@ -180,7 +180,7 @@ const startDetection = async () => {
180
180
  <liveness-detector id="detector"></liveness-detector>
181
181
 
182
182
  <!-- 直接引入 UMD 文件 -->
183
- <script src="node_modules/@liveness-detection/web-component/dist/index.umd.cjs"></script>
183
+ <script src="node_modules/@yqzk/liveness-detection-web-component/dist/index.umd.cjs"></script>
184
184
 
185
185
  <script>
186
186
  const detector = document.getElementById('detector');
@@ -347,4 +347,4 @@ MIT License
347
347
 
348
348
  ## 支持
349
349
 
350
- 如有问题,请提交 [Issue](https://github.com/your-org/liveness-detection/issues)
350
+ 如有问题,请提交问题到 service@sellmores.top