@open-slot-ui/core 0.6.0 → 0.7.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/index.cjs +24 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1918,8 +1918,9 @@ interface CurrencyInfo {
|
|
|
1918
1918
|
/**
|
|
1919
1919
|
* The Stake Engine supported-currency matrix (symbol · decimals · placement), 1:1 with
|
|
1920
1920
|
* the platform's `CurrencyMeta`. Symbol placement: prefix by default, SUFFIX for the
|
|
1921
|
-
* few that render after the amount (DKK/PLN/VND/CLP/ARS/PEN).
|
|
1922
|
-
*
|
|
1921
|
+
* few that render after the amount (DKK/NOK/PLN/VND/CLP/ARS/PEN). Decimals follow the
|
|
1922
|
+
* ISO minor units — 0 for JPY/KRW/IDR/VND/CLP, 3 for the KWD/JOD/BHD dinars (1000 fils),
|
|
1923
|
+
* 2 otherwise. Crypto is included (8-dp) so high-precision balances also format right.
|
|
1923
1924
|
*/
|
|
1924
1925
|
declare const CURRENCY_TABLE: Readonly<Record<string, CurrencyInfo>>;
|
|
1925
1926
|
/** True if `code` is a Stake social/sweepstakes coin (displayed "GC"/"SC"). */
|
package/dist/index.d.ts
CHANGED
|
@@ -1918,8 +1918,9 @@ interface CurrencyInfo {
|
|
|
1918
1918
|
/**
|
|
1919
1919
|
* The Stake Engine supported-currency matrix (symbol · decimals · placement), 1:1 with
|
|
1920
1920
|
* the platform's `CurrencyMeta`. Symbol placement: prefix by default, SUFFIX for the
|
|
1921
|
-
* few that render after the amount (DKK/PLN/VND/CLP/ARS/PEN).
|
|
1922
|
-
*
|
|
1921
|
+
* few that render after the amount (DKK/NOK/PLN/VND/CLP/ARS/PEN). Decimals follow the
|
|
1922
|
+
* ISO minor units — 0 for JPY/KRW/IDR/VND/CLP, 3 for the KWD/JOD/BHD dinars (1000 fils),
|
|
1923
|
+
* 2 otherwise. Crypto is included (8-dp) so high-precision balances also format right.
|
|
1923
1924
|
*/
|
|
1924
1925
|
declare const CURRENCY_TABLE: Readonly<Record<string, CurrencyInfo>>;
|
|
1925
1926
|
/** True if `code` is a Stake social/sweepstakes coin (displayed "GC"/"SC"). */
|
package/dist/index.js
CHANGED
|
@@ -1460,6 +1460,15 @@ var openuiDefaults = {
|
|
|
1460
1460
|
"openui.error": "Error",
|
|
1461
1461
|
"openui.notice": "Notice",
|
|
1462
1462
|
"openui.replay": "Replay",
|
|
1463
|
+
// Replay panel (Stake "Replay Support"): the round's cost + worth is shown at the
|
|
1464
|
+
// start; a Replay button re-runs it at the end.
|
|
1465
|
+
"openui.replay.title": "Replay",
|
|
1466
|
+
"openui.replay.baseBet": "Base Bet",
|
|
1467
|
+
"openui.replay.costMultiplier": "Cost Multiplier",
|
|
1468
|
+
"openui.replay.payoutMultiplier": "Payout Multiplier",
|
|
1469
|
+
"openui.replay.amount": "Final amount",
|
|
1470
|
+
"openui.replay.play": "Play",
|
|
1471
|
+
"openui.replay.again": "Replay",
|
|
1463
1472
|
"openui.buyFeature.title": "Buy feature",
|
|
1464
1473
|
"openui.buyFeature.message": "Buy this feature now?",
|
|
1465
1474
|
// Confirm step for a higher-cost play — {{name}} / {{price}} are interpolated.
|
|
@@ -1500,6 +1509,11 @@ var openuiSocialDefaults = {
|
|
|
1500
1509
|
"openui.buyFeature.title": "Play bonus",
|
|
1501
1510
|
"openui.buyFeature.message": "Play this bonus now?",
|
|
1502
1511
|
"openui.buyFeature.confirm": "Play {{name}} for {{price}}?",
|
|
1512
|
+
// Stake.us replay terms: Base Bet → Base Play, Cost Multiplier → Feature Multiplier,
|
|
1513
|
+
// Payout Multiplier → Final Multiplier.
|
|
1514
|
+
"openui.replay.baseBet": "Base Play",
|
|
1515
|
+
"openui.replay.costMultiplier": "Feature Multiplier",
|
|
1516
|
+
"openui.replay.payoutMultiplier": "Final Multiplier",
|
|
1503
1517
|
"openui.err.insufficient.message": "You don't have enough balance for this play.",
|
|
1504
1518
|
"openui.err.limit.message": "A play limit has been reached. Please try again later."
|
|
1505
1519
|
};
|
|
@@ -1562,8 +1576,18 @@ var CURRENCY_TABLE = Object.freeze({
|
|
|
1562
1576
|
MXN: { symbol: "MX$", decimals: 2 },
|
|
1563
1577
|
TRY: { symbol: "\u20BA", decimals: 2 },
|
|
1564
1578
|
GBP: { symbol: "\xA3", decimals: 2 },
|
|
1579
|
+
NGN: { symbol: "\u20A6", decimals: 2 },
|
|
1580
|
+
TWD: { symbol: "NT$", decimals: 2 },
|
|
1581
|
+
SGD: { symbol: "SG$", decimals: 2 },
|
|
1582
|
+
MYR: { symbol: "RM", decimals: 2 },
|
|
1583
|
+
CRC: { symbol: "\u20A1", decimals: 2 },
|
|
1584
|
+
// three-decimal dinars (1 unit = 1000 fils) — the >2-decimal path must format these
|
|
1585
|
+
KWD: { symbol: "KD", decimals: 3 },
|
|
1586
|
+
JOD: { symbol: "JD", decimals: 3 },
|
|
1587
|
+
BHD: { symbol: "BD", decimals: 3 },
|
|
1565
1588
|
// ── fiat — symbol AFTER the amount ───────────────────────────────────────────
|
|
1566
1589
|
DKK: { symbol: "kr", decimals: 2, symbolAfter: true },
|
|
1590
|
+
NOK: { symbol: "kr", decimals: 2, symbolAfter: true },
|
|
1567
1591
|
PLN: { symbol: "z\u0142", decimals: 2, symbolAfter: true },
|
|
1568
1592
|
VND: { symbol: "\u20AB", decimals: 0, symbolAfter: true },
|
|
1569
1593
|
CLP: { symbol: "CLP", decimals: 0, symbolAfter: true },
|