@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
1 lines • 554 B
Source Map (JSON)
{"version":3,"sources":["../src/utils/instance.ts"],"sourcesContent":["/**\n * Check if the frontendApi ends with a staging domain\n */\nexport function isStaging(frontendApi: string): boolean {\n return (\n frontendApi.endsWith('.lclstage.dev') ||\n frontendApi.endsWith('.stgstage.dev') ||\n frontendApi.endsWith('.clerkstage.dev') ||\n frontendApi.endsWith('.accountsstage.dev')\n );\n}\n"],"mappings":";AAGO,SAAS,UAAU,aAA8B;AACtD,SACE,YAAY,SAAS,eAAe,KACpC,YAAY,SAAS,eAAe,KACpC,YAAY,SAAS,iBAAiB,KACtC,YAAY,SAAS,oBAAoB;AAE7C;","names":[]}