fastapi-rtk 0.2.49 → 0.2.50

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.
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const constants = require("fastapi-rtk/constants");
4
4
  const React = require("react");
5
- const react = require("../../../../../.external/cjs/zustand@5.0.8_@types_react@18.3.25_react@18.3.1/zustand/esm/react.cjs");
5
+ const react = require("../../../../../.external/cjs/zustand@5.0.8_@types_react@18.3.26_react@18.3.1/zustand/esm/react.cjs");
6
6
  const useProvideForm = () => {
7
7
  const [storeAdd] = React.useState(
8
8
  () => react.create((set, get) => ({
@@ -1,6 +1,6 @@
1
1
  import { initialState, VIEW_MODE } from "fastapi-rtk/constants";
2
2
  import { useState } from "react";
3
- import { create } from "../../../../../.external/esm/zustand@5.0.8_@types_react@18.3.25_react@18.3.1/zustand/esm/react.mjs";
3
+ import { create } from "../../../../../.external/esm/zustand@5.0.8_@types_react@18.3.26_react@18.3.1/zustand/esm/react.mjs";
4
4
  const useProvideForm = () => {
5
5
  const [storeAdd] = useState(
6
6
  () => create((set, get) => ({
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
4
  const compareStateWithStore = require("../utils/compareStateWithStore.cjs");
5
5
  const createProxy = require("../utils/createProxy.cjs");
6
- const react = require("../../../.external/cjs/zustand@5.0.8_@types_react@18.3.25_react@18.3.1/zustand/esm/react.cjs");
6
+ const react = require("../../../.external/cjs/zustand@5.0.8_@types_react@18.3.26_react@18.3.1/zustand/esm/react.cjs");
7
7
  function useProxy(obj) {
8
8
  const [store] = React.useState(() => react.create(() => ({ ...obj })));
9
9
  const [proxy] = React.useState(() => createProxy.createProxy(store, ["getState", "setState"]));
@@ -1,7 +1,7 @@
1
1
  import { useState, useEffect } from "react";
2
2
  import { compareStateWithStore } from "../utils/compareStateWithStore.mjs";
3
3
  import { createProxy } from "../utils/createProxy.mjs";
4
- import { create } from "../../../.external/esm/zustand@5.0.8_@types_react@18.3.25_react@18.3.1/zustand/esm/react.mjs";
4
+ import { create } from "../../../.external/esm/zustand@5.0.8_@types_react@18.3.26_react@18.3.1/zustand/esm/react.mjs";
5
5
  function useProxy(obj) {
6
6
  const [store] = useState(() => create(() => ({ ...obj })));
7
7
  const [proxy] = useState(() => createProxy(store, ["getState", "setState"]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastapi-rtk",
3
- "version": "0.2.49",
3
+ "version": "0.2.50",
4
4
  "private": false,
5
5
  "description": "A React component library for FastAPI in combination with FastAPI React Toolkit backend, built with Mantine, JsonForms, and Zustand.",
6
6
  "license": "MIT",