init commit

This commit is contained in:
iqudoo
2026-04-30 17:35:36 +08:00
parent 1215b6eea6
commit 3c74ae7f20
4 changed files with 21 additions and 6 deletions

4
dist/index.d.ts vendored
View File

@@ -68,7 +68,7 @@ interface ScanConfigOptions {
/**
* 微信JSSDK配置API地址调用接口会带上当前页面url作为参数
*/
apiUrl: string,
apiUrl?: string,
/**
* 微信JSSDK配置参数不配置则自动获取
*/
@@ -132,7 +132,7 @@ interface ScanListenerInfo {
/**
* 监听回调
*/
listener: ScanCallback;
listener: ScanResultCallback;
/**
* 取消监听
*/