@tsparticles/updater-color 3.0.0-beta.0 → 3.0.0-beta.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.
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v3.0.0-beta.0
7
+ * v3.0.0-beta.2
8
8
  */
9
9
  (function webpackUniversalModuleDefinition(root, factory) {
10
10
  if(typeof exports === 'object' && typeof module === 'object')
@@ -1 +1 @@
1
- /*! tsParticles Color Updater v3.0.0-beta.0 by Matteo Bruni */
1
+ /*! tsParticles Color Updater v3.0.0-beta.2 by Matteo Bruni */
@@ -4,14 +4,14 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "@tsparticles/engine", "./Utils"], factory);
7
+ define(["require", "exports", "@tsparticles/engine", "./Utils.js"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ColorUpdater = void 0;
13
13
  const engine_1 = require("@tsparticles/engine");
14
- const Utils_1 = require("./Utils");
14
+ const Utils_js_1 = require("./Utils.js");
15
15
  class ColorUpdater {
16
16
  constructor(container) {
17
17
  this.container = container;
@@ -31,7 +31,7 @@
31
31
  (color?.l.value !== undefined && lAnimation.enable)));
32
32
  }
33
33
  update(particle, delta) {
34
- (0, Utils_1.updateColor)(particle, delta);
34
+ (0, Utils_js_1.updateColor)(particle, delta);
35
35
  }
36
36
  }
37
37
  exports.ColorUpdater = ColorUpdater;
package/umd/index.js CHANGED
@@ -4,15 +4,15 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "./ColorUpdater"], factory);
7
+ define(["require", "exports", "./ColorUpdater.js"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.loadColorUpdater = void 0;
13
- const ColorUpdater_1 = require("./ColorUpdater");
13
+ const ColorUpdater_js_1 = require("./ColorUpdater.js");
14
14
  async function loadColorUpdater(engine, refresh = true) {
15
- await engine.addParticleUpdater("color", (container) => new ColorUpdater_1.ColorUpdater(container), refresh);
15
+ await engine.addParticleUpdater("color", (container) => new ColorUpdater_js_1.ColorUpdater(container), refresh);
16
16
  }
17
17
  exports.loadColorUpdater = loadColorUpdater;
18
18
  });