@eva/plugin-renderer-lottie 1.2.1-type.2 → 1.2.2-alpha.2

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.
@@ -1,4 +1,4 @@
1
- import { decorators, OBSERVER_TYPE, resource, Component, RESOURCE_TYPE } from '@eva/eva.js';
1
+ import { decorators, OBSERVER_TYPE, resource, Component } from '@eva/eva.js';
2
2
  import { Renderer } from '@eva/plugin-renderer';
3
3
  import { Container, WebGLRenderer, ObjectRenderer, utils, CanvasRenderer, Matrix, Graphics, Sprite, Rectangle, settings, UPDATE_PRIORITY, ticker, DisplayObject, Shader, glCore, BLEND_MODES, Texture, Text, TextStyle } from 'pixi.js';
4
4
  import iOSVersion from 'ios-version';
@@ -5235,8 +5235,6 @@ var Lottie = (function (_super) {
5235
5235
  }(Component));
5236
5236
  var Lottie$1 = Lottie;
5237
5237
 
5238
- Object.defineProperty(RESOURCE_TYPE, 'LOTTIE', {
5239
- value: 'LOTTIE'
5240
- });
5238
+ resource.registerResourceType('LOTTIE');
5241
5239
 
5242
5240
  export { Lottie$1 as Lottie, LottieSystem$1 as LottieSystem };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eva/plugin-renderer-lottie",
3
- "version": "1.2.1-type.2",
3
+ "version": "1.2.2-alpha.2",
4
4
  "description": "@eva/plugin-renderer-lottie",
5
5
  "main": "index.js",
6
6
  "module": "dist/plugin-renderer-lottie.esm.js",
@@ -18,8 +18,8 @@
18
18
  "license": "MIT",
19
19
  "homepage": "https://eva.js.org",
20
20
  "dependencies": {
21
- "@eva/eva.js": "1.2.1-type.2",
22
- "@eva/plugin-renderer": "1.2.1-type.2",
21
+ "@eva/eva.js": "1.2.2-alpha.2",
22
+ "@eva/plugin-renderer": "1.2.2-alpha.2",
23
23
  "ios-version": "^1.0.1",
24
24
  "pixi.js": "^4.8.9"
25
25
  }