New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

deepar

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deepar - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

22

js/deepar.d.ts

@@ -209,2 +209,16 @@ /**

/**
* Parameters that specify the format of recorded videos. Used by {@link DeepAR.startVideoRecording}.
*/
export interface VideoRecordingOptions {
/**
* A MIME type specyfing the format for the resulting video, such as `video/webm` or `video/mp4`.
* Corresponds to the MIME type used by <a href="https://developer.mozilla.org/en-US/docs/Web/API/Blob">Blob</a>
* objects and <a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder">MediaRecorder</a>
* from the MediaStream Recording API.
*
* Note that `video/mp4` may not be supported in all browsers.
*/
mimeType?: string;
}
/**
* Main class for interacting with DeepAR SDK.

@@ -379,4 +393,5 @@ */

* Starts video recording of the canvas.
* @param options Video recording options.
*/
startVideoRecording(): void;
startVideoRecording(options?: VideoRecordingOptions): void;
/**

@@ -420,2 +435,7 @@ * Stops the video recording and returns a video blob via callback.

/**
* @internal
* @param enable
*/
enableAutoframing(enable: boolean): void;
/**
* Used to initialize the DeepAR SDK.<br><br>

@@ -422,0 +442,0 @@ * <strong><u>IMPORTANT</u></strong>: Note that this is now called with the <b>new</b> keyword. In previous versions of SDK this was just a plain function called without new keyword

@@ -209,2 +209,16 @@ /**

/**
* Parameters that specify the format of recorded videos. Used by {@link DeepAR.startVideoRecording}.
*/
export interface VideoRecordingOptions {
/**
* A MIME type specyfing the format for the resulting video, such as `video/webm` or `video/mp4`.
* Corresponds to the MIME type used by <a href="https://developer.mozilla.org/en-US/docs/Web/API/Blob">Blob</a>
* objects and <a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder">MediaRecorder</a>
* from the MediaStream Recording API.
*
* Note that `video/mp4` may not be supported in all browsers.
*/
mimeType?: string;
}
/**
* Main class for interacting with DeepAR SDK.

@@ -379,4 +393,5 @@ */

* Starts video recording of the canvas.
* @param options Video recording options.
*/
startVideoRecording(): void;
startVideoRecording(options?: VideoRecordingOptions): void;
/**

@@ -420,2 +435,7 @@ * Stops the video recording and returns a video blob via callback.

/**
* @internal
* @param enable
*/
enableAutoframing(enable: boolean): void;
/**
* Used to initialize the DeepAR SDK.<br><br>

@@ -422,0 +442,0 @@ * <strong><u>IMPORTANT</u></strong>: Note that this is now called with the <b>new</b> keyword. In previous versions of SDK this was just a plain function called without new keyword

2

package.json
{
"name": "deepar",
"version": "4.0.0",
"version": "4.0.1",
"description": "The official DeepAR Web SDK",

@@ -5,0 +5,0 @@ "main": "js/deepar.esm.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc