@mpxjs/api-proxy 2.8.7 → 2.8.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/api-proxy",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.8",
|
|
4
4
|
"description": "convert miniprogram API at each end",
|
|
5
5
|
"module": "src/index.js",
|
|
6
6
|
"types": "@types/index.d.ts",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"axios": "^0.21.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "23a729d198962e2b1d7a5d5672066d39e7271949"
|
|
43
43
|
}
|
|
@@ -661,6 +661,14 @@ const getWxToAliApi = ({ optimize = false }) => {
|
|
|
661
661
|
|
|
662
662
|
createBLEConnection (options = {}) {
|
|
663
663
|
ALI_OBJ.connectBLEDevice(options)
|
|
664
|
+
},
|
|
665
|
+
|
|
666
|
+
onBLEConnectionStateChange (callback) {
|
|
667
|
+
ALI_OBJ.onBLEConnectionStateChanged(callback)
|
|
668
|
+
},
|
|
669
|
+
|
|
670
|
+
offBLEConnectionStateChange (callback) {
|
|
671
|
+
ALI_OBJ.offBLEConnectionStateChanged(callback)
|
|
664
672
|
}
|
|
665
673
|
}
|
|
666
674
|
}
|