@lottiefiles/lottie-player 1.6.0 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ export declare const LOTTIE_PLAYER_VERSION = "1.6.2";
2
+ export declare const LOTTIE_WEB_VERSION = "^5.10.0";
3
+ //# sourceMappingURL=versions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../src/versions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,UAAU,CAAC;AAC7C,eAAO,MAAM,kBAAkB,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lottiefiles/lottie-player",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "Lottie animation and Telegram Sticker player web components.",
5
5
  "main": "dist/lottie-player.js",
6
6
  "module": "dist/lottie-player.esm.js",
@@ -11,7 +11,9 @@
11
11
  "author": "Jawish Hameed <jawish@lottiefiles.com>",
12
12
  "license": "MIT",
13
13
  "scripts": {
14
+ "prestart": "node -p \"'export const LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/versions.ts",
14
15
  "start": "npm run cleanup && rollup -c --watch",
16
+ "prebuild": "node -p \"'export const LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/versions.ts",
15
17
  "build": "npm run cleanup && npm run build-lottie && npm run build-tgs",
16
18
  "build-with-coverage": "npm run cleanup && CODE_COVERAGE=true npm run build-lottie && CODE_COVERAGE=true npm run build-tgs",
17
19
  "build-lottie": "rollup -c ",
@@ -30,7 +32,7 @@
30
32
  "dependencies": {
31
33
  "@types/pako": "^1.0.1",
32
34
  "lit": "^2.1.2",
33
- "lottie-web": "^5.9.6",
35
+ "lottie-web": "^5.10.0",
34
36
  "pako": "^2.0.4",
35
37
  "resize-observer-polyfill": "^1.5.1"
36
38
  },