@xybplugins/xyb-agent 0.0.25 → 0.0.27
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 +9 -6
- package/dist/index.esm.js +3271 -1
- package/dist/index.umd.js +3279 -1
- package/package.json +1 -1
- package/publish.sh +0 -33
- package/scripts/update-version.mjs +0 -31
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
## npm包相关说明
|
|
8
8
|
|
|
9
9
|
* 安装/更新命令
|
|
10
|
+
|
|
10
11
|
```shell
|
|
11
12
|
npm i @xybplugins/xyb-agent@latest --save-dev
|
|
12
13
|
```
|
|
@@ -323,6 +324,7 @@ this.$xybAgent.getLocationInfo().then(({location, isSuccess}) => {
|
|
|
323
324
|
}
|
|
324
325
|
})
|
|
325
326
|
```
|
|
327
|
+
|
|
326
328
|
* 注意事项 - npm 包
|
|
327
329
|
* 返回的坐标系是GCJ02(国测坐标系),若需要转换为其他坐标系,需业务侧自行进行转换处理
|
|
328
330
|
|
|
@@ -1610,12 +1612,13 @@ this.$xybAgent.openAlipayMiniApp('/pages/index/index').then(({isSuccess, code})
|
|
|
1610
1612
|
|
|
1611
1613
|
* 环境适配说明
|
|
1612
1614
|
|
|
1613
|
-
| 环境类型
|
|
1614
|
-
|
|
1615
|
-
| 湘易办小程序
|
|
1616
|
-
| 湘易办小程序-webview
|
|
1617
|
-
| 湘易办 - webview
|
|
1618
|
-
| 三方小程序
|
|
1615
|
+
| 环境类型 | 是否适配 | JSSDK版本(最低) | NPM包版本(最低) |
|
|
1616
|
+
|-----------------|:----:|:------------|------------|
|
|
1617
|
+
| 湘易办小程序 | `是` | `2.0.0` | `0.0.26` |
|
|
1618
|
+
| 湘易办小程序-webview | `是` | `2.0.0` | `0.0.26` |
|
|
1619
|
+
| 湘易办 - webview | `是` | `2.0.0` | `0.0.26` |
|
|
1620
|
+
| 三方小程序 | `否` | -- | -- |
|
|
1621
|
+
| 三方小程序 - webview | `是` | -- | `0.0.26` |
|
|
1619
1622
|
|
|
1620
1623
|
* 入参
|
|
1621
1624
|
|