spectrogram-js 1.0.2 → 1.1.0

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.
@@ -7,6 +7,7 @@ export declare class Spectrogram {
7
7
  private model;
8
8
  private renderer;
9
9
  constructor(config: SpectrogramConfig);
10
+ init(): Promise<void>;
10
11
  setData(data: SpectrogramData | TimestampedData): void;
11
12
  destroy(): void;
12
13
  render(options: Omit<RenderOptions, 'freqRange'> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spectrogram-js",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "🎶 A simple and intuitive TypeScript library for generating spectrogram waterfall plots.",
5
5
  "main": "dist/spectrogram-js.cjs.js",
6
6
  "module": "dist/spectrogram-js.es.js",