@editframe/assets 0.8.0-beta.5 → 0.8.0-beta.7

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.
@@ -1,5 +1,4 @@
1
1
  import { ReadableStream as ReadableStreamNode } from 'node:stream/web';
2
-
3
2
  import * as MP4Box from "mp4box";
4
3
  type AnyReadableStream = ReadableStream<Uint8Array> | ReadableStreamNode<Uint8Array>;
5
4
  type FrameCallback = (frame: VideoFrame) => void;
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod';
2
-
3
2
  export declare const VideoRenderOptions: z.ZodObject<{
4
3
  mode: z.ZodEnum<["canvas", "screenshot"]>;
5
4
  strategy: z.ZodEnum<["v1", "v2"]>;
@@ -1,5 +1,4 @@
1
1
  import { Readable } from 'node:stream';
2
-
3
2
  interface TaskOptions<T extends unknown[]> {
4
3
  label: string;
5
4
  filename: (absolutePath: string, ...args: T) => string;
package/dist/md5.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { ReadStream } from 'node:fs';
2
2
  import { Ora } from 'ora';
3
-
4
3
  export declare function md5Directory(directory: string, spinner?: Ora): Promise<string>;
5
4
  export declare function md5FilePath(filePath: string): Promise<string>;
6
5
  export declare function md5ReadStream(readStream: ReadStream): Promise<string>;
@@ -1,4 +1,3 @@
1
1
  import { Writable } from 'node:stream';
2
2
  import { MP4File } from './MP4File.ts';
3
-
4
3
  export declare const mp4FileWritable: (mp4File: MP4File) => Writable;
@@ -1,5 +1,4 @@
1
1
  import { PassThrough } from 'node:stream';
2
-
3
2
  export declare const generateTrackFromPath: (absolutePath: string, trackId: number) => Promise<PassThrough>;
4
3
  export declare const generateTrackTask: (rootDir: string, absolutePath: string, trackId: number) => Promise<import('../idempotentTask.ts').TaskResult>;
5
4
  export declare const generateTrack: (cacheRoot: string, absolutePath: string, url: string) => Promise<import('../idempotentTask.ts').TaskResult>;
@@ -1,4 +1,3 @@
1
1
  import { TrackFragmentIndex } from '../Probe.ts';
2
-
3
2
  export declare const generateTrackFragmentIndexFromPath: (absolutePath: string) => Promise<Record<number, TrackFragmentIndex>>;
4
3
  export declare const generateTrackFragmentIndex: (cacheRoot: string, absolutePath: string) => Promise<import('../idempotentTask.ts').TaskResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editframe/assets",
3
- "version": "0.8.0-beta.5",
3
+ "version": "0.8.0-beta.7",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -35,7 +35,7 @@
35
35
  "ora": "^8.0.1",
36
36
  "rollup-plugin-tsconfig-paths": "^1.5.2",
37
37
  "typescript": "^5.5.4",
38
- "vite-plugin-dts": "^3.9.1",
38
+ "vite-plugin-dts": "^4.0.3",
39
39
  "vite-tsconfig-paths": "^4.3.2"
40
40
  }
41
- }
41
+ }