File tree Expand file tree Collapse file tree
packages/clerk-js/src/core/resources Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ( {
Original file line number Diff line number Diff 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 ( {
You can’t perform that action at this time.
0 commit comments