@bridgething/browser 0.16.0 → 0.17.0
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 +2 -2
- package/wasm/core-wasm.d.ts +7 -7
- package/wasm/core-wasm.js +28 -28
- package/wasm/core-wasm_bg.wasm +0 -0
- package/wasm/core-wasm_bg.wasm.d.ts +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bridgething/browser",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Drive a Spotify Car Thing from the browser: the bridgething delivery core compiled to wasm, plus the Web Serial and network transports.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Joey Eamigh <55670930+JoeyEamigh@users.noreply.github.com> (https://github.com/JoeyEamigh)",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"lint": "eslint ."
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@bridgething/lib": "0.
|
|
49
|
+
"@bridgething/lib": "0.17.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"typescript": "^6.0.3"
|
package/wasm/core-wasm.d.ts
CHANGED
|
@@ -243,13 +243,13 @@ export interface InitOutput {
|
|
|
243
243
|
readonly discoverManifest: (a: number, b: number) => number;
|
|
244
244
|
readonly init: () => void;
|
|
245
245
|
readonly parseCompositeVersion: (a: number, b: number, c: number) => void;
|
|
246
|
-
readonly
|
|
247
|
-
readonly
|
|
248
|
-
readonly
|
|
249
|
-
readonly
|
|
250
|
-
readonly
|
|
251
|
-
readonly
|
|
252
|
-
readonly
|
|
246
|
+
readonly __wasm_bindgen_func_elem_7483: (a: number, b: number, c: number, d: number) => void;
|
|
247
|
+
readonly __wasm_bindgen_func_elem_7485: (a: number, b: number, c: number, d: number) => void;
|
|
248
|
+
readonly __wasm_bindgen_func_elem_5399: (a: number, b: number, c: number) => void;
|
|
249
|
+
readonly __wasm_bindgen_func_elem_5399_2: (a: number, b: number, c: number) => void;
|
|
250
|
+
readonly __wasm_bindgen_func_elem_5399_3: (a: number, b: number, c: number) => void;
|
|
251
|
+
readonly __wasm_bindgen_func_elem_6215: (a: number, b: number) => void;
|
|
252
|
+
readonly __wasm_bindgen_func_elem_5650: (a: number, b: number) => void;
|
|
253
253
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
254
254
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
255
255
|
readonly __wbindgen_export3: (a: number) => void;
|
package/wasm/core-wasm.js
CHANGED
|
@@ -809,7 +809,7 @@ function __wbg_get_imports() {
|
|
|
809
809
|
const a = state0.a;
|
|
810
810
|
state0.a = 0;
|
|
811
811
|
try {
|
|
812
|
-
return
|
|
812
|
+
return __wasm_bindgen_func_elem_7485(a, state0.b, arg0, arg1);
|
|
813
813
|
} finally {
|
|
814
814
|
state0.a = a;
|
|
815
815
|
}
|
|
@@ -869,7 +869,7 @@ function __wbg_get_imports() {
|
|
|
869
869
|
__wbg_send_a321b376d40ec867: function() { return handleError(function (arg0, arg1, arg2) {
|
|
870
870
|
getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
|
|
871
871
|
}, arguments); },
|
|
872
|
-
|
|
872
|
+
__wbg_setTimeout_2fb4e871eaa5cb2e: function(arg0, arg1) {
|
|
873
873
|
setTimeout(getObject(arg0), arg1);
|
|
874
874
|
},
|
|
875
875
|
__wbg_set_0de9c62c23d04ad5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
@@ -963,33 +963,33 @@ function __wbg_get_imports() {
|
|
|
963
963
|
console.warn(getObject(arg0));
|
|
964
964
|
},
|
|
965
965
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
966
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
967
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
966
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1170, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
967
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_7483);
|
|
968
968
|
return addHeapObject(ret);
|
|
969
969
|
},
|
|
970
970
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
971
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
972
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
971
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 970, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
972
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5399);
|
|
973
973
|
return addHeapObject(ret);
|
|
974
974
|
},
|
|
975
975
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
976
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
977
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
976
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 970, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
977
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5399_2);
|
|
978
978
|
return addHeapObject(ret);
|
|
979
979
|
},
|
|
980
980
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
981
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
982
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
981
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 970, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
982
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5399_3);
|
|
983
983
|
return addHeapObject(ret);
|
|
984
984
|
},
|
|
985
985
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
986
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
987
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
986
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1082, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
987
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_6215);
|
|
988
988
|
return addHeapObject(ret);
|
|
989
989
|
},
|
|
990
990
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
991
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
992
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
991
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 994, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
992
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5650);
|
|
993
993
|
return addHeapObject(ret);
|
|
994
994
|
},
|
|
995
995
|
__wbindgen_cast_0000000000000007: function(arg0) {
|
|
@@ -1021,30 +1021,30 @@ function __wbg_get_imports() {
|
|
|
1021
1021
|
};
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
|
-
function
|
|
1025
|
-
wasm.
|
|
1024
|
+
function __wasm_bindgen_func_elem_6215(arg0, arg1) {
|
|
1025
|
+
wasm.__wasm_bindgen_func_elem_6215(arg0, arg1);
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
|
-
function
|
|
1029
|
-
wasm.
|
|
1028
|
+
function __wasm_bindgen_func_elem_5650(arg0, arg1) {
|
|
1029
|
+
wasm.__wasm_bindgen_func_elem_5650(arg0, arg1);
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
|
-
function
|
|
1033
|
-
wasm.
|
|
1032
|
+
function __wasm_bindgen_func_elem_5399(arg0, arg1, arg2) {
|
|
1033
|
+
wasm.__wasm_bindgen_func_elem_5399(arg0, arg1, addHeapObject(arg2));
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
|
-
function
|
|
1037
|
-
wasm.
|
|
1036
|
+
function __wasm_bindgen_func_elem_5399_2(arg0, arg1, arg2) {
|
|
1037
|
+
wasm.__wasm_bindgen_func_elem_5399_2(arg0, arg1, addHeapObject(arg2));
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
|
-
function
|
|
1041
|
-
wasm.
|
|
1040
|
+
function __wasm_bindgen_func_elem_5399_3(arg0, arg1, arg2) {
|
|
1041
|
+
wasm.__wasm_bindgen_func_elem_5399_3(arg0, arg1, addHeapObject(arg2));
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
|
-
function
|
|
1044
|
+
function __wasm_bindgen_func_elem_7483(arg0, arg1, arg2) {
|
|
1045
1045
|
try {
|
|
1046
1046
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1047
|
-
wasm.
|
|
1047
|
+
wasm.__wasm_bindgen_func_elem_7483(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1048
1048
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1049
1049
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1050
1050
|
if (r1) {
|
|
@@ -1055,8 +1055,8 @@ function __wasm_bindgen_func_elem_7388(arg0, arg1, arg2) {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
-
function
|
|
1059
|
-
wasm.
|
|
1058
|
+
function __wasm_bindgen_func_elem_7485(arg0, arg1, arg2, arg3) {
|
|
1059
|
+
wasm.__wasm_bindgen_func_elem_7485(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
1062
|
|
package/wasm/core-wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -41,13 +41,13 @@ export const deliverysession_webapps: (a: number) => number;
|
|
|
41
41
|
export const discoverManifest: (a: number, b: number) => number;
|
|
42
42
|
export const init: () => void;
|
|
43
43
|
export const parseCompositeVersion: (a: number, b: number, c: number) => void;
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
44
|
+
export const __wasm_bindgen_func_elem_7483: (a: number, b: number, c: number, d: number) => void;
|
|
45
|
+
export const __wasm_bindgen_func_elem_7485: (a: number, b: number, c: number, d: number) => void;
|
|
46
|
+
export const __wasm_bindgen_func_elem_5399: (a: number, b: number, c: number) => void;
|
|
47
|
+
export const __wasm_bindgen_func_elem_5399_2: (a: number, b: number, c: number) => void;
|
|
48
|
+
export const __wasm_bindgen_func_elem_5399_3: (a: number, b: number, c: number) => void;
|
|
49
|
+
export const __wasm_bindgen_func_elem_6215: (a: number, b: number) => void;
|
|
50
|
+
export const __wasm_bindgen_func_elem_5650: (a: number, b: number) => void;
|
|
51
51
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
52
52
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
53
53
|
export const __wbindgen_export3: (a: number) => void;
|