@uploadcare/file-uploader 1.11.2 → 1.11.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.
- package/blocks/CameraSource/CameraSource.js +2 -2
- package/env.d.ts +1 -1
- package/env.js +1 -1
- package/index.ssr.d.ts +1 -1
- package/index.ssr.js +1 -1
- package/package.json +1 -1
- package/web/file-uploader.iife.min.js +1 -1
- package/web/file-uploader.min.js +1 -1
- package/web/uc-cloud-image-editor.min.js +1 -1
- package/web/uc-file-uploader-inline.min.js +1 -1
- package/web/uc-file-uploader-minimal.min.js +1 -1
- package/web/uc-file-uploader-regular.min.js +1 -1
- package/web/uc-img.min.js +1 -1
|
@@ -797,10 +797,10 @@ export class CameraSource extends UploaderBlock {
|
|
|
797
797
|
|
|
798
798
|
_destroy() {
|
|
799
799
|
for (const permission of DEFAULT_PERMISSIONS) {
|
|
800
|
-
this[`${permission}Response`]
|
|
800
|
+
this[`${permission}Response`]?.removeEventListener('change', this._handlePermissionsChange);
|
|
801
801
|
}
|
|
802
802
|
|
|
803
|
-
navigator.mediaDevices
|
|
803
|
+
navigator.mediaDevices?.removeEventListener('devicechange', this._getDevices);
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
async destroyCallback() {
|
package/env.d.ts
CHANGED
package/env.js
CHANGED
package/index.ssr.d.ts
CHANGED
|
@@ -557,7 +557,7 @@ export const Modal: {
|
|
|
557
557
|
bindAttributes: () => void;
|
|
558
558
|
};
|
|
559
559
|
export const PACKAGE_NAME: "blocks";
|
|
560
|
-
export const PACKAGE_VERSION: "1.11.
|
|
560
|
+
export const PACKAGE_VERSION: "1.11.3";
|
|
561
561
|
export const PresenceToggle: {
|
|
562
562
|
new (): {};
|
|
563
563
|
template: string;
|
package/index.ssr.js
CHANGED
|
@@ -1048,7 +1048,7 @@ export const Modal = class {
|
|
|
1048
1048
|
static bindAttributes = () => {};
|
|
1049
1049
|
};
|
|
1050
1050
|
export const PACKAGE_NAME = `blocks`;
|
|
1051
|
-
export const PACKAGE_VERSION = `1.11.
|
|
1051
|
+
export const PACKAGE_VERSION = `1.11.3`;
|
|
1052
1052
|
export const PresenceToggle = class {
|
|
1053
1053
|
static template = `<slot></slot> `;
|
|
1054
1054
|
static reg = () => {};
|