@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
11 lines • 984 B
text/typescript
import { handleValueOrFn } from "./handleValueOrFn.mjs";
import { createDeferredPromise } from "./createDeferredPromise.mjs";
import { allSettled } from "./allSettled.mjs";
import { isStaging } from "./instance.mjs";
import { logErrorInDevMode } from "./logErrorInDevMode.mjs";
import { noop } from "./noop.mjs";
import { automatedEnvironmentVariables, isAutomatedEnvironment, isDevelopmentEnvironment, isProductionEnvironment, isTestEnvironment } from "./runtimeEnvironment.mjs";
import { runIfFunctionOrReturn } from "./runIfFunctionOrReturn.mjs";
import { fastDeepMergeAndKeep, fastDeepMergeAndReplace } from "./fastDeepMerge.mjs";
import { timeLimit } from "./timeLimit.mjs";
export { allSettled, automatedEnvironmentVariables, createDeferredPromise, fastDeepMergeAndKeep, fastDeepMergeAndReplace, handleValueOrFn, isAutomatedEnvironment, isDevelopmentEnvironment, isProductionEnvironment, isStaging, isTestEnvironment, logErrorInDevMode, noop, runIfFunctionOrReturn, timeLimit };