vue-phaserjs 2.39.0 → 2.40.0

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/LICENSE CHANGED
@@ -1,201 +1,201 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright 2020-present Jimmy Chen
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2020-present Jimmy Chen
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -25,8 +25,8 @@ pnpm i vue-phaserjs @esposter/shared parse-tmx vue phaser phaser4-rex-plugins pi
25
25
 
26
26
  Add the type declaration files so scene key types and custom plugins get proper intellisense:
27
27
 
28
- - [`phaser.d.ts`](https://github.com/Esposter/Esposter/blob/main/packages/app/app/types/phaser.d.ts) — narrows scene key types
29
- - [`vue-phaserjs.d.ts`](https://github.com/Esposter/Esposter/blob/main/packages/app/app/types/vue-phaserjs.d.ts) — provides custom plugin types
28
+ - [`phaser.d.ts`](https://github.com/Esposter/Esposter/blob/main/apps/web/app/types/phaser.d.ts) — narrows scene key types
29
+ - [`vue-phaserjs.d.ts`](https://github.com/Esposter/Esposter/blob/main/apps/web/app/types/vue-phaserjs.d.ts) — provides custom plugin types
30
30
 
31
31
  ## <a name="documentation">📖 Documentation</a>
32
32
 
@@ -34,7 +34,7 @@ We highly recommend you take a look at the [documentation](https://esposter.com/
34
34
 
35
35
  ### Usage
36
36
 
37
- See the reference implementation in [`packages/app/app/pages/dungeons.vue`](https://github.com/Esposter/Esposter/blob/main/packages/app/app/pages/dungeons.vue) for a complete example of a Phaser game embedded in a Nuxt/Vue page with Pinia-driven state.
37
+ See the reference implementation in [`apps/web/app/pages/dungeons.vue`](https://github.com/Esposter/Esposter/blob/main/apps/web/app/pages/dungeons.vue) for a complete example of a Phaser game embedded in a Nuxt/Vue page with Pinia-driven state.
38
38
 
39
39
  ### Features
40
40
 
package/dist/index.d.ts CHANGED
@@ -2996,6 +2996,8 @@ declare const __VLS_export$21: import("vue").DefineComponent<TextProps, {}, {},
2996
2996
  pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
2997
2997
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
2998
2998
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
2999
+ "update:height": (args_0?: number | undefined) => any;
3000
+ "update:width": (args_0?: number | undefined) => any;
2999
3001
  "update:alphaTopLeft": (args_0?: number | undefined) => any;
3000
3002
  "update:alphaTopRight": (args_0?: number | undefined) => any;
3001
3003
  "update:alphaBottomLeft": (args_0?: number | undefined) => any;
@@ -3012,8 +3014,6 @@ declare const __VLS_export$21: import("vue").DefineComponent<TextProps, {}, {},
3012
3014
  "update:tintMode": (args_0?: Phaser.TintModes | undefined) => any;
3013
3015
  "update:tint": (args_0?: number | undefined) => any;
3014
3016
  "update:isTinted": (args_0?: boolean | undefined) => any;
3015
- "update:height": (args_0?: number | undefined) => any;
3016
- "update:width": (args_0?: number | undefined) => any;
3017
3017
  "update:flipX": (args_0?: boolean | undefined) => any;
3018
3018
  "update:flipY": (args_0?: boolean | undefined) => any;
3019
3019
  "update:style": (args_0?: Phaser.Types.GameObjects.Text.TextStyle | undefined) => any;
@@ -3148,6 +3148,8 @@ declare const __VLS_export$21: import("vue").DefineComponent<TextProps, {}, {},
3148
3148
  onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
3149
3149
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
3150
3150
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
3151
+ "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
3152
+ "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
3151
3153
  "onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
3152
3154
  "onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
3153
3155
  "onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
@@ -3164,8 +3166,6 @@ declare const __VLS_export$21: import("vue").DefineComponent<TextProps, {}, {},
3164
3166
  "onUpdate:tintMode"?: ((args_0?: Phaser.TintModes | undefined) => any) | undefined;
3165
3167
  "onUpdate:tint"?: ((args_0?: number | undefined) => any) | undefined;
3166
3168
  "onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
3167
- "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
3168
- "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
3169
3169
  "onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
3170
3170
  "onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
3171
3171
  "onUpdate:style"?: ((args_0?: Phaser.Types.GameObjects.Text.TextStyle | undefined) => any) | undefined;
@@ -3609,6 +3609,8 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$18, {}, {}, {
3609
3609
  pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
3610
3610
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
3611
3611
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
3612
+ "update:height": (args_0?: number | undefined) => any;
3613
+ "update:width": (args_0?: number | undefined) => any;
3612
3614
  "update:alphaTopLeft": (args_0?: number | undefined) => any;
3613
3615
  "update:alphaTopRight": (args_0?: number | undefined) => any;
3614
3616
  "update:alphaBottomLeft": (args_0?: number | undefined) => any;
@@ -3624,8 +3626,6 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$18, {}, {}, {
3624
3626
  "update:tintMode": (args_0?: Phaser.TintModes | undefined) => any;
3625
3627
  "update:tint": (args_0?: number | undefined) => any;
3626
3628
  "update:isTinted": (args_0?: boolean | undefined) => any;
3627
- "update:height": (args_0?: number | undefined) => any;
3628
- "update:width": (args_0?: number | undefined) => any;
3629
3629
  "update:key": (args_0?: string | Phaser.Textures.Texture | undefined) => any;
3630
3630
  "update:frame": (args_0?: string | number | undefined) => any;
3631
3631
  "update:flipX": (args_0?: boolean | undefined) => any;
@@ -3764,6 +3764,8 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$18, {}, {}, {
3764
3764
  onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
3765
3765
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
3766
3766
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
3767
+ "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
3768
+ "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
3767
3769
  "onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
3768
3770
  "onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
3769
3771
  "onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
@@ -3779,8 +3781,6 @@ declare const __VLS_export$19: import("vue").DefineComponent<Props$18, {}, {}, {
3779
3781
  "onUpdate:tintMode"?: ((args_0?: Phaser.TintModes | undefined) => any) | undefined;
3780
3782
  "onUpdate:tint"?: ((args_0?: number | undefined) => any) | undefined;
3781
3783
  "onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
3782
- "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
3783
- "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
3784
3784
  "onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | undefined) => any) | undefined;
3785
3785
  "onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
3786
3786
  "onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
@@ -3965,6 +3965,8 @@ declare const __VLS_export$17: import("vue").DefineComponent<Props$17, {}, {}, {
3965
3965
  pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
3966
3966
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
3967
3967
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
3968
+ "update:height": (args_0?: number | undefined) => any;
3969
+ "update:width": (args_0?: number | undefined) => any;
3968
3970
  "update:alphaTopLeft": (args_0?: number | undefined) => any;
3969
3971
  "update:alphaTopRight": (args_0?: number | undefined) => any;
3970
3972
  "update:alphaBottomLeft": (args_0?: number | undefined) => any;
@@ -3980,8 +3982,6 @@ declare const __VLS_export$17: import("vue").DefineComponent<Props$17, {}, {}, {
3980
3982
  "update:tintMode": (args_0?: Phaser.TintModes | undefined) => any;
3981
3983
  "update:tint": (args_0?: number | undefined) => any;
3982
3984
  "update:isTinted": (args_0?: boolean | undefined) => any;
3983
- "update:height": (args_0?: number | undefined) => any;
3984
- "update:width": (args_0?: number | undefined) => any;
3985
3985
  "update:flipX": (args_0?: boolean | undefined) => any;
3986
3986
  "update:flipY": (args_0?: boolean | undefined) => any;
3987
3987
  }, string, import("vue").PublicProps, Readonly<Props$17> & Readonly<{
@@ -4114,6 +4114,8 @@ declare const __VLS_export$17: import("vue").DefineComponent<Props$17, {}, {}, {
4114
4114
  onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
4115
4115
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
4116
4116
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
4117
+ "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
4118
+ "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
4117
4119
  "onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
4118
4120
  "onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
4119
4121
  "onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
@@ -4129,8 +4131,6 @@ declare const __VLS_export$17: import("vue").DefineComponent<Props$17, {}, {}, {
4129
4131
  "onUpdate:tintMode"?: ((args_0?: Phaser.TintModes | undefined) => any) | undefined;
4130
4132
  "onUpdate:tint"?: ((args_0?: number | undefined) => any) | undefined;
4131
4133
  "onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
4132
- "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
4133
- "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
4134
4134
  "onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
4135
4135
  "onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
4136
4136
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -4841,6 +4841,8 @@ declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {
4841
4841
  pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
4842
4842
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
4843
4843
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
4844
+ "update:height": (args_0?: number | undefined) => any;
4845
+ "update:width": (args_0?: number | undefined) => any;
4844
4846
  "update:alphaTopLeft": (args_0?: number | undefined) => any;
4845
4847
  "update:alphaTopRight": (args_0?: number | undefined) => any;
4846
4848
  "update:alphaBottomLeft": (args_0?: number | undefined) => any;
@@ -4856,13 +4858,11 @@ declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {
4856
4858
  "update:tintMode": (args_0?: Phaser.TintModes | undefined) => any;
4857
4859
  "update:tint": (args_0?: number | undefined) => any;
4858
4860
  "update:isTinted": (args_0?: boolean | undefined) => any;
4859
- "update:height": (args_0?: number | undefined) => any;
4860
- "update:width": (args_0?: number | undefined) => any;
4861
- "update:to": (args_0?: number | undefined) => any;
4862
4861
  "update:frame": (args_0?: string | number | undefined) => any;
4863
4862
  "update:flipX": (args_0?: boolean | undefined) => any;
4864
4863
  "update:flipY": (args_0?: boolean | undefined) => any;
4865
4864
  "update:texture": (args_0?: string | undefined) => any;
4865
+ "update:to": (args_0?: number | undefined) => any;
4866
4866
  "update:duration": (args_0?: number | undefined) => any;
4867
4867
  "update:rotateToPath": (args_0?: boolean | undefined) => any;
4868
4868
  "update:from": (args_0?: number | undefined) => any;
@@ -5001,6 +5001,8 @@ declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {
5001
5001
  onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
5002
5002
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
5003
5003
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
5004
+ "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
5005
+ "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
5004
5006
  "onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
5005
5007
  "onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
5006
5008
  "onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
@@ -5016,13 +5018,11 @@ declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {
5016
5018
  "onUpdate:tintMode"?: ((args_0?: Phaser.TintModes | undefined) => any) | undefined;
5017
5019
  "onUpdate:tint"?: ((args_0?: number | undefined) => any) | undefined;
5018
5020
  "onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
5019
- "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
5020
- "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
5021
- "onUpdate:to"?: ((args_0?: number | undefined) => any) | undefined;
5022
5021
  "onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
5023
5022
  "onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
5024
5023
  "onUpdate:flipY"?: ((args_0?: boolean | undefined) => any) | undefined;
5025
5024
  "onUpdate:texture"?: ((args_0?: string | undefined) => any) | undefined;
5025
+ "onUpdate:to"?: ((args_0?: number | undefined) => any) | undefined;
5026
5026
  "onUpdate:duration"?: ((args_0?: number | undefined) => any) | undefined;
5027
5027
  "onUpdate:rotateToPath"?: ((args_0?: boolean | undefined) => any) | undefined;
5028
5028
  "onUpdate:from"?: ((args_0?: number | undefined) => any) | undefined;
@@ -6612,6 +6612,8 @@ declare const __VLS_export$8: import("vue").DefineComponent<Props$8, {}, {}, {},
6612
6612
  pointerover: (...args: Phaser.Types.Input.EventData[]) => any;
6613
6613
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
6614
6614
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
6615
+ "update:height": (args_0?: number | undefined) => any;
6616
+ "update:width": (args_0?: number | undefined) => any;
6615
6617
  "update:alphaTopLeft": (args_0?: number | undefined) => any;
6616
6618
  "update:alphaTopRight": (args_0?: number | undefined) => any;
6617
6619
  "update:alphaBottomLeft": (args_0?: number | undefined) => any;
@@ -6627,8 +6629,6 @@ declare const __VLS_export$8: import("vue").DefineComponent<Props$8, {}, {}, {},
6627
6629
  "update:tintMode": (args_0?: Phaser.TintModes | undefined) => any;
6628
6630
  "update:tint": (args_0?: number | undefined) => any;
6629
6631
  "update:isTinted": (args_0?: boolean | undefined) => any;
6630
- "update:height": (args_0?: number | undefined) => any;
6631
- "update:width": (args_0?: number | undefined) => any;
6632
6632
  "update:key": (args_0?: string | Phaser.Textures.Texture | undefined) => any;
6633
6633
  "update:frame": (args_0?: string | number | undefined) => any;
6634
6634
  "update:flipX": (args_0?: boolean | undefined) => any;
@@ -6767,6 +6767,8 @@ declare const __VLS_export$8: import("vue").DefineComponent<Props$8, {}, {}, {},
6767
6767
  onPointerover?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
6768
6768
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
6769
6769
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
6770
+ "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
6771
+ "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
6770
6772
  "onUpdate:alphaTopLeft"?: ((args_0?: number | undefined) => any) | undefined;
6771
6773
  "onUpdate:alphaTopRight"?: ((args_0?: number | undefined) => any) | undefined;
6772
6774
  "onUpdate:alphaBottomLeft"?: ((args_0?: number | undefined) => any) | undefined;
@@ -6782,8 +6784,6 @@ declare const __VLS_export$8: import("vue").DefineComponent<Props$8, {}, {}, {},
6782
6784
  "onUpdate:tintMode"?: ((args_0?: Phaser.TintModes | undefined) => any) | undefined;
6783
6785
  "onUpdate:tint"?: ((args_0?: number | undefined) => any) | undefined;
6784
6786
  "onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
6785
- "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
6786
- "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
6787
6787
  "onUpdate:key"?: ((args_0?: string | Phaser.Textures.Texture | undefined) => any) | undefined;
6788
6788
  "onUpdate:frame"?: ((args_0?: string | number | undefined) => any) | undefined;
6789
6789
  "onUpdate:flipX"?: ((args_0?: boolean | undefined) => any) | undefined;
@@ -8898,7 +8898,7 @@ export declare const usePhaserStore: import("pinia").SetupStoreDefinition<"phase
8898
8898
  parallelSceneKeys: globalThis.Ref<string[], string[]>;
8899
8899
  prioritizedParallelSceneKeys: globalThis.Ref<string[], string[]>;
8900
8900
  removeParallelScene: (scene: SceneWithPlugins, targetSceneKey: SceneWithPlugins["scene"]["key"]) => void;
8901
- rootSceneKey: Ref<SceneWithPlugins["scene"]["key"]>;
8901
+ rootSceneKey: globalThis.Ref<string | undefined, string | undefined>;
8902
8902
  switchToScene: (newSceneKey: SceneWithPlugins["scene"]["key"]) => Promise<void>;
8903
8903
  }>;
8904
8904
  //#endregion
@@ -10022,7 +10022,7 @@ export declare const AnimationSetterMap: {
10022
10022
  onResumeParams?: any[] | undefined;
10023
10023
  persist?: boolean | undefined;
10024
10024
  interpolation?: (string | Function) | undefined;
10025
- }[] | undefined) => void) & ((event: "update:origin", args_0?: number | undefined) => void) & ((event: "update:scrollFactor", args_0?: number | undefined) => void) & ((event: "update:displayHeight", args_0?: number | undefined) => void) & ((event: "update:displayWidth", args_0?: number | undefined) => void) & ((event: "clickoutside", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drag", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragend", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragenter", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragleave", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragstart", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drop", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerdown", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointermove", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerout", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerup", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "wheel", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "update:alphaTopLeft", args_0?: number | undefined) => void) & ((event: "update:alphaTopRight", args_0?: number | undefined) => void) & ((event: "update:alphaBottomLeft", args_0?: number | undefined) => void) & ((event: "update:alphaBottomRight", args_0?: number | undefined) => void) & ((event: "update:tintTopLeft", args_0?: number | undefined) => void) & ((event: "update:tintTopRight", args_0?: number | undefined) => void) & ((event: "update:tintBottomLeft", args_0?: number | undefined) => void) & ((event: "update:tintBottomRight", args_0?: number | undefined) => void) & ((event: "update:tint2TopLeft", args_0?: number | undefined) => void) & ((event: "update:tint2TopRight", args_0?: number | undefined) => void) & ((event: "update:tint2BottomLeft", args_0?: number | undefined) => void) & ((event: "update:tint2BottomRight", args_0?: number | undefined) => void) & ((event: "update:tintMode", args_0?: Phaser.TintModes | undefined) => void) & ((event: "update:tint", args_0?: number | undefined) => void) & ((event: "update:isTinted", args_0?: boolean | undefined) => void) & ((event: "update:height", args_0?: number | undefined) => void) & ((event: "update:width", args_0?: number | undefined) => void) & ((event: "update:key", args_0?: string | Phaser.Textures.Texture | undefined) => void) & ((event: "update:frame", args_0?: string | number | undefined) => void) & ((event: "update:flipX", args_0?: boolean | undefined) => void) & ((event: "update:flipY", args_0?: boolean | undefined) => void) & ((event: "update:useSpriteSheet", args_0?: boolean | undefined) => void) & ((event: "update:texture", args_0?: string | undefined) => void) & ((event: "update:animations", args_0?: Phaser.Types.Animations.Animation[] | undefined) => void) & ((event: "update:playAnimationKey", args_0?: undefined) => void)) => (configurations: Phaser.Types.Animations.Animation[] | undefined) => void;
10025
+ }[] | undefined) => void) & ((event: "update:origin", args_0?: number | undefined) => void) & ((event: "update:scrollFactor", args_0?: number | undefined) => void) & ((event: "update:displayHeight", args_0?: number | undefined) => void) & ((event: "update:displayWidth", args_0?: number | undefined) => void) & ((event: "clickoutside", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drag", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragend", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragenter", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragleave", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragstart", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drop", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerdown", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointermove", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerout", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerup", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "wheel", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "update:height", args_0?: number | undefined) => void) & ((event: "update:width", args_0?: number | undefined) => void) & ((event: "update:alphaTopLeft", args_0?: number | undefined) => void) & ((event: "update:alphaTopRight", args_0?: number | undefined) => void) & ((event: "update:alphaBottomLeft", args_0?: number | undefined) => void) & ((event: "update:alphaBottomRight", args_0?: number | undefined) => void) & ((event: "update:tintTopLeft", args_0?: number | undefined) => void) & ((event: "update:tintTopRight", args_0?: number | undefined) => void) & ((event: "update:tintBottomLeft", args_0?: number | undefined) => void) & ((event: "update:tintBottomRight", args_0?: number | undefined) => void) & ((event: "update:tint2TopLeft", args_0?: number | undefined) => void) & ((event: "update:tint2TopRight", args_0?: number | undefined) => void) & ((event: "update:tint2BottomLeft", args_0?: number | undefined) => void) & ((event: "update:tint2BottomRight", args_0?: number | undefined) => void) & ((event: "update:tintMode", args_0?: Phaser.TintModes | undefined) => void) & ((event: "update:tint", args_0?: number | undefined) => void) & ((event: "update:isTinted", args_0?: boolean | undefined) => void) & ((event: "update:key", args_0?: string | Phaser.Textures.Texture | undefined) => void) & ((event: "update:frame", args_0?: string | number | undefined) => void) & ((event: "update:flipX", args_0?: boolean | undefined) => void) & ((event: "update:flipY", args_0?: boolean | undefined) => void) & ((event: "update:useSpriteSheet", args_0?: boolean | undefined) => void) & ((event: "update:texture", args_0?: string | undefined) => void) & ((event: "update:animations", args_0?: Phaser.Types.Animations.Animation[] | undefined) => void) & ((event: "update:playAnimationKey", args_0?: undefined) => void)) => (configurations: Phaser.Types.Animations.Animation[] | undefined) => void;
10026
10026
  readonly playAnimationKey: (gameObject: GameObjects.Sprite) => (value: undefined) => void;
10027
10027
  };
10028
10028
  //#endregion
package/dist/index.js CHANGED
@@ -145,7 +145,8 @@ const useInitializeGameObjectSetters = (gameObject, configuration, emit, setterM
145
145
  if (value !== void 0) emit(updateEvent, value);
146
146
  else if (key in targetGameObject) emit(updateEvent, targetGameObject[key]);
147
147
  });
148
- setterWatchHandles.push(watch(() => toValue(configuration)[key], (newValue) => {
148
+ setterWatchHandles.push(watch(() => toValue(configuration)[key], (newValue, oldValue) => {
149
+ if (newValue === oldValue && (newValue === null || typeof newValue !== "object")) return;
149
150
  const updater = () => {
150
151
  setter(toValue(gameObject), emit)(newValue);
151
152
  emit(updateEvent, newValue);
@@ -175,7 +176,6 @@ const usePhaserStore = defineStore("phaser", () => {
175
176
  }
176
177
  });
177
178
  const sceneKey = ref();
178
- const rootSceneKey = sceneKey;
179
179
  const isSameScene = (newSceneKey) => newSceneKey === sceneKey.value;
180
180
  const switchToScene = async (newSceneKey) => {
181
181
  if (isSameScene(newSceneKey)) return;
@@ -210,7 +210,7 @@ const usePhaserStore = defineStore("phaser", () => {
210
210
  parallelSceneKeys,
211
211
  prioritizedParallelSceneKeys,
212
212
  removeParallelScene,
213
- rootSceneKey,
213
+ rootSceneKey: sceneKey,
214
214
  switchToScene
215
215
  };
216
216
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-phaserjs",
3
- "version": "2.39.0",
3
+ "version": "2.40.0",
4
4
  "description": "A component library to integrate Phaser Framework with Vue.",
5
5
  "keywords": [
6
6
  "component-library",
@@ -55,18 +55,18 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "@arethetypeswrong/core": "^0.18.5",
58
- "@esposter/configuration": "2.39.0",
58
+ "@esposter/configuration": "2.40.0",
59
59
  "@vue/test-utils": "^2.5.0",
60
60
  "publint": "^0.3.24",
61
61
  "tsdown": "^0.23.0",
62
62
  "type-fest": "^5.9.0",
63
63
  "typedoc": "^0.28.20",
64
- "vitest": "^4.1.11",
64
+ "vitest": "^5.0.0",
65
65
  "vue-tsc": "^3.3.11"
66
66
  },
67
67
  "peerDependencies": {
68
- "@esposter/shared": "2.38.1",
69
- "parse-tmx": "2.38.1",
68
+ "@esposter/shared": "2.39.0",
69
+ "parse-tmx": "2.39.0",
70
70
  "phaser": "^4.2.1",
71
71
  "phaser4-rex-plugins": "^4.2.0",
72
72
  "pinia": "^4.0.3",
@@ -75,5 +75,5 @@
75
75
  "inlinedDependencies": {
76
76
  "type-fest": "5.9.0"
77
77
  },
78
- "gitHead": "98f89a176510bb274865731121f990e48c6d056a"
78
+ "gitHead": "09506078db97923eeecb4ff602cf01015f237dc8"
79
79
  }