{"version":3,"file":"index.headless.mjs","sources":["../../../../../../web/src/index.headless.ts"],"sourcesContent":["import { StytchClient } from './StytchClient';\nimport { ssrSafeClientFactory } from './ui/react/bindings/StytchSSRProxy';\n\n/**\n * Creates a Headless Stytch client object to call the stytch APIs.\n * The Stytch client is not available serverside.\n * @example\n * const stytch = createStytchClient('public-token-<find yours in the stytch dashboard>')\n *\n * return (\n *   <StytchProvider stytch={stytch}>\n *     <App />\n *   </StytchProvider>\n * )\n * @returns A {@link StytchClient}\n */\nexport const createStytchClient = ssrSafeClientFactory(StytchClient);\n\n/**\n * @deprecated Use createStytchClient instead\n */\nexport const createStytchHeadlessClient = createStytchClient;\n\n/**\n * @deprecated Use StytchClient instead\n */\nexport const StytchHeadlessClient = StytchClient;\n\nexport { StytchClient };\n\nexport type { OAuthAuthorizeParams, OAuthLogoutParams } from './utils/idpHelpers';\nexport { parseOAuthAuthorizeParams, parseOAuthLogoutParams } from './utils/idpHelpers';\nexport * from '@stytch/core/public';\n"],"names":["createStytchClient","ssrSafeClientFactory","StytchClient","createStytchHeadlessClient","StytchHeadlessClient"],"mappings":";;;AAGA;;;;;;;;;;;;AAYC,IACM,MAAMA,kBAAAA,GAAqBC,oBAAAA,CAAqBC,YAAAA;AAEvD;;IAGO,MAAMC,0BAAAA,GAA6BH;AAE1C;;IAGO,MAAMI,oBAAAA,GAAuBF;;;;"}