easyproctor-hml 2.5.4 → 2.5.5

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/esm/index.js CHANGED
@@ -10165,7 +10165,7 @@ var CameraRecorder = class {
10165
10165
  const settings = tracks[0].getSettings();
10166
10166
  let { width = 0, height = 0 } = settings;
10167
10167
  const isPortrait = ((_d = screen.orientation) == null ? void 0 : _d.type.includes("portrait")) || window.innerHeight > window.innerWidth;
10168
- if (isPortrait && width > height) {
10168
+ if (isPortrait) {
10169
10169
  [width, height] = [height, width];
10170
10170
  }
10171
10171
  console.log("isPortrait -> ", isPortrait);
package/index.js CHANGED
@@ -28262,7 +28262,7 @@ var CameraRecorder = class {
28262
28262
  const settings = tracks[0].getSettings();
28263
28263
  let { width = 0, height = 0 } = settings;
28264
28264
  const isPortrait = ((_d = screen.orientation) == null ? void 0 : _d.type.includes("portrait")) || window.innerHeight > window.innerWidth;
28265
- if (isPortrait && width > height) {
28265
+ if (isPortrait) {
28266
28266
  [width, height] = [height, width];
28267
28267
  }
28268
28268
  console.log("isPortrait -> ", isPortrait);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easyproctor-hml",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "Modulo web de gravação do EasyProctor",
5
5
  "main": "./index.js",
6
6
  "module": "./esm/index.js",