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.
@@ -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
- /** Which process reported the failure. */
21
- export type ExportOrigin = "browser" | "node" | "native-host";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alpha2",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "license": "MIT",
5
5
  "description": "JavaScript bindings for the standalone alpha2 media engine.",
6
6
  "repository": {
Binary file
Binary file
@@ -1,8 +1,8 @@
1
1
  /* @ts-self-types="./alpha2_wasm.d.ts" */
2
- import { alpha2BitmapUploadsPremultiplied, alpha2FrameBitmap } from './snippets/alpha2-wasm-d60137a7bad549ac/inline1.js';
3
- import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-d60137a7bad549ac/inline2.js';
4
- import * as import1 from "./snippets/alpha2-wasm-d60137a7bad549ac/inline0.js"
5
- import * as import2 from "./snippets/alpha2-wasm-d60137a7bad549ac/inline0.js"
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
- __wbg_alpha2BitmapUploadsPremultiplied_43dcb695436167da: function() { return handleError(function () {
2925
+ __wbg_alpha2BitmapUploadsPremultiplied_2521c3f042d1da6f: function() { return handleError(function () {
2926
2926
  const ret = alpha2BitmapUploadsPremultiplied();
2927
2927
  return ret;
2928
2928
  }, arguments); },
2929
- __wbg_alpha2CopyExternalImage_7e637d8245acdea5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
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
- __wbg_alpha2FrameBitmap_08f0a8a53ce59643: function() { return handleError(function (arg0, arg1, arg2) {
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-d60137a7bad549ac/inline0.js": import1,
5230
- "./snippets/alpha2-wasm-d60137a7bad549ac/inline0.js": import2,
5229
+ "./snippets/alpha2-wasm-0797f901b5bd49b8/inline0.js": import1,
5230
+ "./snippets/alpha2-wasm-0797f901b5bd49b8/inline0.js": import2,
5231
5231
  };
5232
5232
  }
5233
5233
 
Binary file