@solid-primitives/audio
Advanced tools
Comparing version 1.3.14 to 1.3.15
@@ -103,3 +103,3 @@ import { onMount, onCleanup, createEffect } from 'solid-js'; | ||
}); | ||
if (playing && playing() == true) { | ||
if (playing && playing()) { | ||
play().catch((e) => { | ||
@@ -130,3 +130,3 @@ if (e.name === "NotAllowedError") { | ||
if (playing) { | ||
createEffect(() => playing() === true ? play() : pause()); | ||
createEffect(() => playing() ? play() : pause()); | ||
} | ||
@@ -133,0 +133,0 @@ if (volume) { |
{ | ||
"name": "@solid-primitives/audio", | ||
"version": "1.3.14", | ||
"version": "1.3.15", | ||
"description": "Primitives to manage audio and single sounds.", | ||
@@ -37,3 +37,6 @@ "author": "David Di Biase <dave.dibiase@gmail.com>", | ||
}, | ||
"require": "./dist/index.cjs" | ||
"require": { | ||
"types": "./dist/index.d.cts", | ||
"default": "./dist/index.cjs" | ||
} | ||
}, | ||
@@ -47,8 +50,8 @@ "typesVersions": {}, | ||
"devDependencies": { | ||
"solid-heroicons": "^3.2.3", | ||
"solid-js": "1.7.6" | ||
"solid-heroicons": "^3.2.4", | ||
"solid-js": "^1.8.7" | ||
}, | ||
"dependencies": { | ||
"@solid-primitives/static-store": "^0.0.5", | ||
"@solid-primitives/utils": "^6.2.1" | ||
"@solid-primitives/static-store": "^0.0.6", | ||
"@solid-primitives/utils": "^6.2.2" | ||
}, | ||
@@ -60,4 +63,4 @@ "peerDependencies": { | ||
"start": "vite serve dev", | ||
"dev": "jiti ../../scripts/dev.ts", | ||
"build": "jiti ../../scripts/build.ts", | ||
"dev": "tsx ../../scripts/dev.ts", | ||
"build": "tsx ../../scripts/build.ts", | ||
"vitest": "vitest -c ../../configs/vitest.config.ts", | ||
@@ -64,0 +67,0 @@ "test": "pnpm run vitest", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
25015
8
+ Added@solid-primitives/static-store@0.0.6(transitive)
- Removed@solid-primitives/static-store@0.0.5(transitive)