Skip to content

Commit 370cb0e

Browse files
committedApr 19, 2022
fix(clerk-js): Pass rotating_token_nonce correctly to FAPIClient
1 parent af096e0 commit 370cb0e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎packages/clerk-js/src/core/resources/Base.ts

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export abstract class BaseResource {
9595
{
9696
method: 'GET',
9797
path: this.path(),
98+
rotatingTokenNonce: opts.rotatingTokenNonce,
9899
},
99100
opts,
100101
);

‎packages/types/src/resource.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ export type ClerkResourceReloadParams = {
55
export interface ClerkResource {
66
readonly id?: string;
77
pathRoot: string;
8-
reload(p: ClerkResourceReloadParams): Promise<this>;
8+
reload(p?: ClerkResourceReloadParams): Promise<this>;
99
}

0 commit comments

Comments
 (0)
Please sign in to comment.