@solid-primitives/audio
Advanced tools
Comparing version 1.1.5 to 1.1.6
{ | ||
"name": "@solid-primitives/audio", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Primitives to manage audio and single sounds.", | ||
@@ -24,3 +24,3 @@ "author": "David Di Biase <dave.dibiase@gmail.com>", | ||
"type": "module", | ||
"main": "./dist/index.js", | ||
"main": "./dist/server.cjs", | ||
"module": "./dist/index.js", | ||
@@ -30,7 +30,8 @@ "types": "./dist/index.d.ts", | ||
"node": { | ||
"import": "./dist/server.js" | ||
"import": "./dist/server.js", | ||
"require": "./dist/server.cjs" | ||
}, | ||
"import": "./dist/index.js" | ||
}, | ||
"scripts": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, "scripts": { | ||
"start": "vite -r ./dev/ -c ./dev/vite.config.ts", | ||
@@ -37,0 +38,0 @@ "build": "tsup", |
@@ -34,6 +34,6 @@ # @solid-primitives/audio | ||
```ts | ||
const { play, pause } = createAudioManager("example.wav"); | ||
const { play, pause } = createAudio("example.wav"); | ||
``` | ||
### createAIdop | ||
### createAudioManager | ||
@@ -67,6 +67,6 @@ Creates a very basic audio/sound player. | ||
1.1.5 | ||
1.1.6 | ||
Added proper SSR support. | ||
Added proper SSR and CJS support. | ||
</details> |
16262
8
332