videomail-client 11.5.5 → 12.0.1
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 +9 -7
- package/dist/esm/client.d.ts +1 -1
- package/dist/esm/index.d.ts +4 -2
- package/dist/esm/index.js +6 -7
- package/dist/umd/index.js +7 -7
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -10496,8 +10496,13 @@ var __webpack_exports__ = {};
|
|
|
10496
10496
|
"use strict";
|
|
10497
10497
|
__webpack_require__.r(__webpack_exports__);
|
|
10498
10498
|
__webpack_require__.d(__webpack_exports__, {
|
|
10499
|
-
VideomailClient: ()=>
|
|
10499
|
+
VideomailClient: ()=>VideomailClient,
|
|
10500
|
+
VideoType: ()=>VideoType
|
|
10500
10501
|
});
|
|
10502
|
+
const VideoType = {
|
|
10503
|
+
WebM: "webm",
|
|
10504
|
+
MP4: "mp4"
|
|
10505
|
+
};
|
|
10501
10506
|
const constants = {
|
|
10502
10507
|
SITE_NAME_LABEL: "x-videomail-site-name",
|
|
10503
10508
|
VERSION_LABEL: "videomailClientVersion",
|
|
@@ -10659,7 +10664,7 @@ var __webpack_exports__ = {};
|
|
|
10659
10664
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10660
10665
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10661
10666
|
var package_namespaceObject = {
|
|
10662
|
-
rE: "
|
|
10667
|
+
rE: "12.0.1"
|
|
10663
10668
|
};
|
|
10664
10669
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10665
10670
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -13819,10 +13824,6 @@ var __webpack_exports__ = {};
|
|
|
13819
13824
|
NAME,
|
|
13820
13825
|
VERSION
|
|
13821
13826
|
]);
|
|
13822
|
-
const VideoType = {
|
|
13823
|
-
WebM: "webm",
|
|
13824
|
-
MP4: "mp4"
|
|
13825
|
-
};
|
|
13826
13827
|
function canPlayType_canPlayType(video, type) {
|
|
13827
13828
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
13828
13829
|
if ("" === canPlayType) return false;
|
|
@@ -18882,10 +18883,11 @@ var __webpack_exports__ = {};
|
|
|
18882
18883
|
}
|
|
18883
18884
|
client_define_property(VideomailClient, "ENC_TYPE_APP_JSON", constants["public"].ENC_TYPE_APP_JSON);
|
|
18884
18885
|
client_define_property(VideomailClient, "ENC_TYPE_FORM", constants["public"].ENC_TYPE_FORM);
|
|
18885
|
-
const src_client = VideomailClient;
|
|
18886
18886
|
})();
|
|
18887
|
+
exports.VideoType = __webpack_exports__.VideoType;
|
|
18887
18888
|
exports.VideomailClient = __webpack_exports__.VideomailClient;
|
|
18888
18889
|
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
18890
|
+
"VideoType",
|
|
18889
18891
|
"VideomailClient"
|
|
18890
18892
|
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
18891
18893
|
Object.defineProperty(exports, '__esModule', {
|
package/dist/esm/client.d.ts
CHANGED
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { VideoType } from "./types/VideoType";
|
|
2
2
|
export type { Command } from "./types/command";
|
|
3
3
|
export type { VideomailCommandArgs } from "./types/command";
|
|
4
4
|
export type { DeliveryRecord } from "./types/Delivery";
|
|
@@ -7,5 +7,7 @@ export type { FullVideomailErrorData, VideomailErrorData } from "./types/error";
|
|
|
7
7
|
export type { VideomailEvents, VideomailPreviewParams } from "./types/events";
|
|
8
8
|
export type { VideomailClientOptions } from "./types/options";
|
|
9
9
|
export type RecordingStats = "./types/RecordingStats";
|
|
10
|
+
export { VideomailClient } from "./client";
|
|
10
11
|
export type { PartialVideomail, Videomail } from "./types/Videomail";
|
|
11
|
-
export {
|
|
12
|
+
export type { VideoTypeType } from "./types/VideoType";
|
|
13
|
+
export { VideoType };
|
package/dist/esm/index.js
CHANGED
|
@@ -3593,6 +3593,10 @@ function __webpack_require__(moduleId) {
|
|
|
3593
3593
|
(()=>{
|
|
3594
3594
|
__webpack_require__.nc = void 0;
|
|
3595
3595
|
})();
|
|
3596
|
+
const VideoType = {
|
|
3597
|
+
WebM: "webm",
|
|
3598
|
+
MP4: "mp4"
|
|
3599
|
+
};
|
|
3596
3600
|
const constants = {
|
|
3597
3601
|
SITE_NAME_LABEL: "x-videomail-site-name",
|
|
3598
3602
|
VERSION_LABEL: "videomailClientVersion",
|
|
@@ -3602,11 +3606,7 @@ const constants = {
|
|
|
3602
3606
|
}
|
|
3603
3607
|
};
|
|
3604
3608
|
var package_namespaceObject = {
|
|
3605
|
-
rE: "
|
|
3606
|
-
};
|
|
3607
|
-
const VideoType = {
|
|
3608
|
-
WebM: "webm",
|
|
3609
|
-
MP4: "mp4"
|
|
3609
|
+
rE: "12.0.1"
|
|
3610
3610
|
};
|
|
3611
3611
|
function canPlayType_canPlayType(video, type) {
|
|
3612
3612
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
@@ -8214,5 +8214,4 @@ class VideomailClient extends util_Despot {
|
|
|
8214
8214
|
if (this.options.logger.getLines) return this.options.logger.getLines();
|
|
8215
8215
|
}
|
|
8216
8216
|
}
|
|
8217
|
-
|
|
8218
|
-
export { client as VideomailClient };
|
|
8217
|
+
export { VideoType, VideomailClient };
|
package/dist/umd/index.js
CHANGED
|
@@ -10502,8 +10502,13 @@
|
|
|
10502
10502
|
"use strict";
|
|
10503
10503
|
__webpack_require__.r(__webpack_exports__);
|
|
10504
10504
|
__webpack_require__.d(__webpack_exports__, {
|
|
10505
|
-
VideomailClient: ()=>
|
|
10505
|
+
VideomailClient: ()=>VideomailClient,
|
|
10506
|
+
VideoType: ()=>VideoType
|
|
10506
10507
|
});
|
|
10508
|
+
const VideoType = {
|
|
10509
|
+
WebM: "webm",
|
|
10510
|
+
MP4: "mp4"
|
|
10511
|
+
};
|
|
10507
10512
|
const constants = {
|
|
10508
10513
|
SITE_NAME_LABEL: "x-videomail-site-name",
|
|
10509
10514
|
VERSION_LABEL: "videomailClientVersion",
|
|
@@ -10665,7 +10670,7 @@
|
|
|
10665
10670
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10666
10671
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10667
10672
|
var package_namespaceObject = {
|
|
10668
|
-
rE: "
|
|
10673
|
+
rE: "12.0.1"
|
|
10669
10674
|
};
|
|
10670
10675
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10671
10676
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -13825,10 +13830,6 @@
|
|
|
13825
13830
|
NAME,
|
|
13826
13831
|
VERSION
|
|
13827
13832
|
]);
|
|
13828
|
-
const VideoType = {
|
|
13829
|
-
WebM: "webm",
|
|
13830
|
-
MP4: "mp4"
|
|
13831
|
-
};
|
|
13832
13833
|
function canPlayType_canPlayType(video, type) {
|
|
13833
13834
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
13834
13835
|
if ("" === canPlayType) return false;
|
|
@@ -18628,7 +18629,6 @@
|
|
|
18628
18629
|
if (this.options.logger.getLines) return this.options.logger.getLines();
|
|
18629
18630
|
}
|
|
18630
18631
|
}
|
|
18631
|
-
const src_client = VideomailClient;
|
|
18632
18632
|
})();
|
|
18633
18633
|
return __webpack_exports__;
|
|
18634
18634
|
})());
|