Skip to content

Commit

Permalink
docs(context): offer generateUniqueId() as an alternative to uuid()
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos committed Sep 3, 2020
1 parent 1bc1c5f commit c0e5fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/context/src/value-promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ export function transformValueOrPromise<T, V>(
/**
* A utility to generate uuid v4
*
* @deprecated Use [uuid](https://www.npmjs.com/package/uuid) or
* [hyperid](https://www.npmjs.com/package/hyperid) instead.
* @deprecated Use `generateUniqueId`, [uuid](https://www.npmjs.com/package/uuid)
* or [hyperid](https://www.npmjs.com/package/hyperid) instead.
*/
export function uuid() {
return uuidv4();
Expand Down

0 comments on commit c0e5fac

Please sign in to comment.