@yodaos-pkg/ink 0.17.0 → 0.17.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/index.d.ts +112 -22
- package/index.js +939 -40
- package/package.json +1 -1
- package/pkg/ink_web.d.ts +7 -6
- package/pkg/ink_web.js +184 -40
- package/pkg/ink_web_bg.wasm +0 -0
- package/pkg/ink_web_bg.wasm.d.ts +7 -6
package/package.json
CHANGED
package/pkg/ink_web.d.ts
CHANGED
|
@@ -106,12 +106,13 @@ export interface InitOutput {
|
|
|
106
106
|
readonly inkwebview_setViewport: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
107
107
|
readonly satisfies_engine: (a: number, b: number) => number;
|
|
108
108
|
readonly start: () => void;
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
109
|
+
readonly __wasm_bindgen_func_elem_16723: (a: number, b: number, c: number) => void;
|
|
110
|
+
readonly __wasm_bindgen_func_elem_18114: (a: number, b: number, c: number, d: number) => void;
|
|
111
|
+
readonly __wasm_bindgen_func_elem_16725: (a: number, b: number, c: number) => void;
|
|
112
|
+
readonly __wasm_bindgen_func_elem_16725_3: (a: number, b: number, c: number) => void;
|
|
113
|
+
readonly __wasm_bindgen_func_elem_16725_4: (a: number, b: number, c: number) => void;
|
|
114
|
+
readonly __wasm_bindgen_func_elem_16725_5: (a: number, b: number, c: number) => void;
|
|
115
|
+
readonly __wasm_bindgen_func_elem_792: (a: number, b: number) => void;
|
|
115
116
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
116
117
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
117
118
|
readonly __wbindgen_export3: (a: number) => void;
|
package/pkg/ink_web.js
CHANGED
|
@@ -750,6 +750,9 @@ function __wbg_get_imports() {
|
|
|
750
750
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
751
751
|
return addHeapObject(ret);
|
|
752
752
|
}, arguments); },
|
|
753
|
+
__wbg_cancelAnimationFrame_3fe3db137219c343: function() { return handleError(function (arg0, arg1) {
|
|
754
|
+
getObject(arg0).cancelAnimationFrame(arg1);
|
|
755
|
+
}, arguments); },
|
|
753
756
|
__wbg_clearInterval_16e8cbbce92291d0: function(arg0) {
|
|
754
757
|
const ret = clearInterval(takeObject(arg0));
|
|
755
758
|
return addHeapObject(ret);
|
|
@@ -773,9 +776,8 @@ function __wbg_get_imports() {
|
|
|
773
776
|
__wbg_close_88106990eea7f544: function() { return handleError(function (arg0) {
|
|
774
777
|
getObject(arg0).close();
|
|
775
778
|
}, arguments); },
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
return addHeapObject(ret);
|
|
779
|
+
__wbg_close_a64cfd344f1bebd6: function(arg0) {
|
|
780
|
+
getObject(arg0).close();
|
|
779
781
|
},
|
|
780
782
|
__wbg_construct_2367e500aed1ab8c: function() { return handleError(function (arg0, arg1) {
|
|
781
783
|
const ret = Reflect.construct(getObject(arg0), getObject(arg1));
|
|
@@ -830,6 +832,13 @@ function __wbg_get_imports() {
|
|
|
830
832
|
__wbg_debug_4e190d233ee2e0d8: function(arg0, arg1, arg2, arg3) {
|
|
831
833
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
832
834
|
},
|
|
835
|
+
__wbg_deviceId_899480f7d34434bf: function(arg0, arg1) {
|
|
836
|
+
const ret = getObject(arg1).deviceId;
|
|
837
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
838
|
+
const len1 = WASM_VECTOR_LEN;
|
|
839
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
840
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
841
|
+
},
|
|
833
842
|
__wbg_document_7a41071f2f439323: function(arg0) {
|
|
834
843
|
const ret = getObject(arg0).document;
|
|
835
844
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
@@ -847,6 +856,9 @@ function __wbg_get_imports() {
|
|
|
847
856
|
__wbg_drawImage_7b56907fbfb3137d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
848
857
|
getObject(arg0).drawImage(getObject(arg1), arg2, arg3, arg4, arg5);
|
|
849
858
|
}, arguments); },
|
|
859
|
+
__wbg_drawImage_f27d281944c3c665: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
860
|
+
getObject(arg0).drawImage(getObject(arg1), arg2, arg3);
|
|
861
|
+
}, arguments); },
|
|
850
862
|
__wbg_duration_dff62afc73b8479d: function(arg0) {
|
|
851
863
|
const ret = getObject(arg0).duration;
|
|
852
864
|
return ret;
|
|
@@ -854,6 +866,10 @@ function __wbg_get_imports() {
|
|
|
854
866
|
__wbg_ellipse_0303410b3d05bb97: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
855
867
|
getObject(arg0).ellipse(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
|
|
856
868
|
}, arguments); },
|
|
869
|
+
__wbg_enabled_94ce84eb348cd6c8: function(arg0) {
|
|
870
|
+
const ret = getObject(arg0).enabled;
|
|
871
|
+
return ret;
|
|
872
|
+
},
|
|
857
873
|
__wbg_end_f246180f9a60b3e5: function() { return handleError(function (arg0, arg1) {
|
|
858
874
|
const ret = getObject(arg0).end(arg1 >>> 0);
|
|
859
875
|
return ret;
|
|
@@ -862,6 +878,10 @@ function __wbg_get_imports() {
|
|
|
862
878
|
const ret = getObject(arg0).entries();
|
|
863
879
|
return addHeapObject(ret);
|
|
864
880
|
},
|
|
881
|
+
__wbg_enumerateDevices_dcd85b140c9d5d01: function() { return handleError(function (arg0) {
|
|
882
|
+
const ret = getObject(arg0).enumerateDevices();
|
|
883
|
+
return addHeapObject(ret);
|
|
884
|
+
}, arguments); },
|
|
865
885
|
__wbg_error_2001591ad2463697: function(arg0) {
|
|
866
886
|
console.error(getObject(arg0));
|
|
867
887
|
},
|
|
@@ -892,6 +912,10 @@ function __wbg_get_imports() {
|
|
|
892
912
|
__wbg_fill_ec5da5f3916cf924: function(arg0) {
|
|
893
913
|
getObject(arg0).fill();
|
|
894
914
|
},
|
|
915
|
+
__wbg_for_b0616d1de7774be9: function(arg0, arg1) {
|
|
916
|
+
const ret = Symbol.for(getStringFromWasm0(arg0, arg1));
|
|
917
|
+
return addHeapObject(ret);
|
|
918
|
+
},
|
|
895
919
|
__wbg_from_0dbf29f09e7fb200: function(arg0) {
|
|
896
920
|
const ret = Array.from(getObject(arg0));
|
|
897
921
|
return addHeapObject(ret);
|
|
@@ -921,6 +945,18 @@ function __wbg_get_imports() {
|
|
|
921
945
|
const ret = getObject(arg0).getReader();
|
|
922
946
|
return addHeapObject(ret);
|
|
923
947
|
},
|
|
948
|
+
__wbg_getTracks_a2bdf7c9bc3f23c7: function(arg0) {
|
|
949
|
+
const ret = getObject(arg0).getTracks();
|
|
950
|
+
return addHeapObject(ret);
|
|
951
|
+
},
|
|
952
|
+
__wbg_getUserMedia_35013b9629195e5e: function() { return handleError(function (arg0, arg1) {
|
|
953
|
+
const ret = getObject(arg0).getUserMedia(getObject(arg1));
|
|
954
|
+
return addHeapObject(ret);
|
|
955
|
+
}, arguments); },
|
|
956
|
+
__wbg_getVideoTracks_5b3e397ec47d8cb2: function(arg0) {
|
|
957
|
+
const ret = getObject(arg0).getVideoTracks();
|
|
958
|
+
return addHeapObject(ret);
|
|
959
|
+
},
|
|
924
960
|
__wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
|
|
925
961
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
926
962
|
return addHeapObject(ret);
|
|
@@ -940,6 +976,10 @@ function __wbg_get_imports() {
|
|
|
940
976
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
941
977
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
942
978
|
}, arguments); },
|
|
979
|
+
__wbg_get_ef70f6ce70a05af6: function(arg0, arg1) {
|
|
980
|
+
const ret = getObject(arg0).get(getObject(arg1));
|
|
981
|
+
return addHeapObject(ret);
|
|
982
|
+
},
|
|
943
983
|
__wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
|
|
944
984
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
945
985
|
return addHeapObject(ret);
|
|
@@ -948,6 +988,13 @@ function __wbg_get_imports() {
|
|
|
948
988
|
const ret = getObject(arg0).globalAlpha;
|
|
949
989
|
return ret;
|
|
950
990
|
},
|
|
991
|
+
__wbg_groupId_a3745bb23eb7d024: function(arg0, arg1) {
|
|
992
|
+
const ret = getObject(arg1).groupId;
|
|
993
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
994
|
+
const len1 = WASM_VECTOR_LEN;
|
|
995
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
996
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
997
|
+
},
|
|
951
998
|
__wbg_headers_6022deb4e576fb8e: function(arg0) {
|
|
952
999
|
const ret = getObject(arg0).headers;
|
|
953
1000
|
return addHeapObject(ret);
|
|
@@ -956,6 +1003,17 @@ function __wbg_get_imports() {
|
|
|
956
1003
|
const ret = getObject(arg0).height;
|
|
957
1004
|
return ret;
|
|
958
1005
|
},
|
|
1006
|
+
__wbg_height_e9bd2453b0432ed7: function(arg0) {
|
|
1007
|
+
const ret = getObject(arg0).height;
|
|
1008
|
+
return ret;
|
|
1009
|
+
},
|
|
1010
|
+
__wbg_id_9cf1b9ef000913dd: function(arg0, arg1) {
|
|
1011
|
+
const ret = getObject(arg1).id;
|
|
1012
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1013
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1014
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1015
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1016
|
+
},
|
|
959
1017
|
__wbg_info_e1c3400f7bf783dc: function(arg0, arg1, arg2, arg3) {
|
|
960
1018
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
961
1019
|
},
|
|
@@ -989,6 +1047,16 @@ function __wbg_get_imports() {
|
|
|
989
1047
|
const ret = result;
|
|
990
1048
|
return ret;
|
|
991
1049
|
},
|
|
1050
|
+
__wbg_instanceof_HtmlVideoElement_a38faa28b470ae86: function(arg0) {
|
|
1051
|
+
let result;
|
|
1052
|
+
try {
|
|
1053
|
+
result = getObject(arg0) instanceof HTMLVideoElement;
|
|
1054
|
+
} catch (_) {
|
|
1055
|
+
result = false;
|
|
1056
|
+
}
|
|
1057
|
+
const ret = result;
|
|
1058
|
+
return ret;
|
|
1059
|
+
},
|
|
992
1060
|
__wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
|
|
993
1061
|
let result;
|
|
994
1062
|
try {
|
|
@@ -999,6 +1067,16 @@ function __wbg_get_imports() {
|
|
|
999
1067
|
const ret = result;
|
|
1000
1068
|
return ret;
|
|
1001
1069
|
},
|
|
1070
|
+
__wbg_instanceof_MediaStream_f32fa090e75434a3: function(arg0) {
|
|
1071
|
+
let result;
|
|
1072
|
+
try {
|
|
1073
|
+
result = getObject(arg0) instanceof MediaStream;
|
|
1074
|
+
} catch (_) {
|
|
1075
|
+
result = false;
|
|
1076
|
+
}
|
|
1077
|
+
const ret = result;
|
|
1078
|
+
return ret;
|
|
1079
|
+
},
|
|
1002
1080
|
__wbg_instanceof_Object_7c99480a1cdfb911: function(arg0) {
|
|
1003
1081
|
let result;
|
|
1004
1082
|
try {
|
|
@@ -1059,10 +1137,6 @@ function __wbg_get_imports() {
|
|
|
1059
1137
|
const ret = result;
|
|
1060
1138
|
return ret;
|
|
1061
1139
|
},
|
|
1062
|
-
__wbg_instantiate_28e47fc8f750f0da: function(arg0, arg1, arg2) {
|
|
1063
|
-
const ret = WebAssembly.instantiate(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
1064
|
-
return addHeapObject(ret);
|
|
1065
|
-
},
|
|
1066
1140
|
__wbg_isArray_c3109d14ffc06469: function(arg0) {
|
|
1067
1141
|
const ret = Array.isArray(getObject(arg0));
|
|
1068
1142
|
return ret;
|
|
@@ -1071,9 +1145,26 @@ function __wbg_get_imports() {
|
|
|
1071
1145
|
const ret = Symbol.iterator;
|
|
1072
1146
|
return addHeapObject(ret);
|
|
1073
1147
|
},
|
|
1074
|
-
|
|
1075
|
-
const ret =
|
|
1076
|
-
|
|
1148
|
+
__wbg_kind_248ee75934c1b10d: function(arg0, arg1) {
|
|
1149
|
+
const ret = getObject(arg1).kind;
|
|
1150
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1151
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1152
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1153
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1154
|
+
},
|
|
1155
|
+
__wbg_label_711c759499f812db: function(arg0, arg1) {
|
|
1156
|
+
const ret = getObject(arg1).label;
|
|
1157
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1158
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1159
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1160
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1161
|
+
},
|
|
1162
|
+
__wbg_label_ce5476a771b167b6: function(arg0, arg1) {
|
|
1163
|
+
const ret = getObject(arg1).label;
|
|
1164
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1165
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1166
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1167
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1077
1168
|
},
|
|
1078
1169
|
__wbg_length_3d4ecd04bd8d22f1: function(arg0) {
|
|
1079
1170
|
const ret = getObject(arg0).length;
|
|
@@ -1111,6 +1202,10 @@ function __wbg_get_imports() {
|
|
|
1111
1202
|
const ret = getObject(arg0).measureText(getStringFromWasm0(arg1, arg2));
|
|
1112
1203
|
return addHeapObject(ret);
|
|
1113
1204
|
}, arguments); },
|
|
1205
|
+
__wbg_mediaDevices_b9d943bd4a64962e: function() { return handleError(function (arg0) {
|
|
1206
|
+
const ret = getObject(arg0).mediaDevices;
|
|
1207
|
+
return addHeapObject(ret);
|
|
1208
|
+
}, arguments); },
|
|
1114
1209
|
__wbg_message_cb4f84ee66e5e341: function(arg0) {
|
|
1115
1210
|
const ret = getObject(arg0).message;
|
|
1116
1211
|
return addHeapObject(ret);
|
|
@@ -1122,6 +1217,10 @@ function __wbg_get_imports() {
|
|
|
1122
1217
|
const ret = getObject(arg0).msCrypto;
|
|
1123
1218
|
return addHeapObject(ret);
|
|
1124
1219
|
},
|
|
1220
|
+
__wbg_muted_553ccf9b0767f24b: function(arg0) {
|
|
1221
|
+
const ret = getObject(arg0).muted;
|
|
1222
|
+
return ret;
|
|
1223
|
+
},
|
|
1125
1224
|
__wbg_name_d3c35622d14bb080: function(arg0) {
|
|
1126
1225
|
const ret = getObject(arg0).name;
|
|
1127
1226
|
return addHeapObject(ret);
|
|
@@ -1150,6 +1249,10 @@ function __wbg_get_imports() {
|
|
|
1150
1249
|
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
|
1151
1250
|
return addHeapObject(ret);
|
|
1152
1251
|
}, arguments); },
|
|
1252
|
+
__wbg_new_34d45cc8e36aaead: function() {
|
|
1253
|
+
const ret = new Map();
|
|
1254
|
+
return addHeapObject(ret);
|
|
1255
|
+
},
|
|
1153
1256
|
__wbg_new_5e360d2ff7b9e1c3: function(arg0, arg1) {
|
|
1154
1257
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1155
1258
|
return addHeapObject(ret);
|
|
@@ -1271,6 +1374,10 @@ function __wbg_get_imports() {
|
|
|
1271
1374
|
__wbg_rect_a7f5a58f447e85c2: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1272
1375
|
getObject(arg0).rect(arg1, arg2, arg3, arg4);
|
|
1273
1376
|
},
|
|
1377
|
+
__wbg_requestAnimationFrame_6f039d778639cc28: function() { return handleError(function (arg0, arg1) {
|
|
1378
|
+
const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
|
|
1379
|
+
return ret;
|
|
1380
|
+
}, arguments); },
|
|
1274
1381
|
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
1275
1382
|
const ret = module.require;
|
|
1276
1383
|
return addHeapObject(ret);
|
|
@@ -1346,6 +1453,10 @@ function __wbg_get_imports() {
|
|
|
1346
1453
|
__wbg_set_currentTime_8dff14aaffa6af0b: function(arg0, arg1) {
|
|
1347
1454
|
getObject(arg0).currentTime = arg1;
|
|
1348
1455
|
},
|
|
1456
|
+
__wbg_set_fde2cec06c23692b: function(arg0, arg1, arg2) {
|
|
1457
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
1458
|
+
return addHeapObject(ret);
|
|
1459
|
+
},
|
|
1349
1460
|
__wbg_set_filter_b1addcc1920a82ef: function(arg0, arg1, arg2) {
|
|
1350
1461
|
getObject(arg0).filter = getStringFromWasm0(arg1, arg2);
|
|
1351
1462
|
},
|
|
@@ -1382,6 +1493,9 @@ function __wbg_get_imports() {
|
|
|
1382
1493
|
__wbg_set_method_c9f1f985f6b6c427: function(arg0, arg1, arg2) {
|
|
1383
1494
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
1384
1495
|
},
|
|
1496
|
+
__wbg_set_muted_f47a79cb62c8af4d: function(arg0, arg1) {
|
|
1497
|
+
getObject(arg0).muted = arg1 !== 0;
|
|
1498
|
+
},
|
|
1385
1499
|
__wbg_set_oncanplay_cbcb714b75f9caad: function(arg0, arg1) {
|
|
1386
1500
|
getObject(arg0).oncanplay = getObject(arg1);
|
|
1387
1501
|
},
|
|
@@ -1397,6 +1511,9 @@ function __wbg_get_imports() {
|
|
|
1397
1511
|
__wbg_set_onerror_da99c4232662a084: function(arg0, arg1) {
|
|
1398
1512
|
getObject(arg0).onerror = getObject(arg1);
|
|
1399
1513
|
},
|
|
1514
|
+
__wbg_set_onloadedmetadata_91b1997784ac44e9: function(arg0, arg1) {
|
|
1515
|
+
getObject(arg0).onloadedmetadata = getObject(arg1);
|
|
1516
|
+
},
|
|
1400
1517
|
__wbg_set_onmessage_c1db358b9c38e3f1: function(arg0, arg1) {
|
|
1401
1518
|
getObject(arg0).onmessage = getObject(arg1);
|
|
1402
1519
|
},
|
|
@@ -1492,6 +1609,9 @@ function __wbg_get_imports() {
|
|
|
1492
1609
|
const ret = getObject(arg0).status;
|
|
1493
1610
|
return ret;
|
|
1494
1611
|
},
|
|
1612
|
+
__wbg_stop_d7613f5d83ba5c45: function(arg0) {
|
|
1613
|
+
getObject(arg0).stop();
|
|
1614
|
+
},
|
|
1495
1615
|
__wbg_stringify_91082ed7a5a5769e: function() { return handleError(function (arg0) {
|
|
1496
1616
|
const ret = JSON.stringify(getObject(arg0));
|
|
1497
1617
|
return addHeapObject(ret);
|
|
@@ -1517,6 +1637,13 @@ function __wbg_get_imports() {
|
|
|
1517
1637
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
1518
1638
|
return addHeapObject(ret);
|
|
1519
1639
|
},
|
|
1640
|
+
__wbg_toDataURL_3e14c9209664a1c4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1641
|
+
const ret = getObject(arg1).toDataURL(getStringFromWasm0(arg2, arg3));
|
|
1642
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1643
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1644
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1645
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1646
|
+
}, arguments); },
|
|
1520
1647
|
__wbg_transform_468bf4d1276431ab: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
1521
1648
|
getObject(arg0).transform(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
1522
1649
|
}, arguments); },
|
|
@@ -1530,10 +1657,6 @@ function __wbg_get_imports() {
|
|
|
1530
1657
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1531
1658
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1532
1659
|
},
|
|
1533
|
-
__wbg_validate_5e8f54c744481ac2: function() { return handleError(function (arg0) {
|
|
1534
|
-
const ret = WebAssembly.validate(getObject(arg0));
|
|
1535
|
-
return ret;
|
|
1536
|
-
}, arguments); },
|
|
1537
1660
|
__wbg_value_ee3a06f4579184fa: function(arg0) {
|
|
1538
1661
|
const ret = getObject(arg0).value;
|
|
1539
1662
|
return addHeapObject(ret);
|
|
@@ -1542,6 +1665,14 @@ function __wbg_get_imports() {
|
|
|
1542
1665
|
const ret = getObject(arg0).versions;
|
|
1543
1666
|
return addHeapObject(ret);
|
|
1544
1667
|
},
|
|
1668
|
+
__wbg_videoHeight_c6473e0876716097: function(arg0) {
|
|
1669
|
+
const ret = getObject(arg0).videoHeight;
|
|
1670
|
+
return ret;
|
|
1671
|
+
},
|
|
1672
|
+
__wbg_videoWidth_e8cbf52940ff039d: function(arg0) {
|
|
1673
|
+
const ret = getObject(arg0).videoWidth;
|
|
1674
|
+
return ret;
|
|
1675
|
+
},
|
|
1545
1676
|
__wbg_volume_5b42e6078d69c6d6: function(arg0) {
|
|
1546
1677
|
const ret = getObject(arg0).volume;
|
|
1547
1678
|
return ret;
|
|
@@ -1549,6 +1680,10 @@ function __wbg_get_imports() {
|
|
|
1549
1680
|
__wbg_warn_ad997e36628bd23a: function(arg0, arg1, arg2, arg3) {
|
|
1550
1681
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1551
1682
|
},
|
|
1683
|
+
__wbg_width_0b85c08524c203ea: function(arg0) {
|
|
1684
|
+
const ret = getObject(arg0).width;
|
|
1685
|
+
return ret;
|
|
1686
|
+
},
|
|
1552
1687
|
__wbg_width_5adcb07d04d08bdf: function(arg0) {
|
|
1553
1688
|
const ret = getObject(arg0).width;
|
|
1554
1689
|
return ret;
|
|
@@ -1558,46 +1693,51 @@ function __wbg_get_imports() {
|
|
|
1558
1693
|
return ret;
|
|
1559
1694
|
},
|
|
1560
1695
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1561
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1562
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1696
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4350, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1697
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_16725);
|
|
1563
1698
|
return addHeapObject(ret);
|
|
1564
1699
|
},
|
|
1565
1700
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1566
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1567
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1701
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4505, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1702
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_18114);
|
|
1568
1703
|
return addHeapObject(ret);
|
|
1569
1704
|
},
|
|
1570
1705
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1571
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [
|
|
1572
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1706
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [F64], shim_idx: 4348, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1707
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_16723);
|
|
1573
1708
|
return addHeapObject(ret);
|
|
1574
1709
|
},
|
|
1575
1710
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1576
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("
|
|
1577
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1711
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 4350, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1712
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_16725_3);
|
|
1578
1713
|
return addHeapObject(ret);
|
|
1579
1714
|
},
|
|
1580
1715
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1581
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("
|
|
1582
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1716
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 4350, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1717
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_16725_4);
|
|
1583
1718
|
return addHeapObject(ret);
|
|
1584
1719
|
},
|
|
1585
1720
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1721
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 4350, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1722
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_16725_5);
|
|
1723
|
+
return addHeapObject(ret);
|
|
1724
|
+
},
|
|
1725
|
+
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
1586
1726
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 153, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1587
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1727
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_792);
|
|
1588
1728
|
return addHeapObject(ret);
|
|
1589
1729
|
},
|
|
1590
|
-
|
|
1730
|
+
__wbindgen_cast_0000000000000008: function(arg0) {
|
|
1591
1731
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1592
1732
|
const ret = arg0;
|
|
1593
1733
|
return addHeapObject(ret);
|
|
1594
1734
|
},
|
|
1595
|
-
|
|
1735
|
+
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
1596
1736
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1597
1737
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1598
1738
|
return addHeapObject(ret);
|
|
1599
1739
|
},
|
|
1600
|
-
|
|
1740
|
+
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
1601
1741
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1602
1742
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1603
1743
|
return addHeapObject(ret);
|
|
@@ -1639,30 +1779,30 @@ function __wbg_get_imports() {
|
|
|
1639
1779
|
};
|
|
1640
1780
|
}
|
|
1641
1781
|
|
|
1642
|
-
function
|
|
1643
|
-
wasm.
|
|
1782
|
+
function __wasm_bindgen_func_elem_792(arg0, arg1) {
|
|
1783
|
+
wasm.__wasm_bindgen_func_elem_792(arg0, arg1);
|
|
1644
1784
|
}
|
|
1645
1785
|
|
|
1646
|
-
function
|
|
1647
|
-
wasm.
|
|
1786
|
+
function __wasm_bindgen_func_elem_16725(arg0, arg1, arg2) {
|
|
1787
|
+
wasm.__wasm_bindgen_func_elem_16725(arg0, arg1, addHeapObject(arg2));
|
|
1648
1788
|
}
|
|
1649
1789
|
|
|
1650
|
-
function
|
|
1651
|
-
wasm.
|
|
1790
|
+
function __wasm_bindgen_func_elem_16725_3(arg0, arg1, arg2) {
|
|
1791
|
+
wasm.__wasm_bindgen_func_elem_16725_3(arg0, arg1, addHeapObject(arg2));
|
|
1652
1792
|
}
|
|
1653
1793
|
|
|
1654
|
-
function
|
|
1655
|
-
wasm.
|
|
1794
|
+
function __wasm_bindgen_func_elem_16725_4(arg0, arg1, arg2) {
|
|
1795
|
+
wasm.__wasm_bindgen_func_elem_16725_4(arg0, arg1, addHeapObject(arg2));
|
|
1656
1796
|
}
|
|
1657
1797
|
|
|
1658
|
-
function
|
|
1659
|
-
wasm.
|
|
1798
|
+
function __wasm_bindgen_func_elem_16725_5(arg0, arg1, arg2) {
|
|
1799
|
+
wasm.__wasm_bindgen_func_elem_16725_5(arg0, arg1, addHeapObject(arg2));
|
|
1660
1800
|
}
|
|
1661
1801
|
|
|
1662
|
-
function
|
|
1802
|
+
function __wasm_bindgen_func_elem_18114(arg0, arg1, arg2) {
|
|
1663
1803
|
try {
|
|
1664
1804
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1665
|
-
wasm.
|
|
1805
|
+
wasm.__wasm_bindgen_func_elem_18114(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1666
1806
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1667
1807
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1668
1808
|
if (r1) {
|
|
@@ -1673,6 +1813,10 @@ function __wasm_bindgen_func_elem_17125(arg0, arg1, arg2) {
|
|
|
1673
1813
|
}
|
|
1674
1814
|
}
|
|
1675
1815
|
|
|
1816
|
+
function __wasm_bindgen_func_elem_16723(arg0, arg1, arg2) {
|
|
1817
|
+
wasm.__wasm_bindgen_func_elem_16723(arg0, arg1, arg2);
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1676
1820
|
|
|
1677
1821
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
1678
1822
|
const InkWebMessageStreamFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/pkg/ink_web_bg.wasm
CHANGED
|
Binary file
|
package/pkg/ink_web_bg.wasm.d.ts
CHANGED
|
@@ -45,12 +45,13 @@ export const inkwebview_setTarget: (a: number, b: number, c: number, d: number)
|
|
|
45
45
|
export const inkwebview_setViewport: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
46
46
|
export const satisfies_engine: (a: number, b: number) => number;
|
|
47
47
|
export const start: () => void;
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
48
|
+
export const __wasm_bindgen_func_elem_16723: (a: number, b: number, c: number) => void;
|
|
49
|
+
export const __wasm_bindgen_func_elem_18114: (a: number, b: number, c: number, d: number) => void;
|
|
50
|
+
export const __wasm_bindgen_func_elem_16725: (a: number, b: number, c: number) => void;
|
|
51
|
+
export const __wasm_bindgen_func_elem_16725_3: (a: number, b: number, c: number) => void;
|
|
52
|
+
export const __wasm_bindgen_func_elem_16725_4: (a: number, b: number, c: number) => void;
|
|
53
|
+
export const __wasm_bindgen_func_elem_16725_5: (a: number, b: number, c: number) => void;
|
|
54
|
+
export const __wasm_bindgen_func_elem_792: (a: number, b: number) => void;
|
|
54
55
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
55
56
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
56
57
|
export const __wbindgen_export3: (a: number) => void;
|