Skip to content

Commit

Permalink
Merge pull request #26 from AndyLeezard/changeset-release/master
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
andy-leezard authored Sep 26, 2023
2 parents 37009bd + 6c90d31 commit 8b6f478
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 0 additions & 12 deletions .changeset/tiny-cats-fry.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# react-audio-tracks

## 1.2.4

### Patch Changes

- 37009bd: New feature - `updateFrequencyMs` option allows you to subscribe to `timeupdate` events at a fixed custom frequency, eliminating device or browser-specific frequency differences that can result in unexpected user experience.
New feature - `onResolve` callback that runs ONLY when the audio has played successfully without error.

New property - `useTrackStream` hook provides a new value `trackIsPlaying`, which is a shortcut for `trackInstance.getState().isPlaying`.
New property - `error` state and `ended` states are separated and distinguished in `AudioItemState`.

- Minor performance improvements and bug fixes.

## 1.2.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-audio-tracks",
"version": "1.2.3",
"version": "1.2.4",
"description": "A light-weight solution to manage audio tracks and captions in front-end web projects. Provides a handy custom react hook.",
"license": "MIT",
"main": "dist/index.js",
Expand Down

1 comment on commit 8b6f478

@vercel
Copy link

@vercel vercel bot commented on 8b6f478 Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.