@tsparticles/interaction-external-pause 3.0.0-beta.3 → 3.0.0-beta.5

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/browser/Pauser.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import { ExternalInteractorBase } from "@tsparticles/engine";
2
+ const pauseMode = "pause";
2
3
  export class Pauser extends ExternalInteractorBase {
3
4
  constructor(container) {
4
5
  super(container);
5
6
  this.handleClickMode = (mode) => {
6
- if (mode !== "pause") {
7
+ if (mode !== pauseMode) {
7
8
  return;
8
9
  }
9
10
  const container = this.container;
package/cjs/Pauser.js CHANGED
@@ -2,11 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Pauser = void 0;
4
4
  const engine_1 = require("@tsparticles/engine");
5
+ const pauseMode = "pause";
5
6
  class Pauser extends engine_1.ExternalInteractorBase {
6
7
  constructor(container) {
7
8
  super(container);
8
9
  this.handleClickMode = (mode) => {
9
- if (mode !== "pause") {
10
+ if (mode !== pauseMode) {
10
11
  return;
11
12
  }
12
13
  const container = this.container;
package/esm/Pauser.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import { ExternalInteractorBase } from "@tsparticles/engine";
2
+ const pauseMode = "pause";
2
3
  export class Pauser extends ExternalInteractorBase {
3
4
  constructor(container) {
4
5
  super(container);
5
6
  this.handleClickMode = (mode) => {
6
- if (mode !== "pause") {
7
+ if (mode !== pauseMode) {
7
8
  return;
8
9
  }
9
10
  const container = this.container;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/interaction-external-pause",
3
- "version": "3.0.0-beta.3",
3
+ "version": "3.0.0-beta.5",
4
4
  "description": "tsParticles pause external interaction",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -60,7 +60,7 @@
60
60
  "confettijs",
61
61
  "fireworksjs",
62
62
  "canvas-confetti",
63
- "@tsparticles/plugin",
63
+ "tsparticles-plugin",
64
64
  "@tsparticles/interaction"
65
65
  ],
66
66
  "author": "Matteo Bruni <matteo.bruni@me.com>",
@@ -87,7 +87,7 @@
87
87
  "./package.json": "./package.json"
88
88
  },
89
89
  "dependencies": {
90
- "@tsparticles/engine": "^3.0.0-beta.3"
90
+ "@tsparticles/engine": "^3.0.0-beta.5"
91
91
  },
92
92
  "publishConfig": {
93
93
  "access": "public"