@databio/peprs 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/peprs_wasm.js +13 -13
- package/peprs_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/peprs_wasm.js
CHANGED
|
@@ -59,7 +59,7 @@ export class WasmProject {
|
|
|
59
59
|
if (ret[2]) {
|
|
60
60
|
throw takeFromExternrefTable0(ret[1]);
|
|
61
61
|
}
|
|
62
|
-
this.__wbg_ptr = ret[0]
|
|
62
|
+
this.__wbg_ptr = ret[0];
|
|
63
63
|
WasmProjectFinalization.register(this, this.__wbg_ptr, this);
|
|
64
64
|
return this;
|
|
65
65
|
}
|
|
@@ -130,7 +130,7 @@ export function validate(project, schema_json) {
|
|
|
130
130
|
function __wbg_get_imports() {
|
|
131
131
|
const import0 = {
|
|
132
132
|
__proto__: null,
|
|
133
|
-
|
|
133
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
134
134
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
135
135
|
return ret;
|
|
136
136
|
},
|
|
@@ -141,7 +141,7 @@ function __wbg_get_imports() {
|
|
|
141
141
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
142
142
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
143
143
|
},
|
|
144
|
-
|
|
144
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
145
145
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
146
146
|
},
|
|
147
147
|
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
@@ -158,27 +158,27 @@ function __wbg_get_imports() {
|
|
|
158
158
|
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
159
159
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
160
160
|
}, arguments); },
|
|
161
|
-
|
|
161
|
+
__wbg_getRandomValues_bf16787eede473f5: function() { return handleError(function (arg0, arg1) {
|
|
162
162
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
163
163
|
}, arguments); },
|
|
164
164
|
__wbg_new_227d7c05414eb861: function() {
|
|
165
165
|
const ret = new Error();
|
|
166
166
|
return ret;
|
|
167
167
|
},
|
|
168
|
-
|
|
168
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
169
169
|
const ret = new Array();
|
|
170
170
|
return ret;
|
|
171
171
|
},
|
|
172
|
-
|
|
172
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
173
173
|
const ret = new Object();
|
|
174
174
|
return ret;
|
|
175
175
|
},
|
|
176
|
-
__wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
|
|
177
|
-
arg0[arg1 >>> 0] = arg2;
|
|
178
|
-
},
|
|
179
176
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
180
177
|
arg0[arg1] = arg2;
|
|
181
178
|
},
|
|
179
|
+
__wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
|
|
180
|
+
arg0[arg1 >>> 0] = arg2;
|
|
181
|
+
},
|
|
182
182
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
183
183
|
const ret = arg1.stack;
|
|
184
184
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -209,7 +209,7 @@ function __wbg_get_imports() {
|
|
|
209
209
|
|
|
210
210
|
const WasmProjectFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
211
211
|
? { register: () => {}, unregister: () => {} }
|
|
212
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmproject_free(ptr
|
|
212
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmproject_free(ptr, 1));
|
|
213
213
|
|
|
214
214
|
function addToExternrefTable0(obj) {
|
|
215
215
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -237,8 +237,7 @@ function getDataViewMemory0() {
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
function getStringFromWasm0(ptr, len) {
|
|
240
|
-
|
|
241
|
-
return decodeText(ptr, len);
|
|
240
|
+
return decodeText(ptr >>> 0, len);
|
|
242
241
|
}
|
|
243
242
|
|
|
244
243
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -330,8 +329,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
330
329
|
|
|
331
330
|
let WASM_VECTOR_LEN = 0;
|
|
332
331
|
|
|
333
|
-
let wasmModule, wasm;
|
|
332
|
+
let wasmModule, wasmInstance, wasm;
|
|
334
333
|
function __wbg_finalize_init(instance, module) {
|
|
334
|
+
wasmInstance = instance;
|
|
335
335
|
wasm = instance.exports;
|
|
336
336
|
wasmModule = module;
|
|
337
337
|
cachedDataViewMemory0 = null;
|
package/peprs_wasm_bg.wasm
CHANGED
|
Binary file
|