@gamelearn/arcade-components 0.19.6 → 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
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "license": "Gamelearn",
4
- "version": "0.19.6",
4
+ "version": "0.19.7",
5
5
  "main": "dist/index.js",
6
6
  "files": [
7
7
  "dist",