vue-phaserjs 1.21.4 → 1.21.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/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export * from './store/text';
22
22
  export * from './utils/constants';
23
23
  export * from './utils/getScene';
24
24
  export * from './utils/InjectionKeyMap';
25
+ export * from './utils/sleep';
25
26
  export * from './models/configuration/ArcConfiguration';
26
27
  export * from './models/configuration/ContainerConfiguration';
27
28
  export * from './models/configuration/ImageConfiguration';
package/dist/index.js CHANGED
@@ -168904,10 +168904,14 @@ const J2 = "tilemapTiledJSONExternal", Q2 = Rt.Loader.FileTypesManager, k2 = ()
168904
168904
  xi(Ut.Preload, ...E);
168905
168905
  }, Bp = (...E) => {
168906
168906
  xi(Ut.Update, ...E);
168907
- }, ep = Rt.Loader.FileTypes.JSONFile;
168908
- class wp extends ep {
168907
+ }, wp = (E, F) => new Promise(
168908
+ (P) => E.time.delayedCall(F, () => {
168909
+ P();
168910
+ })
168911
+ ), ep = Rt.Loader.FileTypes.JSONFile;
168912
+ class Pp extends ep {
168909
168913
  }
168910
- const Pp = {
168914
+ const Mp = {
168911
168915
  padding: (E) => (F) => E.setPadding(F)
168912
168916
  };
168913
168917
  export {
@@ -168923,7 +168927,7 @@ export {
168923
168927
  q2 as ContainerSetterMap,
168924
168928
  Fe as DepthSetterMap,
168925
168929
  Ze as ExternalSceneStore,
168926
- Pp as FXSetterMap,
168930
+ Mp as FXSetterMap,
168927
168931
  Vi as FlipSetterMap,
168928
168932
  Ep as Game,
168929
168933
  Zn as GameObjectEventMap,
@@ -168958,7 +168962,7 @@ export {
168958
168962
  td as TileSpriteSetterMap,
168959
168963
  sh as TiledJSONExternalFile,
168960
168964
  dp as Tilemap,
168961
- wp as TilemapFile,
168965
+ Pp as TilemapFile,
168962
168966
  cd as TilesetFile,
168963
168967
  Yi as TintSetterMap,
168964
168968
  Se as TransformSetterMap,
@@ -168981,6 +168985,7 @@ export {
168981
168985
  k2 as registerTiledJSONExternalLoader,
168982
168986
  Ts as resetLifecycleListeners,
168983
168987
  ti as runLifecycleListeners,
168988
+ wp as sleep,
168984
168989
  Cp as useAnimations,
168985
168990
  sd as useCameraStore,
168986
168991
  Li as useGame,
@@ -0,0 +1,2 @@
1
+ import { SceneWithPlugins } from '../models/scene/SceneWithPlugins';
2
+ export declare const sleep: (scene: SceneWithPlugins, ms: number) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-phaserjs",
3
- "version": "1.21.4",
3
+ "version": "1.21.5",
4
4
  "description": "A component library to integrate Phaser Framework with Vue.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -32,11 +32,11 @@
32
32
  "export:gen": "ctix build --config ../configuration/.ctirc-vue && ctix build --config ../configuration/.ctirc-ts"
33
33
  },
34
34
  "dependencies": {
35
- "@esposter/shared": "1.21.4",
36
- "parse-tmx": "1.21.4"
35
+ "@esposter/shared": "1.21.5",
36
+ "parse-tmx": "1.21.5"
37
37
  },
38
38
  "devDependencies": {
39
- "@esposter/configuration": "1.21.4"
39
+ "@esposter/configuration": "1.21.5"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "phaser": "^3.85.2",
@@ -44,5 +44,5 @@
44
44
  "pinia": "^2.2.2",
45
45
  "vue": "^3.5.6"
46
46
  },
47
- "gitHead": "268837f01629fb18bcd9f6a7b358aeb1e8fd4e96"
47
+ "gitHead": "a4b60500b46a90de753ee26e6dbffeff5e520a03"
48
48
  }