@dolphinweex/weex-harmony-transform 0.1.23 → 0.1.25
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 +2 -3
package/package.json
CHANGED
package/src/adapter.js
CHANGED
|
@@ -5,7 +5,6 @@ let weexModule = {
|
|
|
5
5
|
try {
|
|
6
6
|
if (window !== window.top) {
|
|
7
7
|
window.addEventListener('message', function (event) {
|
|
8
|
-
console.log('event🥳', '----->👉', event);
|
|
9
8
|
event.currentTarget.$midea_harmony_native.run(name, paramObj, callback, successCb, failCb);
|
|
10
9
|
});
|
|
11
10
|
}
|
|
@@ -268,8 +267,8 @@ let bridgeModule = {
|
|
|
268
267
|
weexModule.callNative('bridgeModule.getDeviceUUID',{ 'options': options }, callback)
|
|
269
268
|
},
|
|
270
269
|
|
|
271
|
-
sendCentralCloundRequest:function(options, callback){
|
|
272
|
-
weexModule.callNative('bridgeModule.sendCentralCloundRequest',{ 'options': options }, callback)
|
|
270
|
+
sendCentralCloundRequest:function(options, callback, failCallback){
|
|
271
|
+
weexModule.callNative('bridgeModule.sendCentralCloundRequest',{ 'options': options }, callback, undefined, failCallback)
|
|
273
272
|
},
|
|
274
273
|
sendMCloudRequest:function(options, callback){
|
|
275
274
|
weexModule.callNative('bridgeModule.sendMCloudRequest',{ 'options': options }, callback)
|