videomail-client 10.3.4 → 10.3.6
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 +432 -430
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +500 -498
- package/dist/esm/resource.d.ts +1 -1
- package/dist/esm/util/error/createError.d.ts +1 -1
- package/dist/esm/util/isPromise.d.ts +1 -1
- package/dist/esm/util/options/audio.d.ts +1 -1
- package/dist/esm/util/pad.d.ts +1 -1
- package/dist/esm/wrappers/buttons.d.ts +1 -1
- package/dist/esm/wrappers/container.d.ts +3 -3
- package/dist/esm/wrappers/form.d.ts +2 -2
- package/dist/esm/wrappers/visuals/inside/recorder/facingMode.d.ts +1 -1
- package/dist/esm/wrappers/visuals/inside/recorder/recordTimer.d.ts +1 -1
- package/dist/esm/wrappers/visuals/inside/recorderInsides.d.ts +1 -1
- package/dist/esm/wrappers/visuals/notifier.d.ts +2 -2
- package/dist/esm/wrappers/visuals/recorder.d.ts +2 -2
- package/dist/esm/wrappers/visuals/replay.d.ts +3 -3
- package/dist/esm/wrappers/visuals/userMedia.d.ts +2 -2
- package/dist/esm/wrappers/visuals.d.ts +4 -4
- package/dist/umd/index.js +431 -429
- package/package.json +20 -19
package/dist/esm/resource.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import Response from "superagent/lib/node/response";
|
|
1
2
|
import { VideomailClientOptions } from "./types/options";
|
|
2
3
|
import Videomail, { PartialVideomail } from "./types/Videomail";
|
|
3
|
-
import Response from "superagent/lib/node/response";
|
|
4
4
|
import VideomailError from "./util/error/VideomailError";
|
|
5
5
|
import { FormInputs } from "./wrappers/form";
|
|
6
6
|
declare class Resource {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import VideomailError from "./VideomailError";
|
|
2
1
|
import { VideomailClientOptions } from "../../types/options";
|
|
3
2
|
import HTTPVideomailError from "./HTTPVideomailError";
|
|
3
|
+
import VideomailError from "./VideomailError";
|
|
4
4
|
interface ErrorParams {
|
|
5
5
|
err?: HTTPVideomailError;
|
|
6
6
|
exc?: unknown;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function isPromise(anything: any):
|
|
1
|
+
declare function isPromise(anything: any): boolean;
|
|
2
2
|
export default isPromise;
|
|
@@ -2,4 +2,4 @@ import { VideomailClientOptions } from "../../types/options";
|
|
|
2
2
|
declare function isAudioEnabled(options: VideomailClientOptions): boolean;
|
|
3
3
|
declare function setAudioEnabled(enabled: boolean, options: VideomailClientOptions): VideomailClientOptions;
|
|
4
4
|
declare function isAutoPauseEnabled(options: VideomailClientOptions): boolean;
|
|
5
|
-
export { isAudioEnabled,
|
|
5
|
+
export { isAudioEnabled, isAutoPauseEnabled, setAudioEnabled };
|
package/dist/esm/util/pad.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function pad(n: number): string
|
|
1
|
+
declare function pad(n: number): string;
|
|
2
2
|
export default pad;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { VideomailClientOptions } from "../types/options";
|
|
1
2
|
import Despot from "../util/Despot";
|
|
2
3
|
import Container from "./container";
|
|
3
|
-
import { VideomailClientOptions } from "../types/options";
|
|
4
4
|
declare class Buttons extends Despot {
|
|
5
5
|
private container;
|
|
6
6
|
private buttonsElement?;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Despot from "../util/Despot";
|
|
2
|
-
import { FormInputs, FormMethod } from "./form";
|
|
3
1
|
import "./../styles/main.styl";
|
|
4
|
-
import { VideomailClientOptions } from "../types/options";
|
|
5
2
|
import { ShowParams, StartOverParams } from "../client";
|
|
3
|
+
import { VideomailClientOptions } from "../types/options";
|
|
6
4
|
import Videomail from "../types/Videomail";
|
|
5
|
+
import Despot from "../util/Despot";
|
|
6
|
+
import { FormInputs, FormMethod } from "./form";
|
|
7
7
|
interface BuildOptions {
|
|
8
8
|
playerOnly?: boolean;
|
|
9
9
|
replayParentElementId?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Despot from "../util/Despot";
|
|
2
|
-
import Container from "./container";
|
|
3
1
|
import { VideomailClientOptions } from "../types/options";
|
|
4
2
|
import Videomail from "../types/Videomail";
|
|
3
|
+
import Despot from "../util/Despot";
|
|
4
|
+
import Container from "./container";
|
|
5
5
|
export type FormInputs = Record<string, string>;
|
|
6
6
|
export declare enum FormMethod {
|
|
7
7
|
POST = "post",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { VideomailClientOptions } from "../../../../types/options";
|
|
1
2
|
import Despot from "../../../../util/Despot";
|
|
2
3
|
import Visuals from "../../../visuals";
|
|
3
|
-
import { VideomailClientOptions } from "../../../../types/options";
|
|
4
4
|
declare class FacingMode extends Despot {
|
|
5
5
|
private visuals;
|
|
6
6
|
private facingModeElement?;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { VideomailClientOptions } from "../../../../types/options";
|
|
1
2
|
import Visuals from "../../../visuals";
|
|
2
3
|
import RecordNote from "./recordNote";
|
|
3
|
-
import { VideomailClientOptions } from "../../../../types/options";
|
|
4
4
|
declare class RecordTimer {
|
|
5
5
|
private visuals;
|
|
6
6
|
private recordNote;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { VideomailClientOptions } from "../../../types/options";
|
|
1
2
|
import Despot from "../../../util/Despot";
|
|
2
3
|
import Visuals from "../../visuals";
|
|
3
|
-
import { VideomailClientOptions } from "../../../types/options";
|
|
4
4
|
declare class RecorderInsides extends Despot {
|
|
5
5
|
private recordNote;
|
|
6
6
|
private recordTimer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Despot from "../../util/Despot";
|
|
2
|
-
import Visuals from "../visuals";
|
|
3
1
|
import { VideomailClientOptions } from "../../types/options";
|
|
2
|
+
import Despot from "../../util/Despot";
|
|
4
3
|
import VideomailError from "../../util/error/VideomailError";
|
|
4
|
+
import Visuals from "../visuals";
|
|
5
5
|
interface MessageOptions {
|
|
6
6
|
problem?: boolean;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Visuals from "../visuals";
|
|
2
1
|
import { VideomailClientOptions } from "../../types/options";
|
|
3
2
|
import RecordingStats from "../../types/RecordingStats";
|
|
4
|
-
import Replay from "./replay";
|
|
5
3
|
import Despot from "../../util/Despot";
|
|
6
4
|
import { UnloadParams } from "../container";
|
|
5
|
+
import Visuals from "../visuals";
|
|
6
|
+
import Replay from "./replay";
|
|
7
7
|
interface StopParams {
|
|
8
8
|
limitReached?: boolean;
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Despot from "../../util/Despot";
|
|
2
1
|
import { VideomailClientOptions } from "../../types/options";
|
|
3
|
-
import Visuals from "../visuals";
|
|
4
2
|
import Videomail from "../../types/Videomail";
|
|
5
|
-
import { UnloadParams } from "../container";
|
|
6
3
|
import { VideoType } from "../../types/VideoType";
|
|
4
|
+
import Despot from "../../util/Despot";
|
|
5
|
+
import { UnloadParams } from "../container";
|
|
6
|
+
import Visuals from "../visuals";
|
|
7
7
|
declare class Replay extends Despot {
|
|
8
8
|
private readonly visuals;
|
|
9
9
|
private built;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Despot from "../../util/Despot";
|
|
2
|
-
import Recorder from "./recorder";
|
|
3
1
|
import { VideomailClientOptions } from "../../types/options";
|
|
2
|
+
import Despot from "../../util/Despot";
|
|
4
3
|
import { AudioProcessCB } from "../../util/html/media/AudioRecorder";
|
|
4
|
+
import Recorder from "./recorder";
|
|
5
5
|
interface StopParams {
|
|
6
6
|
aboutToInitialize: boolean;
|
|
7
7
|
switchingFacingMode: any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ShowParams } from "../client";
|
|
2
|
+
import { VideomailClientOptions } from "../types/options";
|
|
1
3
|
import Despot from "../util/Despot";
|
|
4
|
+
import VideomailError from "../util/error/VideomailError";
|
|
5
|
+
import { UnloadParams } from "./container";
|
|
2
6
|
import Recorder from "./visuals/recorder";
|
|
3
7
|
import Replay from "./visuals/replay";
|
|
4
|
-
import { UnloadParams } from "./container";
|
|
5
|
-
import { VideomailClientOptions } from "../types/options";
|
|
6
|
-
import VideomailError from "../util/error/VideomailError";
|
|
7
|
-
import { ShowParams } from "../client";
|
|
8
8
|
declare class Visuals extends Despot {
|
|
9
9
|
private readonly container;
|
|
10
10
|
private replay;
|