idmission-web-sdk 1.0.177 → 1.0.178

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.
@@ -48,7 +48,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
48
48
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
49
49
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
50
50
 
51
- var webSdkVersion = '1.0.177';
51
+ var webSdkVersion = '1.0.178';
52
52
 
53
53
  function getPlatform() {
54
54
  if (typeof window === 'undefined') return;
@@ -1653,6 +1653,12 @@ var useHighestResCaptureDevice = function useHighestResCaptureDevice(_a) {
1653
1653
  return labelMatches(deviceInfo, frontLabels);
1654
1654
  });
1655
1655
  }
1656
+ selectedCamera || (selectedCamera = availableCameras.find(function (deviceInfo) {
1657
+ return labelMatches(deviceInfo, 'backtriplecamera');
1658
+ }));
1659
+ selectedCamera || (selectedCamera = availableCameras.find(function (deviceInfo) {
1660
+ return labelMatches(deviceInfo, 'backdualcamera');
1661
+ }));
1656
1662
  // if (wideAngleIsBetter()) {
1657
1663
  // selectedCamera ||= availableCameras.find((deviceInfo) =>
1658
1664
  // labelMatches(deviceInfo, backUltraWideLabels),