@wcstack/camera 1.31.0 → 1.33.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -576,5 +576,12 @@ declare const WCS_MEDIA_ERROR_CODE: {
576
576
  readonly MediaError: "media-error";
577
577
  };
578
578
 
579
+ declare global {
580
+ interface HTMLElementTagNameMap {
581
+ "wcs-camera": WcsCamera;
582
+ "wcs-recorder": WcsRecorder;
583
+ }
584
+ }
585
+
579
586
  export { CameraCore, RecorderCore, WCS_MEDIA_ERROR_CODE, WcsCamera, WcsRecorder, bootstrapCamera, getConfig };
580
587
  export type { CameraConstraints, FacingMode, IWritableConfig, IWritableTagNames, MediaDeviceSnapshot, MediaPermissionState, RecorderOptions, WcsCameraCommands, WcsCameraCoreCommands, WcsCameraCoreValues, WcsCameraInputs, WcsCameraValues, WcsIoErrorInfo, WcsIoErrorPhase, WcsMediaErrorDetail, WcsRecordedDetail, WcsRecorderCommands, WcsRecorderCoreCommands, WcsRecorderCoreValues, WcsRecorderInputs, WcsRecorderValues };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wcstack/camera",
3
- "version": "1.31.0",
3
+ "version": "1.33.0",
4
4
  "description": "Declarative camera capture and media recording for Web Components. Binds live MediaStream handles directly to elements (never through serializable state) via getUserMedia + MediaRecorder.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.esm.js",