@tsparticles/plugin-emitters-shape-square 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 Emitters Shape Square Plugin v4.0.0-alpha.4 by Matteo Bruni */
1
+ /*! tsParticles Emitters Shape Square Plugin v4.0.0-alpha.8 by Matteo Bruni */
package/browser/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export function loadEmittersShapeSquare(engine) {
2
- engine.checkVersion("4.0.0-alpha.4");
3
- engine.register(async (e) => {
1
+ export async function loadEmittersShapeSquare(engine) {
2
+ engine.checkVersion("4.0.0-alpha.8");
3
+ await engine.register(async (e) => {
4
4
  if (!e.addEmitterShapeGenerator) {
5
5
  throw new Error("tsParticles emitters plugin missing or initialized after shapes");
6
6
  }
package/cjs/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export function loadEmittersShapeSquare(engine) {
2
- engine.checkVersion("4.0.0-alpha.4");
3
- engine.register(async (e) => {
1
+ export async function loadEmittersShapeSquare(engine) {
2
+ engine.checkVersion("4.0.0-alpha.8");
3
+ await engine.register(async (e) => {
4
4
  if (!e.addEmitterShapeGenerator) {
5
5
  throw new Error("tsParticles emitters plugin missing or initialized after shapes");
6
6
  }
@@ -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,6 +1,6 @@
1
- export function loadEmittersShapeSquare(engine) {
2
- engine.checkVersion("4.0.0-alpha.4");
3
- engine.register(async (e) => {
1
+ export async function loadEmittersShapeSquare(engine) {
2
+ engine.checkVersion("4.0.0-alpha.8");
3
+ await engine.register(async (e) => {
4
4
  if (!e.addEmitterShapeGenerator) {
5
5
  throw new Error("tsParticles emitters plugin missing or initialized after shapes");
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/plugin-emitters-shape-square",
3
- "version": "4.0.0-alpha.4",
3
+ "version": "4.0.0-alpha.8",
4
4
  "description": "tsParticles emitters shape square plugin",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -100,8 +100,8 @@
100
100
  "./package.json": "./package.json"
101
101
  },
102
102
  "dependencies": {
103
- "@tsparticles/engine": "4.0.0-alpha.4",
104
- "@tsparticles/plugin-emitters": "4.0.0-alpha.4"
103
+ "@tsparticles/engine": "4.0.0-alpha.8",
104
+ "@tsparticles/plugin-emitters": "4.0.0-alpha.8"
105
105
  },
106
106
  "publishConfig": {
107
107
  "access": "public"