@vortex-rdf/vortex-rdf-store 0.10.0 → 0.12.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/README.md CHANGED
@@ -119,19 +119,21 @@ const turtle = await store.toRdf('turtle'); // any supported format name
119
119
 
120
120
  ## Term codes (low-level)
121
121
 
122
- Under the default `dictionary` layout, terms are stored as `u32` codes into a sorted term dictionary. `termDict()` is the one door to code↔term translation: it returns an immutable `TermDict` handle, or `undefined` when the store's rows aren't code-addressable (a non-dictionary layout, or added quads pending in the in-memory tail):
122
+ Under the default `dictionary` layout, terms are stored as `u64` codes into a sorted term dictionary. Codes cross into JS as plain numbers, exact up to `Number.MAX_SAFE_INTEGER` (2^53 − 1): `decode` throws for a value that is no such integer, and a code past it throws rather than rounding. `termDict()` is the one door to code↔term translation: it returns an immutable `TermDict` handle, or `undefined` when the store's rows aren't code-addressable (a non-dictionary layout, or added quads pending in the in-memory tail):
123
123
 
124
124
  ```javascript
125
125
  const dict = store.termDict(); // TermDict | undefined
126
126
  if (dict) {
127
127
  const code = dict.encode('<http://schema.org/name>'); // number | undefined
128
- console.log(dict.decode(code)); // '<http://schema.org/name>'
128
+ if (code !== undefined) {
129
+ console.log(dict.decode(code)); // '<http://schema.org/name>'
130
+ }
129
131
  }
130
132
  ```
131
133
 
132
134
  `decode`/`encode` speak N-Triples term strings — `<iri>`, `_:blank`, `"lit"@lang`, `"lit"^^<dt>`, and `''` for the default graph. The handle is a snapshot: it keeps decoding correctly after the store is mutated, because it retains the dictionary its codes address. It is a wasm-side handle — call `free()` when done (also wired to `Symbol.dispose`, so `using` disposes it automatically).
133
135
 
134
- `matchCodes` is its pattern-matching counterpart: it resolves a pattern to the matched rows' raw term codes — four columnar `Uint32Array`s `{ s, p, o, g }` plus a `length` — without materializing any term strings, and returns `null` under the same conditions `termDict()` returns `undefined`:
136
+ `matchCodes` is its pattern-matching counterpart: it resolves a pattern to the matched rows' raw term codes — four columnar `Float64Array`s `{ s, p, o, g }` of exact integer codes plus a `length` — without materializing any term strings, and returns `null` under the same conditions `termDict()` returns `undefined`:
135
137
 
136
138
  ```javascript
137
139
  const cols = store.matchCodes(null, myPredicate, null, null);
@@ -182,7 +184,7 @@ const vortex = await serializeRdf(turtleText, 'turtle', { layout: 'dictionary' }
182
184
  const nquads = await deserializeRdf(vortex, 'nquads');
183
185
  ```
184
186
 
185
- `toBytes` writes the same exchange format the CLI and the Python bindings read, so a buffer can be written to disk as a `.vortex` file or handed across bindings.
187
+ `toBytes` writes the same exchange format the CLI and the Python bindings read, so a buffer can be written to disk as a `.vortex` file or handed across bindings. Bytes written by vortex-rdf 0.11 or earlier are refused: `fromBytes` rejects with an error saying so, and the store has to be rebuilt from its RDF source (`serializeRdf`, or the CLI's `serialize`).
186
188
 
187
189
  A `VortexRdfStore` is a wasm-side handle: call `free()` when you are done with it, or declare it with `using` (`free` is wired to `Symbol.dispose`); an unfreed store is reclaimed only when its JS wrapper is garbage-collected.
188
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vortex-rdf/vortex-rdf-store",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "High-performance, zero-copy columnar RDF serialization format",
5
5
  "type": "module",
6
6
  "repository": {
@@ -6,7 +6,7 @@
6
6
  // string is decoded from UTF-8 bytes only when `.value`/`.termType` is read (and
7
7
  // then interned), never eagerly and never per-term across the wasm boundary.
8
8
  // Two column backings:
9
- // - Dictionary layout: a Uint32Array of codes + a shared LazyDict over an
9
+ // - Dictionary layout: a Float64Array of codes (exact integers) + a shared LazyDict over an
10
10
  // immutable snapshot of the store's term dictionary, decoding codes on
11
11
  // demand. `.equals` between terms of the same store is an integer code
12
12
  // compare, so it never decodes at all.
@@ -98,7 +98,7 @@ export function makeDictView(dict) {
98
98
  }
99
99
 
100
100
  // ── A single column's backing: code+dict, or packed term bytes ───────────────
101
- // `col` is either { dict: LazyDict, codes: Uint32Array } or { offsets, bytes }.
101
+ // `col` is either { dict: LazyDict, codes: Float64Array } or { offsets, bytes }.
102
102
  function ntAt(col, i) {
103
103
  return col.dict
104
104
  ? col.dict.decode(col.codes[i])
@@ -6,8 +6,8 @@ import { Quad, Term, Stream } from '@rdfjs/types';
6
6
  * How quad terms are encoded into columns.
7
7
  * - 'default': all four terms stored as N-Triples strings.
8
8
  * - 'typed-object': the object is split into kind/value/datatype/language columns.
9
- * - 'dictionary': every term is replaced by a u32 code into a global sorted term
10
- * dictionary. Added quads live in an in-memory string tail until the store
9
+ * - 'dictionary': every term is replaced by a code (a u64, handed to JS as a
10
+ * number) into a global sorted term dictionary. Added quads live in an in-memory string tail until the store
11
11
  * is serialized or compacted.
12
12
  *
13
13
  * These kebab-case names are the canonical vocabulary shared by every
@@ -123,13 +123,15 @@ export class VortexRdfStore {
123
123
  */
124
124
  countQuads(subject?: Term | string | null, predicate?: Term | string | null, object?: Term | string | null, graph?: Term | string | null): number;
125
125
  /**
126
- * Low-level. Resolve a pattern to the matched rows' raw u32 term codes —
127
- * `{ s, p, o, g }` as `Uint32Array`s plus `length` — with no term strings
128
- * materialized. `null` unless the store's rows are code-addressable
126
+ * Low-level. Resolve a pattern to the matched rows' raw term codes —
127
+ * `{ s, p, o, g }` as `Float64Array`s plus `length` — with no term strings
128
+ * materialized. Codes are u64 and every one is an exact integer number;
129
+ * a code past `Number.MAX_SAFE_INTEGER` (2^53 - 1) throws rather than
130
+ * rounding. `null` unless the store's rows are code-addressable
129
131
  * (Dictionary layout, no pending appends, resident dictionary); decode
130
132
  * codes through `termDict()`.
131
133
  */
132
- matchCodes(subject?: Term | string | null, predicate?: Term | string | null, object?: Term | string | null, graph?: Term | string | null): { s: Uint32Array; p: Uint32Array; o: Uint32Array; g: Uint32Array; length: number } | null;
134
+ matchCodes(subject?: Term | string | null, predicate?: Term | string | null, object?: Term | string | null, graph?: Term | string | null): { s: Float64Array; p: Float64Array; o: Float64Array; g: Float64Array; length: number } | null;
133
135
  /**
134
136
  * Low-level. An immutable handle on this store's term dictionary — the one
135
137
  * door to code↔term translation. `undefined` unless the store's rows are
@@ -146,14 +148,24 @@ export class VortexRdfStore {
146
148
 
147
149
  /**
148
150
  * An immutable snapshot of a Dictionary-layout store's term dictionary,
149
- * translating u32 term codes to N-Triples term strings (`<iri>`, `_:blank`,
151
+ * translating term codes to N-Triples term strings (`<iri>`, `_:blank`,
150
152
  * `"lit"@lang`, `"lit"^^<dt>`, or `''` for the default graph) and back.
151
- * Obtained with `VortexRdfStore.termDict()`.
153
+ * Codes are u64 and cross as numbers, exact up to `Number.MAX_SAFE_INTEGER`
154
+ * (2^53 - 1): never rounded, never wrapped. Obtained with
155
+ * `VortexRdfStore.termDict()`.
152
156
  */
153
157
  export class TermDict {
154
- /** Decode a term code, or `undefined` when it is out of range. */
158
+ /**
159
+ * Decode a term code, or `undefined` when it is out of range. Throws when
160
+ * `code` is no code: not a number (nothing is coerced, so `null` or `'1'`
161
+ * throws), or not an integer from 0 to `Number.MAX_SAFE_INTEGER`.
162
+ */
155
163
  decode(code: number): string | undefined;
156
- /** Encode an N-Triples term string to its code (inverse of `decode`), or `undefined` when the term is absent. */
164
+ /**
165
+ * Encode an N-Triples term string to its code (inverse of `decode`), or
166
+ * `undefined` when the term is absent. Throws for a code past
167
+ * `Number.MAX_SAFE_INTEGER`, which no number holds exactly.
168
+ */
157
169
  encode(term: string): number | undefined;
158
170
  /** Release the wasm-side handle (also invoked by `Symbol.dispose`). */
159
171
  free(): void;
@@ -181,8 +193,11 @@ export interface InitOutput {
181
193
  readonly memory: WebAssembly.Memory;
182
194
  readonly __wbg_termdict_free: (a: number, b: number) => void;
183
195
  readonly __wbg_vortexrdfstore_free: (a: number, b: number) => void;
184
- readonly termdict_decode: (a: number, b: number) => [number, number];
185
- readonly termdict_encode: (a: number, b: number, c: number) => number;
196
+ readonly deserializeRdf: (a: number, b: number, c: number, d: number) => any;
197
+ readonly init_panic_hook: () => void;
198
+ readonly serializeRdf: (a: number, b: number, c: number, d: number, e: any) => any;
199
+ readonly termdict_decode: (a: number, b: any) => [number, number, number, number];
200
+ readonly termdict_encode: (a: number, b: number, c: number) => [number, number, number, number];
186
201
  readonly vortexrdfstore_addQuad: (a: number, b: any) => any;
187
202
  readonly vortexrdfstore_addQuads: (a: number, b: any) => any;
188
203
  readonly vortexrdfstore_countQuads: (a: number, b: any, c: any, d: any, e: any) => [number, number, number];
@@ -201,13 +216,10 @@ export interface InitOutput {
201
216
  readonly vortexrdfstore_termDict: (a: number) => number;
202
217
  readonly vortexrdfstore_toBytes: (a: number) => any;
203
218
  readonly vortexrdfstore_toRdf: (a: number, b: number, c: number) => any;
204
- readonly deserializeRdf: (a: number, b: number, c: number, d: number) => any;
205
- readonly serializeRdf: (a: number, b: number, c: number, d: number, e: any) => any;
206
- readonly init_panic_hook: () => void;
207
- readonly wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_ac0dc8f115080f8___JsError___true_: (a: number, b: number, c: any) => [number, number];
208
- readonly wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
209
- readonly wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue______true_: (a: number, b: number, c: any) => void;
210
- readonly wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke_______true_: (a: number, b: number) => void;
219
+ readonly wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
220
+ readonly wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_6870b51217d0ae66___JsError___true_: (a: number, b: number, c: any) => [number, number];
221
+ readonly wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue______true_: (a: number, b: number, c: any) => void;
222
+ readonly wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke_______true_: (a: number, b: number) => void;
211
223
  readonly __wbindgen_malloc: (a: number, b: number) => number;
212
224
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
213
225
  readonly __wbindgen_exn_store: (a: number) => void;
@@ -1,13 +1,15 @@
1
1
  /* @ts-self-types="./vortex_rdf.d.ts" */
2
- import { makeDictView } from './snippets/vortex-rdf-86539c79cb85e509/js-snippets/lazy-rdf.js';
3
- import { packQuads } from './snippets/vortex-rdf-86539c79cb85e509/js-snippets/pack-quads.js';
4
- import * as import1 from "./snippets/vortex-rdf-86539c79cb85e509/js-snippets/lazy-rdf.js"
5
- import * as import2 from "./snippets/vortex-rdf-86539c79cb85e509/js-snippets/lazy-rdf.js"
2
+ import { makeDictView } from './snippets/vortex-rdf-82e2057b99d1a776/js-snippets/lazy-rdf.js';
3
+ import { packQuads } from './snippets/vortex-rdf-82e2057b99d1a776/js-snippets/pack-quads.js';
4
+ import * as import1 from "./snippets/vortex-rdf-82e2057b99d1a776/js-snippets/lazy-rdf.js"
5
+ import * as import2 from "./snippets/vortex-rdf-82e2057b99d1a776/js-snippets/lazy-rdf.js"
6
6
 
7
7
 
8
8
  /**
9
- * An immutable handle on a store's term dictionary, decoding a `u32` term code
10
- * to its N-Triples string.
9
+ * An immutable handle on a store's term dictionary, decoding a term code to
10
+ * its N-Triples string. Codes are `u64` and cross as JS numbers, checked
11
+ * both ways (see [`crate::codes`]): exact up to 2^53 − 1, never rounded or
12
+ * wrapped.
11
13
  *
12
14
  * Handed to the JS lazy read model so that codes produced by one read stay
13
15
  * decodable after the store is mutated — a mutation re-encodes the store
@@ -32,12 +34,19 @@ export class TermDict {
32
34
  wasm.__wbg_termdict_free(ptr, 0);
33
35
  }
34
36
  /**
35
- * Decode a term code, or `undefined` when it is out of range.
36
- * @param {number} code
37
+ * Decode a term code, or `undefined` when it is out of range. A value
38
+ * that is no code — not a number, or a number that is not an integer
39
+ * from 0 to 2^53 − 1 — throws. Taken as a `JsValue`, so nothing is
40
+ * coerced: `null`, `[]` or `false` never decodes as code 0, nor `true`,
41
+ * `'1'` or `[1]` as code 1.
42
+ * @param {any} code
37
43
  * @returns {string | undefined}
38
44
  */
39
45
  decode(code) {
40
46
  const ret = wasm.termdict_decode(this.__wbg_ptr, code);
47
+ if (ret[3]) {
48
+ throw takeFromExternrefTable0(ret[2]);
49
+ }
41
50
  let v1;
42
51
  if (ret[0] !== 0) {
43
52
  v1 = getStringFromWasm0(ret[0], ret[1]);
@@ -48,7 +57,8 @@ export class TermDict {
48
57
  /**
49
58
  * Encode an N-Triples term string to its code (inverse of
50
59
  * [`decode`](Self::decode)), or `undefined` when this dictionary does
51
- * not hold the term.
60
+ * not hold the term. Throws for a code past 2^53 − 1, which no JS number
61
+ * holds exactly.
52
62
  * @param {string} term
53
63
  * @returns {number | undefined}
54
64
  */
@@ -56,7 +66,10 @@ export class TermDict {
56
66
  const ptr0 = passStringToWasm0(term, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
57
67
  const len0 = WASM_VECTOR_LEN;
58
68
  const ret = wasm.termdict_encode(this.__wbg_ptr, ptr0, len0);
59
- return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
69
+ if (ret[3]) {
70
+ throw takeFromExternrefTable0(ret[2]);
71
+ }
72
+ return ret[0] === 0 ? undefined : ret[1];
60
73
  }
61
74
  }
62
75
  if (Symbol.dispose) TermDict.prototype[Symbol.dispose] = TermDict.prototype.free;
@@ -219,42 +232,43 @@ export class VortexRdfStore {
219
232
  }
220
233
  }
221
234
  /**
222
- * RDF/JS `Source.match`: stream the quads matching a pattern as a
223
- * `Stream<Quad>` of lazy, zero-copy `LazyQuad`s.
224
- *
225
- * Returns synchronously. The pattern is resolved lazily inside a `Promise`
226
- * that yields a columnar payload, handed to a minimal RDF/JS `Stream`
227
- * (`.on('data'|'end'|'error', …)`, `.read()`, and — as a convenience —
228
- * `Symbol.asyncIterator` for `for await`). No term strings are materialized
229
- * until a `LazyTerm`'s `.value`/`.termType` is read. An invalid pattern
230
- * term throws synchronously.
235
+ * Low-level: resolve a pattern to the matched rows' raw term codes —
236
+ * `{ s, p, o, g }` as `Float64Array`s of exact integer codes plus
237
+ * `length` — with no term strings materialized; a code past 2^53 − 1
238
+ * throws. `null` unless the store's rows are code-addressable
239
+ * (Dictionary layout, no pending appends, resident dictionary); decode
240
+ * codes through [`termDict`](Self::term_dict).
231
241
  * @param {any} subject
232
242
  * @param {any} predicate
233
243
  * @param {any} object
234
244
  * @param {any} graph
235
245
  * @returns {any}
236
246
  */
237
- match(subject, predicate, object, graph) {
238
- const ret = wasm.vortexrdfstore_match(this.__wbg_ptr, subject, predicate, object, graph);
247
+ matchCodes(subject, predicate, object, graph) {
248
+ const ret = wasm.vortexrdfstore_matchCodes(this.__wbg_ptr, subject, predicate, object, graph);
239
249
  if (ret[2]) {
240
250
  throw takeFromExternrefTable0(ret[1]);
241
251
  }
242
252
  return takeFromExternrefTable0(ret[0]);
243
253
  }
244
254
  /**
245
- * Low-level: resolve a pattern to the matched rows' raw `u32` term codes —
246
- * `{ s, p, o, g }` as `Uint32Array`s plus `length` — with no term strings
247
- * materialized. `null` unless the store's rows are code-addressable
248
- * (Dictionary layout, no pending appends, resident dictionary); decode
249
- * codes through [`termDict`](Self::term_dict).
255
+ * RDF/JS `Source.match`: stream the quads matching a pattern as a
256
+ * `Stream<Quad>` of lazy, zero-copy `LazyQuad`s.
257
+ *
258
+ * Returns synchronously. The pattern is resolved lazily inside a `Promise`
259
+ * that yields a columnar payload, handed to a minimal RDF/JS `Stream`
260
+ * (`.on('data'|'end'|'error', …)`, `.read()`, and — as a convenience —
261
+ * `Symbol.asyncIterator` for `for await`). No term strings are materialized
262
+ * until a `LazyTerm`'s `.value`/`.termType` is read. An invalid pattern
263
+ * term throws synchronously.
250
264
  * @param {any} subject
251
265
  * @param {any} predicate
252
266
  * @param {any} object
253
267
  * @param {any} graph
254
268
  * @returns {any}
255
269
  */
256
- matchCodes(subject, predicate, object, graph) {
257
- const ret = wasm.vortexrdfstore_matchCodes(this.__wbg_ptr, subject, predicate, object, graph);
270
+ match(subject, predicate, object, graph) {
271
+ const ret = wasm.vortexrdfstore_match(this.__wbg_ptr, subject, predicate, object, graph);
258
272
  if (ret[2]) {
259
273
  throw takeFromExternrefTable0(ret[1]);
260
274
  }
@@ -343,31 +357,37 @@ export function serializeRdf(input, format_name, options) {
343
357
  function __wbg_get_imports() {
344
358
  const import0 = {
345
359
  __proto__: null,
346
- __wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(arg0, arg1) {
360
+ __wbg___wbindgen_debug_string_4687d8d8c2017d52: function(arg0, arg1) {
347
361
  const ret = debugString(arg1);
348
362
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
349
363
  const len1 = WASM_VECTOR_LEN;
350
364
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
351
365
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
352
366
  },
353
- __wbg___wbindgen_is_function_5e4570eb24ffa122: function(arg0) {
367
+ __wbg___wbindgen_is_function_1f9d30630b8b1d3d: function(arg0) {
354
368
  const ret = typeof(arg0) === 'function';
355
369
  return ret;
356
370
  },
357
- __wbg___wbindgen_is_null_7d13f41e1a2d5140: function(arg0) {
371
+ __wbg___wbindgen_is_null_e343b7d08827ba72: function(arg0) {
358
372
  const ret = arg0 === null;
359
373
  return ret;
360
374
  },
361
- __wbg___wbindgen_is_object_a2790eb24c211ea0: function(arg0) {
375
+ __wbg___wbindgen_is_object_3c45d4f2dde4e749: function(arg0) {
362
376
  const val = arg0;
363
377
  const ret = typeof(val) === 'object' && val !== null;
364
378
  return ret;
365
379
  },
366
- __wbg___wbindgen_is_undefined_6cff064c44e0d823: function(arg0) {
380
+ __wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(arg0) {
367
381
  const ret = arg0 === undefined;
368
382
  return ret;
369
383
  },
370
- __wbg___wbindgen_string_get_d154f1e671052120: function(arg0, arg1) {
384
+ __wbg___wbindgen_number_get_2e0e7dee9f701a71: function(arg0, arg1) {
385
+ const obj = arg1;
386
+ const ret = typeof(obj) === 'number' ? obj : undefined;
387
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
388
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
389
+ },
390
+ __wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(arg0, arg1) {
371
391
  const obj = arg1;
372
392
  const ret = typeof(obj) === 'string' ? obj : undefined;
373
393
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -375,17 +395,21 @@ function __wbg_get_imports() {
375
395
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
376
396
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
377
397
  },
378
- __wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
398
+ __wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
379
399
  throw new Error(getStringFromWasm0(arg0, arg1));
380
400
  },
381
- __wbg__wbg_cb_unref_be22cc64ae6946a0: function(arg0) {
401
+ __wbg___wbindgen_typeof_e777a26e115d416b: function(arg0) {
402
+ const ret = typeof arg0;
403
+ return ret;
404
+ },
405
+ __wbg__wbg_cb_unref_dcc1a90847f04c41: function(arg0) {
382
406
  arg0._wbg_cb_unref();
383
407
  },
384
- __wbg_call_0f2a9af232c18fd2: function() { return handleError(function (arg0, arg1, arg2, arg3) {
408
+ __wbg_call_1875a20c43a36133: function() { return handleError(function (arg0, arg1, arg2, arg3) {
385
409
  const ret = arg0.call(arg1, arg2, arg3);
386
410
  return ret;
387
411
  }, arguments); },
388
- __wbg_call_35dba3c747ad7521: function() { return handleError(function (arg0, arg1, arg2) {
412
+ __wbg_call_187d372bd5fdd4aa: function() { return handleError(function (arg0, arg1, arg2) {
389
413
  const ret = arg0.call(arg1, arg2);
390
414
  return ret;
391
415
  }, arguments); },
@@ -400,38 +424,42 @@ function __wbg_get_imports() {
400
424
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
401
425
  }
402
426
  },
403
- __wbg_from_74f3d90e0ff11240: function(arg0) {
427
+ __wbg_from_296ca31f8d0f1c52: function(arg0) {
404
428
  const ret = Array.from(arg0);
405
429
  return ret;
406
430
  },
407
431
  __wbg_getRandomValues_a608c4436c19407a: function() { return handleError(function (arg0, arg1) {
408
432
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
409
433
  }, arguments); },
410
- __wbg_get_971a0c45d172643f: function() { return handleError(function (arg0, arg1) {
434
+ __wbg_get_31af05bd4842a84f: function() { return handleError(function (arg0, arg1) {
411
435
  const ret = Reflect.get(arg0, arg1);
412
436
  return ret;
413
437
  }, arguments); },
414
- __wbg_get_unchecked_e20b893aeafc3fca: function(arg0, arg1) {
438
+ __wbg_get_unchecked_288889d017702237: function(arg0, arg1) {
415
439
  const ret = arg0[arg1 >>> 0];
416
440
  return ret;
417
441
  },
418
- __wbg_isArray_6339f732981044bf: function(arg0) {
442
+ __wbg_isArray_e15a2ff68ffdbef2: function(arg0) {
419
443
  const ret = Array.isArray(arg0);
420
444
  return ret;
421
445
  },
422
- __wbg_length_36bd29c6848c2144: function(arg0) {
446
+ __wbg_length_511b1f84719d3462: function(arg0) {
447
+ const ret = arg0.length;
448
+ return ret;
449
+ },
450
+ __wbg_length_7f3c00c40364105e: function(arg0) {
423
451
  const ret = arg0.length;
424
452
  return ret;
425
453
  },
426
- __wbg_length_7528cf2a241bef97: function(arg0) {
454
+ __wbg_length_b5f0008bbf60cf59: function(arg0) {
427
455
  const ret = arg0.length;
428
456
  return ret;
429
457
  },
430
- __wbg_length_ecfa2c63d3d0d82c: function(arg0) {
458
+ __wbg_length_d4bdea10311bd9cf: function(arg0) {
431
459
  const ret = arg0.length;
432
460
  return ret;
433
461
  },
434
- __wbg_makeDictView_07f5734baf255a1c: function(arg0) {
462
+ __wbg_makeDictView_f60f4ca98fdfe220: function(arg0) {
435
463
  const ret = makeDictView(TermDict.__wrap(arg0));
436
464
  return ret;
437
465
  },
@@ -439,22 +467,22 @@ function __wbg_get_imports() {
439
467
  const ret = new Error();
440
468
  return ret;
441
469
  },
442
- __wbg_new_358857d90afd5a2d: function(arg0, arg1) {
470
+ __wbg_new_343a093a3c2ffb4e: function(arg0, arg1) {
443
471
  const ret = new Error(getStringFromWasm0(arg0, arg1));
444
472
  return ret;
445
473
  },
446
- __wbg_new_ebe3e0f6837f0879: function() {
474
+ __wbg_new_617a8cdb8bb1130e: function() {
447
475
  const ret = new Object();
448
476
  return ret;
449
477
  },
450
- __wbg_new_typed_cceaf62d8d95e9f2: function(arg0, arg1) {
478
+ __wbg_new_typed_b01cb72a8af741a3: function(arg0, arg1) {
451
479
  try {
452
480
  var state0 = {a: arg0, b: arg1};
453
481
  var cb0 = (arg0, arg1) => {
454
482
  const a = state0.a;
455
483
  state0.a = 0;
456
484
  try {
457
- return wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined_______true_(a, state0.b, arg0, arg1);
485
+ return wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined_______true_(a, state0.b, arg0, arg1);
458
486
  } finally {
459
487
  state0.a = a;
460
488
  }
@@ -465,19 +493,23 @@ function __wbg_get_imports() {
465
493
  state0.a = 0;
466
494
  }
467
495
  },
468
- __wbg_new_with_length_3ffc1c56427c525c: function(arg0) {
469
- const ret = new Uint8Array(arg0 >>> 0);
496
+ __wbg_new_with_length_31d0d732d07f3195: function(arg0) {
497
+ const ret = new Uint32Array(arg0 >>> 0);
470
498
  return ret;
471
499
  },
472
- __wbg_new_with_length_67db5cb8cc48e371: function(arg0) {
473
- const ret = new Uint32Array(arg0 >>> 0);
500
+ __wbg_new_with_length_3827645dc5adb679: function(arg0) {
501
+ const ret = new Float64Array(arg0 >>> 0);
502
+ return ret;
503
+ },
504
+ __wbg_new_with_length_3da0ad195f6f63ba: function(arg0) {
505
+ const ret = new Uint8Array(arg0 >>> 0);
474
506
  return ret;
475
507
  },
476
508
  __wbg_now_e7c6795a7f81e10f: function(arg0) {
477
509
  const ret = arg0.now();
478
510
  return ret;
479
511
  },
480
- __wbg_packQuads_6fa2df4d7e54eb20: function() { return handleError(function (arg0, arg1, arg2) {
512
+ __wbg_packQuads_54bca0fd4b95ca36: function() { return handleError(function (arg0, arg1, arg2) {
481
513
  const ret = packQuads(arg0, arg1 >>> 0, arg2 >>> 0);
482
514
  return ret;
483
515
  }, arguments); },
@@ -485,29 +517,32 @@ function __wbg_get_imports() {
485
517
  const ret = arg0.performance;
486
518
  return ret;
487
519
  },
488
- __wbg_prototypesetcall_de8e0d9553586985: function(arg0, arg1, arg2) {
520
+ __wbg_prototypesetcall_bc27214492979395: function(arg0, arg1, arg2) {
489
521
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
490
522
  },
491
- __wbg_queueMicrotask_ac694eae12e92dfb: function(arg0) {
492
- queueMicrotask(arg0);
493
- },
494
- __wbg_queueMicrotask_be5fe34a8f4cad4d: function(arg0) {
523
+ __wbg_queueMicrotask_9833f9a49df95a49: function(arg0) {
495
524
  const ret = arg0.queueMicrotask;
496
525
  return ret;
497
526
  },
498
- __wbg_resolve_020f95d838c6ef25: function(arg0) {
527
+ __wbg_queueMicrotask_a72f977e97f23c5f: function(arg0) {
528
+ queueMicrotask(arg0);
529
+ },
530
+ __wbg_resolve_0076e10020304ede: function(arg0) {
499
531
  const ret = Promise.resolve(arg0);
500
532
  return ret;
501
533
  },
502
- __wbg_set_8155bb79a948541b: function() { return handleError(function (arg0, arg1, arg2) {
534
+ __wbg_set_145a351398b48c65: function() { return handleError(function (arg0, arg1, arg2) {
503
535
  const ret = Reflect.set(arg0, arg1, arg2);
504
536
  return ret;
505
537
  }, arguments); },
506
- __wbg_set_b9b5b5cb7b495037: function(arg0, arg1, arg2) {
538
+ __wbg_set_448fbc824992c3fd: function(arg0, arg1, arg2) {
539
+ arg0.set(getArrayU32FromWasm0(arg1, arg2));
540
+ },
541
+ __wbg_set_575d3ddb70fe831d: function(arg0, arg1, arg2) {
507
542
  arg0.set(getArrayU8FromWasm0(arg1, arg2));
508
543
  },
509
- __wbg_set_e575799cdfbae72f: function(arg0, arg1, arg2) {
510
- arg0.set(getArrayU32FromWasm0(arg1, arg2));
544
+ __wbg_set_8b5ae6cfd49dec9f: function(arg0, arg1, arg2) {
545
+ arg0.set(getArrayF64FromWasm0(arg1, arg2));
511
546
  },
512
547
  __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
513
548
  const ret = arg1.stack;
@@ -516,23 +551,23 @@ function __wbg_get_imports() {
516
551
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
517
552
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
518
553
  },
519
- __wbg_static_accessor_GLOBAL_THIS_466428f93b4eaa76: function() {
520
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
554
+ __wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
555
+ const ret = typeof global === 'undefined' ? null : global;
521
556
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
522
557
  },
523
- __wbg_static_accessor_GLOBAL_c7aea38d4de089bc: function() {
524
- const ret = typeof global === 'undefined' ? null : global;
558
+ __wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179: function() {
559
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
525
560
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
526
561
  },
527
- __wbg_static_accessor_SELF_42d4fae05e59267a: function() {
562
+ __wbg_static_accessor_SELF_0b583911f537483a: function() {
528
563
  const ret = typeof self === 'undefined' ? null : self;
529
564
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
530
565
  },
531
- __wbg_static_accessor_WINDOW_e0db14a0eba6a812: function() {
566
+ __wbg_static_accessor_WINDOW_d7f903d1508cbdc4: function() {
532
567
  const ret = typeof window === 'undefined' ? null : window;
533
568
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
534
569
  },
535
- __wbg_then_7026b513a94278a8: function(arg0, arg1) {
570
+ __wbg_then_e71170d78fcf8954: function(arg0, arg1) {
536
571
  const ret = arg0.then(arg1);
537
572
  return ret;
538
573
  },
@@ -540,32 +575,32 @@ function __wbg_get_imports() {
540
575
  const ret = VortexRdfStore.__wrap(arg0);
541
576
  return ret;
542
577
  },
543
- __wbindgen_cast_0000000000000001: function(arg0, arg1) {
544
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
545
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue______true_);
578
+ __wbindgen_generic_0000000000000001: function(arg0, arg1) {
579
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 10747, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
580
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_6870b51217d0ae66___JsError___true_);
546
581
  return ret;
547
582
  },
548
- __wbindgen_cast_0000000000000002: function(arg0, arg1) {
549
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 9703, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
550
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_ac0dc8f115080f8___JsError___true_);
583
+ __wbindgen_generic_0000000000000002: function(arg0, arg1) {
584
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
585
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue______true_);
551
586
  return ret;
552
587
  },
553
- __wbindgen_cast_0000000000000003: function(arg0, arg1) {
554
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 210, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
555
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke_______true_);
588
+ __wbindgen_generic_0000000000000003: function(arg0, arg1) {
589
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 301, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
590
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke_______true_);
556
591
  return ret;
557
592
  },
558
- __wbindgen_cast_0000000000000004: function(arg0) {
593
+ __wbindgen_generic_0000000000000004: function(arg0) {
559
594
  // Cast intrinsic for `F64 -> Externref`.
560
595
  const ret = arg0;
561
596
  return ret;
562
597
  },
563
- __wbindgen_cast_0000000000000005: function(arg0, arg1) {
598
+ __wbindgen_generic_0000000000000005: function(arg0, arg1) {
564
599
  // Cast intrinsic for `Ref(String) -> Externref`.
565
600
  const ret = getStringFromWasm0(arg0, arg1);
566
601
  return ret;
567
602
  },
568
- __wbindgen_cast_0000000000000006: function(arg0, arg1) {
603
+ __wbindgen_generic_0000000000000006: function(arg0, arg1) {
569
604
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
570
605
  wasm.__wbindgen_free(arg0, arg1 * 1, 1);
571
606
  // Cast intrinsic for `Vector(U8) -> Externref`.
@@ -585,28 +620,28 @@ function __wbg_get_imports() {
585
620
  return {
586
621
  __proto__: null,
587
622
  "./vortex_rdf_bg.js": import0,
588
- "./snippets/vortex-rdf-86539c79cb85e509/js-snippets/lazy-rdf.js": import1,
589
- "./snippets/vortex-rdf-86539c79cb85e509/js-snippets/lazy-rdf.js": import2,
623
+ "./snippets/vortex-rdf-82e2057b99d1a776/js-snippets/lazy-rdf.js": import1,
624
+ "./snippets/vortex-rdf-82e2057b99d1a776/js-snippets/lazy-rdf.js": import2,
590
625
  };
591
626
  }
592
627
 
593
- function wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke_______true_(arg0, arg1) {
594
- wasm.wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke_______true_(arg0, arg1);
628
+ function wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke_______true_(arg0, arg1) {
629
+ wasm.wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke_______true_(arg0, arg1);
595
630
  }
596
631
 
597
- function wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue______true_(arg0, arg1, arg2) {
598
- wasm.wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue______true_(arg0, arg1, arg2);
632
+ function wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue______true_(arg0, arg1, arg2) {
633
+ wasm.wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue______true_(arg0, arg1, arg2);
599
634
  }
600
635
 
601
- function wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_ac0dc8f115080f8___JsError___true_(arg0, arg1, arg2) {
602
- const ret = wasm.wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_ac0dc8f115080f8___JsError___true_(arg0, arg1, arg2);
636
+ function wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_6870b51217d0ae66___JsError___true_(arg0, arg1, arg2) {
637
+ const ret = wasm.wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_6870b51217d0ae66___JsError___true_(arg0, arg1, arg2);
603
638
  if (ret[1]) {
604
639
  throw takeFromExternrefTable0(ret[0]);
605
640
  }
606
641
  }
607
642
 
608
- function wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
609
- wasm.wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
643
+ function wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
644
+ wasm.wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
610
645
  }
611
646
 
612
647
  const TermDictFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -691,6 +726,11 @@ function debugString(val) {
691
726
  return className;
692
727
  }
693
728
 
729
+ function getArrayF64FromWasm0(ptr, len) {
730
+ ptr = ptr >>> 0;
731
+ return getFloat64ArrayMemory0().subarray(ptr / 8, ptr / 8 + len);
732
+ }
733
+
694
734
  function getArrayJsValueFromWasm0(ptr, len) {
695
735
  ptr = ptr >>> 0;
696
736
  const mem = getDataViewMemory0();
@@ -720,6 +760,14 @@ function getDataViewMemory0() {
720
760
  return cachedDataViewMemory0;
721
761
  }
722
762
 
763
+ let cachedFloat64ArrayMemory0 = null;
764
+ function getFloat64ArrayMemory0() {
765
+ if (cachedFloat64ArrayMemory0 === null || cachedFloat64ArrayMemory0.byteLength === 0) {
766
+ cachedFloat64ArrayMemory0 = new Float64Array(wasm.memory.buffer);
767
+ }
768
+ return cachedFloat64ArrayMemory0;
769
+ }
770
+
723
771
  function getStringFromWasm0(ptr, len) {
724
772
  return decodeText(ptr >>> 0, len);
725
773
  }
@@ -866,6 +914,7 @@ function __wbg_finalize_init(instance, module) {
866
914
  wasm = instance.exports;
867
915
  wasmModule = module;
868
916
  cachedDataViewMemory0 = null;
917
+ cachedFloat64ArrayMemory0 = null;
869
918
  cachedUint32ArrayMemory0 = null;
870
919
  cachedUint8ArrayMemory0 = null;
871
920
  wasm.__wbindgen_start();
Binary file
@@ -3,8 +3,11 @@
3
3
  export const memory: WebAssembly.Memory;
4
4
  export const __wbg_termdict_free: (a: number, b: number) => void;
5
5
  export const __wbg_vortexrdfstore_free: (a: number, b: number) => void;
6
- export const termdict_decode: (a: number, b: number) => [number, number];
7
- export const termdict_encode: (a: number, b: number, c: number) => number;
6
+ export const deserializeRdf: (a: number, b: number, c: number, d: number) => any;
7
+ export const init_panic_hook: () => void;
8
+ export const serializeRdf: (a: number, b: number, c: number, d: number, e: any) => any;
9
+ export const termdict_decode: (a: number, b: any) => [number, number, number, number];
10
+ export const termdict_encode: (a: number, b: number, c: number) => [number, number, number, number];
8
11
  export const vortexrdfstore_addQuad: (a: number, b: any) => any;
9
12
  export const vortexrdfstore_addQuads: (a: number, b: any) => any;
10
13
  export const vortexrdfstore_countQuads: (a: number, b: any, c: any, d: any, e: any) => [number, number, number];
@@ -23,13 +26,10 @@ export const vortexrdfstore_size: (a: number) => any;
23
26
  export const vortexrdfstore_termDict: (a: number) => number;
24
27
  export const vortexrdfstore_toBytes: (a: number) => any;
25
28
  export const vortexrdfstore_toRdf: (a: number, b: number, c: number) => any;
26
- export const deserializeRdf: (a: number, b: number, c: number, d: number) => any;
27
- export const serializeRdf: (a: number, b: number, c: number, d: number, e: any) => any;
28
- export const init_panic_hook: () => void;
29
- export const wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_ac0dc8f115080f8___JsError___true_: (a: number, b: number, c: any) => [number, number];
30
- export const wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined___js_sys_77df47187da0e11e___Function_fn_wasm_bindgen_ac0dc8f115080f8___JsValue_____wasm_bindgen_ac0dc8f115080f8___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
31
- export const wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke___wasm_bindgen_ac0dc8f115080f8___JsValue______true_: (a: number, b: number, c: any) => void;
32
- export const wasm_bindgen_ac0dc8f115080f8___convert__closures_____invoke_______true_: (a: number, b: number) => void;
29
+ export const wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined___js_sys_4e43aa5a597834c4___Function_fn_wasm_bindgen_6870b51217d0ae66___JsValue_____wasm_bindgen_6870b51217d0ae66___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
30
+ export const wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue__core_f0fd674eaa06beef___result__Result_____wasm_bindgen_6870b51217d0ae66___JsError___true_: (a: number, b: number, c: any) => [number, number];
31
+ export const wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke___wasm_bindgen_6870b51217d0ae66___JsValue______true_: (a: number, b: number, c: any) => void;
32
+ export const wasm_bindgen_6870b51217d0ae66___convert__closures_____invoke_______true_: (a: number, b: number) => void;
33
33
  export const __wbindgen_malloc: (a: number, b: number) => number;
34
34
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
35
35
  export const __wbindgen_exn_store: (a: number) => void;