videomail-client 12.0.1 → 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.
@@ -10664,7 +10664,7 @@ var __webpack_exports__ = {};
10664
10664
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10665
10665
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10666
10666
  var package_namespaceObject = {
10667
- rE: "12.0.1"
10667
+ rE: "12.0.2"
10668
10668
  };
10669
10669
  var defined = __webpack_require__("./node_modules/defined/index.js");
10670
10670
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
@@ -1,4 +1,5 @@
1
1
  import { VideoType } from "./types/VideoType";
2
+ export { VideomailClient } from "./client";
2
3
  export type { Command } from "./types/command";
3
4
  export type { VideomailCommandArgs } from "./types/command";
4
5
  export type { DeliveryRecord } from "./types/Delivery";
@@ -6,8 +7,7 @@ export type { EmailAddress, EmailAddresses } from "./types/EmailAddress";
6
7
  export type { FullVideomailErrorData, VideomailErrorData } from "./types/error";
7
8
  export type { VideomailEvents, VideomailPreviewParams } from "./types/events";
8
9
  export type { VideomailClientOptions } from "./types/options";
9
- export type RecordingStats = "./types/RecordingStats";
10
- export { VideomailClient } from "./client";
10
+ export type { RecordingStats } from "./types/RecordingStats";
11
11
  export type { PartialVideomail, Videomail } from "./types/Videomail";
12
12
  export type { VideoTypeType } from "./types/VideoType";
13
13
  export { VideoType };
package/dist/esm/index.js CHANGED
@@ -3606,7 +3606,7 @@ const constants = {
3606
3606
  }
3607
3607
  };
3608
3608
  var package_namespaceObject = {
3609
- rE: "12.0.1"
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
@@ -10670,7 +10670,7 @@
10670
10670
  var client = __webpack_require__("./node_modules/superagent/lib/client.js");
10671
10671
  var client_default = /*#__PURE__*/ __webpack_require__.n(client);
10672
10672
  var package_namespaceObject = {
10673
- rE: "12.0.1"
10673
+ rE: "12.0.2"
10674
10674
  };
10675
10675
  var defined = __webpack_require__("./node_modules/defined/index.js");
10676
10676
  var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "12.0.1",
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",