@vutex/vutex-unknown-wasm32 0.0.0 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/README.md +5 -0
- package/lib/package.json +25 -0
- package/lib/wetex_wasm.d.ts +65 -0
- package/lib/wetex_wasm.js +307 -0
- package/lib/wetex_wasm_bg.wasm +0 -0
- package/lib/wetex_wasm_bg.wasm.d.ts +13 -0
- package/package.json +6 -1
- package/readme.md +3 -3
package/lib/README.md
ADDED
package/lib/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wetex-wasm",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"collaborators": [
|
|
5
|
+
"Aster <192607617@qq.com>"
|
|
6
|
+
],
|
|
7
|
+
"description": "WASM facade for VuTeX formula rendering (WeTeX product surface)",
|
|
8
|
+
"version": "0.0.2",
|
|
9
|
+
"license": "MPL-2.0",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/notedge/VuTeX"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"wetex_wasm_bg.wasm",
|
|
16
|
+
"wetex_wasm.js",
|
|
17
|
+
"wetex_wasm.d.ts"
|
|
18
|
+
],
|
|
19
|
+
"main": "wetex_wasm.js",
|
|
20
|
+
"homepage": "https://github.com/notedge/VuTeX",
|
|
21
|
+
"types": "wetex_wasm.d.ts",
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"./snippets/*"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Measure formula metrics for the given TeX math source.
|
|
6
|
+
*/
|
|
7
|
+
export function measureFormula(source: string, options_json?: string | null): string;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Render a formula with SVG and MathML payloads.
|
|
11
|
+
*/
|
|
12
|
+
export function renderFormula(source: string, options_json?: string | null): string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Render a formula to Presentation MathML.
|
|
16
|
+
*/
|
|
17
|
+
export function renderMathml(source: string, options_json?: string | null): string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Render a formula to SVG.
|
|
21
|
+
*/
|
|
22
|
+
export function renderSvg(source: string, options_json?: string | null): string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Returns the WeTeX WASM binding version.
|
|
26
|
+
*/
|
|
27
|
+
export function wetexVersion(): string;
|
|
28
|
+
|
|
29
|
+
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
30
|
+
|
|
31
|
+
export interface InitOutput {
|
|
32
|
+
readonly memory: WebAssembly.Memory;
|
|
33
|
+
readonly measureFormula: (a: number, b: number, c: number, d: number) => [number, number];
|
|
34
|
+
readonly renderFormula: (a: number, b: number, c: number, d: number) => [number, number];
|
|
35
|
+
readonly renderMathml: (a: number, b: number, c: number, d: number) => [number, number];
|
|
36
|
+
readonly renderSvg: (a: number, b: number, c: number, d: number) => [number, number];
|
|
37
|
+
readonly wetexVersion: () => [number, number];
|
|
38
|
+
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
39
|
+
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
40
|
+
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
41
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
42
|
+
readonly __wbindgen_start: () => void;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Instantiates the given `module`, which can either be bytes or
|
|
49
|
+
* a precompiled `WebAssembly.Module`.
|
|
50
|
+
*
|
|
51
|
+
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
|
|
52
|
+
*
|
|
53
|
+
* @returns {InitOutput}
|
|
54
|
+
*/
|
|
55
|
+
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
59
|
+
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
60
|
+
*
|
|
61
|
+
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
62
|
+
*
|
|
63
|
+
* @returns {Promise<InitOutput>}
|
|
64
|
+
*/
|
|
65
|
+
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
/* @ts-self-types="./wetex_wasm.d.ts" */
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Measure formula metrics for the given TeX math source.
|
|
5
|
+
* @param {string} source
|
|
6
|
+
* @param {string | null} [options_json]
|
|
7
|
+
* @returns {string}
|
|
8
|
+
*/
|
|
9
|
+
export function measureFormula(source, options_json) {
|
|
10
|
+
let deferred3_0;
|
|
11
|
+
let deferred3_1;
|
|
12
|
+
try {
|
|
13
|
+
const ptr0 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
14
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15
|
+
var ptr1 = isLikeNone(options_json) ? 0 : passStringToWasm0(options_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
16
|
+
var len1 = WASM_VECTOR_LEN;
|
|
17
|
+
const ret = wasm.measureFormula(ptr0, len0, ptr1, len1);
|
|
18
|
+
deferred3_0 = ret[0];
|
|
19
|
+
deferred3_1 = ret[1];
|
|
20
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
21
|
+
} finally {
|
|
22
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Render a formula with SVG and MathML payloads.
|
|
28
|
+
* @param {string} source
|
|
29
|
+
* @param {string | null} [options_json]
|
|
30
|
+
* @returns {string}
|
|
31
|
+
*/
|
|
32
|
+
export function renderFormula(source, options_json) {
|
|
33
|
+
let deferred3_0;
|
|
34
|
+
let deferred3_1;
|
|
35
|
+
try {
|
|
36
|
+
const ptr0 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
37
|
+
const len0 = WASM_VECTOR_LEN;
|
|
38
|
+
var ptr1 = isLikeNone(options_json) ? 0 : passStringToWasm0(options_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
39
|
+
var len1 = WASM_VECTOR_LEN;
|
|
40
|
+
const ret = wasm.renderFormula(ptr0, len0, ptr1, len1);
|
|
41
|
+
deferred3_0 = ret[0];
|
|
42
|
+
deferred3_1 = ret[1];
|
|
43
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
44
|
+
} finally {
|
|
45
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Render a formula to Presentation MathML.
|
|
51
|
+
* @param {string} source
|
|
52
|
+
* @param {string | null} [options_json]
|
|
53
|
+
* @returns {string}
|
|
54
|
+
*/
|
|
55
|
+
export function renderMathml(source, options_json) {
|
|
56
|
+
let deferred3_0;
|
|
57
|
+
let deferred3_1;
|
|
58
|
+
try {
|
|
59
|
+
const ptr0 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
60
|
+
const len0 = WASM_VECTOR_LEN;
|
|
61
|
+
var ptr1 = isLikeNone(options_json) ? 0 : passStringToWasm0(options_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
62
|
+
var len1 = WASM_VECTOR_LEN;
|
|
63
|
+
const ret = wasm.renderMathml(ptr0, len0, ptr1, len1);
|
|
64
|
+
deferred3_0 = ret[0];
|
|
65
|
+
deferred3_1 = ret[1];
|
|
66
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
67
|
+
} finally {
|
|
68
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Render a formula to SVG.
|
|
74
|
+
* @param {string} source
|
|
75
|
+
* @param {string | null} [options_json]
|
|
76
|
+
* @returns {string}
|
|
77
|
+
*/
|
|
78
|
+
export function renderSvg(source, options_json) {
|
|
79
|
+
let deferred3_0;
|
|
80
|
+
let deferred3_1;
|
|
81
|
+
try {
|
|
82
|
+
const ptr0 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
83
|
+
const len0 = WASM_VECTOR_LEN;
|
|
84
|
+
var ptr1 = isLikeNone(options_json) ? 0 : passStringToWasm0(options_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
85
|
+
var len1 = WASM_VECTOR_LEN;
|
|
86
|
+
const ret = wasm.renderSvg(ptr0, len0, ptr1, len1);
|
|
87
|
+
deferred3_0 = ret[0];
|
|
88
|
+
deferred3_1 = ret[1];
|
|
89
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
90
|
+
} finally {
|
|
91
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Returns the WeTeX WASM binding version.
|
|
97
|
+
* @returns {string}
|
|
98
|
+
*/
|
|
99
|
+
export function wetexVersion() {
|
|
100
|
+
let deferred1_0;
|
|
101
|
+
let deferred1_1;
|
|
102
|
+
try {
|
|
103
|
+
const ret = wasm.wetexVersion();
|
|
104
|
+
deferred1_0 = ret[0];
|
|
105
|
+
deferred1_1 = ret[1];
|
|
106
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
107
|
+
} finally {
|
|
108
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function __wbg_get_imports() {
|
|
112
|
+
const import0 = {
|
|
113
|
+
__proto__: null,
|
|
114
|
+
__wbindgen_init_externref_table: function() {
|
|
115
|
+
const table = wasm.__wbindgen_externrefs;
|
|
116
|
+
const offset = table.grow(4);
|
|
117
|
+
table.set(0, undefined);
|
|
118
|
+
table.set(offset + 0, undefined);
|
|
119
|
+
table.set(offset + 1, null);
|
|
120
|
+
table.set(offset + 2, true);
|
|
121
|
+
table.set(offset + 3, false);
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
return {
|
|
125
|
+
__proto__: null,
|
|
126
|
+
"./wetex_wasm_bg.js": import0,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function getStringFromWasm0(ptr, len) {
|
|
131
|
+
return decodeText(ptr >>> 0, len);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
let cachedUint8ArrayMemory0 = null;
|
|
135
|
+
function getUint8ArrayMemory0() {
|
|
136
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
137
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
138
|
+
}
|
|
139
|
+
return cachedUint8ArrayMemory0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
function isLikeNone(x) {
|
|
143
|
+
return x === undefined || x === null;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
147
|
+
if (realloc === undefined) {
|
|
148
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
149
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
150
|
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
151
|
+
WASM_VECTOR_LEN = buf.length;
|
|
152
|
+
return ptr;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
let len = arg.length;
|
|
156
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
157
|
+
|
|
158
|
+
const mem = getUint8ArrayMemory0();
|
|
159
|
+
|
|
160
|
+
let offset = 0;
|
|
161
|
+
|
|
162
|
+
for (; offset < len; offset++) {
|
|
163
|
+
const code = arg.charCodeAt(offset);
|
|
164
|
+
if (code > 0x7F) break;
|
|
165
|
+
mem[ptr + offset] = code;
|
|
166
|
+
}
|
|
167
|
+
if (offset !== len) {
|
|
168
|
+
if (offset !== 0) {
|
|
169
|
+
arg = arg.slice(offset);
|
|
170
|
+
}
|
|
171
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
172
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
173
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
174
|
+
|
|
175
|
+
offset += ret.written;
|
|
176
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
WASM_VECTOR_LEN = offset;
|
|
180
|
+
return ptr;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
184
|
+
cachedTextDecoder.decode();
|
|
185
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
186
|
+
let numBytesDecoded = 0;
|
|
187
|
+
function decodeText(ptr, len) {
|
|
188
|
+
numBytesDecoded += len;
|
|
189
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
190
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
191
|
+
cachedTextDecoder.decode();
|
|
192
|
+
numBytesDecoded = len;
|
|
193
|
+
}
|
|
194
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
const cachedTextEncoder = new TextEncoder();
|
|
198
|
+
|
|
199
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
200
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
201
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
202
|
+
view.set(buf);
|
|
203
|
+
return {
|
|
204
|
+
read: arg.length,
|
|
205
|
+
written: buf.length
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
let WASM_VECTOR_LEN = 0;
|
|
211
|
+
|
|
212
|
+
let wasmModule, wasmInstance, wasm;
|
|
213
|
+
function __wbg_finalize_init(instance, module) {
|
|
214
|
+
wasmInstance = instance;
|
|
215
|
+
wasm = instance.exports;
|
|
216
|
+
wasmModule = module;
|
|
217
|
+
cachedUint8ArrayMemory0 = null;
|
|
218
|
+
wasm.__wbindgen_start();
|
|
219
|
+
return wasm;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
async function __wbg_load(module, imports) {
|
|
223
|
+
if (typeof Response === 'function' && module instanceof Response) {
|
|
224
|
+
if (!module.ok) {
|
|
225
|
+
throw new Error(`failed to fetch Wasm: ${module.status} ${module.statusText} fetching '${module.url}'`);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
229
|
+
try {
|
|
230
|
+
return await WebAssembly.instantiateStreaming(module, imports);
|
|
231
|
+
} catch (e) {
|
|
232
|
+
const validResponse = expectedResponseType(module.type);
|
|
233
|
+
|
|
234
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
235
|
+
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
236
|
+
|
|
237
|
+
} else { throw e; }
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
const bytes = await module.arrayBuffer();
|
|
242
|
+
return await WebAssembly.instantiate(bytes, imports);
|
|
243
|
+
} else {
|
|
244
|
+
const instance = await WebAssembly.instantiate(module, imports);
|
|
245
|
+
|
|
246
|
+
if (instance instanceof WebAssembly.Instance) {
|
|
247
|
+
return { instance, module };
|
|
248
|
+
} else {
|
|
249
|
+
return instance;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
function expectedResponseType(type) {
|
|
254
|
+
switch (type) {
|
|
255
|
+
case 'basic': case 'cors': case 'default': return true;
|
|
256
|
+
}
|
|
257
|
+
return false;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
function initSync(module) {
|
|
262
|
+
if (wasm !== undefined) return wasm;
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
if (module !== undefined) {
|
|
266
|
+
if (Object.getPrototypeOf(module) === Object.prototype) {
|
|
267
|
+
({module} = module)
|
|
268
|
+
} else {
|
|
269
|
+
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
const imports = __wbg_get_imports();
|
|
274
|
+
if (!(module instanceof WebAssembly.Module)) {
|
|
275
|
+
module = new WebAssembly.Module(module);
|
|
276
|
+
}
|
|
277
|
+
const instance = new WebAssembly.Instance(module, imports);
|
|
278
|
+
return __wbg_finalize_init(instance, module);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
async function __wbg_init(module_or_path) {
|
|
282
|
+
if (wasm !== undefined) return wasm;
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
if (module_or_path !== undefined) {
|
|
286
|
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
287
|
+
({module_or_path} = module_or_path)
|
|
288
|
+
} else {
|
|
289
|
+
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
if (module_or_path === undefined) {
|
|
294
|
+
module_or_path = new URL('wetex_wasm_bg.wasm', import.meta.url);
|
|
295
|
+
}
|
|
296
|
+
const imports = __wbg_get_imports();
|
|
297
|
+
|
|
298
|
+
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
|
|
299
|
+
module_or_path = fetch(module_or_path);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
303
|
+
|
|
304
|
+
return __wbg_finalize_init(instance, module);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export { initSync, __wbg_init as default };
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const measureFormula: (a: number, b: number, c: number, d: number) => [number, number];
|
|
5
|
+
export const renderFormula: (a: number, b: number, c: number, d: number) => [number, number];
|
|
6
|
+
export const renderMathml: (a: number, b: number, c: number, d: number) => [number, number];
|
|
7
|
+
export const renderSvg: (a: number, b: number, c: number, d: number) => [number, number];
|
|
8
|
+
export const wetexVersion: () => [number, number];
|
|
9
|
+
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
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_free: (a: number, b: number, c: number) => void;
|
|
13
|
+
export const __wbindgen_start: () => void;
|
package/package.json
CHANGED
|
@@ -10,10 +10,15 @@
|
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"directory": "projects/packages/vutex-unknown-wasm32",
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/notedge/VuTeX.git"
|
|
17
|
+
},
|
|
13
18
|
"sideEffects": [
|
|
14
19
|
"./lib/wetex_wasm.js"
|
|
15
20
|
],
|
|
16
21
|
"type": "module",
|
|
17
22
|
"types": "./lib/wetex_wasm.d.ts",
|
|
18
|
-
"version": "0.0.
|
|
23
|
+
"version": "0.0.2"
|
|
19
24
|
}
|
package/readme.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# @vutex/vutex-unknown-wasm32
|
|
2
|
-
|
|
3
|
-
wasm-pack output for `wetex-wasm`. Generated by `pnpm build:wasm` at the repository root.
|
|
1
|
+
# @vutex/vutex-unknown-wasm32
|
|
2
|
+
|
|
3
|
+
wasm-pack output for `wetex-wasm`. Generated by `pnpm build:wasm` at the repository root.
|