@tsparticles/plugin-absorbers 4.0.0-alpha.4 → 4.0.0-alpha.8

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 +1 @@
1
- /*! tsParticles Absorbers Plugin v4.0.0-alpha.4 by Matteo Bruni */
1
+ /*! tsParticles Absorbers Plugin v4.0.0-alpha.8 by Matteo Bruni */
@@ -1 +1 @@
1
- /*! tsParticles Absorbers Plugin v4.0.0-alpha.4 by Matteo Bruni */
1
+ /*! tsParticles Absorbers Plugin v4.0.0-alpha.8 by Matteo Bruni */
@@ -1 +1 @@
1
- /*! tsParticles Absorbers Plugin v4.0.0-alpha.4 by Matteo Bruni */
1
+ /*! tsParticles Absorbers Plugin v4.0.0-alpha.8 by Matteo Bruni */
@@ -1 +1 @@
1
- /*! tsParticles Absorbers Plugin v4.0.0-alpha.4 by Matteo Bruni */
1
+ /*! tsParticles Absorbers Plugin v4.0.0-alpha.8 by Matteo Bruni */
@@ -1 +1 @@
1
- /*! tsParticles Absorbers Plugin v4.0.0-alpha.4 by Matteo Bruni */
1
+ /*! tsParticles Absorbers Plugin v4.0.0-alpha.8 by Matteo Bruni */
package/browser/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export function loadAbsorbersPlugin(engine) {
2
- engine.checkVersion("4.0.0-alpha.4");
3
- engine.register(async (e) => {
1
+ export async function loadAbsorbersPlugin(engine) {
2
+ engine.checkVersion("4.0.0-alpha.8");
3
+ await engine.register(async (e) => {
4
4
  const { loadInteractivityPlugin } = await import("@tsparticles/plugin-interactivity"), { AbsorbersInstancesManager } = await import("./AbsorbersInstancesManager.js"), { AbsorbersPlugin } = await import("./AbsorbersPlugin.js"), instancesManager = new AbsorbersInstancesManager(e);
5
- loadInteractivityPlugin(e);
5
+ await loadInteractivityPlugin(e);
6
6
  e.addPlugin(new AbsorbersPlugin(instancesManager));
7
7
  e.addInteractor?.("externalAbsorbers", async (container) => {
8
8
  const { AbsorbersInteractor } = await import("./AbsorbersInteractor.js");
package/cjs/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export function loadAbsorbersPlugin(engine) {
2
- engine.checkVersion("4.0.0-alpha.4");
3
- engine.register(async (e) => {
1
+ export async function loadAbsorbersPlugin(engine) {
2
+ engine.checkVersion("4.0.0-alpha.8");
3
+ await engine.register(async (e) => {
4
4
  const { loadInteractivityPlugin } = await import("@tsparticles/plugin-interactivity"), { AbsorbersInstancesManager } = await import("./AbsorbersInstancesManager.js"), { AbsorbersPlugin } = await import("./AbsorbersPlugin.js"), instancesManager = new AbsorbersInstancesManager(e);
5
- loadInteractivityPlugin(e);
5
+ await loadInteractivityPlugin(e);
6
6
  e.addPlugin(new AbsorbersPlugin(instancesManager));
7
7
  e.addInteractor?.("externalAbsorbers", async (container) => {
8
8
  const { AbsorbersInteractor } = await import("./AbsorbersInteractor.js");
@@ -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
- * v4.0.0-alpha.4
7
+ * v4.0.0-alpha.8
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -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
- * v4.0.0-alpha.4
7
+ * v4.0.0-alpha.8
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -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
- * v4.0.0-alpha.4
7
+ * v4.0.0-alpha.8
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -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
- * v4.0.0-alpha.4
7
+ * v4.0.0-alpha.8
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -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
- * v4.0.0-alpha.4
7
+ * v4.0.0-alpha.8
8
8
  */
9
9
  "use strict";
10
10
  /*
package/esm/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export function loadAbsorbersPlugin(engine) {
2
- engine.checkVersion("4.0.0-alpha.4");
3
- engine.register(async (e) => {
1
+ export async function loadAbsorbersPlugin(engine) {
2
+ engine.checkVersion("4.0.0-alpha.8");
3
+ await engine.register(async (e) => {
4
4
  const { loadInteractivityPlugin } = await import("@tsparticles/plugin-interactivity"), { AbsorbersInstancesManager } = await import("./AbsorbersInstancesManager.js"), { AbsorbersPlugin } = await import("./AbsorbersPlugin.js"), instancesManager = new AbsorbersInstancesManager(e);
5
- loadInteractivityPlugin(e);
5
+ await loadInteractivityPlugin(e);
6
6
  e.addPlugin(new AbsorbersPlugin(instancesManager));
7
7
  e.addInteractor?.("externalAbsorbers", async (container) => {
8
8
  const { AbsorbersInteractor } = await import("./AbsorbersInteractor.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/plugin-absorbers",
3
- "version": "4.0.0-alpha.4",
3
+ "version": "4.0.0-alpha.8",
4
4
  "description": "tsParticles absorbers plugin",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -86,8 +86,8 @@
86
86
  "./package.json": "./package.json"
87
87
  },
88
88
  "dependencies": {
89
- "@tsparticles/engine": "4.0.0-alpha.4",
90
- "@tsparticles/plugin-interactivity": "4.0.0-alpha.4"
89
+ "@tsparticles/engine": "4.0.0-alpha.8",
90
+ "@tsparticles/plugin-interactivity": "4.0.0-alpha.8"
91
91
  },
92
92
  "publishConfig": {
93
93
  "access": "public"