@editframe/vite-plugin 0.18.21-beta.0 → 0.18.22-beta.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.
@@ -25,7 +25,7 @@ const generateTrackFragmentIndexFromPath = async (absolutePath) => {
25
25
  const trackId = streamIndex + 1;
26
26
  log(`Processing track ${trackId} (${stream.codec_type})`);
27
27
  const trackStream = probe.createTrackReadstream(streamIndex);
28
- const trackIdMapping = { 1: trackId };
28
+ const trackIdMapping = { 0: trackId };
29
29
  const singleTrackIndexes = await generateFragmentIndex(trackStream, startTimeOffsetMs, trackIdMapping);
30
30
  Object.assign(trackFragmentIndexes, singleTrackIndexes);
31
31
  }
@@ -0,0 +1,9 @@
1
+ interface VitePluginEditframeOptions {
2
+ root: string;
3
+ cacheRoot: string;
4
+ }
5
+ export declare const vitePluginEditframe: (options: VitePluginEditframeOptions) => {
6
+ name: string;
7
+ configureServer(this: void, server: import('vite').ViteDevServer): void;
8
+ };
9
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editframe/vite-plugin",
3
- "version": "0.18.21-beta.0",
3
+ "version": "0.18.22-beta.0",
4
4
  "description": "Editframe vite plugin",
5
5
  "exports": {
6
6
  ".": {
@@ -19,7 +19,7 @@
19
19
  "author": "",
20
20
  "license": "UNLICENSED",
21
21
  "dependencies": {
22
- "@editframe/assets": "0.18.21-beta.0",
22
+ "@editframe/assets": "0.18.22-beta.0",
23
23
  "connect": "^3.7.0",
24
24
  "debug": "^4.3.5",
25
25
  "mime": "^4.0.3",