logisheets 1.1.0 → 1.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.
@@ -0,0 +1,8 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export function handle(msg: any, book_id?: number | null): any;
4
+ /**
5
+ * Input: AsyncFuncResult
6
+ * Output: ActionAffect
7
+ */
8
+ export function input_async_result(id: number, result: any): any;
@@ -0,0 +1,583 @@
1
+
2
+ let imports = {};
3
+ imports['__wbindgen_placeholder__'] = module.exports;
4
+ let wasm;
5
+ const { TextDecoder, TextEncoder } = require(`util`);
6
+
7
+ function addToExternrefTable0(obj) {
8
+ const idx = wasm.__externref_table_alloc();
9
+ wasm.__wbindgen_export_2.set(idx, obj);
10
+ return idx;
11
+ }
12
+
13
+ function handleError(f, args) {
14
+ try {
15
+ return f.apply(this, args);
16
+ } catch (e) {
17
+ const idx = addToExternrefTable0(e);
18
+ wasm.__wbindgen_exn_store(idx);
19
+ }
20
+ }
21
+
22
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
23
+
24
+ cachedTextDecoder.decode();
25
+
26
+ let cachedUint8ArrayMemory0 = null;
27
+
28
+ function getUint8ArrayMemory0() {
29
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
30
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
31
+ }
32
+ return cachedUint8ArrayMemory0;
33
+ }
34
+
35
+ function getStringFromWasm0(ptr, len) {
36
+ ptr = ptr >>> 0;
37
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
38
+ }
39
+
40
+ let WASM_VECTOR_LEN = 0;
41
+
42
+ let cachedTextEncoder = new TextEncoder('utf-8');
43
+
44
+ const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
45
+ ? function (arg, view) {
46
+ return cachedTextEncoder.encodeInto(arg, view);
47
+ }
48
+ : function (arg, view) {
49
+ const buf = cachedTextEncoder.encode(arg);
50
+ view.set(buf);
51
+ return {
52
+ read: arg.length,
53
+ written: buf.length
54
+ };
55
+ });
56
+
57
+ function passStringToWasm0(arg, malloc, realloc) {
58
+
59
+ if (realloc === undefined) {
60
+ const buf = cachedTextEncoder.encode(arg);
61
+ const ptr = malloc(buf.length, 1) >>> 0;
62
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
63
+ WASM_VECTOR_LEN = buf.length;
64
+ return ptr;
65
+ }
66
+
67
+ let len = arg.length;
68
+ let ptr = malloc(len, 1) >>> 0;
69
+
70
+ const mem = getUint8ArrayMemory0();
71
+
72
+ let offset = 0;
73
+
74
+ for (; offset < len; offset++) {
75
+ const code = arg.charCodeAt(offset);
76
+ if (code > 0x7F) break;
77
+ mem[ptr + offset] = code;
78
+ }
79
+
80
+ if (offset !== len) {
81
+ if (offset !== 0) {
82
+ arg = arg.slice(offset);
83
+ }
84
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
85
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
86
+ const ret = encodeString(arg, view);
87
+
88
+ offset += ret.written;
89
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
90
+ }
91
+
92
+ WASM_VECTOR_LEN = offset;
93
+ return ptr;
94
+ }
95
+
96
+ let cachedDataViewMemory0 = null;
97
+
98
+ function getDataViewMemory0() {
99
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
100
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
101
+ }
102
+ return cachedDataViewMemory0;
103
+ }
104
+
105
+ function isLikeNone(x) {
106
+ return x === undefined || x === null;
107
+ }
108
+
109
+ function debugString(val) {
110
+ // primitive types
111
+ const type = typeof val;
112
+ if (type == 'number' || type == 'boolean' || val == null) {
113
+ return `${val}`;
114
+ }
115
+ if (type == 'string') {
116
+ return `"${val}"`;
117
+ }
118
+ if (type == 'symbol') {
119
+ const description = val.description;
120
+ if (description == null) {
121
+ return 'Symbol';
122
+ } else {
123
+ return `Symbol(${description})`;
124
+ }
125
+ }
126
+ if (type == 'function') {
127
+ const name = val.name;
128
+ if (typeof name == 'string' && name.length > 0) {
129
+ return `Function(${name})`;
130
+ } else {
131
+ return 'Function';
132
+ }
133
+ }
134
+ // objects
135
+ if (Array.isArray(val)) {
136
+ const length = val.length;
137
+ let debug = '[';
138
+ if (length > 0) {
139
+ debug += debugString(val[0]);
140
+ }
141
+ for(let i = 1; i < length; i++) {
142
+ debug += ', ' + debugString(val[i]);
143
+ }
144
+ debug += ']';
145
+ return debug;
146
+ }
147
+ // Test for built-in
148
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
149
+ let className;
150
+ if (builtInMatches && builtInMatches.length > 1) {
151
+ className = builtInMatches[1];
152
+ } else {
153
+ // Failed to match the standard '[object ClassName]'
154
+ return toString.call(val);
155
+ }
156
+ if (className == 'Object') {
157
+ // we're a user defined class or Object
158
+ // JSON.stringify avoids problems with cycles, and is generally much
159
+ // easier than looping through ownProperties of `val`.
160
+ try {
161
+ return 'Object(' + JSON.stringify(val) + ')';
162
+ } catch (_) {
163
+ return 'Object';
164
+ }
165
+ }
166
+ // errors
167
+ if (val instanceof Error) {
168
+ return `${val.name}: ${val.message}\n${val.stack}`;
169
+ }
170
+ // TODO we could test for more things here, like `Set`s and `Map`s.
171
+ return className;
172
+ }
173
+ /**
174
+ * @param {any} msg
175
+ * @param {number | null} [book_id]
176
+ * @returns {any}
177
+ */
178
+ module.exports.handle = function(msg, book_id) {
179
+ const ret = wasm.handle(msg, isLikeNone(book_id) ? 0x100000001 : (book_id) >>> 0);
180
+ return ret;
181
+ };
182
+
183
+ /**
184
+ * Input: AsyncFuncResult
185
+ * Output: ActionAffect
186
+ * @param {number} id
187
+ * @param {any} result
188
+ * @returns {any}
189
+ */
190
+ module.exports.input_async_result = function(id, result) {
191
+ const ret = wasm.input_async_result(id, result);
192
+ return ret;
193
+ };
194
+
195
+ module.exports.__wbg_buffer_71667b1101df19da = function(arg0) {
196
+ const ret = arg0.buffer;
197
+ return ret;
198
+ };
199
+
200
+ module.exports.__wbg_call_75b89300dd530ca6 = function() { return handleError(function (arg0, arg1, arg2) {
201
+ const ret = arg0.call(arg1, arg2);
202
+ return ret;
203
+ }, arguments) };
204
+
205
+ module.exports.__wbg_call_d68488931693e6ee = function() { return handleError(function (arg0, arg1) {
206
+ const ret = arg0.call(arg1);
207
+ return ret;
208
+ }, arguments) };
209
+
210
+ module.exports.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
211
+ const ret = arg0.crypto;
212
+ return ret;
213
+ };
214
+
215
+ module.exports.__wbg_done_3ca5b09e8598078d = function(arg0) {
216
+ const ret = arg0.done;
217
+ return ret;
218
+ };
219
+
220
+ module.exports.__wbg_entries_d873dde863e50b8c = function(arg0) {
221
+ const ret = Object.entries(arg0);
222
+ return ret;
223
+ };
224
+
225
+ module.exports.__wbg_error_2ca63459aa969937 = function(arg0) {
226
+ console.error(arg0);
227
+ };
228
+
229
+ module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
230
+ let deferred0_0;
231
+ let deferred0_1;
232
+ try {
233
+ deferred0_0 = arg0;
234
+ deferred0_1 = arg1;
235
+ console.error(getStringFromWasm0(arg0, arg1));
236
+ } finally {
237
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
238
+ }
239
+ };
240
+
241
+ module.exports.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
242
+ arg0.getRandomValues(arg1);
243
+ }, arguments) };
244
+
245
+ module.exports.__wbg_getTime_55e0fe6b64674dc4 = function(arg0) {
246
+ const ret = arg0.getTime();
247
+ return ret;
248
+ };
249
+
250
+ module.exports.__wbg_getTimezoneOffset_eb718467eb834526 = function(arg0) {
251
+ const ret = arg0.getTimezoneOffset();
252
+ return ret;
253
+ };
254
+
255
+ module.exports.__wbg_get_c122b1d576cf1fdb = function(arg0, arg1) {
256
+ const ret = arg0[arg1 >>> 0];
257
+ return ret;
258
+ };
259
+
260
+ module.exports.__wbg_get_ddd82e34e6366fb9 = function() { return handleError(function (arg0, arg1) {
261
+ const ret = Reflect.get(arg0, arg1);
262
+ return ret;
263
+ }, arguments) };
264
+
265
+ module.exports.__wbg_getwithrefkey_6550b2c093d2eb18 = function(arg0, arg1) {
266
+ const ret = arg0[arg1];
267
+ return ret;
268
+ };
269
+
270
+ module.exports.__wbg_globalThis_59c7794d9413986f = function() { return handleError(function () {
271
+ const ret = globalThis.globalThis;
272
+ return ret;
273
+ }, arguments) };
274
+
275
+ module.exports.__wbg_global_04c81bad83a72129 = function() { return handleError(function () {
276
+ const ret = global.global;
277
+ return ret;
278
+ }, arguments) };
279
+
280
+ module.exports.__wbg_instanceof_ArrayBuffer_36214dbc6ea8dd3d = function(arg0) {
281
+ let result;
282
+ try {
283
+ result = arg0 instanceof ArrayBuffer;
284
+ } catch (_) {
285
+ result = false;
286
+ }
287
+ const ret = result;
288
+ return ret;
289
+ };
290
+
291
+ module.exports.__wbg_instanceof_Uint8Array_0d898f7981fe0a2d = function(arg0) {
292
+ let result;
293
+ try {
294
+ result = arg0 instanceof Uint8Array;
295
+ } catch (_) {
296
+ result = false;
297
+ }
298
+ const ret = result;
299
+ return ret;
300
+ };
301
+
302
+ module.exports.__wbg_isArray_435f9cb9abc7eccc = function(arg0) {
303
+ const ret = Array.isArray(arg0);
304
+ return ret;
305
+ };
306
+
307
+ module.exports.__wbg_isSafeInteger_2817b2c8ebdd29d2 = function(arg0) {
308
+ const ret = Number.isSafeInteger(arg0);
309
+ return ret;
310
+ };
311
+
312
+ module.exports.__wbg_iterator_2a6b115668862130 = function() {
313
+ const ret = Symbol.iterator;
314
+ return ret;
315
+ };
316
+
317
+ module.exports.__wbg_length_b52c3d528b88468e = function(arg0) {
318
+ const ret = arg0.length;
319
+ return ret;
320
+ };
321
+
322
+ module.exports.__wbg_length_e9123d1e4db12534 = function(arg0) {
323
+ const ret = arg0.length;
324
+ return ret;
325
+ };
326
+
327
+ module.exports.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
328
+ const ret = arg0.msCrypto;
329
+ return ret;
330
+ };
331
+
332
+ module.exports.__wbg_new0_9e4a93c1026c7bae = function() {
333
+ const ret = new Date();
334
+ return ret;
335
+ };
336
+
337
+ module.exports.__wbg_new_8a6f238a6ece86ea = function() {
338
+ const ret = new Error();
339
+ return ret;
340
+ };
341
+
342
+ module.exports.__wbg_new_9e6542cc3fe4b09e = function() {
343
+ const ret = new Array();
344
+ return ret;
345
+ };
346
+
347
+ module.exports.__wbg_new_9ed4506807911440 = function(arg0) {
348
+ const ret = new Uint8Array(arg0);
349
+ return ret;
350
+ };
351
+
352
+ module.exports.__wbg_new_c1ec5b759597672f = function(arg0) {
353
+ const ret = new Date(arg0);
354
+ return ret;
355
+ };
356
+
357
+ module.exports.__wbg_new_dbb4955149975b18 = function() {
358
+ const ret = new Object();
359
+ return ret;
360
+ };
361
+
362
+ module.exports.__wbg_newnoargs_fe7e106c48aadd7e = function(arg0, arg1) {
363
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
364
+ return ret;
365
+ };
366
+
367
+ module.exports.__wbg_newwithbyteoffsetandlength_a51b517eb0e8fbf4 = function(arg0, arg1, arg2) {
368
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
369
+ return ret;
370
+ };
371
+
372
+ module.exports.__wbg_newwithlength_3212948a458000db = function(arg0) {
373
+ const ret = new Uint8Array(arg0 >>> 0);
374
+ return ret;
375
+ };
376
+
377
+ module.exports.__wbg_next_86c8f7dfb19a94eb = function() { return handleError(function (arg0) {
378
+ const ret = arg0.next();
379
+ return ret;
380
+ }, arguments) };
381
+
382
+ module.exports.__wbg_next_b39104aeda52ac60 = function(arg0) {
383
+ const ret = arg0.next;
384
+ return ret;
385
+ };
386
+
387
+ module.exports.__wbg_node_02999533c4ea02e3 = function(arg0) {
388
+ const ret = arg0.node;
389
+ return ret;
390
+ };
391
+
392
+ module.exports.__wbg_process_5c1d670bc53614b8 = function(arg0) {
393
+ const ret = arg0.process;
394
+ return ret;
395
+ };
396
+
397
+ module.exports.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() { return handleError(function (arg0, arg1) {
398
+ arg0.randomFillSync(arg1);
399
+ }, arguments) };
400
+
401
+ module.exports.__wbg_require_79b1e9274cde3c87 = function() { return handleError(function () {
402
+ const ret = module.require;
403
+ return ret;
404
+ }, arguments) };
405
+
406
+ module.exports.__wbg_self_c9a63b952bd22cbd = function() { return handleError(function () {
407
+ const ret = self.self;
408
+ return ret;
409
+ }, arguments) };
410
+
411
+ module.exports.__wbg_set_0ccc5fa791d83f2d = function(arg0, arg1, arg2) {
412
+ arg0[arg1 >>> 0] = arg2;
413
+ };
414
+
415
+ module.exports.__wbg_set_3807d5f0bfc24aa7 = function(arg0, arg1, arg2) {
416
+ arg0[arg1] = arg2;
417
+ };
418
+
419
+ module.exports.__wbg_set_e8d9380e866a1e41 = function(arg0, arg1, arg2) {
420
+ arg0.set(arg1, arg2 >>> 0);
421
+ };
422
+
423
+ module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
424
+ const ret = arg1.stack;
425
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
426
+ const len1 = WASM_VECTOR_LEN;
427
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
428
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
429
+ };
430
+
431
+ module.exports.__wbg_subarray_361dcbbb6f7ce587 = function(arg0, arg1, arg2) {
432
+ const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
433
+ return ret;
434
+ };
435
+
436
+ module.exports.__wbg_value_f82ca5432417c8ff = function(arg0) {
437
+ const ret = arg0.value;
438
+ return ret;
439
+ };
440
+
441
+ module.exports.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
442
+ const ret = arg0.versions;
443
+ return ret;
444
+ };
445
+
446
+ module.exports.__wbg_window_81304a10d2638125 = function() { return handleError(function () {
447
+ const ret = window.window;
448
+ return ret;
449
+ }, arguments) };
450
+
451
+ module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
452
+ const ret = arg0;
453
+ return ret;
454
+ };
455
+
456
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
457
+ const ret = BigInt.asUintN(64, arg0);
458
+ return ret;
459
+ };
460
+
461
+ module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
462
+ const v = arg1;
463
+ const ret = typeof(v) === 'bigint' ? v : undefined;
464
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
465
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
466
+ };
467
+
468
+ module.exports.__wbindgen_boolean_get = function(arg0) {
469
+ const v = arg0;
470
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
471
+ return ret;
472
+ };
473
+
474
+ module.exports.__wbindgen_debug_string = function(arg0, arg1) {
475
+ const ret = debugString(arg1);
476
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
477
+ const len1 = WASM_VECTOR_LEN;
478
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
479
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
480
+ };
481
+
482
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
483
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
484
+ return ret;
485
+ };
486
+
487
+ module.exports.__wbindgen_in = function(arg0, arg1) {
488
+ const ret = arg0 in arg1;
489
+ return ret;
490
+ };
491
+
492
+ module.exports.__wbindgen_init_externref_table = function() {
493
+ const table = wasm.__wbindgen_export_2;
494
+ const offset = table.grow(4);
495
+ table.set(0, undefined);
496
+ table.set(offset + 0, undefined);
497
+ table.set(offset + 1, null);
498
+ table.set(offset + 2, true);
499
+ table.set(offset + 3, false);
500
+ ;
501
+ };
502
+
503
+ module.exports.__wbindgen_is_bigint = function(arg0) {
504
+ const ret = typeof(arg0) === 'bigint';
505
+ return ret;
506
+ };
507
+
508
+ module.exports.__wbindgen_is_function = function(arg0) {
509
+ const ret = typeof(arg0) === 'function';
510
+ return ret;
511
+ };
512
+
513
+ module.exports.__wbindgen_is_object = function(arg0) {
514
+ const val = arg0;
515
+ const ret = typeof(val) === 'object' && val !== null;
516
+ return ret;
517
+ };
518
+
519
+ module.exports.__wbindgen_is_string = function(arg0) {
520
+ const ret = typeof(arg0) === 'string';
521
+ return ret;
522
+ };
523
+
524
+ module.exports.__wbindgen_is_undefined = function(arg0) {
525
+ const ret = arg0 === undefined;
526
+ return ret;
527
+ };
528
+
529
+ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
530
+ const ret = arg0 === arg1;
531
+ return ret;
532
+ };
533
+
534
+ module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
535
+ const ret = arg0 == arg1;
536
+ return ret;
537
+ };
538
+
539
+ module.exports.__wbindgen_memory = function() {
540
+ const ret = wasm.memory;
541
+ return ret;
542
+ };
543
+
544
+ module.exports.__wbindgen_number_get = function(arg0, arg1) {
545
+ const obj = arg1;
546
+ const ret = typeof(obj) === 'number' ? obj : undefined;
547
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
548
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
549
+ };
550
+
551
+ module.exports.__wbindgen_number_new = function(arg0) {
552
+ const ret = arg0;
553
+ return ret;
554
+ };
555
+
556
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
557
+ const obj = arg1;
558
+ const ret = typeof(obj) === 'string' ? obj : undefined;
559
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
560
+ var len1 = WASM_VECTOR_LEN;
561
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
562
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
563
+ };
564
+
565
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
566
+ const ret = getStringFromWasm0(arg0, arg1);
567
+ return ret;
568
+ };
569
+
570
+ module.exports.__wbindgen_throw = function(arg0, arg1) {
571
+ throw new Error(getStringFromWasm0(arg0, arg1));
572
+ };
573
+
574
+ const path = require('path').join(__dirname, 'logisheets_wasm_server_bg.wasm');
575
+ const bytes = require('fs').readFileSync(path);
576
+
577
+ const wasmModule = new WebAssembly.Module(bytes);
578
+ const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
579
+ wasm = wasmInstance.exports;
580
+ module.exports.__wasm = wasm;
581
+
582
+ wasm.__wbindgen_start();
583
+
@@ -0,0 +1,12 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export const memory: WebAssembly.Memory;
4
+ export const handle: (a: any, b: number) => any;
5
+ export const input_async_result: (a: number, b: any) => any;
6
+ export const __wbindgen_exn_store: (a: number) => void;
7
+ export const __externref_table_alloc: () => number;
8
+ export const __wbindgen_export_2: WebAssembly.Table;
9
+ export const __wbindgen_free: (a: number, b: number, c: number) => void;
10
+ export const __wbindgen_malloc: (a: number, b: number) => number;
11
+ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
12
+ export const __wbindgen_start: () => void;
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "logisheets_wasm_server",
3
+ "collaborators": [
4
+ "JeremyHe <yiliang.he@qq.com>"
5
+ ],
6
+ "version": "1.1.0",
7
+ "files": [
8
+ "logisheets_wasm_server_bg.wasm",
9
+ "logisheets_wasm_server.js",
10
+ "logisheets_wasm_server.d.ts"
11
+ ],
12
+ "main": "logisheets_wasm_server.js",
13
+ "types": "logisheets_wasm_server.d.ts"
14
+ }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "logisheets",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Read and write the xlsx files",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "scripts": {
8
- "wasm-build": "wasm-pack build ../../crates/wasms/server --out-dir ../../../packages/node/wasm --target nodejs",
8
+ "wasm-build": "wasm-pack build ../../crates/wasms/server --out-dir ../../../packages/node/wasm --target nodejs && rm -f wasm/.gitignore",
9
9
  "link": "rm -rf ./src && cp -r ../web/src ./src",
10
10
  "build": "yarn wasm-build && npx tsc && cp -R wasm dist/",
11
11
  "test": "npx vitest run",
@@ -0,0 +1,8 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export function handle(msg: any, book_id?: number | null): any;
4
+ /**
5
+ * Input: AsyncFuncResult
6
+ * Output: ActionAffect
7
+ */
8
+ export function input_async_result(id: number, result: any): any;
@@ -0,0 +1,583 @@
1
+
2
+ let imports = {};
3
+ imports['__wbindgen_placeholder__'] = module.exports;
4
+ let wasm;
5
+ const { TextDecoder, TextEncoder } = require(`util`);
6
+
7
+ function addToExternrefTable0(obj) {
8
+ const idx = wasm.__externref_table_alloc();
9
+ wasm.__wbindgen_export_2.set(idx, obj);
10
+ return idx;
11
+ }
12
+
13
+ function handleError(f, args) {
14
+ try {
15
+ return f.apply(this, args);
16
+ } catch (e) {
17
+ const idx = addToExternrefTable0(e);
18
+ wasm.__wbindgen_exn_store(idx);
19
+ }
20
+ }
21
+
22
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
23
+
24
+ cachedTextDecoder.decode();
25
+
26
+ let cachedUint8ArrayMemory0 = null;
27
+
28
+ function getUint8ArrayMemory0() {
29
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
30
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
31
+ }
32
+ return cachedUint8ArrayMemory0;
33
+ }
34
+
35
+ function getStringFromWasm0(ptr, len) {
36
+ ptr = ptr >>> 0;
37
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
38
+ }
39
+
40
+ let WASM_VECTOR_LEN = 0;
41
+
42
+ let cachedTextEncoder = new TextEncoder('utf-8');
43
+
44
+ const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
45
+ ? function (arg, view) {
46
+ return cachedTextEncoder.encodeInto(arg, view);
47
+ }
48
+ : function (arg, view) {
49
+ const buf = cachedTextEncoder.encode(arg);
50
+ view.set(buf);
51
+ return {
52
+ read: arg.length,
53
+ written: buf.length
54
+ };
55
+ });
56
+
57
+ function passStringToWasm0(arg, malloc, realloc) {
58
+
59
+ if (realloc === undefined) {
60
+ const buf = cachedTextEncoder.encode(arg);
61
+ const ptr = malloc(buf.length, 1) >>> 0;
62
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
63
+ WASM_VECTOR_LEN = buf.length;
64
+ return ptr;
65
+ }
66
+
67
+ let len = arg.length;
68
+ let ptr = malloc(len, 1) >>> 0;
69
+
70
+ const mem = getUint8ArrayMemory0();
71
+
72
+ let offset = 0;
73
+
74
+ for (; offset < len; offset++) {
75
+ const code = arg.charCodeAt(offset);
76
+ if (code > 0x7F) break;
77
+ mem[ptr + offset] = code;
78
+ }
79
+
80
+ if (offset !== len) {
81
+ if (offset !== 0) {
82
+ arg = arg.slice(offset);
83
+ }
84
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
85
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
86
+ const ret = encodeString(arg, view);
87
+
88
+ offset += ret.written;
89
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
90
+ }
91
+
92
+ WASM_VECTOR_LEN = offset;
93
+ return ptr;
94
+ }
95
+
96
+ let cachedDataViewMemory0 = null;
97
+
98
+ function getDataViewMemory0() {
99
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
100
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
101
+ }
102
+ return cachedDataViewMemory0;
103
+ }
104
+
105
+ function isLikeNone(x) {
106
+ return x === undefined || x === null;
107
+ }
108
+
109
+ function debugString(val) {
110
+ // primitive types
111
+ const type = typeof val;
112
+ if (type == 'number' || type == 'boolean' || val == null) {
113
+ return `${val}`;
114
+ }
115
+ if (type == 'string') {
116
+ return `"${val}"`;
117
+ }
118
+ if (type == 'symbol') {
119
+ const description = val.description;
120
+ if (description == null) {
121
+ return 'Symbol';
122
+ } else {
123
+ return `Symbol(${description})`;
124
+ }
125
+ }
126
+ if (type == 'function') {
127
+ const name = val.name;
128
+ if (typeof name == 'string' && name.length > 0) {
129
+ return `Function(${name})`;
130
+ } else {
131
+ return 'Function';
132
+ }
133
+ }
134
+ // objects
135
+ if (Array.isArray(val)) {
136
+ const length = val.length;
137
+ let debug = '[';
138
+ if (length > 0) {
139
+ debug += debugString(val[0]);
140
+ }
141
+ for(let i = 1; i < length; i++) {
142
+ debug += ', ' + debugString(val[i]);
143
+ }
144
+ debug += ']';
145
+ return debug;
146
+ }
147
+ // Test for built-in
148
+ const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
149
+ let className;
150
+ if (builtInMatches && builtInMatches.length > 1) {
151
+ className = builtInMatches[1];
152
+ } else {
153
+ // Failed to match the standard '[object ClassName]'
154
+ return toString.call(val);
155
+ }
156
+ if (className == 'Object') {
157
+ // we're a user defined class or Object
158
+ // JSON.stringify avoids problems with cycles, and is generally much
159
+ // easier than looping through ownProperties of `val`.
160
+ try {
161
+ return 'Object(' + JSON.stringify(val) + ')';
162
+ } catch (_) {
163
+ return 'Object';
164
+ }
165
+ }
166
+ // errors
167
+ if (val instanceof Error) {
168
+ return `${val.name}: ${val.message}\n${val.stack}`;
169
+ }
170
+ // TODO we could test for more things here, like `Set`s and `Map`s.
171
+ return className;
172
+ }
173
+ /**
174
+ * @param {any} msg
175
+ * @param {number | null} [book_id]
176
+ * @returns {any}
177
+ */
178
+ module.exports.handle = function(msg, book_id) {
179
+ const ret = wasm.handle(msg, isLikeNone(book_id) ? 0x100000001 : (book_id) >>> 0);
180
+ return ret;
181
+ };
182
+
183
+ /**
184
+ * Input: AsyncFuncResult
185
+ * Output: ActionAffect
186
+ * @param {number} id
187
+ * @param {any} result
188
+ * @returns {any}
189
+ */
190
+ module.exports.input_async_result = function(id, result) {
191
+ const ret = wasm.input_async_result(id, result);
192
+ return ret;
193
+ };
194
+
195
+ module.exports.__wbg_buffer_71667b1101df19da = function(arg0) {
196
+ const ret = arg0.buffer;
197
+ return ret;
198
+ };
199
+
200
+ module.exports.__wbg_call_75b89300dd530ca6 = function() { return handleError(function (arg0, arg1, arg2) {
201
+ const ret = arg0.call(arg1, arg2);
202
+ return ret;
203
+ }, arguments) };
204
+
205
+ module.exports.__wbg_call_d68488931693e6ee = function() { return handleError(function (arg0, arg1) {
206
+ const ret = arg0.call(arg1);
207
+ return ret;
208
+ }, arguments) };
209
+
210
+ module.exports.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
211
+ const ret = arg0.crypto;
212
+ return ret;
213
+ };
214
+
215
+ module.exports.__wbg_done_3ca5b09e8598078d = function(arg0) {
216
+ const ret = arg0.done;
217
+ return ret;
218
+ };
219
+
220
+ module.exports.__wbg_entries_d873dde863e50b8c = function(arg0) {
221
+ const ret = Object.entries(arg0);
222
+ return ret;
223
+ };
224
+
225
+ module.exports.__wbg_error_2ca63459aa969937 = function(arg0) {
226
+ console.error(arg0);
227
+ };
228
+
229
+ module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
230
+ let deferred0_0;
231
+ let deferred0_1;
232
+ try {
233
+ deferred0_0 = arg0;
234
+ deferred0_1 = arg1;
235
+ console.error(getStringFromWasm0(arg0, arg1));
236
+ } finally {
237
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
238
+ }
239
+ };
240
+
241
+ module.exports.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
242
+ arg0.getRandomValues(arg1);
243
+ }, arguments) };
244
+
245
+ module.exports.__wbg_getTime_55e0fe6b64674dc4 = function(arg0) {
246
+ const ret = arg0.getTime();
247
+ return ret;
248
+ };
249
+
250
+ module.exports.__wbg_getTimezoneOffset_eb718467eb834526 = function(arg0) {
251
+ const ret = arg0.getTimezoneOffset();
252
+ return ret;
253
+ };
254
+
255
+ module.exports.__wbg_get_c122b1d576cf1fdb = function(arg0, arg1) {
256
+ const ret = arg0[arg1 >>> 0];
257
+ return ret;
258
+ };
259
+
260
+ module.exports.__wbg_get_ddd82e34e6366fb9 = function() { return handleError(function (arg0, arg1) {
261
+ const ret = Reflect.get(arg0, arg1);
262
+ return ret;
263
+ }, arguments) };
264
+
265
+ module.exports.__wbg_getwithrefkey_6550b2c093d2eb18 = function(arg0, arg1) {
266
+ const ret = arg0[arg1];
267
+ return ret;
268
+ };
269
+
270
+ module.exports.__wbg_globalThis_59c7794d9413986f = function() { return handleError(function () {
271
+ const ret = globalThis.globalThis;
272
+ return ret;
273
+ }, arguments) };
274
+
275
+ module.exports.__wbg_global_04c81bad83a72129 = function() { return handleError(function () {
276
+ const ret = global.global;
277
+ return ret;
278
+ }, arguments) };
279
+
280
+ module.exports.__wbg_instanceof_ArrayBuffer_36214dbc6ea8dd3d = function(arg0) {
281
+ let result;
282
+ try {
283
+ result = arg0 instanceof ArrayBuffer;
284
+ } catch (_) {
285
+ result = false;
286
+ }
287
+ const ret = result;
288
+ return ret;
289
+ };
290
+
291
+ module.exports.__wbg_instanceof_Uint8Array_0d898f7981fe0a2d = function(arg0) {
292
+ let result;
293
+ try {
294
+ result = arg0 instanceof Uint8Array;
295
+ } catch (_) {
296
+ result = false;
297
+ }
298
+ const ret = result;
299
+ return ret;
300
+ };
301
+
302
+ module.exports.__wbg_isArray_435f9cb9abc7eccc = function(arg0) {
303
+ const ret = Array.isArray(arg0);
304
+ return ret;
305
+ };
306
+
307
+ module.exports.__wbg_isSafeInteger_2817b2c8ebdd29d2 = function(arg0) {
308
+ const ret = Number.isSafeInteger(arg0);
309
+ return ret;
310
+ };
311
+
312
+ module.exports.__wbg_iterator_2a6b115668862130 = function() {
313
+ const ret = Symbol.iterator;
314
+ return ret;
315
+ };
316
+
317
+ module.exports.__wbg_length_b52c3d528b88468e = function(arg0) {
318
+ const ret = arg0.length;
319
+ return ret;
320
+ };
321
+
322
+ module.exports.__wbg_length_e9123d1e4db12534 = function(arg0) {
323
+ const ret = arg0.length;
324
+ return ret;
325
+ };
326
+
327
+ module.exports.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
328
+ const ret = arg0.msCrypto;
329
+ return ret;
330
+ };
331
+
332
+ module.exports.__wbg_new0_9e4a93c1026c7bae = function() {
333
+ const ret = new Date();
334
+ return ret;
335
+ };
336
+
337
+ module.exports.__wbg_new_8a6f238a6ece86ea = function() {
338
+ const ret = new Error();
339
+ return ret;
340
+ };
341
+
342
+ module.exports.__wbg_new_9e6542cc3fe4b09e = function() {
343
+ const ret = new Array();
344
+ return ret;
345
+ };
346
+
347
+ module.exports.__wbg_new_9ed4506807911440 = function(arg0) {
348
+ const ret = new Uint8Array(arg0);
349
+ return ret;
350
+ };
351
+
352
+ module.exports.__wbg_new_c1ec5b759597672f = function(arg0) {
353
+ const ret = new Date(arg0);
354
+ return ret;
355
+ };
356
+
357
+ module.exports.__wbg_new_dbb4955149975b18 = function() {
358
+ const ret = new Object();
359
+ return ret;
360
+ };
361
+
362
+ module.exports.__wbg_newnoargs_fe7e106c48aadd7e = function(arg0, arg1) {
363
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
364
+ return ret;
365
+ };
366
+
367
+ module.exports.__wbg_newwithbyteoffsetandlength_a51b517eb0e8fbf4 = function(arg0, arg1, arg2) {
368
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
369
+ return ret;
370
+ };
371
+
372
+ module.exports.__wbg_newwithlength_3212948a458000db = function(arg0) {
373
+ const ret = new Uint8Array(arg0 >>> 0);
374
+ return ret;
375
+ };
376
+
377
+ module.exports.__wbg_next_86c8f7dfb19a94eb = function() { return handleError(function (arg0) {
378
+ const ret = arg0.next();
379
+ return ret;
380
+ }, arguments) };
381
+
382
+ module.exports.__wbg_next_b39104aeda52ac60 = function(arg0) {
383
+ const ret = arg0.next;
384
+ return ret;
385
+ };
386
+
387
+ module.exports.__wbg_node_02999533c4ea02e3 = function(arg0) {
388
+ const ret = arg0.node;
389
+ return ret;
390
+ };
391
+
392
+ module.exports.__wbg_process_5c1d670bc53614b8 = function(arg0) {
393
+ const ret = arg0.process;
394
+ return ret;
395
+ };
396
+
397
+ module.exports.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() { return handleError(function (arg0, arg1) {
398
+ arg0.randomFillSync(arg1);
399
+ }, arguments) };
400
+
401
+ module.exports.__wbg_require_79b1e9274cde3c87 = function() { return handleError(function () {
402
+ const ret = module.require;
403
+ return ret;
404
+ }, arguments) };
405
+
406
+ module.exports.__wbg_self_c9a63b952bd22cbd = function() { return handleError(function () {
407
+ const ret = self.self;
408
+ return ret;
409
+ }, arguments) };
410
+
411
+ module.exports.__wbg_set_0ccc5fa791d83f2d = function(arg0, arg1, arg2) {
412
+ arg0[arg1 >>> 0] = arg2;
413
+ };
414
+
415
+ module.exports.__wbg_set_3807d5f0bfc24aa7 = function(arg0, arg1, arg2) {
416
+ arg0[arg1] = arg2;
417
+ };
418
+
419
+ module.exports.__wbg_set_e8d9380e866a1e41 = function(arg0, arg1, arg2) {
420
+ arg0.set(arg1, arg2 >>> 0);
421
+ };
422
+
423
+ module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
424
+ const ret = arg1.stack;
425
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
426
+ const len1 = WASM_VECTOR_LEN;
427
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
428
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
429
+ };
430
+
431
+ module.exports.__wbg_subarray_361dcbbb6f7ce587 = function(arg0, arg1, arg2) {
432
+ const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
433
+ return ret;
434
+ };
435
+
436
+ module.exports.__wbg_value_f82ca5432417c8ff = function(arg0) {
437
+ const ret = arg0.value;
438
+ return ret;
439
+ };
440
+
441
+ module.exports.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
442
+ const ret = arg0.versions;
443
+ return ret;
444
+ };
445
+
446
+ module.exports.__wbg_window_81304a10d2638125 = function() { return handleError(function () {
447
+ const ret = window.window;
448
+ return ret;
449
+ }, arguments) };
450
+
451
+ module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
452
+ const ret = arg0;
453
+ return ret;
454
+ };
455
+
456
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
457
+ const ret = BigInt.asUintN(64, arg0);
458
+ return ret;
459
+ };
460
+
461
+ module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
462
+ const v = arg1;
463
+ const ret = typeof(v) === 'bigint' ? v : undefined;
464
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
465
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
466
+ };
467
+
468
+ module.exports.__wbindgen_boolean_get = function(arg0) {
469
+ const v = arg0;
470
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
471
+ return ret;
472
+ };
473
+
474
+ module.exports.__wbindgen_debug_string = function(arg0, arg1) {
475
+ const ret = debugString(arg1);
476
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
477
+ const len1 = WASM_VECTOR_LEN;
478
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
479
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
480
+ };
481
+
482
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
483
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
484
+ return ret;
485
+ };
486
+
487
+ module.exports.__wbindgen_in = function(arg0, arg1) {
488
+ const ret = arg0 in arg1;
489
+ return ret;
490
+ };
491
+
492
+ module.exports.__wbindgen_init_externref_table = function() {
493
+ const table = wasm.__wbindgen_export_2;
494
+ const offset = table.grow(4);
495
+ table.set(0, undefined);
496
+ table.set(offset + 0, undefined);
497
+ table.set(offset + 1, null);
498
+ table.set(offset + 2, true);
499
+ table.set(offset + 3, false);
500
+ ;
501
+ };
502
+
503
+ module.exports.__wbindgen_is_bigint = function(arg0) {
504
+ const ret = typeof(arg0) === 'bigint';
505
+ return ret;
506
+ };
507
+
508
+ module.exports.__wbindgen_is_function = function(arg0) {
509
+ const ret = typeof(arg0) === 'function';
510
+ return ret;
511
+ };
512
+
513
+ module.exports.__wbindgen_is_object = function(arg0) {
514
+ const val = arg0;
515
+ const ret = typeof(val) === 'object' && val !== null;
516
+ return ret;
517
+ };
518
+
519
+ module.exports.__wbindgen_is_string = function(arg0) {
520
+ const ret = typeof(arg0) === 'string';
521
+ return ret;
522
+ };
523
+
524
+ module.exports.__wbindgen_is_undefined = function(arg0) {
525
+ const ret = arg0 === undefined;
526
+ return ret;
527
+ };
528
+
529
+ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
530
+ const ret = arg0 === arg1;
531
+ return ret;
532
+ };
533
+
534
+ module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
535
+ const ret = arg0 == arg1;
536
+ return ret;
537
+ };
538
+
539
+ module.exports.__wbindgen_memory = function() {
540
+ const ret = wasm.memory;
541
+ return ret;
542
+ };
543
+
544
+ module.exports.__wbindgen_number_get = function(arg0, arg1) {
545
+ const obj = arg1;
546
+ const ret = typeof(obj) === 'number' ? obj : undefined;
547
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
548
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
549
+ };
550
+
551
+ module.exports.__wbindgen_number_new = function(arg0) {
552
+ const ret = arg0;
553
+ return ret;
554
+ };
555
+
556
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
557
+ const obj = arg1;
558
+ const ret = typeof(obj) === 'string' ? obj : undefined;
559
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
560
+ var len1 = WASM_VECTOR_LEN;
561
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
562
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
563
+ };
564
+
565
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
566
+ const ret = getStringFromWasm0(arg0, arg1);
567
+ return ret;
568
+ };
569
+
570
+ module.exports.__wbindgen_throw = function(arg0, arg1) {
571
+ throw new Error(getStringFromWasm0(arg0, arg1));
572
+ };
573
+
574
+ const path = require('path').join(__dirname, 'logisheets_wasm_server_bg.wasm');
575
+ const bytes = require('fs').readFileSync(path);
576
+
577
+ const wasmModule = new WebAssembly.Module(bytes);
578
+ const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
579
+ wasm = wasmInstance.exports;
580
+ module.exports.__wasm = wasm;
581
+
582
+ wasm.__wbindgen_start();
583
+
@@ -0,0 +1,12 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export const memory: WebAssembly.Memory;
4
+ export const handle: (a: any, b: number) => any;
5
+ export const input_async_result: (a: number, b: any) => any;
6
+ export const __wbindgen_exn_store: (a: number) => void;
7
+ export const __externref_table_alloc: () => number;
8
+ export const __wbindgen_export_2: WebAssembly.Table;
9
+ export const __wbindgen_free: (a: number, b: number, c: number) => void;
10
+ export const __wbindgen_malloc: (a: number, b: number) => number;
11
+ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
12
+ export const __wbindgen_start: () => void;
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "logisheets_wasm_server",
3
+ "collaborators": [
4
+ "JeremyHe <yiliang.he@qq.com>"
5
+ ],
6
+ "version": "1.1.0",
7
+ "files": [
8
+ "logisheets_wasm_server_bg.wasm",
9
+ "logisheets_wasm_server.js",
10
+ "logisheets_wasm_server.d.ts"
11
+ ],
12
+ "main": "logisheets_wasm_server.js",
13
+ "types": "logisheets_wasm_server.d.ts"
14
+ }