@vef-framework/core 2.0.1 → 2.0.2
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.
- package/dist/cjs/api/client.cjs +1 -1
- package/dist/cjs/api/constants.cjs +1 -1
- package/dist/cjs/api/helpers.cjs +1 -1
- package/dist/cjs/api/index.cjs +1 -1
- package/dist/cjs/auth/helpers.cjs +1 -1
- package/dist/cjs/auth/index.cjs +1 -1
- package/dist/cjs/common/index.cjs +1 -1
- package/dist/cjs/context/api-client.cjs +1 -1
- package/dist/cjs/context/app.cjs +1 -1
- package/dist/cjs/context/context-selector.cjs +1 -1
- package/dist/cjs/context/disabled.cjs +1 -1
- package/dist/cjs/context/index.cjs +1 -1
- package/dist/cjs/dnd/index.cjs +1 -1
- package/dist/cjs/http/client.cjs +1 -1
- package/dist/cjs/http/errors.cjs +1 -1
- package/dist/cjs/http/helpers.cjs +1 -1
- package/dist/cjs/http/index.cjs +1 -1
- package/dist/cjs/immer/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/motion/features.cjs +1 -1
- package/dist/cjs/motion/index.cjs +1 -1
- package/dist/cjs/motion/motion-provider.cjs +1 -1
- package/dist/cjs/query/constants.cjs +1 -1
- package/dist/cjs/query/helpers.cjs +1 -1
- package/dist/cjs/query/hooks.cjs +1 -1
- package/dist/cjs/query/index.cjs +1 -1
- package/dist/cjs/state/index.cjs +1 -1
- package/dist/cjs/state-machine/index.cjs +1 -1
- package/dist/cjs/store/bound.cjs +1 -1
- package/dist/cjs/store/index.cjs +1 -1
- package/dist/cjs/store/unbound.cjs +1 -1
- package/dist/cjs/store/use-deep.cjs +1 -1
- package/dist/es/api/client.js +1 -1
- package/dist/es/api/constants.js +1 -1
- package/dist/es/api/helpers.js +1 -1
- package/dist/es/api/index.js +1 -1
- package/dist/es/auth/helpers.js +1 -1
- package/dist/es/auth/index.js +1 -1
- package/dist/es/common/index.js +1 -1
- package/dist/es/context/api-client.js +1 -1
- package/dist/es/context/app.js +1 -1
- package/dist/es/context/context-selector.js +1 -1
- package/dist/es/context/disabled.js +1 -1
- package/dist/es/context/index.js +1 -1
- package/dist/es/dnd/index.js +1 -1
- package/dist/es/http/client.js +1 -1
- package/dist/es/http/errors.js +1 -1
- package/dist/es/http/helpers.js +1 -1
- package/dist/es/http/index.js +1 -1
- package/dist/es/immer/index.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/motion/features.js +1 -1
- package/dist/es/motion/index.js +1 -1
- package/dist/es/motion/motion-provider.js +1 -1
- package/dist/es/query/constants.js +1 -1
- package/dist/es/query/helpers.js +1 -1
- package/dist/es/query/hooks.js +1 -1
- package/dist/es/query/index.js +1 -1
- package/dist/es/state/index.js +1 -1
- package/dist/es/state-machine/index.js +1 -1
- package/dist/es/store/bound.js +1 -1
- package/dist/es/store/index.js +1 -1
- package/dist/es/store/unbound.js +1 -1
- package/dist/es/store/use-deep.js +1 -1
- package/package.json +3 -4
package/dist/cjs/api/client.cjs
CHANGED
package/dist/cjs/api/helpers.cjs
CHANGED
package/dist/cjs/api/index.cjs
CHANGED
package/dist/cjs/auth/index.cjs
CHANGED
package/dist/cjs/context/app.cjs
CHANGED
package/dist/cjs/dnd/index.cjs
CHANGED
package/dist/cjs/http/client.cjs
CHANGED
package/dist/cjs/http/errors.cjs
CHANGED
package/dist/cjs/http/index.cjs
CHANGED
package/dist/cjs/immer/index.cjs
CHANGED
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
package/dist/cjs/query/hooks.cjs
CHANGED
package/dist/cjs/query/index.cjs
CHANGED
package/dist/cjs/state/index.cjs
CHANGED
package/dist/cjs/store/bound.cjs
CHANGED
package/dist/cjs/store/index.cjs
CHANGED
package/dist/es/api/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { isFunction } from '@vef-framework/shared';
|
|
3
3
|
import '../http/index.js';
|
|
4
4
|
import '../query/index.js';
|
package/dist/es/api/constants.js
CHANGED
package/dist/es/api/helpers.js
CHANGED
package/dist/es/api/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { ApiClient } from './client.js';
|
|
3
3
|
export { QUERY_CLIENT } from './constants.js';
|
|
4
4
|
export { createApiClient } from './helpers.js';
|
package/dist/es/auth/helpers.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { isNullish, isString } from '@vef-framework/shared';
|
|
3
3
|
|
|
4
4
|
function checkPermission(hasPermission, permTokens, checkMode = "any") {
|
package/dist/es/auth/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { checkPermission } from './helpers.js';
|
package/dist/es/common/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { QueryClientProvider } from '@tanstack/react-query';
|
|
4
4
|
import { createContext, use } from 'react';
|
package/dist/es/context/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { isFunction } from '@vef-framework/shared';
|
|
4
4
|
import { createContext, useState, useEffect, use, useSyncExternalStore } from 'react';
|
package/dist/es/context/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { ApiClientProvider, useApiClient } from './api-client.js';
|
|
3
3
|
export { AppContextProvider, useAppContext } from './app.js';
|
|
4
4
|
export { createContextWithSelector } from './context-selector.js';
|
package/dist/es/dnd/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { AxisModifier, RestrictToHorizontalAxis, RestrictToVerticalAxis, SnapModifier, restrictShapeToBoundingRectangle } from '@dnd-kit/abstract/modifiers';
|
|
3
3
|
export { RestrictToElement, RestrictToWindow } from '@dnd-kit/dom/modifiers';
|
|
4
4
|
export { arrayMove as moveArrayItem, move as moveDragItem, arraySwap as swapArrayItem, swap as swapDragItem } from '@dnd-kit/helpers';
|
package/dist/es/http/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { encodeQueryString, isArray, isNullish, isFunction, isString } from '@vef-framework/shared';
|
|
3
3
|
import axios, { CanceledError } from 'axios';
|
|
4
4
|
import { BusinessError } from './errors.js';
|
package/dist/es/http/errors.js
CHANGED
package/dist/es/http/helpers.js
CHANGED
package/dist/es/http/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { HttpClient, skipAuthenticationHeader, skipAuthenticationValue } from './client.js';
|
|
3
3
|
export { BusinessError } from './errors.js';
|
|
4
4
|
export { createHttpClient, isBusinessError } from './helpers.js';
|
package/dist/es/immer/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { enableMapSet, enablePatches, setAutoFreeze } from 'immer';
|
|
3
3
|
export { applyPatches, current as currentState, original as originalState, produce, produceWithPatches } from 'immer';
|
|
4
4
|
export { useImmer, useImmerReducer } from 'use-immer';
|
package/dist/es/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { domMax as default } from 'motion/react';
|
package/dist/es/motion/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { default as MotionProvider } from './motion-provider.js';
|
|
3
3
|
export { AnimatePresence, LayoutGroup, Reorder, useInView } from 'motion/react';
|
|
4
4
|
import * as reactM from 'motion/react-m';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { generateId } from '@vef-framework/shared';
|
|
4
4
|
import { LazyMotion, MotionConfig } from 'motion/react';
|
package/dist/es/query/helpers.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { MutationCache, QueryClient, matchQuery } from '@tanstack/react-query';
|
|
3
3
|
export { keepPreviousData } from '@tanstack/react-query';
|
|
4
4
|
import { isPlainObject, hashKey } from '@vef-framework/shared';
|
package/dist/es/query/hooks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { useQuery as useQuery$1, useInfiniteQuery as useInfiniteQuery$1, useQueries as useQueries$1, useMutation as useMutation$1, useMutationState as useMutationState$1, useIsFetching as useIsFetching$1, useIsMutating as useIsMutating$1 } from '@tanstack/react-query';
|
|
3
3
|
export { matchMutation, matchQuery, skipToken as skipQueryToken, useQueryErrorResetBoundary } from '@tanstack/react-query';
|
|
4
4
|
|
package/dist/es/query/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { QUERY_CLIENT_KEY } from './constants.js';
|
|
3
3
|
export { createQueryClient } from './helpers.js';
|
|
4
4
|
export { useInfiniteQuery, useIsFetching, useIsMutating, useMutation, useMutationState, useQueries, useQuery } from './hooks.js';
|
package/dist/es/state/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { Provider as AtomStoreProvider, atom, createStore as createAtomStore, getDefaultStore as getDefaultAtomStore, useAtom, useStore as useAtomStore, useAtomValue, useSetAtom } from 'jotai';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { useActorRef, useSelector } from '@xstate/react';
|
|
3
3
|
export { useActorRef } from '@xstate/react';
|
|
4
4
|
export { Actor, createActor, createMachine, assign as updateContext } from 'xstate';
|
package/dist/es/store/bound.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { identity, constantCase } from '@vef-framework/shared';
|
|
3
3
|
import { create } from 'zustand';
|
|
4
4
|
import { subscribeWithSelector, persist, createJSONStorage } from 'zustand/middleware';
|
package/dist/es/store/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
export { createPersistedStore, createStore } from './bound.js';
|
|
3
3
|
export { createComponentStore } from './unbound.js';
|
|
4
4
|
export { useDeep } from './use-deep.js';
|
package/dist/es/store/unbound.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/core v2.0.
|
|
1
|
+
/*! @vef-framework/core v2.0.2 made with ❤️ by Venus | 2025-11-25T15:03:14.403Z */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { isPlainObject, mergeWith } from '@vef-framework/shared';
|
|
4
4
|
import { useIsomorphicLayoutEffect } from 'motion/react';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vef-framework/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Core features for VEF framework",
|
|
7
7
|
"author": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"use-immer": "^0.11.0",
|
|
65
65
|
"xstate": "^5.24.0",
|
|
66
66
|
"zustand": "^5.0.8",
|
|
67
|
-
"@vef-framework/shared": "2.0.
|
|
67
|
+
"@vef-framework/shared": "2.0.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"react": "^19.2.0"
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"scripts": {
|
|
73
73
|
"clean": "rimraf dist",
|
|
74
74
|
"typecheck": "tsc --noEmit",
|
|
75
|
-
"build": "vite build"
|
|
76
|
-
"pub": "tsx ../../scripts/publish.ts"
|
|
75
|
+
"build": "vite build"
|
|
77
76
|
}
|
|
78
77
|
}
|