Skip to content

Commit

Permalink
renable typedoc
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilovtim committed Aug 13, 2024
1 parent 9b8cfa7 commit 729ae89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
report_changed_scope_only: false
fail_on_warnings: false
fail_on_error: false
fail_on_warnings: true
fail_on_error: true
group_docs: true
entry_points: |
- file: packages/api/src/index.ts
Expand Down
7 changes: 7 additions & 0 deletions packages/crypto/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,18 @@ export function randomPin({ length }: { length: number }): string {

/** Utility functions for cryptographic operations. */
export const CryptoUtils = {
/** Generates a secure random PIN (Personal Identification Number) of a specified length. */
randomPin,
/** Generates a UUID following the version 4 format, as specified in RFC 4122. */
randomUuid,
/** Generates secure pseudorandom values of the specified length using `crypto.getRandomValues`, which defers to the operating system. */
randomBytes,
/** Checks if the Web Crypto API is supported in the current runtime environment. */
isWebCryptoSupported,
/** Determines the JOSE algorithm identifier of the digital signature algorithm based on the `alg` or `crv` property of a {@link Jwk | JWK}. */
getJoseSignatureAlgorithmFromPublicKey,
/** Checks whether the property specified is a member of the list of valid properties. */
checkValidProperty,
/** Checks whether the properties object provided contains the specified property. */
checkRequiredProperty
};

0 comments on commit 729ae89

Please sign in to comment.