@rpgjs/action-battle 5.0.0-beta.10 → 5.0.0-beta.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @rpgjs/action-battle
2
2
 
3
+ ## 5.0.0-beta.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Update CanvasEngine peer and compiler dependencies for the beta.11 package set.
8
+
9
+ - @rpgjs/client@5.0.0-beta.11
10
+ - @rpgjs/common@5.0.0-beta.11
11
+ - @rpgjs/server@5.0.0-beta.11
12
+ - @rpgjs/vite@5.0.0-beta.11
13
+
3
14
  ## 5.0.0-beta.10
4
15
 
5
16
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import { actionBattleTargetingState, actionBattleUiOptions, moveTargetingOffset, startTargeting, stopTargeting } from "./index5.js";
2
- import { RpgClientEngine, inject } from "@rpgjs/client";
2
+ import { RpgClientEngine, getKeyboardControlBind, inject } from "@rpgjs/client";
3
3
  import { DOMContainer, DOMElement, DOMSprite, computed, cond, effect, h, loop, signal, useDefineProps, useProps } from "canvasengine";
4
4
  //#region src/components/action-bar.ce
5
5
  if (typeof document !== "undefined") {
@@ -224,7 +224,7 @@ function component($$props) {
224
224
  }
225
225
  },
226
226
  action: {
227
- bind: keyboardControls.action,
227
+ bind: getKeyboardControlBind(keyboardControls.action),
228
228
  keyDown() {
229
229
  if (isTargeting()) confirmTargeting();
230
230
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpgjs/action-battle",
3
- "version": "5.0.0-beta.10",
3
+ "version": "5.0.0-beta.11",
4
4
  "main": "dist/client/index.js",
5
5
  "types": "dist/client/index.d.ts",
6
6
  "exports": {
@@ -22,20 +22,20 @@
22
22
  "license": "MIT",
23
23
  "description": "RPGJS is a framework for creating RPG/MMORPG games",
24
24
  "peerDependencies": {
25
- "@canvasengine/presets": "^2.0.0-rc.1",
26
- "@rpgjs/client": "5.0.0-beta.10",
27
- "@rpgjs/common": "5.0.0-beta.10",
28
- "@rpgjs/server": "5.0.0-beta.10",
29
- "@rpgjs/vite": "5.0.0-beta.10",
30
- "canvasengine": "^2.0.0-rc.1"
25
+ "@canvasengine/presets": "^2.0.0-rc.4",
26
+ "@rpgjs/client": "5.0.0-beta.11",
27
+ "@rpgjs/common": "5.0.0-beta.11",
28
+ "@rpgjs/server": "5.0.0-beta.11",
29
+ "@rpgjs/vite": "5.0.0-beta.11",
30
+ "canvasengine": "^2.0.0-rc.4"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
35
  "devDependencies": {
36
- "@canvasengine/compiler": "^2.0.0-beta.52",
37
- "vite": "^7.3.1",
38
- "vite-plugin-dts": "^4.5.4"
36
+ "@canvasengine/compiler": "2.0.0-rc.4",
37
+ "vite": "^8.0.13",
38
+ "vite-plugin-dts": "^5.0.0"
39
39
  },
40
40
  "type": "module",
41
41
  "scripts": {
@@ -60,7 +60,7 @@
60
60
  <script>
61
61
  import { signal, computed, effect } from "canvasengine";
62
62
  import { inject } from "@rpgjs/client";
63
- import { RpgClientEngine } from "@rpgjs/client";
63
+ import { getKeyboardControlBind, RpgClientEngine } from "@rpgjs/client";
64
64
  import {
65
65
  actionBattleTargetingState,
66
66
  actionBattleUiOptions,
@@ -299,7 +299,7 @@
299
299
  }
300
300
  },
301
301
  action: {
302
- bind: keyboardControls.action,
302
+ bind: getKeyboardControlBind(keyboardControls.action),
303
303
  keyDown() {
304
304
  if (isTargeting()) {
305
305
  confirmTargeting();