@remotion/whisper-web 4.0.428 → 4.0.429

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.
Files changed (3) hide show
  1. package/README.md +7 -7
  2. package/main.d.ts +64 -29
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # @remotion/whisper-web
2
-
2
+
3
3
  Helpers for using Whisper.cpp in browser using WASM
4
-
4
+
5
5
  [![NPM Downloads](https://img.shields.io/npm/dm/@remotion/whisper-web.svg?style=flat&color=black&label=Downloads)](https://npmcharts.com/compare/@remotion/whisper-web?minimal=true)
6
-
6
+
7
7
  ## Installation
8
-
8
+
9
9
  ```bash
10
10
  npm install @remotion/whisper-web --save-exact
11
11
  ```
12
-
12
+
13
13
  When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
14
14
  Remove the `^` character from the version number to use the exact version.
15
-
15
+
16
16
  ## Usage
17
-
17
+
18
18
  See the [documentation](https://www.remotion.dev/docs/whisper-web) for more information.
package/main.d.ts CHANGED
@@ -1,37 +1,72 @@
1
1
  // TypeScript bindings for emscripten-generated code. Automatically generated at compile time.
2
2
  declare namespace RuntimeExports {
3
- let print: any;
4
- let printErr: any;
5
- /**
6
- * @param {string|null=} returnType
7
- * @param {Array=} argTypes
8
- * @param {Arguments|Array=} args
9
- * @param {Object=} opts
10
- */
11
- function ccall(ident: any, returnType?: (string | null) | undefined, argTypes?: any[] | undefined, args?: (Arguments | any[]) | undefined, opts?: any | undefined): any;
12
- /**
13
- * @param {string=} returnType
14
- * @param {Array=} argTypes
15
- * @param {Object=} opts
16
- */
17
- function cwrap(ident: any, returnType?: string | undefined, argTypes?: any[] | undefined, opts?: any | undefined): any;
18
- let HEAPU8: any;
19
- function FS_createPath(...args: any[]): any;
20
- function FS_createDataFile(...args: any[]): any;
21
- function FS_createPreloadedFile(parent: any, name: any, url: any, canRead: any, canWrite: any, onload: any, onerror: any, dontCreateFile: any, canOwn: any, preFinish: any): void;
22
- function FS_unlink(...args: any[]): any;
23
- function FS_createLazyFile(...args: any[]): any;
24
- function FS_createDevice(...args: any[]): any;
25
- let addRunDependency: any;
26
- let removeRunDependency: any;
27
- }
28
- interface WasmModule {
3
+ let print: any;
4
+ let printErr: any;
5
+ /**
6
+ * @param {string|null=} returnType
7
+ * @param {Array=} argTypes
8
+ * @param {Arguments|Array=} args
9
+ * @param {Object=} opts
10
+ */
11
+ function ccall(
12
+ ident: any,
13
+ returnType?: (string | null) | undefined,
14
+ argTypes?: any[] | undefined,
15
+ args?: (Arguments | any[]) | undefined,
16
+ opts?: any | undefined,
17
+ ): any;
18
+ /**
19
+ * @param {string=} returnType
20
+ * @param {Array=} argTypes
21
+ * @param {Object=} opts
22
+ */
23
+ function cwrap(
24
+ ident: any,
25
+ returnType?: string | undefined,
26
+ argTypes?: any[] | undefined,
27
+ opts?: any | undefined,
28
+ ): any;
29
+ let HEAPU8: any;
30
+ function FS_createPath(...args: any[]): any;
31
+ function FS_createDataFile(...args: any[]): any;
32
+ function FS_createPreloadedFile(
33
+ parent: any,
34
+ name: any,
35
+ url: any,
36
+ canRead: any,
37
+ canWrite: any,
38
+ onload: any,
39
+ onerror: any,
40
+ dontCreateFile: any,
41
+ canOwn: any,
42
+ preFinish: any,
43
+ ): void;
44
+ function FS_unlink(...args: any[]): any;
45
+ function FS_createLazyFile(...args: any[]): any;
46
+ function FS_createDevice(...args: any[]): any;
47
+ let addRunDependency: any;
48
+ let removeRunDependency: any;
29
49
  }
50
+ interface WasmModule {}
30
51
 
31
- type EmbindString = ArrayBuffer|Uint8Array|Uint8ClampedArray|Int8Array|string;
52
+ type EmbindString =
53
+ | ArrayBuffer
54
+ | Uint8Array
55
+ | Uint8ClampedArray
56
+ | Int8Array
57
+ | string;
32
58
  interface EmbindModule {
33
- full_default(_0: EmbindString, _1: any, _2: EmbindString, _3: EmbindString, _4: number, _5: boolean): number;
59
+ full_default(
60
+ _0: EmbindString,
61
+ _1: any,
62
+ _2: EmbindString,
63
+ _3: EmbindString,
64
+ _4: number,
65
+ _5: boolean,
66
+ ): number;
34
67
  }
35
68
 
36
69
  export type MainModule = WasmModule & typeof RuntimeExports & EmbindModule;
37
- export default function MainModuleFactory (options?: unknown): Promise<MainModule>;
70
+ export default function MainModuleFactory(
71
+ options?: unknown,
72
+ ): Promise<MainModule>;
package/package.json CHANGED
@@ -3,21 +3,21 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/whisper-web"
4
4
  },
5
5
  "name": "@remotion/whisper-web",
6
- "version": "4.0.428",
6
+ "version": "4.0.429",
7
7
  "main": "dist/index.js",
8
8
  "sideEffects": false,
9
9
  "scripts": {
10
- "formatting": "prettier src --check",
10
+ "formatting": "oxfmt src --check",
11
11
  "lint": "eslint src",
12
12
  "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
13
13
  },
14
14
  "author": "Hunain Ahmed <junaidhunain6@gmail.com>",
15
15
  "license": "UNLICENSED",
16
16
  "dependencies": {
17
- "@remotion/captions": "4.0.428"
17
+ "@remotion/captions": "4.0.429"
18
18
  },
19
19
  "devDependencies": {
20
- "@remotion/eslint-config-internal": "4.0.428",
20
+ "@remotion/eslint-config-internal": "4.0.429",
21
21
  "eslint": "9.19.0",
22
22
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
23
23
  },