@dolphinweex/weex-harmony-transform 0.1.43 → 0.1.45

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/adapter.js +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphinweex/weex-harmony-transform",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "description": "weex harmony adapter",
5
5
  "main": "index.js",
6
6
  "files": [
package/src/adapter.js CHANGED
@@ -978,13 +978,16 @@ let webSocket = {
978
978
  let configCommonModule ={
979
979
  name:'configCommonModule',
980
980
  configDevice: function (param, callback, failCallback) {
981
- weexModule.callNative('singleBlueToothModule.configDevice', { 'options': param }, callback, undefined, failCallback)
981
+ weexModule.callNative('configCommonModule.configDevice', { 'options': param }, callback, undefined, failCallback)
982
982
  },
983
983
  changeBleBindToWiFiConfig: function (param, callback, failCallback) {
984
- weexModule.callNative('singleBlueToothModule.changeBleBindToWiFiConfig', { 'options': param }, callback, undefined, failCallback)
984
+ weexModule.callNative('configCommonModule.changeBleBindToWiFiConfig', { 'options': param }, callback, undefined, failCallback)
985
985
  },
986
986
  searchSubDevice: function (param, callback, failCallback) {
987
- weexModule.callNative('singleBlueToothModule.searchSubDevice', { 'options': param }, callback, undefined, failCallback)
987
+ weexModule.callNative('configCommonModule.searchSubDevice', { 'options': param }, callback, undefined, failCallback)
988
+ },
989
+ changeDeviceWifi: function (param, callback, failCallback) {
990
+ weexModule.callNative('configCommonModule.changeDeviceWifi', { 'options': param }, callback, undefined, failCallback)
988
991
  },
989
992
  }
990
993
  export {