Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: panva/jose
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.20.0
Choose a base ref
...
head repository: panva/jose
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.20.1
Choose a head ref
  • 3 commits
  • 37 files changed
  • 1 contributor

Commits on Oct 6, 2021

  1. chore: cleanup after publish

    panva committed Oct 6, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    iampopovich Alex Popov
    Copy the full SHA
    1a3d31c View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    iampopovich Alex Popov
    Copy the full SHA
    8ef3a8e View commit details
  3. chore(release): 3.20.1

    panva committed Oct 6, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    29c9206 View commit details
Showing with 77 additions and 70 deletions.
  1. +7 −0 CHANGELOG.md
  2. +23 −23 dist/deno/README.md
  3. +3 −3 dist/deno/key/import.ts
  4. +1 −1 dist/deno/runtime/interfaces.d.ts
  5. +3 −3 dist/types/key/import.d.ts
  6. +1 −1 docs/classes/jwe_compact_encrypt.CompactEncrypt.md
  7. +1 −1 docs/classes/jwe_flattened_encrypt.FlattenedEncrypt.md
  8. +1 −1 docs/classes/jws_compact_sign.CompactSign.md
  9. +1 −1 docs/classes/jws_flattened_sign.FlattenedSign.md
  10. +1 −1 docs/classes/jws_general_sign.GeneralSign.md
  11. +1 −1 docs/classes/jwt_encrypt.EncryptJWT.md
  12. +1 −1 docs/classes/jwt_sign.SignJWT.md
  13. +1 −1 docs/classes/jwt_unsecured.UnsecuredJWT.md
  14. +1 −1 docs/functions/jwe_compact_decrypt.compactDecrypt.md
  15. +1 −1 docs/functions/jwe_flattened_decrypt.flattenedDecrypt.md
  16. +1 −1 docs/functions/jwe_general_decrypt.generalDecrypt.md
  17. +1 −1 docs/functions/jwk_embedded.EmbeddedJWK.md
  18. +1 −1 docs/functions/jwk_thumbprint.calculateThumbprint.md
  19. +1 −1 docs/functions/jwks_remote.createRemoteJWKSet.md
  20. +1 −1 docs/functions/jws_compact_verify.compactVerify.md
  21. +1 −1 docs/functions/jws_flattened_verify.flattenedVerify.md
  22. +1 −1 docs/functions/jws_general_verify.generalVerify.md
  23. +1 −1 docs/functions/jwt_decrypt.jwtDecrypt.md
  24. +1 −1 docs/functions/jwt_verify.jwtVerify.md
  25. +1 −1 docs/functions/key_export.exportJWK.md
  26. +1 −1 docs/functions/key_export.exportPKCS8.md
  27. +1 −1 docs/functions/key_export.exportSPKI.md
  28. +1 −1 docs/functions/key_import.importJWK.md
  29. +3 −3 docs/functions/key_import.importPKCS8.md
  30. +3 −3 docs/functions/key_import.importSPKI.md
  31. +3 −3 docs/functions/key_import.importX509.md
  32. +1 −1 docs/functions/util_decode_protected_header.decodeProtectedHeader.md
  33. +1 −1 docs/functions/util_generate_key_pair.generateKeyPair.md
  34. +1 −1 docs/functions/util_generate_secret.generateSecret.md
  35. +1 −1 package.json
  36. +3 −3 src/key/import.ts
  37. +1 −1 src/runtime/interfaces.d.ts
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [3.20.1](https://github.com/panva/jose/compare/v3.20.0...v3.20.1) (2021-10-06)


### Bug Fixes

* **typescript:** PEM import functions always resolve a KeyLike, never a Uint8Array ([8ef3a8e](https://github.com/panva/jose/commit/8ef3a8ebb78b592e664102cb593542ae6259d72a))

## [3.20.0](https://github.com/panva/jose/compare/v3.19.0...v3.20.0) (2021-10-06)


46 changes: 23 additions & 23 deletions dist/deno/README.md
Original file line number Diff line number Diff line change
@@ -9,37 +9,37 @@ If you or your business use `jose`, please consider becoming a [sponsor][support
## Available modules

- JSON Web Tokens (JWT)
- [Signing](https://github.com/panva/jose/blob/v3.20.0/docs/classes/jwt_sign.SignJWT.md#readme)
- [Verification & Claims Set Validation](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jwt_verify.jwtVerify.md#readme)
- [Signing](https://github.com/panva/jose/blob/v3.20.1/docs/classes/jwt_sign.SignJWT.md#readme)
- [Verification & Claims Set Validation](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jwt_verify.jwtVerify.md#readme)
- Encrypted JSON Web Tokens
- [Encryption](https://github.com/panva/jose/blob/v3.20.0/docs/classes/jwt_encrypt.EncryptJWT.md#readme)
- [Decryption & Claims Set Validation](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jwt_decrypt.jwtDecrypt.md#readme)
- [Encryption](https://github.com/panva/jose/blob/v3.20.1/docs/classes/jwt_encrypt.EncryptJWT.md#readme)
- [Decryption & Claims Set Validation](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jwt_decrypt.jwtDecrypt.md#readme)
- Key Import
- [JWK Import](https://github.com/panva/jose/blob/v3.20.0/docs/functions/key_import.importJWK.md#readme)
- [Public Key Import (SPKI)](https://github.com/panva/jose/blob/v3.20.0/docs/functions/key_import.importSPKI.md#readme)
- [Public Key Import (X.509 Certificate)](https://github.com/panva/jose/blob/v3.20.0/docs/functions/key_import.importX509.md#readme)
- [Private Key Import (PKCS #8)](https://github.com/panva/jose/blob/v3.20.0/docs/functions/key_import.importPKCS8.md#readme)
- [JWK Import](https://github.com/panva/jose/blob/v3.20.1/docs/functions/key_import.importJWK.md#readme)
- [Public Key Import (SPKI)](https://github.com/panva/jose/blob/v3.20.1/docs/functions/key_import.importSPKI.md#readme)
- [Public Key Import (X.509 Certificate)](https://github.com/panva/jose/blob/v3.20.1/docs/functions/key_import.importX509.md#readme)
- [Private Key Import (PKCS #8)](https://github.com/panva/jose/blob/v3.20.1/docs/functions/key_import.importPKCS8.md#readme)
- JSON Web Encryption (JWE)
- Encryption - [Compact](https://github.com/panva/jose/blob/v3.20.0/docs/classes/jwe_compact_encrypt.CompactEncrypt.md#readme), [Flattened](https://github.com/panva/jose/blob/v3.20.0/docs/classes/jwe_flattened_encrypt.FlattenedEncrypt.md#readme)
- Decryption - [Compact](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jwe_compact_decrypt.compactDecrypt.md#readme), [Flattened](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jwe_flattened_decrypt.flattenedDecrypt.md#readme), [General](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jwe_general_decrypt.generalDecrypt.md#readme)
- Encryption - [Compact](https://github.com/panva/jose/blob/v3.20.1/docs/classes/jwe_compact_encrypt.CompactEncrypt.md#readme), [Flattened](https://github.com/panva/jose/blob/v3.20.1/docs/classes/jwe_flattened_encrypt.FlattenedEncrypt.md#readme)
- Decryption - [Compact](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jwe_compact_decrypt.compactDecrypt.md#readme), [Flattened](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jwe_flattened_decrypt.flattenedDecrypt.md#readme), [General](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jwe_general_decrypt.generalDecrypt.md#readme)
- JSON Web Signature (JWS)
- Signing - [Compact](https://github.com/panva/jose/blob/v3.20.0/docs/classes/jws_compact_sign.CompactSign.md#readme), [Flattened](https://github.com/panva/jose/blob/v3.20.0/docs/classes/jws_flattened_sign.FlattenedSign.md#readme), [General](https://github.com/panva/jose/blob/v3.20.0/docs/classes/jws_general_sign.GeneralSign.md#readme)
- Verification - [Compact](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jws_compact_verify.compactVerify.md#readme), [Flattened](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jws_flattened_verify.flattenedVerify.md#readme), [General](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jws_general_verify.generalVerify.md#readme)
- Signing - [Compact](https://github.com/panva/jose/blob/v3.20.1/docs/classes/jws_compact_sign.CompactSign.md#readme), [Flattened](https://github.com/panva/jose/blob/v3.20.1/docs/classes/jws_flattened_sign.FlattenedSign.md#readme), [General](https://github.com/panva/jose/blob/v3.20.1/docs/classes/jws_general_sign.GeneralSign.md#readme)
- Verification - [Compact](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jws_compact_verify.compactVerify.md#readme), [Flattened](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jws_flattened_verify.flattenedVerify.md#readme), [General](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jws_general_verify.generalVerify.md#readme)
- JSON Web Key (JWK)
- [Thumbprints](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jwk_thumbprint.calculateThumbprint.md#readme)
- [EmbeddedJWK](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jwk_embedded.EmbeddedJWK.md#readme)
- [Thumbprints](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jwk_thumbprint.calculateThumbprint.md#readme)
- [EmbeddedJWK](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jwk_embedded.EmbeddedJWK.md#readme)
- JSON Web Key Set (JWKS)
- [Verify using a remote JWKSet](https://github.com/panva/jose/blob/v3.20.0/docs/functions/jwks_remote.createRemoteJWKSet.md#readme)
- [Verify using a remote JWKSet](https://github.com/panva/jose/blob/v3.20.1/docs/functions/jwks_remote.createRemoteJWKSet.md#readme)
- Key Pair or Secret Generation
- [Asymmetric Key Pair Generation](https://github.com/panva/jose/blob/v3.20.0/docs/functions/util_generate_key_pair.generateKeyPair.md#readme)
- [Symmetric Secret Generation](https://github.com/panva/jose/blob/v3.20.0/docs/functions/util_generate_secret.generateSecret.md#readme)
- [Asymmetric Key Pair Generation](https://github.com/panva/jose/blob/v3.20.1/docs/functions/util_generate_key_pair.generateKeyPair.md#readme)
- [Symmetric Secret Generation](https://github.com/panva/jose/blob/v3.20.1/docs/functions/util_generate_secret.generateSecret.md#readme)
- Key Export
- [JWK Export](https://github.com/panva/jose/blob/v3.20.0/docs/functions/key_export.exportJWK.md#readme)
- [Private Key Export](https://github.com/panva/jose/blob/v3.20.0/docs/functions/key_export.exportPKCS8.md#readme)
- [Public Key Export](https://github.com/panva/jose/blob/v3.20.0/docs/functions/key_export.exportSPKI.md#readme)
- [JWK Export](https://github.com/panva/jose/blob/v3.20.1/docs/functions/key_export.exportJWK.md#readme)
- [Private Key Export](https://github.com/panva/jose/blob/v3.20.1/docs/functions/key_export.exportPKCS8.md#readme)
- [Public Key Export](https://github.com/panva/jose/blob/v3.20.1/docs/functions/key_export.exportSPKI.md#readme)
- Utilities
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v3.20.0/docs/functions/util_decode_protected_header.decodeProtectedHeader.md#readme)
- [Unsecured JWT](https://github.com/panva/jose/blob/v3.20.0/docs/classes/jwt_unsecured.UnsecuredJWT.md#readme)
- [JOSE Errors](https://github.com/panva/jose/blob/v3.20.0/docs/modules/util_errors.md#readme)
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v3.20.1/docs/functions/util_decode_protected_header.decodeProtectedHeader.md#readme)
- [Unsecured JWT](https://github.com/panva/jose/blob/v3.20.1/docs/classes/jwt_unsecured.UnsecuredJWT.md#readme)
- [JOSE Errors](https://github.com/panva/jose/blob/v3.20.1/docs/modules/util_errors.md#readme)

[support-sponsor]: https://github.com/sponsors/panva
6 changes: 3 additions & 3 deletions dist/deno/key/import.ts
Original file line number Diff line number Diff line change
@@ -130,7 +130,7 @@ export async function importSPKI(
spki: string,
alg: string,
options?: PEMImportOptions,
): Promise<Exclude<KeyLike, Uint8Array>> {
): Promise<KeyLike> {
if (typeof spki !== 'string' || spki.indexOf('-----BEGIN PUBLIC KEY-----') !== 0) {
throw new TypeError('"spki" must be SPKI formatted string')
}
@@ -180,7 +180,7 @@ export async function importX509(
x509: string,
alg: string,
options?: PEMImportOptions,
): Promise<Exclude<KeyLike, Uint8Array>> {
): Promise<KeyLike> {
if (typeof x509 !== 'string' || x509.indexOf('-----BEGIN CERTIFICATE-----') !== 0) {
throw new TypeError('"x509" must be X.509 formatted string')
}
@@ -226,7 +226,7 @@ export async function importPKCS8(
pkcs8: string,
alg: string,
options?: PEMImportOptions,
): Promise<Exclude<KeyLike, Uint8Array>> {
): Promise<KeyLike> {
if (typeof pkcs8 !== 'string' || pkcs8.indexOf('-----BEGIN PRIVATE KEY-----') !== 0) {
throw new TypeError('"pkcs8" must be PCKS8 formatted string')
}
2 changes: 1 addition & 1 deletion dist/deno/runtime/interfaces.d.ts
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ export interface JWKImportFunction {
(jwk: JWK): AsyncOrSync<KeyLike>
}
export interface PEMImportFunction {
(pem: string, alg: string, options?: PEMImportOptions): AsyncOrSync<Exclude<KeyLike, Uint8Array>>
(pem: string, alg: string, options?: PEMImportOptions): AsyncOrSync<KeyLike>
}
interface ExportFunction<T> {
(key: unknown): AsyncOrSync<T>
6 changes: 3 additions & 3 deletions dist/types/key/import.d.ts
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@ import type { JWK, KeyLike } from '../types';
export interface PEMImportOptions {
extractable?: boolean;
}
export declare function importSPKI(spki: string, alg: string, options?: PEMImportOptions): Promise<Exclude<KeyLike, Uint8Array>>;
export declare function importX509(x509: string, alg: string, options?: PEMImportOptions): Promise<Exclude<KeyLike, Uint8Array>>;
export declare function importPKCS8(pkcs8: string, alg: string, options?: PEMImportOptions): Promise<Exclude<KeyLike, Uint8Array>>;
export declare function importSPKI(spki: string, alg: string, options?: PEMImportOptions): Promise<KeyLike>;
export declare function importX509(x509: string, alg: string, options?: PEMImportOptions): Promise<KeyLike>;
export declare function importPKCS8(pkcs8: string, alg: string, options?: PEMImportOptions): Promise<KeyLike>;
export declare function importJWK(jwk: JWK, alg?: string, octAsKeyObject?: boolean): Promise<KeyLike | Uint8Array>;
export type { KeyLike, JWK };
2 changes: 1 addition & 1 deletion docs/classes/jwe_compact_encrypt.CompactEncrypt.md
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ const { CompactEncrypt } = require('jose/jwe/compact/encrypt')

**`example`** Deno import
```js
import { CompactEncrypt } from 'https://deno.land/x/jose@v3.20.0/jwe/compact/encrypt.ts'
import { CompactEncrypt } from 'https://deno.land/x/jose@v3.20.1/jwe/compact/encrypt.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/classes/jwe_flattened_encrypt.FlattenedEncrypt.md
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ const { FlattenedEncrypt } = require('jose/jwe/flattened/encrypt')

**`example`** Deno import
```js
import { FlattenedEncrypt } from 'https://deno.land/x/jose@v3.20.0/jwe/flattened/encrypt.ts'
import { FlattenedEncrypt } from 'https://deno.land/x/jose@v3.20.1/jwe/flattened/encrypt.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/classes/jws_compact_sign.CompactSign.md
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ const { CompactSign } = require('jose/jws/compact/sign')

**`example`** Deno import
```js
import { CompactSign } from 'https://deno.land/x/jose@v3.20.0/jws/compact/sign.ts'
import { CompactSign } from 'https://deno.land/x/jose@v3.20.1/jws/compact/sign.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/classes/jws_flattened_sign.FlattenedSign.md
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ const { FlattenedSign } = require('jose/jws/flattened/sign')

**`example`** Deno import
```js
import { FlattenedSign } from 'https://deno.land/x/jose@v3.20.0/jws/flattened/sign.ts'
import { FlattenedSign } from 'https://deno.land/x/jose@v3.20.1/jws/flattened/sign.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/classes/jws_general_sign.GeneralSign.md
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ const { GeneralSign } = require('jose/jws/general/sign')

**`example`** Deno import
```js
import { GeneralSign } from 'https://deno.land/x/jose@v3.20.0/jws/general/sign.ts'
import { GeneralSign } from 'https://deno.land/x/jose@v3.20.1/jws/general/sign.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/classes/jwt_encrypt.EncryptJWT.md
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ const { EncryptJWT } = require('jose/jwt/encrypt')

**`example`** Deno import
```js
import { EncryptJWT } from 'https://deno.land/x/jose@v3.20.0/jwt/encrypt.ts'
import { EncryptJWT } from 'https://deno.land/x/jose@v3.20.1/jwt/encrypt.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/classes/jwt_sign.SignJWT.md
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ const { SignJWT } = require('jose/jwt/sign')

**`example`** Deno import
```js
import { SignJWT } from 'https://deno.land/x/jose@v3.20.0/jwt/sign.ts'
import { SignJWT } from 'https://deno.land/x/jose@v3.20.1/jwt/sign.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/classes/jwt_unsecured.UnsecuredJWT.md
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ const { UnsecuredJWT } = require('jose/jwt/unsecured')

**`example`** Deno import
```js
import { UnsecuredJWT } from 'https://deno.land/x/jose@v3.20.0/jwt/unsecured.ts'
import { UnsecuredJWT } from 'https://deno.land/x/jose@v3.20.1/jwt/unsecured.ts'
```

**`example`** Encoding
2 changes: 1 addition & 1 deletion docs/functions/jwe_compact_decrypt.compactDecrypt.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { compactDecrypt } = require('jose/jwe/compact/decrypt')

**`example`** Deno import
```js
import { compactDecrypt } from 'https://deno.land/x/jose@v3.20.0/jwe/compact/decrypt.ts'
import { compactDecrypt } from 'https://deno.land/x/jose@v3.20.1/jwe/compact/decrypt.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jwe_flattened_decrypt.flattenedDecrypt.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { flattenedDecrypt } = require('jose/jwe/flattened/decrypt')

**`example`** Deno import
```js
import { flattenedDecrypt } from 'https://deno.land/x/jose@v3.20.0/jwe/flattened/decrypt.ts'
import { flattenedDecrypt } from 'https://deno.land/x/jose@v3.20.1/jwe/flattened/decrypt.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jwe_general_decrypt.generalDecrypt.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { generalDecrypt } = require('jose/jwe/general/decrypt')

**`example`** Deno import
```js
import { generalDecrypt } from 'https://deno.land/x/jose@v3.20.0/jwe/general/decrypt.ts'
import { generalDecrypt } from 'https://deno.land/x/jose@v3.20.1/jwe/general/decrypt.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jwk_embedded.EmbeddedJWK.md
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ const { EmbeddedJWK } = require('jose/jwk/embedded')

**`example`** Deno import
```js
import { EmbeddedJWK } from 'https://deno.land/x/jose@v3.20.0/jwk/embedded.ts'
import { EmbeddedJWK } from 'https://deno.land/x/jose@v3.20.1/jwk/embedded.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jwk_thumbprint.calculateThumbprint.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ const { calculateThumbprint } = require('jose/jwk/thumbprint')

**`example`** Deno import
```js
import { calculateThumbprint } from 'https://deno.land/x/jose@v3.20.0/jwk/thumbprint.ts'
import { calculateThumbprint } from 'https://deno.land/x/jose@v3.20.1/jwk/thumbprint.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jwks_remote.createRemoteJWKSet.md
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ const { createRemoteJWKSet } = require('jose/jwks/remote')

**`example`** Deno import
```js
import { createRemoteJWKSet } from 'https://deno.land/x/jose@v3.20.0/jwks/remote.ts'
import { createRemoteJWKSet } from 'https://deno.land/x/jose@v3.20.1/jwks/remote.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jws_compact_verify.compactVerify.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { compactVerify } = require('jose/jws/compact/verify')

**`example`** Deno import
```js
import { compactVerify } from 'https://deno.land/x/jose@v3.20.0/jws/compact/verify.ts'
import { compactVerify } from 'https://deno.land/x/jose@v3.20.1/jws/compact/verify.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jws_flattened_verify.flattenedVerify.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { flattenedVerify } = require('jose/jws/flattened/verify')

**`example`** Deno import
```js
import { flattenedVerify } from 'https://deno.land/x/jose@v3.20.0/jws/flattened/verify.ts'
import { flattenedVerify } from 'https://deno.land/x/jose@v3.20.1/jws/flattened/verify.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jws_general_verify.generalVerify.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { generalVerify } = require('jose/jws/general/verify')

**`example`** Deno import
```js
import { generalVerify } from 'https://deno.land/x/jose@v3.20.0/jws/general/verify.ts'
import { generalVerify } from 'https://deno.land/x/jose@v3.20.1/jws/general/verify.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jwt_decrypt.jwtDecrypt.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { jwtDecrypt } = require('jose/jwt/decrypt')

**`example`** Deno import
```js
import { jwtDecrypt } from 'https://deno.land/x/jose@v3.20.0/jwt/decrypt.ts'
import { jwtDecrypt } from 'https://deno.land/x/jose@v3.20.1/jwt/decrypt.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/jwt_verify.jwtVerify.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { jwtVerify } = require('jose/jwt/verify')

**`example`** Deno import
```js
import { jwtVerify } from 'https://deno.land/x/jose@v3.20.0/jwt/verify.ts'
import { jwtVerify } from 'https://deno.land/x/jose@v3.20.1/jwt/verify.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/key_export.exportJWK.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { exportJWK } = require('jose/key/export')

**`example`** Deno import
```js
import { exportJWK } from 'https://deno.land/x/jose@v3.20.0/key/export.ts'
import { exportJWK } from 'https://deno.land/x/jose@v3.20.1/key/export.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/key_export.exportPKCS8.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { exportPKCS8 } = require('jose/key/export')

**`example`** Deno import
```js
import { exportPKCS8 } from 'https://deno.land/x/jose@v3.20.0/key/export.ts'
import { exportPKCS8 } from 'https://deno.land/x/jose@v3.20.1/key/export.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/key_export.exportSPKI.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ const { exportSPKI } = require('jose/key/export')

**`example`** Deno import
```js
import { exportSPKI } from 'https://deno.land/x/jose@v3.20.0/key/export.ts'
import { exportSPKI } from 'https://deno.land/x/jose@v3.20.1/key/export.ts'
```

**`example`** Usage
2 changes: 1 addition & 1 deletion docs/functions/key_import.importJWK.md
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ const { importJWK } = require('jose/key/import')

**`example`** Deno import
```js
import { importJWK } from 'https://deno.land/x/jose@v3.20.0/key/import.ts'
import { importJWK } from 'https://deno.land/x/jose@v3.20.1/key/import.ts'
```

**`example`** Usage
6 changes: 3 additions & 3 deletions docs/functions/key_import.importPKCS8.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

[key/import](../modules/key_import.md).importPKCS8

**importPKCS8**(`pkcs8`, `alg`, `options?`): `Promise`<`Exclude`<[`KeyLike`](../types/types.KeyLike.md), `Uint8Array`\>\>
**importPKCS8**(`pkcs8`, `alg`, `options?`): `Promise`<[`KeyLike`](../types/types.KeyLike.md)\>

Imports an PEM-encoded PKCS8 string as a runtime-specific private key representation (KeyObject or CryptoKey).
See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210) to learn about key to algorithm
@@ -20,7 +20,7 @@ const { importPKCS8 } = require('jose/key/import')

**`example`** Deno import
```js
import { importPKCS8 } from 'https://deno.land/x/jose@v3.20.0/key/import.ts'
import { importPKCS8 } from 'https://deno.land/x/jose@v3.20.1/key/import.ts'
```

**`example`** Usage
@@ -44,4 +44,4 @@ const ecPrivateKey = await importPKCS8(pkcs8, algorithm)

#### Returns

`Promise`<`Exclude`<[`KeyLike`](../types/types.KeyLike.md), `Uint8Array`\>\>
`Promise`<[`KeyLike`](../types/types.KeyLike.md)\>
6 changes: 3 additions & 3 deletions docs/functions/key_import.importSPKI.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

[key/import](../modules/key_import.md).importSPKI

**importSPKI**(`spki`, `alg`, `options?`): `Promise`<`Exclude`<[`KeyLike`](../types/types.KeyLike.md), `Uint8Array`\>\>
**importSPKI**(`spki`, `alg`, `options?`): `Promise`<[`KeyLike`](../types/types.KeyLike.md)\>

Imports an PEM-encoded SPKI string as a runtime-specific public key representation (KeyObject or CryptoKey).
See [Algorithm Key Requirements](https://github.com/panva/jose/issues/210) to learn about key to algorithm
@@ -20,7 +20,7 @@ const { importSPKI } = require('jose/key/import')

**`example`** Deno import
```js
import { importSPKI } from 'https://deno.land/x/jose@v3.20.0/key/import.ts'
import { importSPKI } from 'https://deno.land/x/jose@v3.20.1/key/import.ts'
```

**`example`** Usage
@@ -43,4 +43,4 @@ const ecPublicKey = await importSPKI(spki, algorithm)

#### Returns

`Promise`<`Exclude`<[`KeyLike`](../types/types.KeyLike.md), `Uint8Array`\>\>
`Promise`<[`KeyLike`](../types/types.KeyLike.md)\>
Loading