@dolphinweex/weex-harmony-transform 0.1.41 → 0.1.42

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 +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphinweex/weex-harmony-transform",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "weex harmony adapter",
5
5
  "main": "index.js",
6
6
  "files": [
package/src/adapter.js CHANGED
@@ -266,6 +266,9 @@ let bridgeModule = {
266
266
  getDeviceUUID:function(options, callback){
267
267
  weexModule.callNative('bridgeModule.getDeviceUUID',{ 'options': options }, callback)
268
268
  },
269
+ setPageOrientation:function(options, callback){
270
+ weexModule.callNative('bridgeModule.getDeviceUUID',{ 'options': options }, callback)
271
+ },
269
272
  startDownloadFile:function(options, callback, failCallback){
270
273
  weexModule.callNative('bridgeModule.startDownloadFile',{ 'options': options }, callback, undefined, failCallback)
271
274
  },
@@ -308,6 +311,9 @@ let bridgeModule = {
308
311
  getFileList:function(options, callback, failCallback) {
309
312
  weexModule.callNative('bridgeModule.getFileList', { 'options': options }, callback, undefined, failCallback)
310
313
  },
314
+ checkDeviceOTAUpdate:function(options, callback){
315
+ weexModule.callNative(`bridgeModule.checkDeviceOTAUpdate`,{ 'options': options }, callback, undefined, failCallback);
316
+ }
311
317
  }
312
318
 
313
319
  let aiSpeechModule = {
@@ -857,6 +863,9 @@ let mideaAudio = {
857
863
  }
858
864
  let singleBlueToothModule = {
859
865
  name: 'singleBlueToothModule',
866
+ searchSubDevice: function (param, callback, failCallback) {
867
+ weexModule.callNative('singleBlueToothModule.searchSubDevice', { 'options': param }, callback, undefined, failCallback)
868
+ },
860
869
  getBlueStatus: function (param, callback, failCallback) {
861
870
  weexModule.callNative('singleBlueToothModule.getBlueStatus', { 'options': param }, callback, undefined, failCallback)
862
871
  },