alpha2 0.4.0 → 0.4.2
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/dist/export-failure.d.ts +5 -2
- package/package.json +1 -1
- package/wasm/alpha2_audio_worklet.wasm +0 -0
- package/wasm/alpha2_extensions_bg.wasm +0 -0
- package/wasm/alpha2_wasm.js +9 -9
- package/wasm/alpha2_wasm_bg.wasm +0 -0
- /package/wasm/snippets/{alpha2-wasm-d60137a7bad549ac → alpha2-wasm-0797f901b5bd49b8}/inline0.js +0 -0
- /package/wasm/snippets/{alpha2-wasm-d60137a7bad549ac → alpha2-wasm-0797f901b5bd49b8}/inline1.js +0 -0
- /package/wasm/snippets/{alpha2-wasm-d60137a7bad549ac → alpha2-wasm-0797f901b5bd49b8}/inline2.js +0 -0
package/dist/export-failure.d.ts
CHANGED
|
@@ -17,8 +17,11 @@ export type ExportFailureCode = "OUT_OF_MEMORY" | "ALLOCATION_FAILED" | "DEVICE_
|
|
|
17
17
|
* its own step.
|
|
18
18
|
*/
|
|
19
19
|
export type ExportPhase = "prepare" | "decode" | "upload" | "render" | "readback" | "encode" | "mux" | "publish" | "download" | "cleanup";
|
|
20
|
-
/**
|
|
21
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Which process reported the failure: `node` is `@alpha2-sh/node` and `python` the `alpha2` Python
|
|
22
|
+
* package, each a client of the native host.
|
|
23
|
+
*/
|
|
24
|
+
export type ExportOrigin = "browser" | "node" | "python" | "native-host";
|
|
22
25
|
/**
|
|
23
26
|
* The memory a failure's evidence names. `js` is JavaScript `ArrayBuffer` and object memory, `wasm`
|
|
24
27
|
* the engine's linear memory; neither is the GPU's.
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/wasm/alpha2_wasm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* @ts-self-types="./alpha2_wasm.d.ts" */
|
|
2
|
-
import { alpha2BitmapUploadsPremultiplied, alpha2FrameBitmap } from './snippets/alpha2-wasm-
|
|
3
|
-
import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-
|
|
4
|
-
import * as import1 from "./snippets/alpha2-wasm-
|
|
5
|
-
import * as import2 from "./snippets/alpha2-wasm-
|
|
2
|
+
import { alpha2BitmapUploadsPremultiplied, alpha2FrameBitmap } from './snippets/alpha2-wasm-0797f901b5bd49b8/inline1.js';
|
|
3
|
+
import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-0797f901b5bd49b8/inline2.js';
|
|
4
|
+
import * as import1 from "./snippets/alpha2-wasm-0797f901b5bd49b8/inline0.js"
|
|
5
|
+
import * as import2 from "./snippets/alpha2-wasm-0797f901b5bd49b8/inline0.js"
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -2922,14 +2922,14 @@ function __wbg_get_imports() {
|
|
|
2922
2922
|
__wbg_addEventListener_9534e2dc12044ee4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2923
2923
|
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
2924
2924
|
}, arguments); },
|
|
2925
|
-
|
|
2925
|
+
__wbg_alpha2BitmapUploadsPremultiplied_2521c3f042d1da6f: function() { return handleError(function () {
|
|
2926
2926
|
const ret = alpha2BitmapUploadsPremultiplied();
|
|
2927
2927
|
return ret;
|
|
2928
2928
|
}, arguments); },
|
|
2929
|
-
|
|
2929
|
+
__wbg_alpha2CopyExternalImage_b5982c040cc2255b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2930
2930
|
alpha2CopyExternalImage(arg0, arg1, arg2, arg3 >>> 0, arg4 >>> 0);
|
|
2931
2931
|
}, arguments); },
|
|
2932
|
-
|
|
2932
|
+
__wbg_alpha2FrameBitmap_a4f434b152445a3c: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2933
2933
|
const ret = alpha2FrameBitmap(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
2934
2934
|
return ret;
|
|
2935
2935
|
}, arguments); },
|
|
@@ -5226,8 +5226,8 @@ function __wbg_get_imports() {
|
|
|
5226
5226
|
return {
|
|
5227
5227
|
__proto__: null,
|
|
5228
5228
|
"./alpha2_wasm_bg.js": import0,
|
|
5229
|
-
"./snippets/alpha2-wasm-
|
|
5230
|
-
"./snippets/alpha2-wasm-
|
|
5229
|
+
"./snippets/alpha2-wasm-0797f901b5bd49b8/inline0.js": import1,
|
|
5230
|
+
"./snippets/alpha2-wasm-0797f901b5bd49b8/inline0.js": import2,
|
|
5231
5231
|
};
|
|
5232
5232
|
}
|
|
5233
5233
|
|
package/wasm/alpha2_wasm_bg.wasm
CHANGED
|
Binary file
|
/package/wasm/snippets/{alpha2-wasm-d60137a7bad549ac → alpha2-wasm-0797f901b5bd49b8}/inline0.js
RENAMED
|
File without changes
|
/package/wasm/snippets/{alpha2-wasm-d60137a7bad549ac → alpha2-wasm-0797f901b5bd49b8}/inline1.js
RENAMED
|
File without changes
|
/package/wasm/snippets/{alpha2-wasm-d60137a7bad549ac → alpha2-wasm-0797f901b5bd49b8}/inline2.js
RENAMED
|
File without changes
|