@tsparticles/path-polygon 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 Polygon Path v4.0.0-alpha.4 by Matteo Bruni */
1
+ /*! tsParticles Polygon Path v4.0.0-alpha.8 by Matteo Bruni */
package/browser/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const polygonPathName = "polygonPathGenerator";
2
- export function loadPolygonPath(engine) {
3
- engine.checkVersion("4.0.0-alpha.4");
4
- engine.register(async (e) => {
2
+ export async function loadPolygonPath(engine) {
3
+ engine.checkVersion("4.0.0-alpha.8");
4
+ await engine.register(async (e) => {
5
5
  const { PolygonPathGenerator } = await import("./PolygonPathGenerator.js");
6
6
  e.addPathGenerator(polygonPathName, new PolygonPathGenerator());
7
7
  });
package/cjs/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const polygonPathName = "polygonPathGenerator";
2
- export function loadPolygonPath(engine) {
3
- engine.checkVersion("4.0.0-alpha.4");
4
- engine.register(async (e) => {
2
+ export async function loadPolygonPath(engine) {
3
+ engine.checkVersion("4.0.0-alpha.8");
4
+ await engine.register(async (e) => {
5
5
  const { PolygonPathGenerator } = await import("./PolygonPathGenerator.js");
6
6
  e.addPathGenerator(polygonPathName, new PolygonPathGenerator());
7
7
  });
@@ -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,7 +1,7 @@
1
1
  export const polygonPathName = "polygonPathGenerator";
2
- export function loadPolygonPath(engine) {
3
- engine.checkVersion("4.0.0-alpha.4");
4
- engine.register(async (e) => {
2
+ export async function loadPolygonPath(engine) {
3
+ engine.checkVersion("4.0.0-alpha.8");
4
+ await engine.register(async (e) => {
5
5
  const { PolygonPathGenerator } = await import("./PolygonPathGenerator.js");
6
6
  e.addPathGenerator(polygonPathName, new PolygonPathGenerator());
7
7
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/path-polygon",
3
- "version": "4.0.0-alpha.4",
3
+ "version": "4.0.0-alpha.8",
4
4
  "description": "tsParticles polygon path",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -104,7 +104,7 @@
104
104
  "./package.json": "./package.json"
105
105
  },
106
106
  "dependencies": {
107
- "@tsparticles/engine": "4.0.0-alpha.4"
107
+ "@tsparticles/engine": "4.0.0-alpha.8"
108
108
  },
109
109
  "type": "module"
110
110
  }