videomail-client 12.0.0 → 12.0.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.
@@ -10499,6 +10499,10 @@ var __webpack_exports__ = {};
10499
10499
  VideomailClient: ()=>VideomailClient,
10500
10500
  VideoType: ()=>VideoType
10501
10501
  });
10502
+ const VideoType = {
10503
+ WebM: "webm",
10504
+ MP4: "mp4"
10505
+ };
10502
10506
  const constants = {
10503
10507
  SITE_NAME_LABEL: "x-videomail-site-name",
10504
10508
  VERSION_LABEL: "videomailClientVersion",
@@ -10660,7 +10664,7 @@ var __webpack_exports__ = {};
10660
10664
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10661
10665
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10662
10666
  var package_namespaceObject = {
10663
- rE: "12.0.0"
10667
+ rE: "12.0.2"
10664
10668
  };
10665
10669
  var defined = __webpack_require__("./node_modules/defined/index.js");
10666
10670
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -13820,10 +13824,6 @@ var __webpack_exports__ = {};
13820
13824
  NAME,
13821
13825
  VERSION
13822
13826
  ]);
13823
- const VideoType = {
13824
- WebM: "webm",
13825
- MP4: "mp4"
13826
- };
13827
13827
  function canPlayType_canPlayType(video, type) {
13828
13828
  const canPlayType = video.canPlayType(`video/${type}`);
13829
13829
  if ("" === canPlayType) return false;
@@ -1,3 +1,5 @@
1
+ import { VideoType } from "./types/VideoType";
2
+ export { VideomailClient } from "./client";
1
3
  export type { Command } from "./types/command";
2
4
  export type { VideomailCommandArgs } from "./types/command";
3
5
  export type { DeliveryRecord } from "./types/Delivery";
@@ -5,8 +7,7 @@ export type { EmailAddress, EmailAddresses } from "./types/EmailAddress";
5
7
  export type { FullVideomailErrorData, VideomailErrorData } from "./types/error";
6
8
  export type { VideomailEvents, VideomailPreviewParams } from "./types/events";
7
9
  export type { VideomailClientOptions } from "./types/options";
8
- export type RecordingStats = "./types/RecordingStats";
9
- export { VideomailClient } from "./client";
10
+ export type { RecordingStats } from "./types/RecordingStats";
10
11
  export type { PartialVideomail, Videomail } from "./types/Videomail";
11
12
  export type { VideoTypeType } from "./types/VideoType";
12
- export { VideoType } 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: "12.0.0"
3606
- };
3607
- const VideoType = {
3608
- WebM: "webm",
3609
- MP4: "mp4"
3609
+ rE: "12.0.2"
3610
3610
  };
3611
3611
  function canPlayType_canPlayType(video, type) {
3612
3612
  const canPlayType = video.canPlayType(`video/${type}`);
@@ -10,4 +10,4 @@ interface RecordingStats {
10
10
  wantedFps?: number;
11
11
  wantedInterval?: number;
12
12
  }
13
- export default RecordingStats;
13
+ export type { RecordingStats };
@@ -1,7 +1,7 @@
1
1
  import { PartialDeep } from "type-fest";
2
2
  import { DeliveryRecord } from "./Delivery";
3
3
  import { EmailAddress, EmailAddresses } from "./EmailAddress";
4
- import RecordingStats from "./RecordingStats";
4
+ import { RecordingStats } from "./RecordingStats";
5
5
  import VideoFormat from "./VideoFormat";
6
6
  export interface Videomail {
7
7
  subject?: string;
@@ -1,7 +1,7 @@
1
1
  import Response from "superagent/lib/node/response";
2
2
  import VideomailError from "../../util/error/VideomailError";
3
3
  import { FormReadyParams } from "../../wrappers/container";
4
- import RecordingStats from "../RecordingStats";
4
+ import { RecordingStats } from "../RecordingStats";
5
5
  import { Videomail } from "../Videomail";
6
6
  export interface UserMediaReadyParams {
7
7
  switchingFacingMode?: ConstrainDOMString | undefined;
@@ -1,5 +1,5 @@
1
1
  import { VideomailClientOptions } from "../../types/options";
2
- import RecordingStats from "../../types/RecordingStats";
2
+ import { RecordingStats } from "../../types/RecordingStats";
3
3
  import Despot from "../../util/Despot";
4
4
  import { UnloadParams } from "../container";
5
5
  import Visuals from "../visuals";
@@ -41,7 +41,7 @@ declare class Visuals extends Despot {
41
41
  recordOrStop(): void;
42
42
  getRecorder(): Recorder;
43
43
  validate(): boolean;
44
- getRecordingStats(): import("../types/RecordingStats").default | undefined;
44
+ getRecordingStats(): import("..").RecordingStats | undefined;
45
45
  getAudioSampleRate(): number | undefined;
46
46
  isPaused(): boolean | undefined;
47
47
  error(err: VideomailError): void;
package/dist/umd/index.js CHANGED
@@ -10505,6 +10505,10 @@
10505
10505
  VideomailClient: ()=>VideomailClient,
10506
10506
  VideoType: ()=>VideoType
10507
10507
  });
10508
+ const VideoType = {
10509
+ WebM: "webm",
10510
+ MP4: "mp4"
10511
+ };
10508
10512
  const constants = {
10509
10513
  SITE_NAME_LABEL: "x-videomail-site-name",
10510
10514
  VERSION_LABEL: "videomailClientVersion",
@@ -10666,7 +10670,7 @@
10666
10670
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10667
10671
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10668
10672
  var package_namespaceObject = {
10669
- rE: "12.0.0"
10673
+ rE: "12.0.2"
10670
10674
  };
10671
10675
  var defined = __webpack_require__("./node_modules/defined/index.js");
10672
10676
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -13826,10 +13830,6 @@
13826
13830
  NAME,
13827
13831
  VERSION
13828
13832
  ]);
13829
- const VideoType = {
13830
- WebM: "webm",
13831
- MP4: "mp4"
13832
- };
13833
13833
  function canPlayType_canPlayType(video, type) {
13834
13834
  const canPlayType = video.canPlayType(`video/${type}`);
13835
13835
  if ("" === canPlayType) return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "12.0.0",
3
+ "version": "12.0.2",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",