@tsparticles/updater-wobble 4.0.0-beta.12 → 4.0.0-beta.16
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/browser.js +5 -0
- package/browser/index.js +4 -4
- package/browser/index.lazy.js +9 -0
- package/cjs/browser.js +5 -0
- package/cjs/index.js +4 -4
- package/cjs/index.lazy.js +9 -0
- package/esm/browser.js +5 -0
- package/esm/index.js +4 -4
- package/esm/index.lazy.js +9 -0
- package/package.json +9 -2
- package/report.html +4949 -94
- package/tsparticles.updater.wobble.js +132 -310
- package/tsparticles.updater.wobble.min.js +1 -2
- package/types/browser.d.ts +1 -0
- package/types/index.lazy.d.ts +2 -0
- package/818.min.js +0 -1
- package/dist_browser_WobbleUpdater_js.js +0 -60
package/browser/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { WobbleUpdater } from "./WobbleUpdater.js";
|
|
1
2
|
export async function loadWobbleUpdater(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
3
|
+
engine.checkVersion("4.0.0-beta.16");
|
|
3
4
|
await engine.pluginManager.register(e => {
|
|
4
|
-
e.pluginManager.addParticleUpdater("wobble",
|
|
5
|
-
|
|
6
|
-
return new WobbleUpdater(container);
|
|
5
|
+
e.pluginManager.addParticleUpdater("wobble", container => {
|
|
6
|
+
return Promise.resolve(new WobbleUpdater(container));
|
|
7
7
|
});
|
|
8
8
|
});
|
|
9
9
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export async function loadWobbleUpdater(engine) {
|
|
2
|
+
engine.checkVersion("4.0.0-beta.16");
|
|
3
|
+
await engine.pluginManager.register(e => {
|
|
4
|
+
e.pluginManager.addParticleUpdater("wobble", async (container) => {
|
|
5
|
+
const { WobbleUpdater } = await import("./WobbleUpdater.js");
|
|
6
|
+
return new WobbleUpdater(container);
|
|
7
|
+
});
|
|
8
|
+
});
|
|
9
|
+
}
|
package/cjs/browser.js
ADDED
package/cjs/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { WobbleUpdater } from "./WobbleUpdater.js";
|
|
1
2
|
export async function loadWobbleUpdater(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
3
|
+
engine.checkVersion("4.0.0-beta.16");
|
|
3
4
|
await engine.pluginManager.register(e => {
|
|
4
|
-
e.pluginManager.addParticleUpdater("wobble",
|
|
5
|
-
|
|
6
|
-
return new WobbleUpdater(container);
|
|
5
|
+
e.pluginManager.addParticleUpdater("wobble", container => {
|
|
6
|
+
return Promise.resolve(new WobbleUpdater(container));
|
|
7
7
|
});
|
|
8
8
|
});
|
|
9
9
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export async function loadWobbleUpdater(engine) {
|
|
2
|
+
engine.checkVersion("4.0.0-beta.16");
|
|
3
|
+
await engine.pluginManager.register(e => {
|
|
4
|
+
e.pluginManager.addParticleUpdater("wobble", async (container) => {
|
|
5
|
+
const { WobbleUpdater } = await import("./WobbleUpdater.js");
|
|
6
|
+
return new WobbleUpdater(container);
|
|
7
|
+
});
|
|
8
|
+
});
|
|
9
|
+
}
|
package/esm/browser.js
ADDED
package/esm/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { WobbleUpdater } from "./WobbleUpdater.js";
|
|
1
2
|
export async function loadWobbleUpdater(engine) {
|
|
2
|
-
engine.checkVersion("4.0.0-beta.
|
|
3
|
+
engine.checkVersion("4.0.0-beta.16");
|
|
3
4
|
await engine.pluginManager.register(e => {
|
|
4
|
-
e.pluginManager.addParticleUpdater("wobble",
|
|
5
|
-
|
|
6
|
-
return new WobbleUpdater(container);
|
|
5
|
+
e.pluginManager.addParticleUpdater("wobble", container => {
|
|
6
|
+
return Promise.resolve(new WobbleUpdater(container));
|
|
7
7
|
});
|
|
8
8
|
});
|
|
9
9
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export async function loadWobbleUpdater(engine) {
|
|
2
|
+
engine.checkVersion("4.0.0-beta.16");
|
|
3
|
+
await engine.pluginManager.register(e => {
|
|
4
|
+
e.pluginManager.addParticleUpdater("wobble", async (container) => {
|
|
5
|
+
const { WobbleUpdater } = await import("./WobbleUpdater.js");
|
|
6
|
+
return new WobbleUpdater(container);
|
|
7
|
+
});
|
|
8
|
+
});
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/updater-wobble",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.16",
|
|
4
4
|
"description": "tsParticles particles wobble updater",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -83,10 +83,17 @@
|
|
|
83
83
|
"require": "./cjs/index.js",
|
|
84
84
|
"default": "./esm/index.js"
|
|
85
85
|
},
|
|
86
|
+
"./lazy": {
|
|
87
|
+
"types": "./types/index.lazy.d.ts",
|
|
88
|
+
"browser": "./browser/index.lazy.js",
|
|
89
|
+
"import": "./esm/index.lazy.js",
|
|
90
|
+
"require": "./cjs/index.lazy.js",
|
|
91
|
+
"default": "./esm/index.lazy.js"
|
|
92
|
+
},
|
|
86
93
|
"./package.json": "./package.json"
|
|
87
94
|
},
|
|
88
95
|
"peerDependencies": {
|
|
89
|
-
"@tsparticles/engine": "4.0.0-beta.
|
|
96
|
+
"@tsparticles/engine": "4.0.0-beta.16"
|
|
90
97
|
},
|
|
91
98
|
"publishConfig": {
|
|
92
99
|
"access": "public"
|