videomail-client 11.3.5 → 11.4.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.
- package/dist/cjs/index.cjs +20 -19
- package/dist/esm/index.d.ts +10 -3
- package/dist/esm/index.js +13 -12
- package/dist/esm/types/VideoType.d.ts +4 -0
- package/dist/esm/util/Browser.d.ts +4 -3
- package/dist/esm/util/html/media/canPlayType.d.ts +2 -2
- package/dist/esm/wrappers/visuals/replay.d.ts +2 -1
- package/dist/umd/index.js +24 -23
- package/package.json +8 -8
- package/dist/esm/types/VideoExtension.d.ts +0 -5
package/dist/cjs/index.cjs
CHANGED
|
@@ -10324,8 +10324,8 @@ var __webpack_exports__ = {};
|
|
|
10324
10324
|
"use strict";
|
|
10325
10325
|
__webpack_require__.r(__webpack_exports__);
|
|
10326
10326
|
__webpack_require__.d(__webpack_exports__, {
|
|
10327
|
-
|
|
10328
|
-
|
|
10327
|
+
VideomailClient: ()=>src_client,
|
|
10328
|
+
VideoType: ()=>VideoType_VideoType
|
|
10329
10329
|
});
|
|
10330
10330
|
const constants = {
|
|
10331
10331
|
SITE_NAME_LABEL: "x-videomail-site-name",
|
|
@@ -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.
|
|
10491
|
+
rE: "11.4.0"
|
|
10492
10492
|
};
|
|
10493
10493
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10494
10494
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -13624,10 +13624,6 @@ var __webpack_exports__ = {};
|
|
|
13624
13624
|
NAME,
|
|
13625
13625
|
VERSION
|
|
13626
13626
|
]);
|
|
13627
|
-
const VideoExtension = {
|
|
13628
|
-
WebM: "webm",
|
|
13629
|
-
MP4: "mp4"
|
|
13630
|
-
};
|
|
13631
13627
|
function canPlayType_canPlayType(video, type) {
|
|
13632
13628
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
13633
13629
|
if ("" === canPlayType) return false;
|
|
@@ -13644,7 +13640,7 @@ var __webpack_exports__ = {};
|
|
|
13644
13640
|
else obj[key] = value;
|
|
13645
13641
|
return obj;
|
|
13646
13642
|
}
|
|
13647
|
-
const FALLBACK_VIDEO_TYPE =
|
|
13643
|
+
const FALLBACK_VIDEO_TYPE = VideoType.MP4;
|
|
13648
13644
|
class Browser_Browser {
|
|
13649
13645
|
isIOS() {
|
|
13650
13646
|
return "iOS" === this.result.os.name;
|
|
@@ -13682,10 +13678,10 @@ var __webpack_exports__ = {};
|
|
|
13682
13678
|
}
|
|
13683
13679
|
getVideoType(video) {
|
|
13684
13680
|
if (!this.videoType) {
|
|
13685
|
-
if (media_canPlayType(video,
|
|
13686
|
-
else if (media_canPlayType(video,
|
|
13681
|
+
if (media_canPlayType(video, VideoType.MP4)) this.videoType = VideoType.MP4;
|
|
13682
|
+
else if (media_canPlayType(video, VideoType.WebM)) this.videoType = VideoType.WebM;
|
|
13687
13683
|
}
|
|
13688
|
-
if (this.videoType !==
|
|
13684
|
+
if (this.videoType !== VideoType.WebM && this.videoType !== VideoType.MP4) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13689
13685
|
if ("" === this.videoType.trim()) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13690
13686
|
return this.videoType;
|
|
13691
13687
|
}
|
|
@@ -14983,7 +14979,7 @@ var __webpack_exports__ = {};
|
|
|
14983
14979
|
return outerWidth;
|
|
14984
14980
|
}
|
|
14985
14981
|
const getOuterWidth = getOuterWidth_getOuterWidth;
|
|
14986
|
-
function
|
|
14982
|
+
function limitWidth(element, options, width) {
|
|
14987
14983
|
let limitedWidth;
|
|
14988
14984
|
const outerWidth = getOuterWidth(element);
|
|
14989
14985
|
limitedWidth = width && "number" == typeof width ? outerWidth > 0 && outerWidth < width ? outerWidth : width : outerWidth;
|
|
@@ -14993,7 +14989,7 @@ var __webpack_exports__ = {};
|
|
|
14993
14989
|
});
|
|
14994
14990
|
return limitedWidth;
|
|
14995
14991
|
}
|
|
14996
|
-
const
|
|
14992
|
+
const dimensions_limitWidth = limitWidth;
|
|
14997
14993
|
var contains = __webpack_require__("./node_modules/contains/index.js");
|
|
14998
14994
|
var contains_default = /*#__PURE__*/ __webpack_require__.n(contains);
|
|
14999
14995
|
function disableElement(element) {
|
|
@@ -16265,7 +16261,7 @@ var __webpack_exports__ = {};
|
|
|
16265
16261
|
message: `Unable to calculate height for target ${target} when width is less than 1 (= ${width}) and responsive mode is set to ${responsive}`,
|
|
16266
16262
|
options
|
|
16267
16263
|
});
|
|
16268
|
-
if (responsive && element) width =
|
|
16264
|
+
if (responsive && element) width = dimensions_limitWidth(element, options, width);
|
|
16269
16265
|
const chosenRatio = null != ratio ? ratio : getRatio(options, void 0, videoWidth);
|
|
16270
16266
|
const height = Math.round(width * chosenRatio);
|
|
16271
16267
|
if (Number.isInteger(height) && height < 1) throw error_createError({
|
|
@@ -17886,10 +17882,10 @@ var __webpack_exports__ = {};
|
|
|
17886
17882
|
}
|
|
17887
17883
|
}
|
|
17888
17884
|
setMp4Source(src, bustCache) {
|
|
17889
|
-
this.setVideoSource(
|
|
17885
|
+
this.setVideoSource(VideoType.MP4, src, bustCache);
|
|
17890
17886
|
}
|
|
17891
17887
|
setWebMSource(src, bustCache) {
|
|
17892
|
-
this.setVideoSource(
|
|
17888
|
+
this.setVideoSource(VideoType.WebM, src, bustCache);
|
|
17893
17889
|
}
|
|
17894
17890
|
getVideoType() {
|
|
17895
17891
|
if (!this.replayElement) return;
|
|
@@ -18398,7 +18394,7 @@ var __webpack_exports__ = {};
|
|
|
18398
18394
|
}
|
|
18399
18395
|
limitWidth(width) {
|
|
18400
18396
|
if (!this.containerElement) return;
|
|
18401
|
-
return
|
|
18397
|
+
return dimensions_limitWidth(this.containerElement, this.options, width);
|
|
18402
18398
|
}
|
|
18403
18399
|
limitHeight(height) {
|
|
18404
18400
|
return dimensions_limitHeight(height, this.options, "containers limitHeight fn");
|
|
@@ -18819,11 +18815,16 @@ var __webpack_exports__ = {};
|
|
|
18819
18815
|
client_define_property(VideomailClient, "ENC_TYPE_APP_JSON", constants["public"].ENC_TYPE_APP_JSON);
|
|
18820
18816
|
client_define_property(VideomailClient, "ENC_TYPE_FORM", constants["public"].ENC_TYPE_FORM);
|
|
18821
18817
|
const src_client = VideomailClient;
|
|
18818
|
+
var VideoType_VideoType = /*#__PURE__*/ function(VideoType1) {
|
|
18819
|
+
VideoType1["WebM"] = "webm";
|
|
18820
|
+
VideoType1["MP4"] = "mp4";
|
|
18821
|
+
return VideoType1;
|
|
18822
|
+
}({});
|
|
18822
18823
|
})();
|
|
18823
|
-
exports.
|
|
18824
|
+
exports.VideoType = __webpack_exports__.VideoType;
|
|
18824
18825
|
exports.VideomailClient = __webpack_exports__.VideomailClient;
|
|
18825
18826
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
18826
|
-
"
|
|
18827
|
+
"VideoType",
|
|
18827
18828
|
"VideomailClient"
|
|
18828
18829
|
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
18829
18830
|
Object.defineProperty(exports, '__esModule', {
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -6,7 +6,14 @@ import { FullVideomailErrorData, VideomailErrorData } from "./types/error";
|
|
|
6
6
|
import VideomailEvents from "./types/events";
|
|
7
7
|
import { VideomailClientOptions } from "./types/options";
|
|
8
8
|
import RecordingStats from "./types/RecordingStats";
|
|
9
|
-
import { VideoExtension, VideoExtensionType } from "./types/VideoExtension";
|
|
10
9
|
import Videomail, { PartialVideomail } from "./types/Videomail";
|
|
11
|
-
|
|
12
|
-
export {
|
|
10
|
+
import { VideoType } from "./types/VideoType";
|
|
11
|
+
export type { Videomail };
|
|
12
|
+
export type { VideomailEvents };
|
|
13
|
+
export type { RecordingStats };
|
|
14
|
+
export type { VideomailClientOptions };
|
|
15
|
+
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,19 +3454,20 @@ const constants = {
|
|
|
3454
3454
|
}
|
|
3455
3455
|
};
|
|
3456
3456
|
var package_namespaceObject = {
|
|
3457
|
-
rE: "11.
|
|
3458
|
-
};
|
|
3459
|
-
const VideoExtension = {
|
|
3460
|
-
WebM: "webm",
|
|
3461
|
-
MP4: "mp4"
|
|
3457
|
+
rE: "11.4.0"
|
|
3462
3458
|
};
|
|
3459
|
+
var VideoType_VideoType = /*#__PURE__*/ function(VideoType1) {
|
|
3460
|
+
VideoType1["WebM"] = "webm";
|
|
3461
|
+
VideoType1["MP4"] = "mp4";
|
|
3462
|
+
return VideoType1;
|
|
3463
|
+
}({});
|
|
3463
3464
|
function canPlayType_canPlayType(video, type) {
|
|
3464
3465
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
3465
3466
|
if ("" === canPlayType) return false;
|
|
3466
3467
|
return canPlayType;
|
|
3467
3468
|
}
|
|
3468
3469
|
const media_canPlayType = canPlayType_canPlayType;
|
|
3469
|
-
const FALLBACK_VIDEO_TYPE =
|
|
3470
|
+
const FALLBACK_VIDEO_TYPE = VideoType.MP4;
|
|
3470
3471
|
class Browser {
|
|
3471
3472
|
options;
|
|
3472
3473
|
result;
|
|
@@ -3513,10 +3514,10 @@ class Browser {
|
|
|
3513
3514
|
}
|
|
3514
3515
|
getVideoType(video) {
|
|
3515
3516
|
if (!this.videoType) {
|
|
3516
|
-
if (media_canPlayType(video,
|
|
3517
|
-
else if (media_canPlayType(video,
|
|
3517
|
+
if (media_canPlayType(video, VideoType.MP4)) this.videoType = VideoType.MP4;
|
|
3518
|
+
else if (media_canPlayType(video, VideoType.WebM)) this.videoType = VideoType.WebM;
|
|
3518
3519
|
}
|
|
3519
|
-
if (this.videoType !==
|
|
3520
|
+
if (this.videoType !== VideoType.WebM && this.videoType !== VideoType.MP4) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
3520
3521
|
if ("" === this.videoType.trim()) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
3521
3522
|
return this.videoType;
|
|
3522
3523
|
}
|
|
@@ -7307,10 +7308,10 @@ class Replay extends util_Despot {
|
|
|
7307
7308
|
}
|
|
7308
7309
|
}
|
|
7309
7310
|
setMp4Source(src, bustCache) {
|
|
7310
|
-
this.setVideoSource(
|
|
7311
|
+
this.setVideoSource(VideoType.MP4, src, bustCache);
|
|
7311
7312
|
}
|
|
7312
7313
|
setWebMSource(src, bustCache) {
|
|
7313
|
-
this.setVideoSource(
|
|
7314
|
+
this.setVideoSource(VideoType.WebM, src, bustCache);
|
|
7314
7315
|
}
|
|
7315
7316
|
getVideoType() {
|
|
7316
7317
|
if (!this.replayElement) return;
|
|
@@ -8198,4 +8199,4 @@ class VideomailClient extends util_Despot {
|
|
|
8198
8199
|
}
|
|
8199
8200
|
}
|
|
8200
8201
|
const client = VideomailClient;
|
|
8201
|
-
export {
|
|
8202
|
+
export { VideoType_VideoType as VideoType, client as VideomailClient };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { VideomailClientOptions } from "../types/options";
|
|
2
|
+
import { VideoType } from "../types/VideoType";
|
|
2
3
|
declare class Browser {
|
|
3
|
-
private
|
|
4
|
-
private
|
|
4
|
+
private options;
|
|
5
|
+
private result;
|
|
5
6
|
private videoType;
|
|
6
7
|
constructor(options: VideomailClientOptions);
|
|
7
8
|
isIOS(): boolean;
|
|
@@ -14,7 +15,7 @@ declare class Browser {
|
|
|
14
15
|
isChromeBased(): boolean;
|
|
15
16
|
isMobile(): boolean;
|
|
16
17
|
isOkSafari(): boolean;
|
|
17
|
-
getVideoType(video: HTMLVideoElement):
|
|
18
|
+
getVideoType(video: HTMLVideoElement): VideoType;
|
|
18
19
|
getNoAccessIssue(): import("./error/VideomailError").default;
|
|
19
20
|
getUsefulData(): {
|
|
20
21
|
ua: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare function canPlayType(video: HTMLVideoElement, type:
|
|
1
|
+
import { VideoType } from "../../../types/VideoType";
|
|
2
|
+
declare function canPlayType(video: HTMLVideoElement, type: VideoType): false | "maybe" | "probably";
|
|
3
3
|
export default canPlayType;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { VideomailClientOptions } from "../../types/options";
|
|
2
2
|
import Videomail from "../../types/Videomail";
|
|
3
|
+
import { VideoType } from "../../types/VideoType";
|
|
3
4
|
import Despot from "../../util/Despot";
|
|
4
5
|
import { UnloadParams } from "../container";
|
|
5
6
|
import Visuals from "../visuals";
|
|
@@ -22,7 +23,7 @@ declare class Replay extends Despot {
|
|
|
22
23
|
private setVideoSource;
|
|
23
24
|
setMp4Source(src?: string, bustCache?: boolean): void;
|
|
24
25
|
setWebMSource(src?: string, bustCache?: boolean): void;
|
|
25
|
-
getVideoType():
|
|
26
|
+
getVideoType(): VideoType | undefined;
|
|
26
27
|
private pause;
|
|
27
28
|
reset(cb?: any): void;
|
|
28
29
|
hide(): void;
|
package/dist/umd/index.js
CHANGED
|
@@ -10330,8 +10330,8 @@
|
|
|
10330
10330
|
"use strict";
|
|
10331
10331
|
__webpack_require__.r(__webpack_exports__);
|
|
10332
10332
|
__webpack_require__.d(__webpack_exports__, {
|
|
10333
|
-
|
|
10334
|
-
|
|
10333
|
+
VideomailClient: ()=>src_client,
|
|
10334
|
+
VideoType: ()=>VideoType_VideoType
|
|
10335
10335
|
});
|
|
10336
10336
|
const constants = {
|
|
10337
10337
|
SITE_NAME_LABEL: "x-videomail-site-name",
|
|
@@ -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.
|
|
10497
|
+
rE: "11.4.0"
|
|
10498
10498
|
};
|
|
10499
10499
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10500
10500
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -13630,18 +13630,14 @@
|
|
|
13630
13630
|
NAME,
|
|
13631
13631
|
VERSION
|
|
13632
13632
|
]);
|
|
13633
|
-
const VideoExtension = {
|
|
13634
|
-
WebM: "webm",
|
|
13635
|
-
MP4: "mp4"
|
|
13636
|
-
};
|
|
13637
13633
|
function canPlayType_canPlayType(video, type) {
|
|
13638
13634
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
13639
13635
|
if ("" === canPlayType) return false;
|
|
13640
13636
|
return canPlayType;
|
|
13641
13637
|
}
|
|
13642
13638
|
const media_canPlayType = canPlayType_canPlayType;
|
|
13643
|
-
const FALLBACK_VIDEO_TYPE =
|
|
13644
|
-
class
|
|
13639
|
+
const FALLBACK_VIDEO_TYPE = VideoType.MP4;
|
|
13640
|
+
class Browser {
|
|
13645
13641
|
options;
|
|
13646
13642
|
result;
|
|
13647
13643
|
videoType;
|
|
@@ -13687,10 +13683,10 @@
|
|
|
13687
13683
|
}
|
|
13688
13684
|
getVideoType(video) {
|
|
13689
13685
|
if (!this.videoType) {
|
|
13690
|
-
if (media_canPlayType(video,
|
|
13691
|
-
else if (media_canPlayType(video,
|
|
13686
|
+
if (media_canPlayType(video, VideoType.MP4)) this.videoType = VideoType.MP4;
|
|
13687
|
+
else if (media_canPlayType(video, VideoType.WebM)) this.videoType = VideoType.WebM;
|
|
13692
13688
|
}
|
|
13693
|
-
if (this.videoType !==
|
|
13689
|
+
if (this.videoType !== VideoType.WebM && this.videoType !== VideoType.MP4) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13694
13690
|
if ("" === this.videoType.trim()) this.videoType = FALLBACK_VIDEO_TYPE;
|
|
13695
13691
|
return this.videoType;
|
|
13696
13692
|
}
|
|
@@ -13715,10 +13711,10 @@
|
|
|
13715
13711
|
};
|
|
13716
13712
|
}
|
|
13717
13713
|
}
|
|
13718
|
-
const
|
|
13714
|
+
const util_Browser = Browser;
|
|
13719
13715
|
let getBrowser_browser;
|
|
13720
13716
|
function getBrowser(localOptions) {
|
|
13721
|
-
if (!getBrowser_browser) getBrowser_browser = new
|
|
13717
|
+
if (!getBrowser_browser) getBrowser_browser = new util_Browser(localOptions);
|
|
13722
13718
|
return getBrowser_browser;
|
|
13723
13719
|
}
|
|
13724
13720
|
const util_getBrowser = getBrowser;
|
|
@@ -14676,7 +14672,7 @@
|
|
|
14676
14672
|
}
|
|
14677
14673
|
};
|
|
14678
14674
|
const src_options = options_options;
|
|
14679
|
-
class
|
|
14675
|
+
class CollectLogger_CollectLogger {
|
|
14680
14676
|
browser;
|
|
14681
14677
|
logger;
|
|
14682
14678
|
stack = [];
|
|
@@ -14715,7 +14711,7 @@
|
|
|
14715
14711
|
return this.stack;
|
|
14716
14712
|
}
|
|
14717
14713
|
}
|
|
14718
|
-
const
|
|
14714
|
+
const CollectLogger = CollectLogger_CollectLogger;
|
|
14719
14715
|
var process = __webpack_require__("./node_modules/process/browser.js");
|
|
14720
14716
|
function isTest() {
|
|
14721
14717
|
return "test" === process.env.ENVIRON;
|
|
@@ -14727,7 +14723,7 @@
|
|
|
14727
14723
|
return source;
|
|
14728
14724
|
}
|
|
14729
14725
|
});
|
|
14730
|
-
const collectLogger = new
|
|
14726
|
+
const collectLogger = new CollectLogger(newOptions);
|
|
14731
14727
|
newOptions.logger = collectLogger;
|
|
14732
14728
|
if (util_isTest()) newOptions.verbose = false;
|
|
14733
14729
|
return newOptions;
|
|
@@ -14922,7 +14918,7 @@
|
|
|
14922
14918
|
return outerWidth;
|
|
14923
14919
|
}
|
|
14924
14920
|
const getOuterWidth = getOuterWidth_getOuterWidth;
|
|
14925
|
-
function
|
|
14921
|
+
function limitWidth(element, options, width) {
|
|
14926
14922
|
let limitedWidth;
|
|
14927
14923
|
const outerWidth = getOuterWidth(element);
|
|
14928
14924
|
limitedWidth = width && "number" == typeof width ? outerWidth > 0 && outerWidth < width ? outerWidth : width : outerWidth;
|
|
@@ -14932,7 +14928,7 @@
|
|
|
14932
14928
|
});
|
|
14933
14929
|
return limitedWidth;
|
|
14934
14930
|
}
|
|
14935
|
-
const
|
|
14931
|
+
const dimensions_limitWidth = limitWidth;
|
|
14936
14932
|
var contains = __webpack_require__("./node_modules/contains/index.js");
|
|
14937
14933
|
var contains_default = /*#__PURE__*/ __webpack_require__.n(contains);
|
|
14938
14934
|
function disableElement(element) {
|
|
@@ -16096,7 +16092,7 @@
|
|
|
16096
16092
|
message: `Unable to calculate height for target ${target} when width is less than 1 (= ${width}) and responsive mode is set to ${responsive}`,
|
|
16097
16093
|
options
|
|
16098
16094
|
});
|
|
16099
|
-
if (responsive && element) width =
|
|
16095
|
+
if (responsive && element) width = dimensions_limitWidth(element, options, width);
|
|
16100
16096
|
const chosenRatio = ratio ?? getRatio(options, void 0, videoWidth);
|
|
16101
16097
|
const height = Math.round(width * chosenRatio);
|
|
16102
16098
|
if (Number.isInteger(height) && height < 1) throw error_createError({
|
|
@@ -17674,10 +17670,10 @@
|
|
|
17674
17670
|
}
|
|
17675
17671
|
}
|
|
17676
17672
|
setMp4Source(src, bustCache) {
|
|
17677
|
-
this.setVideoSource(
|
|
17673
|
+
this.setVideoSource(VideoType.MP4, src, bustCache);
|
|
17678
17674
|
}
|
|
17679
17675
|
setWebMSource(src, bustCache) {
|
|
17680
|
-
this.setVideoSource(
|
|
17676
|
+
this.setVideoSource(VideoType.WebM, src, bustCache);
|
|
17681
17677
|
}
|
|
17682
17678
|
getVideoType() {
|
|
17683
17679
|
if (!this.replayElement) return;
|
|
@@ -18171,7 +18167,7 @@
|
|
|
18171
18167
|
}
|
|
18172
18168
|
limitWidth(width) {
|
|
18173
18169
|
if (!this.containerElement) return;
|
|
18174
|
-
return
|
|
18170
|
+
return dimensions_limitWidth(this.containerElement, this.options, width);
|
|
18175
18171
|
}
|
|
18176
18172
|
limitHeight(height) {
|
|
18177
18173
|
return dimensions_limitHeight(height, this.options, "containers limitHeight fn");
|
|
@@ -18565,6 +18561,11 @@
|
|
|
18565
18561
|
}
|
|
18566
18562
|
}
|
|
18567
18563
|
const src_client = VideomailClient;
|
|
18564
|
+
var VideoType_VideoType = /*#__PURE__*/ function(VideoType1) {
|
|
18565
|
+
VideoType1["WebM"] = "webm";
|
|
18566
|
+
VideoType1["MP4"] = "mp4";
|
|
18567
|
+
return VideoType1;
|
|
18568
|
+
}({});
|
|
18568
18569
|
})();
|
|
18569
18570
|
return __webpack_exports__;
|
|
18570
18571
|
})());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "videomail-client",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.4.0",
|
|
4
4
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webcam",
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
"@rsbuild/plugin-stylus": "1.2.0",
|
|
81
81
|
"@rsdoctor/rspack-plugin": "1.2.3",
|
|
82
82
|
"@rslib/core": "0.13.3",
|
|
83
|
-
"@storybook/addon-a11y": "9.1.
|
|
84
|
-
"@storybook/addon-docs": "9.1.
|
|
85
|
-
"@storybook/addon-links": "9.1.
|
|
86
|
-
"@storybook/html": "9.1.
|
|
83
|
+
"@storybook/addon-a11y": "9.1.3",
|
|
84
|
+
"@storybook/addon-docs": "9.1.3",
|
|
85
|
+
"@storybook/addon-links": "9.1.3",
|
|
86
|
+
"@storybook/html": "9.1.3",
|
|
87
87
|
"@tsconfig/node22": "22.0.2",
|
|
88
88
|
"@tsconfig/strictest": "2.0.6",
|
|
89
89
|
"@types/defined": "1.0.2",
|
|
90
|
-
"@types/node": "22.
|
|
90
|
+
"@types/node": "22.15.30",
|
|
91
91
|
"@types/superagent": "8.1.9",
|
|
92
92
|
"@types/ua-parser-js": "0.7.39",
|
|
93
93
|
"@vitest/eslint-plugin": "1.3.12",
|
|
@@ -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.3",
|
|
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.3",
|
|
118
118
|
"storybook-html-rsbuild": "2.0.4",
|
|
119
119
|
"type-fest": "5.0.1",
|
|
120
120
|
"typescript": "5.9.2",
|