From 8813200217856297e303ae8759dd4846efd8ce2e Mon Sep 17 00:00:00 2001 From: Edoardo Ranghieri Date: Mon, 12 Aug 2024 15:22:25 +0200 Subject: [PATCH] refactor(middleware): export `createMiddleware` function as `experimental_createMiddleware` --- packages/next-safe-action/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next-safe-action/src/index.ts b/packages/next-safe-action/src/index.ts index b40e2417..e3eb1030 100644 --- a/packages/next-safe-action/src/index.ts +++ b/packages/next-safe-action/src/index.ts @@ -10,7 +10,7 @@ import { formatValidationErrors, } from "./validation-errors"; -export { createMiddleware } from "./middleware"; +export { createMiddleware as experimental_createMiddleware } from "./middleware"; export { ActionMetadataError, DEFAULT_SERVER_ERROR_MESSAGE } from "./utils"; export { ActionValidationError,