proteus-sdk 0.1.0 → 0.1.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/package.json +1 -1
- package/pkg/package.json +1 -1
- package/pkg/proteus_sdk_web_bg.js +6 -6
- package/pkg/proteus_sdk_web_bg.wasm +0 -0
- package/pkg/proteus_sdk_web_bg.wasm.d.ts +2 -2
- package/pkg-host/package.json +1 -1
- package/pkg-host/proteus_host_web_bg.js +39 -31
- package/pkg-host/proteus_host_web_bg.wasm +0 -0
- package/pkg-host/proteus_host_web_bg.wasm.d.ts +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proteus-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "TypeScript SDK for Proteus, a UI framework whose components transform into other components instead of loading new screens. Draws with WebGPU or WebGL2.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT OR Apache-2.0",
|
package/pkg/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"Blue <isaac.chellin@gmail.com>"
|
|
6
6
|
],
|
|
7
7
|
"description": "WebAssembly bindings that expose proteus-sdk to JavaScript, for the Proteus TypeScript SDK.",
|
|
8
|
-
"version": "0.1.
|
|
8
|
+
"version": "0.1.1",
|
|
9
9
|
"license": "MIT OR Apache-2.0",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -1326,12 +1326,12 @@ export function __wbg_writeTexture_b45b69132e46a227() { return handleError(funct
|
|
|
1326
1326
|
}, arguments); }
|
|
1327
1327
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
1328
1328
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1274, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1329
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1329
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue______true_);
|
|
1330
1330
|
return ret;
|
|
1331
1331
|
}
|
|
1332
1332
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
1333
1333
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1723, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1334
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1334
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_947dc3570e8b2613___JsError___true_);
|
|
1335
1335
|
return ret;
|
|
1336
1336
|
}
|
|
1337
1337
|
export function __wbindgen_cast_0000000000000003(arg0) {
|
|
@@ -1363,12 +1363,12 @@ export function __wbindgen_init_externref_table() {
|
|
|
1363
1363
|
table.set(offset + 2, true);
|
|
1364
1364
|
table.set(offset + 3, false);
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
1367
|
-
wasm.
|
|
1366
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue______true_(arg0, arg1, arg2) {
|
|
1367
|
+
wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue______true_(arg0, arg1, arg2);
|
|
1368
1368
|
}
|
|
1369
1369
|
|
|
1370
|
-
function
|
|
1371
|
-
const ret = wasm.
|
|
1370
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_947dc3570e8b2613___JsError___true_(arg0, arg1, arg2) {
|
|
1371
|
+
const ret = wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_947dc3570e8b2613___JsError___true_(arg0, arg1, arg2);
|
|
1372
1372
|
if (ret[1]) {
|
|
1373
1373
|
throw takeFromExternrefTable0(ret[0]);
|
|
1374
1374
|
}
|
|
Binary file
|
|
@@ -64,8 +64,8 @@ export const handle_fromId: (a: number) => number;
|
|
|
64
64
|
export const handle_id: (a: number) => number;
|
|
65
65
|
export const texturehandle_fromId: (a: number) => number;
|
|
66
66
|
export const texturehandle_id: (a: number) => number;
|
|
67
|
-
export const
|
|
68
|
-
export const
|
|
67
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_947dc3570e8b2613___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
68
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue______true_: (a: number, b: number, c: any) => void;
|
|
69
69
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
70
70
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
71
71
|
export const __wbindgen_exn_store: (a: number) => void;
|
package/pkg-host/package.json
CHANGED
|
@@ -1739,6 +1739,10 @@ export function __wbg_limits_1c25cb4f379a4418(arg0) {
|
|
|
1739
1739
|
const ret = arg0.limits;
|
|
1740
1740
|
return ret;
|
|
1741
1741
|
}
|
|
1742
|
+
export function __wbg_limits_50a8c5e629dbfe40(arg0) {
|
|
1743
|
+
const ret = arg0.limits;
|
|
1744
|
+
return ret;
|
|
1745
|
+
}
|
|
1742
1746
|
export function __wbg_linkProgram_6a2eee02a03b9b00(arg0, arg1) {
|
|
1743
1747
|
arg0.linkProgram(arg1);
|
|
1744
1748
|
}
|
|
@@ -1911,7 +1915,7 @@ export function __wbg_new_typed_00a409eb4ec4f2d9(arg0, arg1) {
|
|
|
1911
1915
|
const a = state0.a;
|
|
1912
1916
|
state0.a = 0;
|
|
1913
1917
|
try {
|
|
1914
|
-
return
|
|
1918
|
+
return wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Function_fn_wasm_bindgen_947dc3570e8b2613___JsValue_____wasm_bindgen_947dc3570e8b2613___sys__Undefined___js_sys_13cd74663037d13c___Function_fn_wasm_bindgen_947dc3570e8b2613___JsValue_____wasm_bindgen_947dc3570e8b2613___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1915
1919
|
} finally {
|
|
1916
1920
|
state0.a = a;
|
|
1917
1921
|
}
|
|
@@ -2026,6 +2030,10 @@ export function __wbg_requestAdapter_9ff5c9d1ff271165(arg0, arg1) {
|
|
|
2026
2030
|
const ret = arg0.requestAdapter(arg1);
|
|
2027
2031
|
return ret;
|
|
2028
2032
|
}
|
|
2033
|
+
export function __wbg_requestAdapter_c46930b8bc33722d(arg0) {
|
|
2034
|
+
const ret = arg0.requestAdapter();
|
|
2035
|
+
return ret;
|
|
2036
|
+
}
|
|
2029
2037
|
export function __wbg_requestAnimationFrame_b92ccfbc8ca777a8() { return handleError(function (arg0, arg1) {
|
|
2030
2038
|
const ret = arg0.requestAnimationFrame(arg1);
|
|
2031
2039
|
return ret;
|
|
@@ -2879,38 +2887,38 @@ export function __wbg_writeTexture_b45b69132e46a227() { return handleError(funct
|
|
|
2879
2887
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
2880
2888
|
}, arguments); }
|
|
2881
2889
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
2882
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
2883
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2890
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1768, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2891
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue______true_);
|
|
2884
2892
|
return ret;
|
|
2885
2893
|
}
|
|
2886
2894
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
2887
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
2888
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2895
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3518, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2896
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_947dc3570e8b2613___JsError___true_);
|
|
2889
2897
|
return ret;
|
|
2890
2898
|
}
|
|
2891
2899
|
export function __wbindgen_cast_0000000000000003(arg0, arg1) {
|
|
2892
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [F64], shim_idx:
|
|
2893
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2900
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [F64], shim_idx: 51, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2901
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___f64______true_);
|
|
2894
2902
|
return ret;
|
|
2895
2903
|
}
|
|
2896
2904
|
export function __wbindgen_cast_0000000000000004(arg0, arg1) {
|
|
2897
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx:
|
|
2898
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2905
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 47, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2906
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true_);
|
|
2899
2907
|
return ret;
|
|
2900
2908
|
}
|
|
2901
2909
|
export function __wbindgen_cast_0000000000000005(arg0, arg1) {
|
|
2902
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
2903
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2910
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 47, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2911
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true__4);
|
|
2904
2912
|
return ret;
|
|
2905
2913
|
}
|
|
2906
2914
|
export function __wbindgen_cast_0000000000000006(arg0, arg1) {
|
|
2907
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx:
|
|
2908
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2915
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 47, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2916
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true__5);
|
|
2909
2917
|
return ret;
|
|
2910
2918
|
}
|
|
2911
2919
|
export function __wbindgen_cast_0000000000000007(arg0, arg1) {
|
|
2912
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
2913
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2920
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 53, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2921
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke_______true_);
|
|
2914
2922
|
return ret;
|
|
2915
2923
|
}
|
|
2916
2924
|
export function __wbindgen_cast_0000000000000008(arg0) {
|
|
@@ -2977,39 +2985,39 @@ export function __wbindgen_init_externref_table() {
|
|
|
2977
2985
|
table.set(offset + 2, true);
|
|
2978
2986
|
table.set(offset + 3, false);
|
|
2979
2987
|
}
|
|
2980
|
-
function
|
|
2981
|
-
wasm.
|
|
2988
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
2989
|
+
wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke_______true_(arg0, arg1);
|
|
2982
2990
|
}
|
|
2983
2991
|
|
|
2984
|
-
function
|
|
2985
|
-
wasm.
|
|
2992
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue______true_(arg0, arg1, arg2) {
|
|
2993
|
+
wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue______true_(arg0, arg1, arg2);
|
|
2986
2994
|
}
|
|
2987
2995
|
|
|
2988
|
-
function
|
|
2989
|
-
wasm.
|
|
2996
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true_(arg0, arg1, arg2) {
|
|
2997
|
+
wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true_(arg0, arg1, arg2);
|
|
2990
2998
|
}
|
|
2991
2999
|
|
|
2992
|
-
function
|
|
2993
|
-
wasm.
|
|
3000
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true__4(arg0, arg1, arg2) {
|
|
3001
|
+
wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true__4(arg0, arg1, arg2);
|
|
2994
3002
|
}
|
|
2995
3003
|
|
|
2996
|
-
function
|
|
2997
|
-
wasm.
|
|
3004
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true__5(arg0, arg1, arg2) {
|
|
3005
|
+
wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true__5(arg0, arg1, arg2);
|
|
2998
3006
|
}
|
|
2999
3007
|
|
|
3000
|
-
function
|
|
3001
|
-
const ret = wasm.
|
|
3008
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_947dc3570e8b2613___JsError___true_(arg0, arg1, arg2) {
|
|
3009
|
+
const ret = wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_947dc3570e8b2613___JsError___true_(arg0, arg1, arg2);
|
|
3002
3010
|
if (ret[1]) {
|
|
3003
3011
|
throw takeFromExternrefTable0(ret[0]);
|
|
3004
3012
|
}
|
|
3005
3013
|
}
|
|
3006
3014
|
|
|
3007
|
-
function
|
|
3008
|
-
wasm.
|
|
3015
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Function_fn_wasm_bindgen_947dc3570e8b2613___JsValue_____wasm_bindgen_947dc3570e8b2613___sys__Undefined___js_sys_13cd74663037d13c___Function_fn_wasm_bindgen_947dc3570e8b2613___JsValue_____wasm_bindgen_947dc3570e8b2613___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
3016
|
+
wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Function_fn_wasm_bindgen_947dc3570e8b2613___JsValue_____wasm_bindgen_947dc3570e8b2613___sys__Undefined___js_sys_13cd74663037d13c___Function_fn_wasm_bindgen_947dc3570e8b2613___JsValue_____wasm_bindgen_947dc3570e8b2613___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
3009
3017
|
}
|
|
3010
3018
|
|
|
3011
|
-
function
|
|
3012
|
-
wasm.
|
|
3019
|
+
function wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___f64______true_(arg0, arg1, arg2) {
|
|
3020
|
+
wasm.wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___f64______true_(arg0, arg1, arg2);
|
|
3013
3021
|
}
|
|
3014
3022
|
|
|
3015
3023
|
|
|
Binary file
|
|
@@ -65,14 +65,14 @@ export const handle_fromId: (a: number) => number;
|
|
|
65
65
|
export const handle_id: (a: number) => number;
|
|
66
66
|
export const texturehandle_fromId: (a: number) => number;
|
|
67
67
|
export const texturehandle_id: (a: number) => number;
|
|
68
|
-
export const
|
|
69
|
-
export const
|
|
70
|
-
export const
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
74
|
-
export const
|
|
75
|
-
export const
|
|
68
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___f64______true_: (a: number, b: number, c: number) => void;
|
|
69
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_947dc3570e8b2613___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
70
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Function_fn_wasm_bindgen_947dc3570e8b2613___JsValue_____wasm_bindgen_947dc3570e8b2613___sys__Undefined___js_sys_13cd74663037d13c___Function_fn_wasm_bindgen_947dc3570e8b2613___JsValue_____wasm_bindgen_947dc3570e8b2613___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
71
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___wasm_bindgen_947dc3570e8b2613___JsValue______true_: (a: number, b: number, c: any) => void;
|
|
72
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true_: (a: number, b: number, c: any) => void;
|
|
73
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true__4: (a: number, b: number, c: any) => void;
|
|
74
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke___js_sys_13cd74663037d13c___Array______true__5: (a: number, b: number, c: any) => void;
|
|
75
|
+
export const wasm_bindgen_947dc3570e8b2613___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
76
76
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
77
77
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
78
78
|
export const __wbindgen_exn_store: (a: number) => void;
|