Skip to content

Commit a19af24

Browse files
committed
chore: remove comments
1 parent 9419cb5 commit a19af24

3 files changed

Lines changed: 0 additions & 17 deletions

File tree

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ export abstract class BaseResource {
5858
id?: string;
5959
pathRoot = '';
6060

61-
/**
62-
* POST actions listed here are coalesced: while a request for an action with an identical body is
63-
* in flight on this resource, subsequent identical calls return the pending promise instead of
64-
* issuing a duplicate request.
65-
*/
6661
protected coalescedPostActions: readonly string[] = [];
6762
#pendingCoalescedPosts = new Map<string, Promise<this>>();
6863

packages/clerk-js/src/core/resources/SignIn.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,6 @@ export class SignIn extends BaseResource implements SignInResource {
216216
});
217217
};
218218

219-
/**
220-
* @remarks If an identical preparation for this sign-in is already in flight, its pending request is reused and no
221-
* additional verification is sent.
222-
*/
223219
prepareFirstFactor = (params: PrepareFirstFactorParams): Promise<SignInResource> => {
224220
debugLogger.debug('SignIn.prepareFirstFactor', { id: this.id, strategy: params.strategy });
225221
let config;
@@ -356,10 +352,6 @@ export class SignIn extends BaseResource implements SignInResource {
356352
return { startEmailLinkFlow, cancelEmailLinkFlow: stop };
357353
};
358354

359-
/**
360-
* @remarks If an identical preparation for this sign-in is already in flight, its pending request is reused and no
361-
* additional verification is sent.
362-
*/
363355
prepareSecondFactor = (params: PrepareSecondFactorParams): Promise<SignInResource> => {
364356
debugLogger.debug('SignIn.prepareSecondFactor', { id: this.id, strategy: params.strategy });
365357
return this._basePost({

packages/clerk-js/src/core/resources/SignUp.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,6 @@ export class SignUp extends BaseResource implements SignUpResource {
185185
});
186186
};
187187

188-
/**
189-
* @remarks If an identical preparation for this sign-up is already in flight, its pending request is reused and no
190-
* additional verification is sent.
191-
*/
192188
prepareVerification = (params: PrepareVerificationParams): Promise<this> => {
193189
debugLogger.debug('SignUp.prepareVerification', { id: this.id, strategy: params.strategy });
194190
return this._basePost({

0 commit comments

Comments
 (0)