@everymatrix/lottery-program-wof 1.11.1 → 1.12.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-program-wof",
3
- "version": "1.11.1",
3
+ "version": "1.12.0",
4
4
  "main": "dist/lottery-program-wof.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "a74cb23abc28e2a5ca4a61858da32c86640ebd43"
39
+ "gitHead": "5ba32db088ec6ebf8eb6110b6172d8c9409b9f70"
40
40
  }
package/src/business.ts CHANGED
@@ -101,7 +101,7 @@ export const getOptionsFromPartitions = (partitions: WheelOfFortunePartition[],
101
101
  const partitionLang = {}
102
102
  Object.keys(_partition).map((_key) => {
103
103
  if(['name', 'image1', 'image2', 'image3'].includes(_key)){
104
- partitionLang[_key] = _partition[_key][lang === 'en' ? '*' : lang] || ''
104
+ partitionLang[_key] = _partition[_key][lang] || _partition[_key]['*']
105
105
  }
106
106
  })
107
107
 
@@ -107,6 +107,7 @@
107
107
  id,
108
108
  endpoint, session,
109
109
  sizeraw: size,
110
+ lang,
110
111
  optionsraw: JSON.stringify(options),
111
112
  lotteryprogramforplayer: JSON.stringify(lotteryProgramForPlayer),
112
113
  }} />
@@ -138,6 +138,7 @@
138
138
  .MessagePanel {
139
139
  position: absolute;
140
140
  background-color: #FFFFFF;
141
+ color: #000000;
141
142
  padding: 15px 30px;
142
143
  border-radius: 8px;
143
144
  text-align: center;