rete-graph 0.5.2 → 0.5.3
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 +1 -1
- package/dist/index.js +26 -1
- package/dist/rete-graph.js +27 -2
- package/dist/rete-graph.min.js +6 -6
- package/dist/rete_wasm_bg.wasm +0 -0
- package/index.d.ts +4 -3
- package/package.json +1 -1
package/dist/rete_wasm_bg.wasm
CHANGED
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -221,11 +221,12 @@ export const wasm: Record<string, (...args: never[]) => unknown>;
|
|
|
221
221
|
/**
|
|
222
222
|
* Build a complete `.rete` file image from RDF text. `quotedTripleSyntax`
|
|
223
223
|
* (default `"rdf-star"`, like `rete build`) decides what Turtle/TriG `<< … >>`
|
|
224
|
-
* means; N-Triples and N-Quads ignore it.
|
|
224
|
+
* means; N-Triples and N-Quads ignore it. Jelly (`"jelly"`) is binary: pass
|
|
225
|
+
* the file's bytes. Bytes are also accepted for the text formats (UTF-8).
|
|
225
226
|
*/
|
|
226
227
|
export function build(
|
|
227
|
-
text: string,
|
|
228
|
-
format?: "nt" | "nq" | "ttl" | "trig",
|
|
228
|
+
text: string | Uint8Array | ArrayBuffer,
|
|
229
|
+
format?: "nt" | "nq" | "ttl" | "trig" | "jelly",
|
|
229
230
|
opts?: { quotedTripleSyntax?: QuotedTripleSyntax },
|
|
230
231
|
): Promise<Uint8Array>;
|
|
231
232
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rete-graph",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Query local and remote .rete graph files with SPARQL — WebAssembly client for browsers and Node, with lazy byte-range reads over HTTP and local files.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|