alpha2 0.5.1 → 0.5.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/package.json +1 -1
- package/wasm/alpha2_extensions_bg.wasm +0 -0
- package/wasm/alpha2_wasm.js +25 -25
- package/wasm/alpha2_wasm_bg.wasm +0 -0
- /package/wasm/snippets/{alpha2-wasm-070d94113471ef0a → alpha2-wasm-a21734ffde826659}/inline0.js +0 -0
- /package/wasm/snippets/{alpha2-wasm-070d94113471ef0a → alpha2-wasm-a21734ffde826659}/inline1.js +0 -0
- /package/wasm/snippets/{alpha2-wasm-070d94113471ef0a → alpha2-wasm-a21734ffde826659}/inline2.js +0 -0
- /package/wasm/snippets/{alpha2-wasm-070d94113471ef0a → alpha2-wasm-a21734ffde826659}/inline3.js +0 -0
package/package.json
CHANGED
|
Binary file
|
package/wasm/alpha2_wasm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* @ts-self-types="./alpha2_wasm.d.ts" */
|
|
2
|
-
import { alpha2Canvas2d, alpha2ImagePixels, alpha2PutRgba, alpha2ResizeCanvas } from './snippets/alpha2-wasm-
|
|
3
|
-
import { alpha2BitmapUploadProbe, 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-
|
|
7
|
-
import * as import3 from "./snippets/alpha2-wasm-
|
|
2
|
+
import { alpha2Canvas2d, alpha2ImagePixels, alpha2PutRgba, alpha2ResizeCanvas } from './snippets/alpha2-wasm-a21734ffde826659/inline0.js';
|
|
3
|
+
import { alpha2BitmapUploadProbe, alpha2FrameBitmap } from './snippets/alpha2-wasm-a21734ffde826659/inline2.js';
|
|
4
|
+
import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-a21734ffde826659/inline3.js';
|
|
5
|
+
import * as import1 from "./snippets/alpha2-wasm-a21734ffde826659/inline1.js"
|
|
6
|
+
import * as import2 from "./snippets/alpha2-wasm-a21734ffde826659/inline1.js"
|
|
7
|
+
import * as import3 from "./snippets/alpha2-wasm-a21734ffde826659/inline1.js"
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -4249,32 +4249,32 @@ function __wbg_get_imports() {
|
|
|
4249
4249
|
__wbg_addEventListener_9534e2dc12044ee4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4250
4250
|
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
4251
4251
|
}, arguments); },
|
|
4252
|
-
|
|
4252
|
+
__wbg_alpha2BitmapUploadProbe_9498f9a64bb1419f: function() { return handleError(function () {
|
|
4253
4253
|
const ret = alpha2BitmapUploadProbe();
|
|
4254
4254
|
return ret;
|
|
4255
4255
|
}, arguments); },
|
|
4256
|
-
|
|
4256
|
+
__wbg_alpha2Canvas2d_9222f160cb804dbe: function() { return handleError(function (arg0) {
|
|
4257
4257
|
const ret = alpha2Canvas2d(arg0);
|
|
4258
4258
|
return ret;
|
|
4259
4259
|
}, arguments); },
|
|
4260
|
-
|
|
4260
|
+
__wbg_alpha2CopyExternalImage_ca57bdc674e031e2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4261
4261
|
alpha2CopyExternalImage(arg0, arg1, arg2, arg3 >>> 0, arg4 >>> 0);
|
|
4262
4262
|
}, arguments); },
|
|
4263
|
-
|
|
4263
|
+
__wbg_alpha2FrameBitmap_27638f45f80ebd3a: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4264
4264
|
const ret = alpha2FrameBitmap(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
4265
4265
|
return ret;
|
|
4266
4266
|
}, arguments); },
|
|
4267
|
-
|
|
4267
|
+
__wbg_alpha2ImagePixels_31fb7bead838ee3f: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
4268
4268
|
const ret = alpha2ImagePixels(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
4269
4269
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
4270
4270
|
const len1 = WASM_VECTOR_LEN;
|
|
4271
4271
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4272
4272
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4273
4273
|
}, arguments); },
|
|
4274
|
-
|
|
4274
|
+
__wbg_alpha2PutRgba_c7eb1338c47b8c9a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4275
4275
|
alpha2PutRgba(arg0, getArrayU8FromWasm0(arg1, arg2), arg3 >>> 0, arg4 >>> 0);
|
|
4276
4276
|
}, arguments); },
|
|
4277
|
-
|
|
4277
|
+
__wbg_alpha2ResizeCanvas_a465112dc66efc38: function() { return handleError(function (arg0, arg1, arg2) {
|
|
4278
4278
|
alpha2ResizeCanvas(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
4279
4279
|
}, arguments); },
|
|
4280
4280
|
__wbg_apply_5d9aa7604c2490a8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
@@ -6499,47 +6499,47 @@ function __wbg_get_imports() {
|
|
|
6499
6499
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
6500
6500
|
}, arguments); },
|
|
6501
6501
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
6502
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
6502
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3924, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6503
6503
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_);
|
|
6504
6504
|
return ret;
|
|
6505
6505
|
},
|
|
6506
6506
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
6507
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
6507
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 344, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
6508
6508
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___web_sys_9e2ae0ace5131457___features__gen_Event__Event______true_);
|
|
6509
6509
|
return ret;
|
|
6510
6510
|
},
|
|
6511
6511
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
6512
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUCompilationInfo")], shim_idx:
|
|
6512
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUCompilationInfo")], shim_idx: 1700, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6513
6513
|
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_);
|
|
6514
6514
|
return ret;
|
|
6515
6515
|
},
|
|
6516
6516
|
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
6517
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx:
|
|
6517
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 1700, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6518
6518
|
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__234);
|
|
6519
6519
|
return ret;
|
|
6520
6520
|
},
|
|
6521
6521
|
__wbindgen_generic_0000000000000005: function(arg0, arg1) {
|
|
6522
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx:
|
|
6522
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 1703, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
6523
6523
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_);
|
|
6524
6524
|
return ret;
|
|
6525
6525
|
},
|
|
6526
6526
|
__wbindgen_generic_0000000000000006: function(arg0, arg1) {
|
|
6527
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx:
|
|
6527
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 1703, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
6528
6528
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_f46556a90412e4d9___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__236);
|
|
6529
6529
|
return ret;
|
|
6530
6530
|
},
|
|
6531
6531
|
__wbindgen_generic_0000000000000007: function(arg0, arg1) {
|
|
6532
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx:
|
|
6532
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 1700, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6533
6533
|
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__237);
|
|
6534
6534
|
return ret;
|
|
6535
6535
|
},
|
|
6536
6536
|
__wbindgen_generic_0000000000000008: function(arg0, arg1) {
|
|
6537
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx:
|
|
6537
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 1700, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
6538
6538
|
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__238);
|
|
6539
6539
|
return ret;
|
|
6540
6540
|
},
|
|
6541
6541
|
__wbindgen_generic_0000000000000009: function(arg0, arg1) {
|
|
6542
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
6542
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 346, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
6543
6543
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke_______true_);
|
|
6544
6544
|
return ret;
|
|
6545
6545
|
},
|
|
@@ -6606,9 +6606,9 @@ function __wbg_get_imports() {
|
|
|
6606
6606
|
return {
|
|
6607
6607
|
__proto__: null,
|
|
6608
6608
|
"./alpha2_wasm_bg.js": import0,
|
|
6609
|
-
"./snippets/alpha2-wasm-
|
|
6610
|
-
"./snippets/alpha2-wasm-
|
|
6611
|
-
"./snippets/alpha2-wasm-
|
|
6609
|
+
"./snippets/alpha2-wasm-a21734ffde826659/inline1.js": import1,
|
|
6610
|
+
"./snippets/alpha2-wasm-a21734ffde826659/inline1.js": import2,
|
|
6611
|
+
"./snippets/alpha2-wasm-a21734ffde826659/inline1.js": import3,
|
|
6612
6612
|
};
|
|
6613
6613
|
}
|
|
6614
6614
|
|
package/wasm/alpha2_wasm_bg.wasm
CHANGED
|
Binary file
|
/package/wasm/snippets/{alpha2-wasm-070d94113471ef0a → alpha2-wasm-a21734ffde826659}/inline0.js
RENAMED
|
File without changes
|
/package/wasm/snippets/{alpha2-wasm-070d94113471ef0a → alpha2-wasm-a21734ffde826659}/inline1.js
RENAMED
|
File without changes
|
/package/wasm/snippets/{alpha2-wasm-070d94113471ef0a → alpha2-wasm-a21734ffde826659}/inline2.js
RENAMED
|
File without changes
|
/package/wasm/snippets/{alpha2-wasm-070d94113471ef0a → alpha2-wasm-a21734ffde826659}/inline3.js
RENAMED
|
File without changes
|