@dolphinweex/weex-harmony-transform 0.1.38 → 0.1.40
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 +1 -1
- package/src/adapter.js +15 -1
- package/src/weexExtModules.js +2 -1
package/package.json
CHANGED
package/src/adapter.js
CHANGED
|
@@ -957,6 +957,19 @@ let webSocket = {
|
|
|
957
957
|
weexModule.callNative('webSocket.onclose', { 'options': '' }, callback, undefined, failCallback)
|
|
958
958
|
},
|
|
959
959
|
}
|
|
960
|
+
|
|
961
|
+
let configCommonModule ={
|
|
962
|
+
name:'configCommonModule',
|
|
963
|
+
configDevice: function (param, callback, failCallback) {
|
|
964
|
+
weexModule.callNative('singleBlueToothModule.configDevice', { 'options': param }, callback, undefined, failCallback)
|
|
965
|
+
},
|
|
966
|
+
changeBleBindToWiFiConfig: function (param, callback, failCallback) {
|
|
967
|
+
weexModule.callNative('singleBlueToothModule.changeBleBindToWiFiConfig', { 'options': param }, callback, undefined, failCallback)
|
|
968
|
+
},
|
|
969
|
+
searchSubDevice: function (param, callback, failCallback) {
|
|
970
|
+
weexModule.callNative('singleBlueToothModule.searchSubDevice', { 'options': param }, callback, undefined, failCallback)
|
|
971
|
+
},
|
|
972
|
+
}
|
|
960
973
|
export {
|
|
961
974
|
clipboard,
|
|
962
975
|
weexModule,
|
|
@@ -981,5 +994,6 @@ export {
|
|
|
981
994
|
mideaAudio,
|
|
982
995
|
iotLinkVideoModule,
|
|
983
996
|
ipcLiveModule,
|
|
984
|
-
webSocket
|
|
997
|
+
webSocket,
|
|
998
|
+
configCommonModule
|
|
985
999
|
}
|