From 176e2da6e051ffc89772f4bf94a486d8656c25f3 Mon Sep 17 00:00:00 2001
From: Maccesch <maccesch@synphonyte.com>
Date: Wed, 6 Nov 2024 17:12:34 -0500
Subject: [PATCH] backported fixes

---
 CHANGELOG.md | 4 ++++
 Cargo.toml   | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b72a4906..7b8e72a5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,10 @@
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [0.13.8] - 2024-11-06
+
+- Backported fixes from 0.14.0-rc1
+
 ## [0.13.7] - 2024-10-20
 
 - Added video and audio options to `use_user_media` (thanks to @sauloco).
diff --git a/Cargo.toml b/Cargo.toml
index 0627e4e8..7d972e26 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "leptos-use"
-version = "0.13.7"
+version = "0.13.8"
 edition = "2021"
 authors = ["Marc-Stefan Cassola"]
 categories = ["gui", "web-programming"]
@@ -34,7 +34,7 @@ num = { version = "0.4", optional = true }
 paste = "1"
 thiserror = "1"
 unic-langid = { version = "0.9", optional = true }
-wasm-bindgen = "=0.2.93"
+wasm-bindgen = "0.2.95"
 wasm-bindgen-futures = "0.4"
 web-sys = { version = "=0.3.70", optional = true }
 
@@ -343,6 +343,7 @@ use_user_media = [
     "web-sys/MediaStream",
     "web-sys/MediaStreamConstraints",
     "web-sys/MediaStreamTrack",
+    "web-sys/MediaTrackConstraints",
     "web-sys/VideoFacingModeEnum",
 ]
 use_web_notification = [
@@ -353,7 +354,6 @@ use_web_notification = [
     "web-sys/NotificationOptions",
     "web-sys/NotificationPermission",
     "web-sys/NotificationDirection",
-    "web-sys/MediaTrackConstraints",
     "web-sys/VisibilityState"
 ]
 use_websocket = ["dep:web-sys", "dep:codee"]