Skip to content

Commit 87d6552

Browse files
authored
fix: ensure config for signPlaybackId can be optional (#516)
1 parent 4d0e83c commit 87d6552

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resources/jwt.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ import {
1616
export class Jwt extends APIResource {
1717
async signPlaybackId(
1818
playbackId: string,
19-
config: MuxJWTSignOptions<keyof typeof TypeClaim>,
19+
config?: MuxJWTSignOptions<keyof typeof TypeClaim>,
2020
): Promise<string>;
2121

2222
async signPlaybackId(
2323
playbackId: string,
24-
config: MuxJWTSignOptionsMultiple<keyof typeof TypeClaim>,
24+
config?: MuxJWTSignOptionsMultiple<keyof typeof TypeClaim>,
2525
): Promise<Tokens>;
2626

2727
/**

0 commit comments

Comments
 (0)