Skip to content

Commit

Permalink
[build] Generate scripts based on latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mebjas committed Nov 7, 2020
1 parent e7f7306 commit 158c967
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 191 deletions.
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### Version 1.2.4

### Version 1.2.3
- Added support for `videoConstraints` in config as an experimental config.
```js
Expand All @@ -18,6 +20,7 @@

- Added two new experimental APIs in `Html5Qrcode` class
- `getRunningTrackCapabilities()` - New

```js
/**
* Returns the capabilities of the running video track.
Expand All @@ -26,9 +29,10 @@
* @returns the capabilities of a running video track.
* @throws error if the scanning is not in running state.
*/
getRunningTrackCapabilities()
getRunningTrackCapabilities() {}
```
- `applyVideoConstraints(videoConstaints)` - New

```js
/**
* Apply a video constraints on running video track.
Expand Down
2 changes: 1 addition & 1 deletion minified/html5-qrcode.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html5-qrcode",
"version": "1.2.3",
"version": "1.2.4",
"description": "a cross platform HTML5 QR Code scanner",
"main": "html5-qrcode.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions transpiled/html5-qrcode-scanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ var Html5QrcodeScanner = /*#__PURE__*/function () {
* mirrored feed if you are facing performance constraints.
* - videoConstraints: {MediaTrackConstraints}, Optional
* @beta(this config is not well supported yet).
*
*
* Important: When passed this will override other parameters
* like 'cameraIdOrConfig' or configurations like 'aspectRatio'.
*
*
* videoConstraints should be of type {@code MediaTrackConstraints}
* as defined in
* https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints
Expand Down
Loading

0 comments on commit 158c967

Please sign in to comment.