@waveform-playlist/browser 17.0.0-next.1 → 17.0.0-next.10
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.
- package/README.md +5 -5
- package/dist/index.d.mts +145 -126
- package/dist/index.d.ts +145 -126
- package/dist/index.js +987 -820
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +803 -637
- package/dist/index.mjs.map +1 -1
- package/dist/tone.d.mts +0 -6
- package/dist/tone.d.ts +0 -6
- package/dist/tone.js +18 -2
- package/dist/tone.js.map +1 -1
- package/dist/tone.mjs +18 -2
- package/dist/tone.mjs.map +1 -1
- package/package.json +11 -9
package/dist/tone.d.mts
CHANGED
|
@@ -436,12 +436,6 @@ interface WamEffectGuiProps {
|
|
|
436
436
|
*/
|
|
437
437
|
declare const WamEffectGui: react__default.FC<WamEffectGuiProps>;
|
|
438
438
|
|
|
439
|
-
/**
|
|
440
|
-
* Dynamic loader for the optional '@dawcore/wam' peer (the @dawcore/midi
|
|
441
|
-
* loadMidiImpl pattern). Keeps WAM hosting out of the bundle for consumers
|
|
442
|
-
* that never use it; `import type` from '@dawcore/wam' elsewhere is fine
|
|
443
|
-
* (erased at runtime).
|
|
444
|
-
*/
|
|
445
439
|
type WamModule = typeof _dawcore_wam;
|
|
446
440
|
declare function loadWamModule(): Promise<WamModule>;
|
|
447
441
|
|
package/dist/tone.d.ts
CHANGED
|
@@ -436,12 +436,6 @@ interface WamEffectGuiProps {
|
|
|
436
436
|
*/
|
|
437
437
|
declare const WamEffectGui: react__default.FC<WamEffectGuiProps>;
|
|
438
438
|
|
|
439
|
-
/**
|
|
440
|
-
* Dynamic loader for the optional '@dawcore/wam' peer (the @dawcore/midi
|
|
441
|
-
* loadMidiImpl pattern). Keeps WAM hosting out of the bundle for consumers
|
|
442
|
-
* that never use it; `import type` from '@dawcore/wam' elsewhere is fine
|
|
443
|
-
* (erased at runtime).
|
|
444
|
-
*/
|
|
445
439
|
type WamModule = typeof _dawcore_wam;
|
|
446
440
|
declare function loadWamModule(): Promise<WamModule>;
|
|
447
441
|
|
package/dist/tone.js
CHANGED
|
@@ -88,6 +88,9 @@ __export(tone_exports, {
|
|
|
88
88
|
});
|
|
89
89
|
module.exports = __toCommonJS(tone_exports);
|
|
90
90
|
|
|
91
|
+
// <define:__INSTALL_SPECS__>
|
|
92
|
+
var define_INSTALL_SPECS_default = { "@dawcore/wam": "@dawcore/wam@^0.0.5-next.0", "@dnd-kit/abstract": "@dnd-kit/abstract@^0.5.0", "@dnd-kit/dom": "@dnd-kit/dom@^0.5.0", "@dnd-kit/react": "@dnd-kit/react@^0.5.0", "@waveform-playlist/annotations": "@waveform-playlist/annotations@^14.0.0-next.6", "@waveform-playlist/media-element-playout": "@waveform-playlist/media-element-playout@^12.4.0-next.4", "@waveform-playlist/playout": "@waveform-playlist/playout@^13.0.0-next.4", "@waveform-playlist/recording": "@waveform-playlist/recording@^14.0.0-next.6", react: "react@^19.0.0", "react-dom": "react-dom@^19.0.0", "styled-components": "styled-components@^6.0.0", tone: "tone@^15.0.0", "@waveform-playlist/spectrogram": "@waveform-playlist/spectrogram@^15.0.0-next.4" };
|
|
93
|
+
|
|
91
94
|
// src/hooks/useAudioEffects.ts
|
|
92
95
|
var import_react = require("react");
|
|
93
96
|
var import_tone = require("tone");
|
|
@@ -892,6 +895,18 @@ function createEffectChain(effects) {
|
|
|
892
895
|
};
|
|
893
896
|
}
|
|
894
897
|
|
|
898
|
+
// src/utils/installCommand.ts
|
|
899
|
+
var BUILT_SPECS = typeof define_INSTALL_SPECS_default === "undefined" ? {} : define_INSTALL_SPECS_default;
|
|
900
|
+
function formatInstallCommand(specs, names) {
|
|
901
|
+
return "npm install " + names.map((name) => {
|
|
902
|
+
var _a;
|
|
903
|
+
return `"${(_a = specs[name]) != null ? _a : name}"`;
|
|
904
|
+
}).join(" ");
|
|
905
|
+
}
|
|
906
|
+
function installCommand(...names) {
|
|
907
|
+
return formatInstallCommand(BUILT_SPECS, names);
|
|
908
|
+
}
|
|
909
|
+
|
|
895
910
|
// src/effects/loadWam.ts
|
|
896
911
|
function loadWamModule() {
|
|
897
912
|
return __async(this, null, function* () {
|
|
@@ -900,7 +915,7 @@ function loadWamModule() {
|
|
|
900
915
|
} catch (err) {
|
|
901
916
|
const detail = err instanceof Error ? err.message : String(err);
|
|
902
917
|
throw new Error(
|
|
903
|
-
"[waveform-playlist] WAM plugin support requires the optional '@dawcore/wam' package.\nInstall it with:
|
|
918
|
+
"[waveform-playlist] WAM plugin support requires the optional '@dawcore/wam' package.\nInstall it with: " + installCommand("@dawcore/wam") + "\nOriginal error: " + detail
|
|
904
919
|
);
|
|
905
920
|
}
|
|
906
921
|
});
|
|
@@ -1897,7 +1912,8 @@ var PlaylistMixerContext = slot();
|
|
|
1897
1912
|
var TrackReorderPreviewContext = slot();
|
|
1898
1913
|
var TrimPreviewContext = slot();
|
|
1899
1914
|
var TrimPreviewPeaksContext = slot();
|
|
1900
|
-
var
|
|
1915
|
+
var DragGuardContext = slot();
|
|
1916
|
+
var RecordingTrackContext = slot();
|
|
1901
1917
|
var PlaybackRateContext = slot();
|
|
1902
1918
|
var MediaElementTrackContext = slot();
|
|
1903
1919
|
function useSlot(context, hookName, needs) {
|