tsparticles 4.2.1 → 4.3.1

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.
package/README.md CHANGED
@@ -113,9 +113,7 @@ Once the scripts are loaded you can set up `tsParticles` like this:
113
113
 
114
114
  await tsParticles.load({
115
115
  id: "tsparticles",
116
- options: {
117
- /* options */
118
- },
116
+ options: {/* options */},
119
117
  });
120
118
  })();
121
119
  ```
@@ -199,9 +197,7 @@ async function particlesInit(engine: Engine): Promise<void> {
199
197
  ```
200
198
 
201
199
  ```ts
202
- const options = {
203
- /* custom options */
204
- };
200
+ const options = {/* custom options */};
205
201
 
206
202
  async function particlesInit(engine: Engine): Promise<void> {
207
203
  await loadFull(engine);
@@ -220,9 +216,7 @@ async function particlesInit(engine: Engine): Promise<void> {
220
216
  ```
221
217
 
222
218
  ```js
223
- let options = {
224
- /* custom options */
225
- };
219
+ let options = {/* custom options */};
226
220
 
227
221
  let particlesInit = async engine => {
228
222
  await loadFull(engine);
package/browser/index.js CHANGED
@@ -12,7 +12,7 @@ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
12
12
  import { loadTwinkleUpdater } from "@tsparticles/updater-twinkle";
13
13
  import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
14
14
  export async function loadFull(engine) {
15
- engine.checkVersion("4.2.1");
15
+ engine.checkVersion("4.3.1");
16
16
  await engine.pluginManager.register(async (e) => {
17
17
  const loadEmittersPluginBundle = async (e) => {
18
18
  await loadEmittersPlugin(e);
@@ -1,5 +1,5 @@
1
1
  export async function loadFull(engine) {
2
- engine.checkVersion("4.2.1");
2
+ engine.checkVersion("4.3.1");
3
3
  await engine.pluginManager.register(async (e) => {
4
4
  const [{ loadSlim }, { loadExternalDragInteraction }, { loadExternalTrailInteraction }, { loadAbsorbersPlugin }, { loadEmittersPlugin }, { loadEmittersShapeCircle }, { loadEmittersShapeSquare }, { loadTextShape }, { loadDestroyUpdater }, { loadRollUpdater }, { loadTiltUpdater }, { loadTwinkleUpdater }, { loadWobbleUpdater },] = await Promise.all([
5
5
  import("@tsparticles/slim/lazy"),
package/cjs/index.js CHANGED
@@ -12,7 +12,7 @@ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
12
12
  import { loadTwinkleUpdater } from "@tsparticles/updater-twinkle";
13
13
  import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
14
14
  export async function loadFull(engine) {
15
- engine.checkVersion("4.2.1");
15
+ engine.checkVersion("4.3.1");
16
16
  await engine.pluginManager.register(async (e) => {
17
17
  const loadEmittersPluginBundle = async (e) => {
18
18
  await loadEmittersPlugin(e);
package/cjs/index.lazy.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export async function loadFull(engine) {
2
- engine.checkVersion("4.2.1");
2
+ engine.checkVersion("4.3.1");
3
3
  await engine.pluginManager.register(async (e) => {
4
4
  const [{ loadSlim }, { loadExternalDragInteraction }, { loadExternalTrailInteraction }, { loadAbsorbersPlugin }, { loadEmittersPlugin }, { loadEmittersShapeCircle }, { loadEmittersShapeSquare }, { loadTextShape }, { loadDestroyUpdater }, { loadRollUpdater }, { loadTiltUpdater }, { loadTwinkleUpdater }, { loadWobbleUpdater },] = await Promise.all([
5
5
  import("@tsparticles/slim/lazy"),
package/esm/index.js CHANGED
@@ -12,7 +12,7 @@ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
12
12
  import { loadTwinkleUpdater } from "@tsparticles/updater-twinkle";
13
13
  import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
14
14
  export async function loadFull(engine) {
15
- engine.checkVersion("4.2.1");
15
+ engine.checkVersion("4.3.1");
16
16
  await engine.pluginManager.register(async (e) => {
17
17
  const loadEmittersPluginBundle = async (e) => {
18
18
  await loadEmittersPlugin(e);
package/esm/index.lazy.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export async function loadFull(engine) {
2
- engine.checkVersion("4.2.1");
2
+ engine.checkVersion("4.3.1");
3
3
  await engine.pluginManager.register(async (e) => {
4
4
  const [{ loadSlim }, { loadExternalDragInteraction }, { loadExternalTrailInteraction }, { loadAbsorbersPlugin }, { loadEmittersPlugin }, { loadEmittersShapeCircle }, { loadEmittersShapeSquare }, { loadTextShape }, { loadDestroyUpdater }, { loadRollUpdater }, { loadTiltUpdater }, { loadTwinkleUpdater }, { loadWobbleUpdater },] = await Promise.all([
5
5
  import("@tsparticles/slim/lazy"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsparticles",
3
- "version": "4.2.1",
3
+ "version": "4.3.1",
4
4
  "description": "Full-featured tsParticles bundle — create stunning particle, confetti and fireworks animations with all official plugins and presets included. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -105,20 +105,20 @@
105
105
  "./package.json": "./package.json"
106
106
  },
107
107
  "dependencies": {
108
- "@tsparticles/engine": "4.2.1",
109
- "@tsparticles/interaction-external-drag": "4.2.1",
110
- "@tsparticles/interaction-external-trail": "4.2.1",
111
- "@tsparticles/plugin-absorbers": "4.2.1",
112
- "@tsparticles/plugin-emitters": "4.2.1",
113
- "@tsparticles/plugin-emitters-shape-circle": "4.2.1",
114
- "@tsparticles/plugin-emitters-shape-square": "4.2.1",
115
- "@tsparticles/shape-text": "4.2.1",
116
- "@tsparticles/slim": "4.2.1",
117
- "@tsparticles/updater-destroy": "4.2.1",
118
- "@tsparticles/updater-roll": "4.2.1",
119
- "@tsparticles/updater-tilt": "4.2.1",
120
- "@tsparticles/updater-twinkle": "4.2.1",
121
- "@tsparticles/updater-wobble": "4.2.1"
108
+ "@tsparticles/engine": "4.3.1",
109
+ "@tsparticles/interaction-external-drag": "4.3.1",
110
+ "@tsparticles/interaction-external-trail": "4.3.1",
111
+ "@tsparticles/plugin-absorbers": "4.3.1",
112
+ "@tsparticles/plugin-emitters": "4.3.1",
113
+ "@tsparticles/plugin-emitters-shape-circle": "4.3.1",
114
+ "@tsparticles/plugin-emitters-shape-square": "4.3.1",
115
+ "@tsparticles/shape-text": "4.3.1",
116
+ "@tsparticles/slim": "4.3.1",
117
+ "@tsparticles/updater-destroy": "4.3.1",
118
+ "@tsparticles/updater-roll": "4.3.1",
119
+ "@tsparticles/updater-tilt": "4.3.1",
120
+ "@tsparticles/updater-twinkle": "4.3.1",
121
+ "@tsparticles/updater-wobble": "4.3.1"
122
122
  },
123
123
  "publishConfig": {
124
124
  "access": "public"