Skip to content

Commit

Permalink
chore: build dist and docs for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlescure committed Apr 29, 2024
1 parent 22ad1b5 commit 45f4fcb
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 43 deletions.
5 changes: 5 additions & 0 deletions dist/short-unique-id.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export default class ShortUniqueId {
protected _hex_dict_ranges: ShortUniqueIdRanges;
protected _dict_ranges: ShortUniqueIdRangesMap;
protected log: (...args: any[]) => void;
protected _normalizeDictionary: (dictionary: string[] | ShortUniqueIdDefaultDictionaries, shuffle?: boolean) => string[];
/** Change the dictionary after initialization. */
setDictionary: (dictionary: string[] | ShortUniqueIdDefaultDictionaries, shuffle?: boolean) => void;
seq: () => string;
Expand Down Expand Up @@ -273,5 +274,9 @@ export default class ShortUniqueId {
* Set the counter to a specific value.
*/
setCounter: (counter: number) => void;
/**
* Validate given UID contains only characters from the instanced dictionary or optionally provided dictionary.
*/
validate: (uid: string, dictionary?: string[] | ShortUniqueIdDefaultDictionaries) => boolean;
constructor(argOptions?: Partial<ShortUniqueIdOptions>);
}
18 changes: 14 additions & 4 deletions dist/short-unique-id.js

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

4 changes: 2 additions & 2 deletions dist/short-unique-id.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/short-unique-id.min.js

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

Loading

0 comments on commit 45f4fcb

Please sign in to comment.