Socket
Socket
Sign inDemoInstall

@api.video/media-recorder

Package Overview
Dependencies
2
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

3

CHANGELOG.md
# Changelog
All changes to this project will be documented in this file.
## [1.0.4] - 2022-05-24
- Prevent last uploaded part to be empty
## [1.0.3] - 2022-03-23

@@ -5,0 +8,0 @@ - Specify a return type for `ApiVideoMediaRecorder.stop`

50

CONTRIBUTING.md

@@ -9,21 +9,25 @@ # Contributing to api.video

[Code of Conduct](#code-of-conduct)
[I just have a question!](#i-just-have-a-question)
[How Can I Contribute?](#how-can-i-contribute)
* [Reporting Bugs](#reporting-bugs)
* [Suggesting Enhancements](#suggesting-enhancements)
* [Pull Requests](#pull-requests)
[Styleguides](#styleguides)
* [Git Commit Messages](#git-commit-messages)
* [Documentation Styleguide](#documentation-styleguide)
[Additional Notes](#additional-notes)
* [Issue and Pull Request Labels](#issue-and-pull-request-labels)
- [Contributing to api.video](#contributing-to-apivideo)
- [Table of contents](#table-of-contents)
- [Code of conduct](#code-of-conduct)
- [I just have a question!](#i-just-have-a-question)
- [How can I contribute?](#how-can-i-contribute)
- [Reporting bugs](#reporting-bugs)
- [Before submitting a bug report](#before-submitting-a-bug-report)
- [How do I submit a (good) bug report?](#how-do-i-submit-a-good-bug-report)
- [Suggesting enhancements](#suggesting-enhancements)
- [How do I submit a (good) enhancement suggestion?](#how-do-i-submit-a-good-enhancement-suggestion)
- [Pull requests](#pull-requests)
- [Style guides](#style-guides)
- [Git commit messages](#git-commit-messages)
- [Documentation style guide](#documentation-style-guide)
- [Additional notes](#additional-notes)
- [Issue and pull request labels](#issue-and-pull-request-labels)
- [Type of issue and issue state](#type-of-issue-and-issue-state)
- [Topic categories](#topic-categories)
- [Pull request labels](#pull-request-labels)
## Code of conduct
This project and everyone participating in it is governed by the [api.video Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [help@api.video](mailto:help@api.video).
This project and everyone participating in it is governed by the [api.video Code of Conduct](https://github.com/apivideo/.github/blob/main/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [help@api.video](mailto:help@api.video).

@@ -46,3 +50,3 @@ ## I just have a question!

Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](https://github.com/apivideo/api.video-contribution/blob/main/.github/ISSUE_TEMPLATE/bug_report.md), the information it asks for helps us resolve issues faster.
Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](https://github.com/apivideo/.github/blob/main/.github/ISSUE_TEMPLATE/bug_report.md), the information it asks for helps us resolve issues faster.

@@ -59,3 +63,3 @@ > **Note:** If you find a **Closed** issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one.

Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined which repository your bug is related to, create an issue on that repository and provide the following information by filling in [the template](https://github.com/apivideo/api.video-contribution/blob/main/.github/ISSUE_TEMPLATE/bug_report.md).
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined which repository your bug is related to, create an issue on that repository and provide the following information by filling in [the template](https://github.com/apivideo/.github/blob/main/.github/ISSUE_TEMPLATE/bug_report.md).

@@ -87,3 +91,3 @@ Explain the problem and include additional details to help maintainers reproduce the problem:

When you are creating an enhancement suggestion, please [include as many details as possible](#how-do-i-submit-a-good-enhancement-suggestion). Fill in [the template](https://github.com/apivideo/api.video-contribution/blob/main/.github/ISSUE_TEMPLATE/feature_request.md), including the steps that you imagine you would take if the feature you're requesting existed.
When you are creating an enhancement suggestion, please [include as many details as possible](#how-do-i-submit-a-good-enhancement-suggestion). Fill in [the template](https://github.com/apivideo/.github/blob/main/.github/ISSUE_TEMPLATE/feature_request.md), including the steps that you imagine you would take if the feature you're requesting existed.

@@ -116,4 +120,4 @@

1. Follow all instructions in [the template](PULL_REQUEST_TEMPLATE.md)
2. Follow the [styleguides](#styleguides)
1. Follow all instructions in [the template](https://github.com/apivideo/.github/blob/main/PULL_REQUEST_TEMPLATE.md)
2. Follow the [style guides](#style-guides)
3. After you submit your pull request, verify that all [status checks](https://help.github.com/articles/about-status-checks/) are passing <details><summary>What if the status checks are failing?</summary>If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.</details>

@@ -154,3 +158,3 @@

### Issue and pull request Llabels
### Issue and pull request labels

@@ -157,0 +161,0 @@ This section lists the labels we use to help us track and manage issues and pull requests on all api.video repositories.

import { ProgressiveUploaderOptionsWithUploadToken, ProgressiveUploaderOptionsWithAccessToken, VideoUploadResponse } from "@api.video/video-uploader";
export { ProgressiveUploaderOptionsWithAccessToken, ProgressiveUploaderOptionsWithUploadToken } from "@api.video/video-uploader";
export interface Options {

@@ -3,0 +4,0 @@ title?: string;

{
"name": "@api.video/media-recorder",
"version": "1.0.3",
"version": "1.0.4",
"description": "api.video media recorder - upload video from your webcam with ease",

@@ -41,5 +41,5 @@ "repository": {

"dependencies": {
"@api.video/video-uploader": "^1.0.4",
"@api.video/video-uploader": "^1.0.9",
"core-js": "^3.8.3"
}
}
import { ProgressiveUploader, ProgressiveUploaderOptionsWithUploadToken, ProgressiveUploaderOptionsWithAccessToken, VideoUploadResponse } from "@api.video/video-uploader";
export { ProgressiveUploaderOptionsWithAccessToken, ProgressiveUploaderOptionsWithUploadToken } from "@api.video/video-uploader";
export interface Options {

@@ -21,3 +23,6 @@ title?: string;

this.streamUpload = new ProgressiveUploader(options);
this.streamUpload = new ProgressiveUploader({
preventEmptyParts: true,
...options
});

@@ -24,0 +29,0 @@ this.mediaRecorder.ondataavailable = (e) => this.onDataAvailable(e);

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc