Skip to content

Commit

Permalink
Rgenerated the distribution (doc, js)
Browse files Browse the repository at this point in the history
  • Loading branch information
iherman committed Apr 18, 2024
1 parent 0d48014 commit c29e372
Show file tree
Hide file tree
Showing 62 changed files with 486 additions and 268 deletions.
10 changes: 6 additions & 4 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,14 @@ export declare class RDFC10 {
* @throws - RangeError, if the complexity of the graph goes beyond the set complexity number. See {@link maximum_complexity_number}.
*
* @param input_dataset
* @param deduplicate - whether duplicate quads should be removed from the input (optional, defaults to `false`)
* @param copy - whether the input should be copied to a local store (e.g., if the input is a generator, or the uniqueness of quads are not guaranteed). If this
* parameter is not used (i.e., value is `undefined`) the copy is always done _unless_ the input is an `rdf.DatasetCore` instance.
* @returns - N-Quads document using the canonical ID-s.
*
* @async
*
*/
canonicalize(input_dataset: InputDataset, deduplicate?: boolean): Promise<string>;
canonicalize(input_dataset: InputDataset, copy?: boolean | undefined): Promise<string>;
/**
* Canonicalize a Dataset producing the full set of information.
*
Expand All @@ -111,12 +112,13 @@ export declare class RDFC10 {
* @throws - RangeError, if the complexity of the graph goes beyond the set complexity number. See {@link maximum_complexity_number}.
*
* @param input_dataset
* @param deduplicate - whether duplicate quads should be removed from the input (optional, defaults to `false`)
* @param copy - whether the input should be copied to a local store (e.g., if the input is a generator, or the uniqueness of quads are not guaranteed). If this
* parameter is not used (i.e., value is `undefined`) the copy is always done _unless_ the input is an `rdf.DatasetCore` instance.
* @returns - Detailed results of the canonicalization
*
* @async
*/
c14n(input_dataset: InputDataset, deduplicate?: boolean): Promise<C14nResult>;
c14n(input_dataset: InputDataset, copy?: boolean | undefined): Promise<C14nResult>;
/**
* Serialize a dataset into a (possibly sorted) Array of nquads.
*
Expand Down
16 changes: 9 additions & 7 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions dist/lib/canonicalization.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import { GlobalState, InputDataset, C14nResult } from './common';
*
* @param state - the overall canonicalization state + interface to the underlying RDF environment
* @param input
* @param deduplicate - whether duplicate quads should be removed from the input
* @returns - A semantically identical set of Quads, with canonical BNode labels, plus other information.
* @param copy - whether the input should be copied to a local store (e.g., if the input is a generator, or the uniqueness of quads are not guaranteed). If this
* parameter is not used (i.e., value is `undefined`) the copy is always done _unless_ the input is an `rdf.DatasetCore` instance.
* @returns - A semantically identical set of Quads using canonical BNode labels, plus other information.
*
* @async
*/
export declare function computeCanonicalDataset(state: GlobalState, input: InputDataset, deduplicate?: boolean): Promise<C14nResult>;
export declare function computeCanonicalDataset(state: GlobalState, input: InputDataset, copy?: boolean | undefined): Promise<C14nResult>;
20 changes: 10 additions & 10 deletions dist/lib/canonicalization.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c29e372

Please sign in to comment.