@types/wavesurfer.js
Advanced tools
Comparing version 4.6.0 to 5.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for wavesurfer.js 4.6 | ||
// Type definitions for wavesurfer.js 5.0 | ||
// Project: https://github.com/katspaugh/wavesurfer.js | ||
@@ -15,2 +15,3 @@ // Definitions by: Yusuke Higuchi <https://github.com/higuri> | ||
import MinimapPlugin = require("./src/plugin/minimap"); | ||
import PlayheadPlugin = require("./src/plugin/playhead"); | ||
import RegionsPlugin = require("./src/plugin/regions"); | ||
@@ -64,2 +65,4 @@ import SpectogramPlugin = require("./src/plugin/spectogram"); | ||
minimap: MinimapPlugin; | ||
/** Only available in WaveSurfer instances with PlayheadPlugin. */ | ||
playhead: PlayheadPlugin; | ||
/** Only available in WaveSurfer instances with RegionsPlugin. */ | ||
@@ -80,3 +83,3 @@ regions: RegionsPlugin; | ||
exportImage(format?: string, quality?: number, type?: "dataURL" | "blob"): string | string[] | Promise<Blob[]>; | ||
exportPCM(length?: number, accuracy?: number, noWindow?: boolean, start?: number, end?: number): Promise<string>; | ||
exportPCM(length?: number, accuracy?: number, noWindow?: boolean, start?: number, end?: number): Promise<Peaks>; | ||
getActivePlugins(): { [pluginName: string]: boolean }; | ||
@@ -192,2 +195,3 @@ getBackgroundColor(): string; | ||
splitChannelsOptions?: SplitChannelsOptions; | ||
vertical?: boolean; | ||
waveColor?: string | CanvasGradient; | ||
@@ -194,0 +198,0 @@ xhr?: XHROptions; |
{ | ||
"name": "@types/wavesurfer.js", | ||
"version": "4.6.0", | ||
"version": "5.0.0", | ||
"description": "TypeScript definitions for wavesurfer.js", | ||
@@ -37,4 +37,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "4377f1a1f5e1bf7c36ef48497f1a33ef60fdec3bafec88786f3ee5d0e6b5e8bd", | ||
"typesPublisherContentHash": "27a407a484641a826bfec469a936fc8f6f800b3ced62cf32a7f5c57db4569711", | ||
"typeScriptVersion": "3.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 28 Apr 2021 13:01:22 GMT | ||
* Last updated: Mon, 03 May 2021 14:31:25 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `WaveSurfer` |
@@ -117,2 +117,3 @@ import { | ||
preventContextMenu?: boolean; | ||
showTooltip?: boolean; | ||
} | ||
@@ -119,0 +120,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
36777
14
887
0