@gamelearn/arcade-components 0.19.5 → 0.19.7

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.
@@ -73,7 +73,7 @@ var PdfVisor = function PdfVisor(_ref) {
73
73
  };
74
74
 
75
75
  timeOut();
76
- }, []);
76
+ }, [emitNumberOfPages]);
77
77
  (0, _react.useEffect)(function () {
78
78
  setCurrentPage(1);
79
79
  }, []);
@@ -71,6 +71,7 @@ var Visor = function Visor(_ref) {
71
71
  props: _objectSpread(_objectSpread({}, file), {}, {
72
72
  url: url,
73
73
  translate: translate,
74
+ emitNumberOfPages: function emitNumberOfPages() {},
74
75
  endPdf: function endPdf() {}
75
76
  })
76
77
  },
@@ -79,6 +80,7 @@ var Visor = function Visor(_ref) {
79
80
  props: _objectSpread(_objectSpread({}, file), {}, {
80
81
  url: url,
81
82
  translate: translate,
83
+ emitNumberOfPages: function emitNumberOfPages() {},
82
84
  endPdf: function endPdf() {}
83
85
  })
84
86
  }
@@ -278,7 +278,7 @@ var TextClickPuzzleComponent = function TextClickPuzzleComponent(_ref) {
278
278
  if (list[currentSlide].correctTexts[orderCounter].id === id) {
279
279
  setOrderCounter(orderCounter + 1); // hacer verde 🎉
280
280
 
281
- handleCorrectClick(allDataTextIds, specificWrongFeedback);
281
+ handleCorrectClick(allDataTextIds, specificCorrectFeedback);
282
282
  } else if (list[currentSlide].correctTexts.find(function (c) {
283
283
  return c.id === id;
284
284
  }) && list[currentSlide].correctTexts[orderCounter].id !== id) {
@@ -296,7 +296,7 @@ var TextClickPuzzleComponent = function TextClickPuzzleComponent(_ref) {
296
296
  });
297
297
  } else {
298
298
  //si has click en mala repuesta
299
- handleIncorrectClick(allDataTextIds, specificCorrectFeedback);
299
+ handleIncorrectClick(allDataTextIds, specificWrongFeedback);
300
300
  }
301
301
  } else {
302
302
  // si no va en orden
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "license": "Gamelearn",
4
- "version": "0.19.5",
4
+ "version": "0.19.7",
5
5
  "main": "dist/index.js",
6
6
  "files": [
7
7
  "dist",