Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

fix: Added .js extension to import in src/keys/jwk2pem.ts #257

Merged
merged 1 commit into from
May 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/keys/jwk2pem.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'node-forge/lib/rsa.js'
// @ts-expect-error types are missing
import forge from 'node-forge/lib/forge.js'
import { base64urlToBigInteger } from '../util'
import { base64urlToBigInteger } from '../util.js'

function convert (key: any, types: string[]) {
return types.map(t => base64urlToBigInteger(key[t]))
Expand Down