@dolphinweex/weex-harmony-transform 0.1.28 → 0.1.29

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 +3 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphinweex/weex-harmony-transform",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "weex harmony adapter",
5
5
  "main": "index.js",
6
6
  "files": [
package/src/adapter.js CHANGED
@@ -543,16 +543,11 @@ let stream = {
543
543
 
544
544
  let lottieModule = {
545
545
  name: "lottieModule",
546
- lottieInterface: function (name, param, successfulFn, errorFn) {
547
- weexModule.callNative(`lottieModule.lottieInterface`, {
548
- 'options': {
549
- name: 'lottieView',
550
- param,
551
- }
552
- }, undefined, successfulFn, errorFn);
553
-
546
+ lottieInterface: function (name, options, callback,failCallback) {
547
+ weexModule.callNative(`lottieModule.lottieInterface`, { 'options': options }, callback, undefined,failCallback);
554
548
  },
555
549
  }
550
+
556
551
  let event = {
557
552
  name: "event 模块",
558
553