supersonic-scsynth-samples 0.1.2 → 0.1.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 (3) hide show
  1. package/README.md +2 -2
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -16,7 +16,7 @@ npm install supersonic-scsynth-samples
16
16
  import { SuperSonic } from 'supersonic-scsynth';
17
17
 
18
18
  const sonic = new SuperSonic({
19
- audioBaseURL: 'https://unpkg.com/supersonic-scsynth-samples@latest/samples/'
19
+ sampleBaseURL: 'https://unpkg.com/supersonic-scsynth-samples@latest/samples/'
20
20
  });
21
21
 
22
22
  await sonic.init();
@@ -37,7 +37,7 @@ import { SuperSonic } from 'supersonic-scsynth';
37
37
  import { SAMPLES_DIR } from 'supersonic-scsynth-samples';
38
38
 
39
39
  const sonic = new SuperSonic({
40
- audioBaseURL: SAMPLES_DIR + '/'
40
+ sampleBaseURL: SAMPLES_DIR + '/'
41
41
  });
42
42
  ```
43
43
 
package/index.js CHANGED
@@ -11,8 +11,8 @@ const __dirname = dirname(__filename);
11
11
  export const SAMPLES_DIR = join(__dirname, 'samples');
12
12
 
13
13
  // CDN URLs for convenience
14
- export const UNPKG_BASE = 'https://unpkg.com/supersonic-scsynth-samples@0.1.2/samples/';
15
- export const JSDELIVR_BASE = 'https://cdn.jsdelivr.net/npm/supersonic-scsynth-samples@0.1.2/samples/';
14
+ export const UNPKG_BASE = 'https://unpkg.com/supersonic-scsynth-samples@0.1.3/samples/';
15
+ export const JSDELIVR_BASE = 'https://cdn.jsdelivr.net/npm/supersonic-scsynth-samples@0.1.3/samples/';
16
16
 
17
17
  // Helper to get sample path
18
18
  export function getSamplePath(filename) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supersonic-scsynth-samples",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "All 206 Sonic Pi audio samples for SuperSonic scsynth",
5
5
  "main": "index.js",
6
6
  "type": "module",