@vef-framework-react/core 2.1.10 → 2.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { DefaultChatTransport as e, TextStreamChatTransport as t, getToolName as n, getToolOrDynamicToolName as r, isDataUIPart as i, isDeepEqualData as a, isFileUIPart as o, isReasoningUIPart as s, isTextUIPart as c, isToolOrDynamicToolUIPart as l, isToolUIPart as u, parsePartialJson as d } from "ai";
3
3
  export { e as DefaultChatTransport, t as TextStreamChatTransport, n as getToolName, r as getToolOrDynamicToolName, i as isDataUIPart, a as isDeepEqualData, o as isFileUIPart, s as isReasoningUIPart, c as isTextUIPart, l as isToolOrDynamicToolUIPart, u as isToolUIPart, d as parsePartialJson };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { createHttpClient as e } from "../http/helpers.js";
3
3
  import { createQueryClient as t } from "../query/helpers.js";
4
4
  import { HTTP_CLIENT as n, PROXIED_METHODS as r, QUERY_CLIENT as i } from "./constants.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { HTTP_CLIENT_KEY as e } from "../http/constants.js";
3
3
  import { QUERY_CLIENT_KEY as t } from "../query/constants.js";
4
4
  //#region src/api/constants.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { ApiClient as e } from "./client.js";
3
3
  //#region src/api/helpers.ts
4
4
  function t(t) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import "./constants.js";
3
3
  import "./client.js";
4
4
  import "./helpers.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { isNullish as e, isString as t } from "@vef-framework-react/shared";
3
3
  //#region src/auth/helpers.ts
4
4
  function n(n, r, i = "any") {
@@ -1,2 +1,2 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import "./helpers.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { QUERY_CLIENT as e } from "../api/constants.js";
3
3
  import { QueryClientProvider as t } from "@tanstack/react-query";
4
4
  import { createContext as n, use as r } from "react";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { createContext as e, use as t } from "react";
3
3
  //#region src/context/app.ts
4
4
  var n = e({}), r = n.Provider;
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { isFunction as e } from "@vef-framework-react/shared";
3
3
  import { createContext as t, use as n, useEffect as r, useState as i, useSyncExternalStore as a } from "react";
4
4
  import { jsx as o } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { createContext as e, use as t } from "react";
3
3
  //#region src/context/disabled.ts
4
4
  var n = e(!1);
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import "./api-client.js";
3
3
  import "./app.js";
4
4
  import "./context-selector.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { AxisModifier as e, RestrictToHorizontalAxis as t, RestrictToVerticalAxis as n, SnapModifier as r, restrictShapeToBoundingRectangle as i } from "@dnd-kit/abstract/modifiers";
3
3
  import { RestrictToElement as a, RestrictToWindow as o } from "@dnd-kit/dom/modifiers";
4
4
  import { arrayMove as s, arraySwap as c, move as l, swap as u } from "@dnd-kit/helpers";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { CONTENT_DISPOSITION_FILENAME_REGEX as e, DEFAULT_TIMEOUT as t, PATH_PARAM_REGEX as n, SKIP_AUTH_HEADER as r } from "./constants.js";
3
3
  import { BusinessError as i } from "./errors.js";
4
4
  import { encodeQueryString as a, isArray as o, isFunction as s, isNullish as c, isString as l } from "@vef-framework-react/shared";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  //#region src/http/constants.ts
3
3
  var e = "__vef_http_client_key", t = /:(?<key>\w+)/g, n = /filename[^;=\n]*=(?<name>(?<quote>['"]).*?\2|[^;\n]*)/, r = "X-Skip-Authentication", i = "1", a = 3e4;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  //#region src/http/errors.ts
3
3
  var e = class extends Error {
4
4
  code;
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import "./errors.js";
3
3
  import { HttpClient as e } from "./client.js";
4
4
  //#region src/http/helpers.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import "./constants.js";
3
3
  import "./errors.js";
4
4
  import "./client.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { applyPatches as e, current as t, enableMapSet as n, enablePatches as r, original as i, produce as a, produceWithPatches as o, setAutoFreeze as s } from "immer";
3
3
  import { useImmer as c, useImmerReducer as l } from "use-immer";
4
4
  n(), r(), s(!1);
package/dist/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { DefaultChatTransport as e, TextStreamChatTransport as t, getToolName as n, getToolOrDynamicToolName as r, isDataUIPart as i, isDeepEqualData as a, isFileUIPart as o, isReasoningUIPart as s, isTextUIPart as c, isToolOrDynamicToolUIPart as l, isToolUIPart as u, parsePartialJson as d } from "./ai/index.js";
3
3
  import { SKIP_AUTH_HEADER as f, SKIP_AUTH_VALUE as p } from "./http/constants.js";
4
4
  import { keepPreviousData as m } from "./query/helpers.js";
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { domMax as e } from "motion/react";
3
3
  export { e as default };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import "./motion-provider.js";
3
3
  import { AnimatePresence as e, LayoutGroup as t, Reorder as n, useDragControls as r, useInView as i } from "motion/react";
4
4
  import * as a from "motion/react-m";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { generateId as e } from "@vef-framework-react/shared";
3
3
  import { useState as t } from "react";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  //#region src/query/constants.ts
3
3
  var e = "__vef_query_client_key";
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { hashKey as e, isPlainObject as t } from "@vef-framework-react/shared";
3
3
  import { MutationCache as n, QueryClient as r, keepPreviousData as i, matchQuery as a } from "@tanstack/react-query";
4
4
  //#region src/query/helpers.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { matchMutation as e, matchQuery as t, skipToken as n, useInfiniteQuery as r, useIsFetching as i, useIsMutating as a, useMutation as o, useMutationState as s, useQueries as c, useQuery as l, useQueryClient as u, useQueryErrorResetBoundary as d } from "@tanstack/react-query";
3
3
  //#region src/query/hooks.ts
4
4
  function f(e) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import "./constants.js";
3
3
  import "./helpers.js";
4
4
  import "./hooks.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { isString as e } from "@vef-framework-react/shared";
3
3
  import { fetchEventSource as t } from "@microsoft/fetch-event-source";
4
4
  //#region src/sse/client.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { SseClient as e } from "./client.js";
3
3
  //#region src/sse/helpers.ts
4
4
  function t(t) {
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import "./client.js";
3
3
  import "./helpers.js";
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { Provider as e, atom as t, createStore as n, getDefaultStore as r, useAtom as i, useAtomValue as a, useSetAtom as o, useStore as s } from "jotai";
3
3
  export { e as AtomStoreProvider, t as atom, n as createAtomStore, r as getDefaultAtomStore, i as useAtom, s as useAtomStore, a as useAtomValue, o as useSetAtom };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { useActorRef as e, useActorRef as t, useSelector as n } from "@xstate/react";
3
3
  import { Actor as r, assign as i, createActor as a, createMachine as o } from "xstate";
4
4
  //#region src/state-machine/index.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { constantCase as e, identity as t } from "@vef-framework-react/shared";
3
3
  import { create as n } from "zustand";
4
4
  import { createJSONStorage as r, persist as i, subscribeWithSelector as a } from "zustand/middleware";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import "./bound.js";
3
3
  import "./unbound.js";
4
4
  import "./use-deep.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { constantCase as e, identity as t, isPlainObject as n, mergeWith as r } from "@vef-framework-react/shared";
3
3
  import { createContext as i, use as a, useRef as o } from "react";
4
4
  import { jsx as s } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/core v2.1.10 made by Venus | 2026-04-27T08:58:14.187Z */
1
+ /*! @vef-framework-react/core v2.1.11 made by Venus | 2026-04-29T08:23:47.448Z */
2
2
  import { isDeepEqual as e } from "@vef-framework-react/shared";
3
3
  import { useRef as t } from "react";
4
4
  //#region src/store/use-deep.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vef-framework-react/core",
3
3
  "type": "module",
4
- "version": "2.1.10",
4
+ "version": "2.1.11",
5
5
  "private": false,
6
6
  "description": "Core features for VEF framework",
7
7
  "author": {
@@ -66,7 +66,7 @@
66
66
  "use-immer": "^0.11.0",
67
67
  "xstate": "^5.30.0",
68
68
  "zustand": "^5.0.12",
69
- "@vef-framework-react/shared": "2.1.10"
69
+ "@vef-framework-react/shared": "2.1.11"
70
70
  },
71
71
  "devDependencies": {
72
72
  "react": "^19.2.5"