@energy8platform/shell 0.9.0 → 0.10.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/dist/html.cjs.js CHANGED
@@ -1308,6 +1308,19 @@ const D = {
1308
1308
  L4: 'The game display is not representative of any physical device and is for illustrative purposes only.',
1309
1309
  L5: 'Winnings are settled according to the amount received from the Remote Game Server and not from events within the web browser.',
1310
1310
  };
1311
+ /**
1312
+ * The disclaimer body every launch shows, in source English — and the SAME strings that key the
1313
+ * translations below. One constant for both on purpose: a host that kept its own copy would drift
1314
+ * from these keys by one character and the lookup would miss in silence, leaving a player on any
1315
+ * language with English legal text. Certification asks for the opposite ("if multiple languages are
1316
+ * supported, the disclaimer is translated and displayed in each language").
1317
+ *
1318
+ * Brand-free by construction. Stake's own template ends with a seventh line — "TM and © {year}
1319
+ * Stake Engine." — and that one belongs to a Stake launch alone: it arrives with the Stake bridge's
1320
+ * `INIT.config.disclaimerLines`, which outrank this default, and renders verbatim (see the host's
1321
+ * `isBrandLine`). Every other platform gets the same mandated wording without someone else's mark.
1322
+ */
1323
+ const DISCLAIMER_LINES = [D.L1, D.L2, D.L3, D.L4, D.L5];
1311
1324
  const DISCLAIMER_LOCALES = {
1312
1325
  da: {
1313
1326
  [D.L1]: 'Fejlfunktion annullerer alle gevinster og spil.',
@@ -1725,7 +1738,7 @@ function keyboardCapable(win = typeof window === 'undefined' ? undefined : windo
1725
1738
 
1726
1739
  // AUTO-GENERATED by scripts/gen-version.mjs — do not edit. Mirrors package.json "version".
1727
1740
  /** The @energy8platform/shell package version, stamped into the game-info footer. */
1728
- const PACKAGE_VERSION = '0.9.0';
1741
+ const PACKAGE_VERSION = '0.10.0';
1729
1742
 
1730
1743
  /** Apply defaults to the raw config (the mount target lives on the renderer, not here). */
1731
1744
  function resolveConfig(config) {
@@ -4806,6 +4819,7 @@ function removeGameShell() {
4806
4819
 
4807
4820
  exports.DEFAULT_ACCENT = DEFAULT_ACCENT;
4808
4821
  exports.DEFAULT_MENU = DEFAULT_MENU;
4822
+ exports.DISCLAIMER_LINES = DISCLAIMER_LINES;
4809
4823
  exports.GameShell = ShellController;
4810
4824
  exports.HtmlRenderer = HtmlRenderer;
4811
4825
  exports.PACKAGE_VERSION = PACKAGE_VERSION;