alpha2 0.2.0 → 0.2.1

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/assets.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { ColorPipeline, MediaFingerprint, Project } from "./generated/project-schema.js";
2
2
  /** What media is read for. */
3
- export type MediaPurpose = "preview" | "thumbnail" | "remote_edit" | "export_original" | "export_proxy";
3
+ export type MediaPurpose = "preview" | "preview_proxy" | "thumbnail" | "remote_edit" | "export_original" | "export_proxy";
4
4
  /** Whether a source's original media can be read. */
5
5
  export type OriginalState = {
6
6
  readonly state: "online";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alpha2",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "description": "JavaScript bindings for the standalone alpha2 media engine.",
6
6
  "repository": {
Binary file
@@ -935,8 +935,8 @@ export function compareFingerprints(recorded: string, found: string): string;
935
935
 
936
936
  /**
937
937
  * Whether `project`'s media, as `catalog` describes it, is ready for
938
- * `purpose` (`preview`, `thumbnail`, `remote_edit`, `export_original`, or
939
- * `export_proxy`), as a JSON `ConformReport`.
938
+ * `purpose` (`preview`, `preview_proxy`, `thumbnail`, `remote_edit`,
939
+ * `export_original`, or `export_proxy`), as a JSON `ConformReport`.
940
940
  *
941
941
  * # Errors
942
942
  * Rejects an invalid project, catalog (one whose fingerprints are not well
@@ -1,8 +1,8 @@
1
1
  /* @ts-self-types="./alpha2_wasm.d.ts" */
2
- import { alpha2BitmapUploadsPremultiplied, alpha2FrameBitmap } from './snippets/alpha2-wasm-632c71c93cbb7942/inline1.js';
3
- import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-632c71c93cbb7942/inline2.js';
4
- import * as import1 from "./snippets/alpha2-wasm-632c71c93cbb7942/inline0.js"
5
- import * as import2 from "./snippets/alpha2-wasm-632c71c93cbb7942/inline0.js"
2
+ import { alpha2BitmapUploadsPremultiplied, alpha2FrameBitmap } from './snippets/alpha2-wasm-6cb97e5ef34d0f09/inline1.js';
3
+ import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-6cb97e5ef34d0f09/inline2.js';
4
+ import * as import1 from "./snippets/alpha2-wasm-6cb97e5ef34d0f09/inline0.js"
5
+ import * as import2 from "./snippets/alpha2-wasm-6cb97e5ef34d0f09/inline0.js"
6
6
 
7
7
 
8
8
  /**
@@ -2060,8 +2060,8 @@ export function compareFingerprints(recorded, found) {
2060
2060
 
2061
2061
  /**
2062
2062
  * Whether `project`'s media, as `catalog` describes it, is ready for
2063
- * `purpose` (`preview`, `thumbnail`, `remote_edit`, `export_original`, or
2064
- * `export_proxy`), as a JSON `ConformReport`.
2063
+ * `purpose` (`preview`, `preview_proxy`, `thumbnail`, `remote_edit`,
2064
+ * `export_original`, or `export_proxy`), as a JSON `ConformReport`.
2065
2065
  *
2066
2066
  * # Errors
2067
2067
  * Rejects an invalid project, catalog (one whose fingerprints are not well
@@ -2416,14 +2416,14 @@ function __wbg_get_imports() {
2416
2416
  __wbg_addEventListener_9534e2dc12044ee4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2417
2417
  arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
2418
2418
  }, arguments); },
2419
- __wbg_alpha2BitmapUploadsPremultiplied_0c5d843c2f9131ee: function() { return handleError(function () {
2419
+ __wbg_alpha2BitmapUploadsPremultiplied_362906fc8fe45d51: function() { return handleError(function () {
2420
2420
  const ret = alpha2BitmapUploadsPremultiplied();
2421
2421
  return ret;
2422
2422
  }, arguments); },
2423
- __wbg_alpha2CopyExternalImage_f35a689ee6364289: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2423
+ __wbg_alpha2CopyExternalImage_2e2c5492e1e63dc9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2424
2424
  alpha2CopyExternalImage(arg0, arg1, arg2, arg3 >>> 0, arg4 >>> 0);
2425
2425
  }, arguments); },
2426
- __wbg_alpha2FrameBitmap_bdd1fce4f80435c5: function() { return handleError(function (arg0, arg1, arg2) {
2426
+ __wbg_alpha2FrameBitmap_3a8e8476c127792e: function() { return handleError(function (arg0, arg1, arg2) {
2427
2427
  const ret = alpha2FrameBitmap(arg0, arg1 >>> 0, arg2 >>> 0);
2428
2428
  return ret;
2429
2429
  }, arguments); },
@@ -4711,8 +4711,8 @@ function __wbg_get_imports() {
4711
4711
  return {
4712
4712
  __proto__: null,
4713
4713
  "./alpha2_wasm_bg.js": import0,
4714
- "./snippets/alpha2-wasm-632c71c93cbb7942/inline0.js": import1,
4715
- "./snippets/alpha2-wasm-632c71c93cbb7942/inline0.js": import2,
4714
+ "./snippets/alpha2-wasm-6cb97e5ef34d0f09/inline0.js": import1,
4715
+ "./snippets/alpha2-wasm-6cb97e5ef34d0f09/inline0.js": import2,
4716
4716
  };
4717
4717
  }
4718
4718
 
Binary file