Skip to content

Commit

Permalink
Update jsdoc entries.
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-smith committed Jul 13, 2024
1 parent fe22268 commit c4fb2f6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
4 changes: 0 additions & 4 deletions lib/Compressor.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,8 @@ export class Compressor extends Transformer {
* @param {object} options - The options to use.
* @param {documentLoaderFunction} options.documentLoader -The document
* loader to use when resolving JSON-LD Context URLs.
* @param {Map} options.keywordsTable -A map of JSON-LD keywords
* and their associated CBOR-LD integer values.
* @param {Map} options.stringTable - A map of string values and
* their associated CBOR-LD integer values.
* @param {Map} options.urlSchemeTable - A map of URL schemes to
* their associated CBOR-LD integer values.
* @param {Map} options.typedLiteralTable - A map of JSON-LD types
* to maps that map values of that type to their associated CBOR-LD
* integer values.
Expand Down
4 changes: 0 additions & 4 deletions lib/Decompressor.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,8 @@ export class Decompressor extends Transformer {
* @param {object} options - The options to use.
* @param {documentLoaderFunction} options.documentLoader -The document
* loader to use when resolving JSON-LD Context URLs.
* @param {Map} options.keywordsTable -A map of JSON-LD keywords
* and their associated CBOR-LD integer values.
* @param {Map} options.stringTable - A map of string values and
* their associated CBOR-LD integer values.
* @param {Map} options.urlSchemeTable - A map of URL schemes to
* their associated CBOR-LD integer values.
* @param {Map} options.typedLiteralTable - A map of JSON-LD types
* to maps that map values of that type to their associated CBOR-LD
* integer values.
Expand Down
6 changes: 1 addition & 5 deletions lib/Transformer.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Copyright (c) 2021 Digital Bazaar, Inc. All rights reserved.
*/
import {CborldError} from './CborldError.js';
import {
KEYWORDS_TABLE,
URL_SCHEME_TABLE
} from './tables.js';
import {CborldError} from './CborldError.js';

export class Transformer {
/**
Expand All @@ -14,12 +14,8 @@ export class Transformer {
* @param {object} options - The options to use.
* @param {documentLoaderFunction} options.documentLoader -The document
* loader to use when resolving JSON-LD Context URLs.
* @param {Map} options.keywordsTable -A map of JSON-LD keywords
* and their associated CBOR-LD integer values.
* @param {Map} options.stringTable - A map of string values and
* their associated CBOR-LD integer values.
* @param {Map} options.urlSchemeTable - A map of URL schemes to
* their associated CBOR-LD integer values.
* @param {Map} options.typedLiteralTable - A map of JSON-LD types
* to maps that map values of that type to their associated CBOR-LD
* integer values.
Expand Down
5 changes: 0 additions & 5 deletions lib/encode.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@ import {inspect} from './util.js';
* @param {number} options.varintValue - The varint value for the
* registry entry associated with the resulting CBOR-LD payload. For legacy
* support, use varintTagValue = -1.
* @param {Map} options.keywordsTable -A map of JSON-LD keywords
* and their associated CBOR-LD integer values.
* @param {Map} options.stringTable - A map of string values and
* their associated CBOR-LD integer values.
* @param {Map} options.urlSchemeTable - A map of URL schemes to
* their associated CBOR-LD integer values.
* @param {Map} options.typedLiteralTable - A map of JSON-LD types
* to maps that map values of that type to their associated CBOR-LD
* integer values.
Expand All @@ -43,7 +39,6 @@ import {inspect} from './util.js';
*/
export async function encode({
jsonldDocument, documentLoader, varintValue = 'legacy',
keywordsTable = new Map(),
stringTable = new Map(),
typedLiteralTable = new Map(),
diagnose,
Expand Down

0 comments on commit c4fb2f6

Please sign in to comment.