@opexa/portal-sdk 0.0.225 → 0.0.227
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 +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1906,6 +1906,7 @@ var JACKPOTS_QUERY = gql`
|
|
|
1906
1906
|
... on Jackpot {
|
|
1907
1907
|
id
|
|
1908
1908
|
name
|
|
1909
|
+
description
|
|
1909
1910
|
pool
|
|
1910
1911
|
status
|
|
1911
1912
|
minimumJackpotPoolDrawingLimit
|
|
@@ -1914,6 +1915,7 @@ var JACKPOTS_QUERY = gql`
|
|
|
1914
1915
|
minimumMultiplier
|
|
1915
1916
|
minimumBet
|
|
1916
1917
|
jackpotPayoutPercentage
|
|
1918
|
+
jackpotTurnoverContributionPercentagePerGameProvider
|
|
1917
1919
|
totalPayout
|
|
1918
1920
|
}
|
|
1919
1921
|
}
|
|
@@ -5084,6 +5086,7 @@ var Transformer = class {
|
|
|
5084
5086
|
return {
|
|
5085
5087
|
id: data.id,
|
|
5086
5088
|
name: data.name,
|
|
5089
|
+
description: data.description,
|
|
5087
5090
|
pool: parseDecimal(data.pool, 0),
|
|
5088
5091
|
status: data.status,
|
|
5089
5092
|
minimumJackpotPoolDrawingLimit: parseDecimal(data.minimumJackpotPoolDrawingLimit, 0),
|
|
@@ -5092,6 +5095,12 @@ var Transformer = class {
|
|
|
5092
5095
|
minimumMultiplier: parseDecimal(data.minimumMultiplier, 0),
|
|
5093
5096
|
minimumBet: parseDecimal(data.minimumBet, 0),
|
|
5094
5097
|
jackpotPayoutPercentage: parseDecimal(data.jackpotPayoutPercentage, 0),
|
|
5098
|
+
jackpotTurnoverContributionPercentagePerGameProvider: Object.entries(
|
|
5099
|
+
data.jackpotTurnoverContributionPercentagePerGameProvider
|
|
5100
|
+
).reduce((o, [k, v]) => {
|
|
5101
|
+
o[k] = parseDecimal(v, 0);
|
|
5102
|
+
return o;
|
|
5103
|
+
}, {}),
|
|
5095
5104
|
totalPayout: parseDecimal(data.totalPayout, 0)
|
|
5096
5105
|
};
|
|
5097
5106
|
}
|