videomail-client 11.1.0 → 11.1.2
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/dist/cjs/index.cjs +16 -16
- package/dist/esm/client.d.ts +1 -1
- package/dist/esm/index.d.ts +9 -16
- package/dist/esm/index.js +11 -11
- package/dist/esm/resource.d.ts +1 -1
- package/dist/esm/types/Videomail.d.ts +2 -2
- package/dist/esm/types/events/index.d.ts +1 -1
- package/dist/esm/wrappers/container.d.ts +1 -1
- package/dist/esm/wrappers/form.d.ts +1 -1
- package/dist/esm/wrappers/visuals/replay.d.ts +1 -1
- package/dist/umd/index.js +19 -19
- package/package.json +8 -8
package/dist/cjs/index.cjs
CHANGED
|
@@ -10488,7 +10488,7 @@ var __webpack_exports__ = {};
|
|
|
10488
10488
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10489
10489
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10490
10490
|
var package_namespaceObject = {
|
|
10491
|
-
rE: "11.1.
|
|
10491
|
+
rE: "11.1.2"
|
|
10492
10492
|
};
|
|
10493
10493
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10494
10494
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -13624,6 +13624,11 @@ var __webpack_exports__ = {};
|
|
|
13624
13624
|
NAME,
|
|
13625
13625
|
VERSION
|
|
13626
13626
|
]);
|
|
13627
|
+
var VideoType_VideoType = /*#__PURE__*/ function(VideoType) {
|
|
13628
|
+
VideoType["WebM"] = "webm";
|
|
13629
|
+
VideoType["MP4"] = "mp4";
|
|
13630
|
+
return VideoType;
|
|
13631
|
+
}({});
|
|
13627
13632
|
function canPlayType_canPlayType(video, type) {
|
|
13628
13633
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
13629
13634
|
if ("" === canPlayType) return false;
|
|
@@ -13640,7 +13645,7 @@ var __webpack_exports__ = {};
|
|
|
13640
13645
|
else obj[key] = value;
|
|
13641
13646
|
return obj;
|
|
13642
13647
|
}
|
|
13643
|
-
const FALLBACK_VIDEO_TYPE =
|
|
13648
|
+
const FALLBACK_VIDEO_TYPE = VideoType_VideoType.MP4;
|
|
13644
13649
|
class Browser_Browser {
|
|
13645
13650
|
isIOS() {
|
|
13646
13651
|
return "iOS" === this.result.os.name;
|
|
@@ -13678,10 +13683,10 @@ var __webpack_exports__ = {};
|
|
|
13678
13683
|
}
|
|
13679
13684
|
getVideoType(video) {
|
|
13680
13685
|
if (!this.videoType) {
|
|
13681
|
-
if (media_canPlayType(video,
|
|
13682
|
-
else if (media_canPlayType(video,
|
|
13686
|
+
if (media_canPlayType(video, VideoType_VideoType.MP4)) this.videoType = VideoType_VideoType.MP4;
|
|
13687
|
+
else if (media_canPlayType(video, VideoType_VideoType.WebM)) this.videoType = VideoType_VideoType.WebM;
|
|
13683
13688
|
}
|
|
13684
|
-
if (this.videoType !==
|
|
13689
|
+
if (this.videoType !== VideoType_VideoType.WebM && this.videoType !== VideoType_VideoType.MP4) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13685
13690
|
if ("" === this.videoType.trim()) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13686
13691
|
return this.videoType;
|
|
13687
13692
|
}
|
|
@@ -14979,7 +14984,7 @@ var __webpack_exports__ = {};
|
|
|
14979
14984
|
return outerWidth;
|
|
14980
14985
|
}
|
|
14981
14986
|
const getOuterWidth = getOuterWidth_getOuterWidth;
|
|
14982
|
-
function
|
|
14987
|
+
function limitWidth_limitWidth(element, options, width) {
|
|
14983
14988
|
let limitedWidth;
|
|
14984
14989
|
const outerWidth = getOuterWidth(element);
|
|
14985
14990
|
limitedWidth = width && "number" == typeof width ? outerWidth > 0 && outerWidth < width ? outerWidth : width : outerWidth;
|
|
@@ -14989,7 +14994,7 @@ var __webpack_exports__ = {};
|
|
|
14989
14994
|
});
|
|
14990
14995
|
return limitedWidth;
|
|
14991
14996
|
}
|
|
14992
|
-
const
|
|
14997
|
+
const limitWidth = limitWidth_limitWidth;
|
|
14993
14998
|
var contains = __webpack_require__("./node_modules/contains/index.js");
|
|
14994
14999
|
var contains_default = /*#__PURE__*/ __webpack_require__.n(contains);
|
|
14995
15000
|
function disableElement(element) {
|
|
@@ -16261,7 +16266,7 @@ var __webpack_exports__ = {};
|
|
|
16261
16266
|
message: `Unable to calculate height for target ${target} when width is less than 1 (= ${width}) and responsive mode is set to ${responsive}`,
|
|
16262
16267
|
options
|
|
16263
16268
|
});
|
|
16264
|
-
if (responsive && element) width =
|
|
16269
|
+
if (responsive && element) width = limitWidth(element, options, width);
|
|
16265
16270
|
const chosenRatio = null != ratio ? ratio : getRatio(options, void 0, videoWidth);
|
|
16266
16271
|
const height = Math.round(width * chosenRatio);
|
|
16267
16272
|
if (Number.isInteger(height) && height < 1) throw error_createError({
|
|
@@ -17882,10 +17887,10 @@ var __webpack_exports__ = {};
|
|
|
17882
17887
|
}
|
|
17883
17888
|
}
|
|
17884
17889
|
setMp4Source(src, bustCache) {
|
|
17885
|
-
this.setVideoSource(
|
|
17890
|
+
this.setVideoSource(VideoType_VideoType.MP4, src, bustCache);
|
|
17886
17891
|
}
|
|
17887
17892
|
setWebMSource(src, bustCache) {
|
|
17888
|
-
this.setVideoSource(
|
|
17893
|
+
this.setVideoSource(VideoType_VideoType.WebM, src, bustCache);
|
|
17889
17894
|
}
|
|
17890
17895
|
getVideoType() {
|
|
17891
17896
|
if (!this.replayElement) return;
|
|
@@ -18394,7 +18399,7 @@ var __webpack_exports__ = {};
|
|
|
18394
18399
|
}
|
|
18395
18400
|
limitWidth(width) {
|
|
18396
18401
|
if (!this.containerElement) return;
|
|
18397
|
-
return
|
|
18402
|
+
return limitWidth(this.containerElement, this.options, width);
|
|
18398
18403
|
}
|
|
18399
18404
|
limitHeight(height) {
|
|
18400
18405
|
return dimensions_limitHeight(height, this.options, "containers limitHeight fn");
|
|
@@ -18815,11 +18820,6 @@ var __webpack_exports__ = {};
|
|
|
18815
18820
|
client_define_property(VideomailClient, "ENC_TYPE_APP_JSON", constants["public"].ENC_TYPE_APP_JSON);
|
|
18816
18821
|
client_define_property(VideomailClient, "ENC_TYPE_FORM", constants["public"].ENC_TYPE_FORM);
|
|
18817
18822
|
const src_client = VideomailClient;
|
|
18818
|
-
var VideoType_VideoType = /*#__PURE__*/ function(VideoType1) {
|
|
18819
|
-
VideoType1["WebM"] = "webm";
|
|
18820
|
-
VideoType1["MP4"] = "mp4";
|
|
18821
|
-
return VideoType1;
|
|
18822
|
-
}({});
|
|
18823
18823
|
})();
|
|
18824
18824
|
exports.VideoType = __webpack_exports__.VideoType;
|
|
18825
18825
|
exports.VideomailClient = __webpack_exports__.VideomailClient;
|
package/dist/esm/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PartialVideomailClientOptions } from "./types/options";
|
|
2
|
-
import Videomail from "./types/Videomail";
|
|
2
|
+
import type { Videomail } from "./types/Videomail";
|
|
3
3
|
import Despot from "./util/Despot";
|
|
4
4
|
export interface StartOverParams {
|
|
5
5
|
keepHidden?: boolean | undefined;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import VideomailClient from "./client";
|
|
2
|
-
import { Command, CommandArgs } from "./types/command";
|
|
3
|
-
import DeliveryRecord from "./types/DeliveryRecord";
|
|
4
|
-
import { EmailAddress, EmailAddresses } from "./types/EmailAddress";
|
|
5
|
-
import { FullVideomailErrorData, VideomailErrorData } from "./types/error";
|
|
6
|
-
import VideomailEvents from "./types/events";
|
|
7
|
-
import { VideomailClientOptions } from "./types/options";
|
|
8
|
-
import RecordingStats from "./types/RecordingStats";
|
|
9
|
-
import
|
|
2
|
+
import type { Command, CommandArgs } from "./types/command";
|
|
3
|
+
import type DeliveryRecord from "./types/DeliveryRecord";
|
|
4
|
+
import type { EmailAddress, EmailAddresses } from "./types/EmailAddress";
|
|
5
|
+
import type { FullVideomailErrorData, VideomailErrorData } from "./types/error";
|
|
6
|
+
import type VideomailEvents from "./types/events";
|
|
7
|
+
import type { VideomailClientOptions } from "./types/options";
|
|
8
|
+
import type RecordingStats from "./types/RecordingStats";
|
|
9
|
+
import type { PartialVideomail, Videomail } from "./types/Videomail";
|
|
10
10
|
import { VideoType } from "./types/VideoType";
|
|
11
|
-
export type { Videomail };
|
|
12
|
-
export type { VideomailEvents };
|
|
13
|
-
export type { RecordingStats };
|
|
14
|
-
export type { VideomailClientOptions };
|
|
11
|
+
export type { Command, CommandArgs, DeliveryRecord, EmailAddress, EmailAddresses, FullVideomailErrorData, PartialVideomail, RecordingStats, Videomail, VideomailClientOptions, VideomailErrorData, VideomailEvents, };
|
|
15
12
|
export { VideomailClient, VideoType };
|
|
16
|
-
export type { FullVideomailErrorData, PartialVideomail, VideomailErrorData };
|
|
17
|
-
export type { Command, CommandArgs };
|
|
18
|
-
export type { DeliveryRecord };
|
|
19
|
-
export type { EmailAddress, EmailAddresses };
|
package/dist/esm/index.js
CHANGED
|
@@ -3454,12 +3454,12 @@ const constants = {
|
|
|
3454
3454
|
}
|
|
3455
3455
|
};
|
|
3456
3456
|
var package_namespaceObject = {
|
|
3457
|
-
rE: "11.1.
|
|
3457
|
+
rE: "11.1.2"
|
|
3458
3458
|
};
|
|
3459
|
-
var VideoType_VideoType = /*#__PURE__*/ function(
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
return
|
|
3459
|
+
var VideoType_VideoType = /*#__PURE__*/ function(VideoType) {
|
|
3460
|
+
VideoType["WebM"] = "webm";
|
|
3461
|
+
VideoType["MP4"] = "mp4";
|
|
3462
|
+
return VideoType;
|
|
3463
3463
|
}({});
|
|
3464
3464
|
function canPlayType_canPlayType(video, type) {
|
|
3465
3465
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
@@ -3467,7 +3467,7 @@ function canPlayType_canPlayType(video, type) {
|
|
|
3467
3467
|
return canPlayType;
|
|
3468
3468
|
}
|
|
3469
3469
|
const media_canPlayType = canPlayType_canPlayType;
|
|
3470
|
-
const FALLBACK_VIDEO_TYPE =
|
|
3470
|
+
const FALLBACK_VIDEO_TYPE = VideoType_VideoType.MP4;
|
|
3471
3471
|
class Browser {
|
|
3472
3472
|
options;
|
|
3473
3473
|
result;
|
|
@@ -3514,10 +3514,10 @@ class Browser {
|
|
|
3514
3514
|
}
|
|
3515
3515
|
getVideoType(video) {
|
|
3516
3516
|
if (!this.videoType) {
|
|
3517
|
-
if (media_canPlayType(video,
|
|
3518
|
-
else if (media_canPlayType(video,
|
|
3517
|
+
if (media_canPlayType(video, VideoType_VideoType.MP4)) this.videoType = VideoType_VideoType.MP4;
|
|
3518
|
+
else if (media_canPlayType(video, VideoType_VideoType.WebM)) this.videoType = VideoType_VideoType.WebM;
|
|
3519
3519
|
}
|
|
3520
|
-
if (this.videoType !==
|
|
3520
|
+
if (this.videoType !== VideoType_VideoType.WebM && this.videoType !== VideoType_VideoType.MP4) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
3521
3521
|
if ("" === this.videoType.trim()) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
3522
3522
|
return this.videoType;
|
|
3523
3523
|
}
|
|
@@ -7308,10 +7308,10 @@ class Replay extends util_Despot {
|
|
|
7308
7308
|
}
|
|
7309
7309
|
}
|
|
7310
7310
|
setMp4Source(src, bustCache) {
|
|
7311
|
-
this.setVideoSource(
|
|
7311
|
+
this.setVideoSource(VideoType_VideoType.MP4, src, bustCache);
|
|
7312
7312
|
}
|
|
7313
7313
|
setWebMSource(src, bustCache) {
|
|
7314
|
-
this.setVideoSource(
|
|
7314
|
+
this.setVideoSource(VideoType_VideoType.WebM, src, bustCache);
|
|
7315
7315
|
}
|
|
7316
7316
|
getVideoType() {
|
|
7317
7317
|
if (!this.replayElement) return;
|
package/dist/esm/resource.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Response from "superagent/lib/node/response";
|
|
2
2
|
import { VideomailClientOptions } from "./types/options";
|
|
3
|
-
import
|
|
3
|
+
import type { PartialVideomail, Videomail } from "./types/Videomail";
|
|
4
4
|
import VideomailError from "./util/error/VideomailError";
|
|
5
5
|
import { FormInputs } from "./wrappers/form";
|
|
6
6
|
declare class Resource {
|
|
@@ -53,5 +53,5 @@ interface Videomail {
|
|
|
53
53
|
rejectedCc?: DeliveryRecord;
|
|
54
54
|
rejectedBcc?: DeliveryRecord;
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
export
|
|
56
|
+
type PartialVideomail = PartialDeep<Videomail>;
|
|
57
|
+
export type { PartialVideomail, Videomail };
|
|
@@ -2,7 +2,7 @@ import Response from "superagent/lib/node/response";
|
|
|
2
2
|
import VideomailError from "../../util/error/VideomailError";
|
|
3
3
|
import { FormReadyParams } from "../../wrappers/container";
|
|
4
4
|
import RecordingStats from "../RecordingStats";
|
|
5
|
-
import Videomail from "../Videomail";
|
|
5
|
+
import type { Videomail } from "../Videomail";
|
|
6
6
|
export interface UserMediaReadyParams {
|
|
7
7
|
switchingFacingMode?: ConstrainDOMString | undefined;
|
|
8
8
|
recordWhenReady?: boolean | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./../styles/main.styl";
|
|
2
2
|
import { ShowParams, StartOverParams } from "../client";
|
|
3
3
|
import { VideomailClientOptions } from "../types/options";
|
|
4
|
-
import Videomail from "../types/Videomail";
|
|
4
|
+
import type { Videomail } from "../types/Videomail";
|
|
5
5
|
import Despot from "../util/Despot";
|
|
6
6
|
import { FormInputs, FormMethod } from "./form";
|
|
7
7
|
interface BuildOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VideomailClientOptions } from "../types/options";
|
|
2
|
-
import Videomail from "../types/Videomail";
|
|
2
|
+
import type { Videomail } from "../types/Videomail";
|
|
3
3
|
import Despot from "../util/Despot";
|
|
4
4
|
import Container from "./container";
|
|
5
5
|
export type FormInputs = Record<string, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VideomailClientOptions } from "../../types/options";
|
|
2
|
-
import Videomail from "../../types/Videomail";
|
|
2
|
+
import type { Videomail } from "../../types/Videomail";
|
|
3
3
|
import { VideoType } from "../../types/VideoType";
|
|
4
4
|
import Despot from "../../util/Despot";
|
|
5
5
|
import { UnloadParams } from "../container";
|
package/dist/umd/index.js
CHANGED
|
@@ -10494,7 +10494,7 @@
|
|
|
10494
10494
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10495
10495
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10496
10496
|
var package_namespaceObject = {
|
|
10497
|
-
rE: "11.1.
|
|
10497
|
+
rE: "11.1.2"
|
|
10498
10498
|
};
|
|
10499
10499
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10500
10500
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -13630,13 +13630,18 @@
|
|
|
13630
13630
|
NAME,
|
|
13631
13631
|
VERSION
|
|
13632
13632
|
]);
|
|
13633
|
+
var VideoType_VideoType = /*#__PURE__*/ function(VideoType) {
|
|
13634
|
+
VideoType["WebM"] = "webm";
|
|
13635
|
+
VideoType["MP4"] = "mp4";
|
|
13636
|
+
return VideoType;
|
|
13637
|
+
}({});
|
|
13633
13638
|
function canPlayType_canPlayType(video, type) {
|
|
13634
13639
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
13635
13640
|
if ("" === canPlayType) return false;
|
|
13636
13641
|
return canPlayType;
|
|
13637
13642
|
}
|
|
13638
13643
|
const media_canPlayType = canPlayType_canPlayType;
|
|
13639
|
-
const FALLBACK_VIDEO_TYPE =
|
|
13644
|
+
const FALLBACK_VIDEO_TYPE = VideoType_VideoType.MP4;
|
|
13640
13645
|
class Browser {
|
|
13641
13646
|
options;
|
|
13642
13647
|
result;
|
|
@@ -13683,10 +13688,10 @@
|
|
|
13683
13688
|
}
|
|
13684
13689
|
getVideoType(video) {
|
|
13685
13690
|
if (!this.videoType) {
|
|
13686
|
-
if (media_canPlayType(video,
|
|
13687
|
-
else if (media_canPlayType(video,
|
|
13691
|
+
if (media_canPlayType(video, VideoType_VideoType.MP4)) this.videoType = VideoType_VideoType.MP4;
|
|
13692
|
+
else if (media_canPlayType(video, VideoType_VideoType.WebM)) this.videoType = VideoType_VideoType.WebM;
|
|
13688
13693
|
}
|
|
13689
|
-
if (this.videoType !==
|
|
13694
|
+
if (this.videoType !== VideoType_VideoType.WebM && this.videoType !== VideoType_VideoType.MP4) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13690
13695
|
if ("" === this.videoType.trim()) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13691
13696
|
return this.videoType;
|
|
13692
13697
|
}
|
|
@@ -14672,7 +14677,7 @@
|
|
|
14672
14677
|
}
|
|
14673
14678
|
};
|
|
14674
14679
|
const src_options = options_options;
|
|
14675
|
-
class
|
|
14680
|
+
class CollectLogger {
|
|
14676
14681
|
browser;
|
|
14677
14682
|
logger;
|
|
14678
14683
|
stack = [];
|
|
@@ -14711,7 +14716,7 @@
|
|
|
14711
14716
|
return this.stack;
|
|
14712
14717
|
}
|
|
14713
14718
|
}
|
|
14714
|
-
const
|
|
14719
|
+
const util_CollectLogger = CollectLogger;
|
|
14715
14720
|
var process = __webpack_require__("./node_modules/process/browser.js");
|
|
14716
14721
|
function isTest() {
|
|
14717
14722
|
return "test" === process.env.ENVIRON;
|
|
@@ -14723,7 +14728,7 @@
|
|
|
14723
14728
|
return source;
|
|
14724
14729
|
}
|
|
14725
14730
|
});
|
|
14726
|
-
const collectLogger = new
|
|
14731
|
+
const collectLogger = new util_CollectLogger(newOptions);
|
|
14727
14732
|
newOptions.logger = collectLogger;
|
|
14728
14733
|
if (util_isTest()) newOptions.verbose = false;
|
|
14729
14734
|
return newOptions;
|
|
@@ -14918,7 +14923,7 @@
|
|
|
14918
14923
|
return outerWidth;
|
|
14919
14924
|
}
|
|
14920
14925
|
const getOuterWidth = getOuterWidth_getOuterWidth;
|
|
14921
|
-
function
|
|
14926
|
+
function limitWidth_limitWidth(element, options, width) {
|
|
14922
14927
|
let limitedWidth;
|
|
14923
14928
|
const outerWidth = getOuterWidth(element);
|
|
14924
14929
|
limitedWidth = width && "number" == typeof width ? outerWidth > 0 && outerWidth < width ? outerWidth : width : outerWidth;
|
|
@@ -14928,7 +14933,7 @@
|
|
|
14928
14933
|
});
|
|
14929
14934
|
return limitedWidth;
|
|
14930
14935
|
}
|
|
14931
|
-
const
|
|
14936
|
+
const limitWidth = limitWidth_limitWidth;
|
|
14932
14937
|
var contains = __webpack_require__("./node_modules/contains/index.js");
|
|
14933
14938
|
var contains_default = /*#__PURE__*/ __webpack_require__.n(contains);
|
|
14934
14939
|
function disableElement(element) {
|
|
@@ -16092,7 +16097,7 @@
|
|
|
16092
16097
|
message: `Unable to calculate height for target ${target} when width is less than 1 (= ${width}) and responsive mode is set to ${responsive}`,
|
|
16093
16098
|
options
|
|
16094
16099
|
});
|
|
16095
|
-
if (responsive && element) width =
|
|
16100
|
+
if (responsive && element) width = limitWidth(element, options, width);
|
|
16096
16101
|
const chosenRatio = ratio ?? getRatio(options, void 0, videoWidth);
|
|
16097
16102
|
const height = Math.round(width * chosenRatio);
|
|
16098
16103
|
if (Number.isInteger(height) && height < 1) throw error_createError({
|
|
@@ -17670,10 +17675,10 @@
|
|
|
17670
17675
|
}
|
|
17671
17676
|
}
|
|
17672
17677
|
setMp4Source(src, bustCache) {
|
|
17673
|
-
this.setVideoSource(
|
|
17678
|
+
this.setVideoSource(VideoType_VideoType.MP4, src, bustCache);
|
|
17674
17679
|
}
|
|
17675
17680
|
setWebMSource(src, bustCache) {
|
|
17676
|
-
this.setVideoSource(
|
|
17681
|
+
this.setVideoSource(VideoType_VideoType.WebM, src, bustCache);
|
|
17677
17682
|
}
|
|
17678
17683
|
getVideoType() {
|
|
17679
17684
|
if (!this.replayElement) return;
|
|
@@ -18167,7 +18172,7 @@
|
|
|
18167
18172
|
}
|
|
18168
18173
|
limitWidth(width) {
|
|
18169
18174
|
if (!this.containerElement) return;
|
|
18170
|
-
return
|
|
18175
|
+
return limitWidth(this.containerElement, this.options, width);
|
|
18171
18176
|
}
|
|
18172
18177
|
limitHeight(height) {
|
|
18173
18178
|
return dimensions_limitHeight(height, this.options, "containers limitHeight fn");
|
|
@@ -18561,11 +18566,6 @@
|
|
|
18561
18566
|
}
|
|
18562
18567
|
}
|
|
18563
18568
|
const src_client = VideomailClient;
|
|
18564
|
-
var VideoType_VideoType = /*#__PURE__*/ function(VideoType1) {
|
|
18565
|
-
VideoType1["WebM"] = "webm";
|
|
18566
|
-
VideoType1["MP4"] = "mp4";
|
|
18567
|
-
return VideoType1;
|
|
18568
|
-
}({});
|
|
18569
18569
|
})();
|
|
18570
18570
|
return __webpack_exports__;
|
|
18571
18571
|
})());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.2",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webcam",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"@rsbuild/plugin-node-polyfill": "1.4.2",
|
|
80
80
|
"@rsbuild/plugin-stylus": "1.2.0",
|
|
81
81
|
"@rsdoctor/rspack-plugin": "1.2.3",
|
|
82
|
-
"@rslib/core": "0.
|
|
83
|
-
"@storybook/addon-a11y": "9.1.
|
|
84
|
-
"@storybook/addon-docs": "9.1.
|
|
85
|
-
"@storybook/addon-links": "9.1.
|
|
86
|
-
"@storybook/html": "9.1.
|
|
82
|
+
"@rslib/core": "0.13.3",
|
|
83
|
+
"@storybook/addon-a11y": "9.1.8",
|
|
84
|
+
"@storybook/addon-docs": "9.1.8",
|
|
85
|
+
"@storybook/addon-links": "9.1.8",
|
|
86
|
+
"@storybook/html": "9.1.8",
|
|
87
87
|
"@tsconfig/node22": "22.0.2",
|
|
88
88
|
"@tsconfig/strictest": "2.0.6",
|
|
89
89
|
"@types/defined": "1.0.2",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"eslint-plugin-regexp": "2.10.0",
|
|
105
105
|
"eslint-plugin-security": "3.0.1",
|
|
106
106
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
107
|
-
"eslint-plugin-storybook": "9.1.
|
|
107
|
+
"eslint-plugin-storybook": "9.1.8",
|
|
108
108
|
"globals": "16.4.0",
|
|
109
109
|
"jsdom": "27.0.0",
|
|
110
110
|
"msw": "2.11.1",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"prettier-plugin-packagejson": "2.5.19",
|
|
115
115
|
"prettier-plugin-sh": "0.18.0",
|
|
116
116
|
"release-it": "19.0.5",
|
|
117
|
-
"storybook": "9.1.
|
|
117
|
+
"storybook": "9.1.8",
|
|
118
118
|
"storybook-html-rsbuild": "2.0.4",
|
|
119
119
|
"type-fest": "5.0.1",
|
|
120
120
|
"typescript": "5.9.2",
|