@byhealth/native-app-jssdk
Advanced tools
Comparing version 1.0.0-beta.0 to 1.0.0-beta.1
@@ -17,3 +17,3 @@ (function (global, factory) { | ||
var callbackIdentity = 0; | ||
var __DEBUG__ = true; | ||
var __DEBUG__ = false; | ||
@@ -20,0 +20,0 @@ /** |
{ | ||
"name": "@byhealth/native-app-jssdk", | ||
"version": "1.0.0-beta.0", | ||
"version": "1.0.0-beta.1", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -7,5 +7,5 @@ # Native App JSSDK | ||
推荐使用yarn安装:`yarn add @byhealth/native-jssdk` | ||
推荐使用yarn安装:`yarn add @byhealth/native-app-jssdk` | ||
或使用NPM安装:`npm install @byhealth/native-jssdk` | ||
或使用NPM安装:`npm install @byhealth/native-app-jssdk` | ||
@@ -15,3 +15,3 @@ ## 使用 | ||
```javascript | ||
import { scanQrCode, closeWindow } from '@byhealth/native-jssdk'; | ||
import { scanQrCode, closeWindow } from '@byhealth/native-app-jssdk'; | ||
@@ -147,3 +147,3 @@ scanQrCode() | ||
### pauseMusic `pauseMusic(): Promise<void>` | ||
### 暂停播放音乐 `pauseMusic(): Promise<void>` | ||
@@ -162,2 +162,2 @@ 返回结果: | ||
1. Android和iOS重复调用 `playMusic` 都方法不会重新播放音乐; | ||
1. iOS端的API不能连续调用,会因为 **window.location.href** 变化太快而调用失败; | ||
1. iOS端的API不能连续调用,会因为 **document.location.href** 变化太快而调用失败; |
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
10904