@energy8platform/platform-core 0.32.1 → 0.33.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.
@@ -98,6 +98,12 @@ interface ActionSpec {
98
98
  /** Volatility rating (1–5 lightning bolts) shown on the buy/feature card in the shell's Buy bonus
99
99
  * overlay. Forwarded to `BonusOption.volatility` by `toBonusOptions`. */
100
100
  volatility?: 1 | 2 | 3 | 4 | 5;
101
+ /** Buy/feature actions sharing a `groupedBy` key occupy ONE card in the shell's Buy bonus overlay
102
+ * and are flipped through with arrows — e.g. four same-priced Ante characters, one action each,
103
+ * differing in title, art and volatility. The card sits where the group's FIRST action appears
104
+ * in `actions`. Forwarded to `BonusOption.groupedBy` by `toBonusOptions`; the carousel itself is
105
+ * a pixi-shell affordance (the DOM shell keeps a card per action). */
106
+ groupedBy?: string;
101
107
  /** Target RTP for THIS mode (0..1), e.g. 0.96. Single source of truth: seeds the math
102
108
  * pipeline's `targetRTP` AND the Game Info per-mode table. `math.config` keeps only optimizer
103
109
  * tuning (CV / hit-rate / nRowsOut / tolerances), never the RTP. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energy8platform/platform-core",
3
- "version": "0.32.1",
3
+ "version": "0.33.0",
4
4
  "description": "Energy8 platform core: Lua engine, DevBridge, RTP simulation, and SDK session orchestration. Renderer-agnostic — pair with any game framework (Pixi, Phaser, Three.js, custom).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",
@@ -30,6 +30,12 @@ export interface ActionSpec {
30
30
  /** Volatility rating (1–5 lightning bolts) shown on the buy/feature card in the shell's Buy bonus
31
31
  * overlay. Forwarded to `BonusOption.volatility` by `toBonusOptions`. */
32
32
  volatility?: 1 | 2 | 3 | 4 | 5;
33
+ /** Buy/feature actions sharing a `groupedBy` key occupy ONE card in the shell's Buy bonus overlay
34
+ * and are flipped through with arrows — e.g. four same-priced Ante characters, one action each,
35
+ * differing in title, art and volatility. The card sits where the group's FIRST action appears
36
+ * in `actions`. Forwarded to `BonusOption.groupedBy` by `toBonusOptions`; the carousel itself is
37
+ * a pixi-shell affordance (the DOM shell keeps a card per action). */
38
+ groupedBy?: string;
33
39
  /** Target RTP for THIS mode (0..1), e.g. 0.96. Single source of truth: seeds the math
34
40
  * pipeline's `targetRTP` AND the Game Info per-mode table. `math.config` keeps only optimizer
35
41
  * tuning (CV / hit-rate / nRowsOut / tolerances), never the RTP. */