@remotion/whisper-web 4.0.428 → 4.0.430
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 +7 -7
- package/dist/esm/index.mjs +0 -16
- package/main.d.ts +64 -29
- package/package.json +5 -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
|
[](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/dist/esm/index.mjs
CHANGED
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __toESM = (mod, isNodeMode, target) => {
|
|
7
|
-
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
8
|
-
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
9
|
-
for (let key of __getOwnPropNames(mod))
|
|
10
|
-
if (!__hasOwnProp.call(to, key))
|
|
11
|
-
__defProp(to, key, {
|
|
12
|
-
get: () => mod[key],
|
|
13
|
-
enumerable: true
|
|
14
|
-
});
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
1
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
18
2
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
19
3
|
}) : x)(function(x) {
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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 =
|
|
52
|
+
type EmbindString =
|
|
53
|
+
| ArrayBuffer
|
|
54
|
+
| Uint8Array
|
|
55
|
+
| Uint8ClampedArray
|
|
56
|
+
| Int8Array
|
|
57
|
+
| string;
|
|
32
58
|
interface EmbindModule {
|
|
33
|
-
|
|
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
|
|
70
|
+
export default function MainModuleFactory(
|
|
71
|
+
options?: unknown,
|
|
72
|
+
): Promise<MainModule>;
|
package/package.json
CHANGED
|
@@ -3,21 +3,22 @@
|
|
|
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.
|
|
6
|
+
"version": "4.0.430",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
10
|
-
"formatting": "
|
|
10
|
+
"formatting": "oxfmt src --check",
|
|
11
|
+
"format": "oxfmt src",
|
|
11
12
|
"lint": "eslint src",
|
|
12
13
|
"make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
|
|
13
14
|
},
|
|
14
15
|
"author": "Hunain Ahmed <junaidhunain6@gmail.com>",
|
|
15
16
|
"license": "UNLICENSED",
|
|
16
17
|
"dependencies": {
|
|
17
|
-
"@remotion/captions": "4.0.
|
|
18
|
+
"@remotion/captions": "4.0.429"
|
|
18
19
|
},
|
|
19
20
|
"devDependencies": {
|
|
20
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
21
|
+
"@remotion/eslint-config-internal": "4.0.429",
|
|
21
22
|
"eslint": "9.19.0",
|
|
22
23
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
23
24
|
},
|