Skip to content

Commit 073a814

Browse files
committed
fix: constructor optional types
1 parent 8c1a2b2 commit 073a814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export class SgidClient {
3030
clientSecret: string
3131
privateKey: string
3232
redirectUri?: string
33-
hostname: string
34-
apiVersion: number
33+
hostname?: string
34+
apiVersion?: number
3535
}) {
3636
// TODO: Discover sgID issuer metadata via .well-known endpoint
3737
const { Client } = new Issuer({

0 commit comments

Comments
 (0)