diff --git a/.changeset/cyan-beds-cross.md b/.changeset/cyan-beds-cross.md new file mode 100644 index 00000000000..a12242d7fc4 --- /dev/null +++ b/.changeset/cyan-beds-cross.md @@ -0,0 +1,5 @@ +--- +'@clerk/shared': patch +--- + +Re-add `handleValueOrFn` to subpaths with a deprecation warning. diff --git a/packages/shared/src/handleValueOrFn.ts b/packages/shared/src/handleValueOrFn.ts new file mode 100644 index 00000000000..926f295b08b --- /dev/null +++ b/packages/shared/src/handleValueOrFn.ts @@ -0,0 +1,6 @@ +import { handleValueOrFn as origHandleValueOrFn } from './utils/handleValueOrFn'; + +/** + * @deprecated - use `handleValueOrFn` from `@clerk/shared/utils` instead + */ +export const handleValueOrFn = origHandleValueOrFn;