alpha2 0.4.4 → 0.4.5
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/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 +23 -23
- package/wasm/alpha2_wasm_bg.wasm +0 -0
- /package/wasm/snippets/{alpha2-wasm-a3e88ca7a20123fc → alpha2-wasm-57b04ecc6db57e1f}/inline0.js +0 -0
- /package/wasm/snippets/{alpha2-wasm-a3e88ca7a20123fc → alpha2-wasm-57b04ecc6db57e1f}/inline1.js +0 -0
- /package/wasm/snippets/{alpha2-wasm-a3e88ca7a20123fc → alpha2-wasm-57b04ecc6db57e1f}/inline2.js +0 -0
- /package/wasm/snippets/{alpha2-wasm-a3e88ca7a20123fc → alpha2-wasm-57b04ecc6db57e1f}/inline3.js +0 -0
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/wasm/alpha2_wasm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* @ts-self-types="./alpha2_wasm.d.ts" */
|
|
2
|
-
import { alpha2Canvas2d, alpha2ImagePixels, alpha2PutRgba, alpha2ResizeCanvas } from './snippets/alpha2-wasm-
|
|
3
|
-
import { alpha2BitmapUploadsPremultiplied, alpha2FrameBitmap } from './snippets/alpha2-wasm-
|
|
4
|
-
import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-
|
|
5
|
-
import * as import1 from "./snippets/alpha2-wasm-
|
|
6
|
-
import * as import2 from "./snippets/alpha2-wasm-
|
|
2
|
+
import { alpha2Canvas2d, alpha2ImagePixels, alpha2PutRgba, alpha2ResizeCanvas } from './snippets/alpha2-wasm-57b04ecc6db57e1f/inline0.js';
|
|
3
|
+
import { alpha2BitmapUploadsPremultiplied, alpha2FrameBitmap } from './snippets/alpha2-wasm-57b04ecc6db57e1f/inline2.js';
|
|
4
|
+
import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-57b04ecc6db57e1f/inline3.js';
|
|
5
|
+
import * as import1 from "./snippets/alpha2-wasm-57b04ecc6db57e1f/inline1.js"
|
|
6
|
+
import * as import2 from "./snippets/alpha2-wasm-57b04ecc6db57e1f/inline1.js"
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -4155,32 +4155,32 @@ function __wbg_get_imports() {
|
|
|
4155
4155
|
__wbg_addEventListener_9534e2dc12044ee4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4156
4156
|
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
4157
4157
|
}, arguments); },
|
|
4158
|
-
|
|
4158
|
+
__wbg_alpha2BitmapUploadsPremultiplied_11d638014bcd9db6: function() { return handleError(function () {
|
|
4159
4159
|
const ret = alpha2BitmapUploadsPremultiplied();
|
|
4160
4160
|
return ret;
|
|
4161
4161
|
}, arguments); },
|
|
4162
|
-
|
|
4162
|
+
__wbg_alpha2Canvas2d_7c53224793d83297: function() { return handleError(function (arg0) {
|
|
4163
4163
|
const ret = alpha2Canvas2d(arg0);
|
|
4164
4164
|
return ret;
|
|
4165
4165
|
}, arguments); },
|
|
4166
|
-
|
|
4166
|
+
__wbg_alpha2CopyExternalImage_85d06101809c56a3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4167
4167
|
alpha2CopyExternalImage(arg0, arg1, arg2, arg3 >>> 0, arg4 >>> 0);
|
|
4168
4168
|
}, arguments); },
|
|
4169
|
-
|
|
4169
|
+
__wbg_alpha2FrameBitmap_8b4ad7a0a0c77797: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4170
4170
|
const ret = alpha2FrameBitmap(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
4171
4171
|
return ret;
|
|
4172
4172
|
}, arguments); },
|
|
4173
|
-
|
|
4173
|
+
__wbg_alpha2ImagePixels_01c946ed0a5a2aff: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4174
4174
|
const ret = alpha2ImagePixels(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
4175
4175
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
4176
4176
|
const len1 = WASM_VECTOR_LEN;
|
|
4177
4177
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4178
4178
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4179
4179
|
}, arguments); },
|
|
4180
|
-
|
|
4180
|
+
__wbg_alpha2PutRgba_3c12864b6d5b5ea1: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4181
4181
|
alpha2PutRgba(arg0, getArrayU8FromWasm0(arg1, arg2), arg3 >>> 0, arg4 >>> 0);
|
|
4182
4182
|
}, arguments); },
|
|
4183
|
-
|
|
4183
|
+
__wbg_alpha2ResizeCanvas_48bb58d4d55717f1: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4184
4184
|
alpha2ResizeCanvas(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
4185
4185
|
}, arguments); },
|
|
4186
4186
|
__wbg_attachShader_74ecf95efc73ee58: function(arg0, arg1, arg2) {
|
|
@@ -6369,47 +6369,47 @@ function __wbg_get_imports() {
|
|
|
6369
6369
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
6370
6370
|
}, arguments); },
|
|
6371
6371
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
6372
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
6372
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3759, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6373
6373
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_);
|
|
6374
6374
|
return ret;
|
|
6375
6375
|
},
|
|
6376
6376
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
6377
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
6377
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 353, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
6378
6378
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___web_sys_9e2ae0ace5131457___features__gen_Event__Event______true_);
|
|
6379
6379
|
return ret;
|
|
6380
6380
|
},
|
|
6381
6381
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
6382
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUCompilationInfo")], shim_idx:
|
|
6382
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUCompilationInfo")], shim_idx: 1537, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6383
6383
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_);
|
|
6384
6384
|
return ret;
|
|
6385
6385
|
},
|
|
6386
6386
|
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
6387
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx:
|
|
6387
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 1537, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6388
6388
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__220);
|
|
6389
6389
|
return ret;
|
|
6390
6390
|
},
|
|
6391
6391
|
__wbindgen_generic_0000000000000005: function(arg0, arg1) {
|
|
6392
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx:
|
|
6392
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 1540, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
6393
6393
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_);
|
|
6394
6394
|
return ret;
|
|
6395
6395
|
},
|
|
6396
6396
|
__wbindgen_generic_0000000000000006: function(arg0, arg1) {
|
|
6397
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx:
|
|
6397
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 1540, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
6398
6398
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__222);
|
|
6399
6399
|
return ret;
|
|
6400
6400
|
},
|
|
6401
6401
|
__wbindgen_generic_0000000000000007: function(arg0, arg1) {
|
|
6402
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx:
|
|
6402
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 1537, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6403
6403
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__223);
|
|
6404
6404
|
return ret;
|
|
6405
6405
|
},
|
|
6406
6406
|
__wbindgen_generic_0000000000000008: function(arg0, arg1) {
|
|
6407
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx:
|
|
6407
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 1537, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6408
6408
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__224);
|
|
6409
6409
|
return ret;
|
|
6410
6410
|
},
|
|
6411
6411
|
__wbindgen_generic_0000000000000009: function(arg0, arg1) {
|
|
6412
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
6412
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 355, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
6413
6413
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke_______true_);
|
|
6414
6414
|
return ret;
|
|
6415
6415
|
},
|
|
@@ -6476,8 +6476,8 @@ function __wbg_get_imports() {
|
|
|
6476
6476
|
return {
|
|
6477
6477
|
__proto__: null,
|
|
6478
6478
|
"./alpha2_wasm_bg.js": import0,
|
|
6479
|
-
"./snippets/alpha2-wasm-
|
|
6480
|
-
"./snippets/alpha2-wasm-
|
|
6479
|
+
"./snippets/alpha2-wasm-57b04ecc6db57e1f/inline1.js": import1,
|
|
6480
|
+
"./snippets/alpha2-wasm-57b04ecc6db57e1f/inline1.js": import2,
|
|
6481
6481
|
};
|
|
6482
6482
|
}
|
|
6483
6483
|
|
package/wasm/alpha2_wasm_bg.wasm
CHANGED
|
Binary file
|
/package/wasm/snippets/{alpha2-wasm-a3e88ca7a20123fc → alpha2-wasm-57b04ecc6db57e1f}/inline0.js
RENAMED
|
File without changes
|
/package/wasm/snippets/{alpha2-wasm-a3e88ca7a20123fc → alpha2-wasm-57b04ecc6db57e1f}/inline1.js
RENAMED
|
File without changes
|
/package/wasm/snippets/{alpha2-wasm-a3e88ca7a20123fc → alpha2-wasm-57b04ecc6db57e1f}/inline2.js
RENAMED
|
File without changes
|
/package/wasm/snippets/{alpha2-wasm-a3e88ca7a20123fc → alpha2-wasm-57b04ecc6db57e1f}/inline3.js
RENAMED
|
File without changes
|