@gamelearn/arcade-components 2.12.1 → 2.12.3
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.
|
@@ -142,7 +142,7 @@ var TestComponent = function TestComponent(_ref) {
|
|
|
142
142
|
|
|
143
143
|
(0, _react.useEffect)(function () {
|
|
144
144
|
if (audio !== null && audio !== void 0 && audio.url) {
|
|
145
|
-
playSound(audio.url, '
|
|
145
|
+
playSound(audio.url, 'tts');
|
|
146
146
|
}
|
|
147
147
|
}, [playSound, audio]);
|
|
148
148
|
(0, _react.useEffect)(function () {
|
|
@@ -163,7 +163,7 @@ var TestComponent = function TestComponent(_ref) {
|
|
|
163
163
|
answerPage(false);
|
|
164
164
|
setTimeOver(true);
|
|
165
165
|
changeView('results');
|
|
166
|
-
stop('
|
|
166
|
+
stop('tts');
|
|
167
167
|
}
|
|
168
168
|
}, [interval, stop, time]);
|
|
169
169
|
|
|
@@ -175,7 +175,7 @@ var TestComponent = function TestComponent(_ref) {
|
|
|
175
175
|
var parsedShowingResult = _objectSpread({}, showingResult);
|
|
176
176
|
|
|
177
177
|
setShowingResult(parsedShowingResult);
|
|
178
|
-
stop('
|
|
178
|
+
stop('tts');
|
|
179
179
|
};
|
|
180
180
|
|
|
181
181
|
var finishTest = function finishTest() {
|
|
@@ -206,7 +206,7 @@ var TestComponent = function TestComponent(_ref) {
|
|
|
206
206
|
setTimeOver(false);
|
|
207
207
|
|
|
208
208
|
if (audio !== null && audio !== void 0 && audio.url) {
|
|
209
|
-
playSound(audio.url, '
|
|
209
|
+
playSound(audio.url, 'tts');
|
|
210
210
|
}
|
|
211
211
|
};
|
|
212
212
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@gamelearn/arcade-components",
|
|
3
3
|
"author": "Gamelearn",
|
|
4
4
|
"license": "unlicense",
|
|
5
|
-
"version": "2.12.
|
|
5
|
+
"version": "2.12.3",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@babel/runtime": "^7.18.6",
|
|
17
|
-
"@gamelearn/arcade-styles": "2.9.
|
|
17
|
+
"@gamelearn/arcade-styles": "2.9.3",
|
|
18
18
|
"@gamelearn/arcade-three-core": "1.17.2",
|
|
19
19
|
"@react-three/drei": "9.4.3",
|
|
20
20
|
"@react-three/fiber": "8.0.17",
|