supersonic-scsynth-bundle 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,11 +20,12 @@ This installs all three packages as dependencies.
20
20
 
21
21
  ## Usage
22
22
 
23
- Same API as using the packages separately:
23
+ **Important:** SuperSonic cannot be loaded from a CDN. You must self-host the core library and serve it with COOP/COEP headers. See the [main README](https://github.com/samaaron/supersonic#cdn-usage) for details.
24
24
 
25
25
  ```javascript
26
- import { SuperSonic } from 'supersonic-scsynth-bundle';
26
+ import { SuperSonic } from './dist/supersonic.js';
27
27
 
28
+ // Synthdefs and samples can use CDN
28
29
  const sonic = new SuperSonic({
29
30
  sampleBaseURL: 'https://unpkg.com/supersonic-scsynth-samples@latest/samples/',
30
31
  synthdefBaseURL: 'https://unpkg.com/supersonic-scsynth-synthdefs@latest/synthdefs/'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supersonic-scsynth-bundle",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Complete SuperSonic bundle: scsynth engine + Sonic Pi synthdefs and samples",
5
5
  "main": "index.js",
6
6
  "type": "module",