@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphinweex/weex-harmony-transform",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
4
4
  "description": "weex harmony adapter",
5
5
  "main": "index.js",
6
6
  "files": [
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
  }
@@ -21,7 +21,8 @@ const weexExtModules = [
21
21
  "mideaAudio",
22
22
  "iotLinkVideoModule",
23
23
  "ipcLiveModule",
24
- "webSocket"
24
+ "webSocket",
25
+ "configCommonModule"
25
26
  ]
26
27
 
27
28
  module.exports = weexExtModules