@readyfor/api-client-base 0.203.0-pr971.2b88366 → 0.203.0

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,6 +1,6 @@
1
1
  import {
2
2
  useApiClientConfigContext
3
- } from "./chunk-L2MQCMVH.mjs";
3
+ } from "./chunk-VVRQ7D57.mjs";
4
4
 
5
5
  // src/react/useApiClientConfig.ts
6
6
  import { useCallback, useMemo } from "react";
@@ -1,7 +1,7 @@
1
1
  // src/react/swr.ts
2
2
  import { useRef } from "react";
3
3
  var abortMiddleware = (useSWRNext) => (key, fetcher, config) => {
4
- const ctrlRef = useRef(void 0);
4
+ const ctrlRef = useRef();
5
5
  const extendedFetcher = fetcher ? (key2) => {
6
6
  ctrlRef.current?.abort();
7
7
  ctrlRef.current = new AbortController();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSwrConfig
3
- } from "./chunk-FPT75RJM.mjs";
3
+ } from "./chunk-DHYJM4DQ.mjs";
4
4
  import {
5
5
  store
6
6
  } from "./chunk-472P3XVV.mjs";
@@ -56,7 +56,7 @@ var import_swr = require("swr");
56
56
  // src/react/swr.ts
57
57
  var import_react = require("react");
58
58
  var abortMiddleware = (useSWRNext) => (key, fetcher, config) => {
59
- const ctrlRef = (0, import_react.useRef)(void 0);
59
+ const ctrlRef = (0, import_react.useRef)();
60
60
  const extendedFetcher = fetcher ? (key2) => {
61
61
  ctrlRef.current?.abort();
62
62
  ctrlRef.current = new AbortController();
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ApiClientConfigProvider,
3
3
  useApiClientConfigContext
4
- } from "../chunk-L2MQCMVH.mjs";
5
- import "../chunk-FPT75RJM.mjs";
4
+ } from "../chunk-VVRQ7D57.mjs";
5
+ import "../chunk-DHYJM4DQ.mjs";
6
6
  import "../chunk-472P3XVV.mjs";
7
7
  import "../chunk-3SEO7S3Q.mjs";
8
8
  export {
@@ -62,7 +62,7 @@ var import_swr = require("swr");
62
62
  // src/react/swr.ts
63
63
  var import_react = require("react");
64
64
  var abortMiddleware = (useSWRNext) => (key, fetcher, config) => {
65
- const ctrlRef = (0, import_react.useRef)(void 0);
65
+ const ctrlRef = (0, import_react.useRef)();
66
66
  const extendedFetcher = fetcher ? (key2) => {
67
67
  ctrlRef.current?.abort();
68
68
  ctrlRef.current = new AbortController();
@@ -2,14 +2,14 @@ import {
2
2
  useApiClientConfig,
3
3
  useApiClientConfigWithSelector,
4
4
  useRequestInit
5
- } from "../chunk-R2UFZQ2K.mjs";
5
+ } from "../chunk-2F5N5YY5.mjs";
6
6
  import {
7
7
  ApiClientConfigProvider,
8
8
  useApiClientConfigContext
9
- } from "../chunk-L2MQCMVH.mjs";
9
+ } from "../chunk-VVRQ7D57.mjs";
10
10
  import {
11
11
  createSwrConfig
12
- } from "../chunk-FPT75RJM.mjs";
12
+ } from "../chunk-DHYJM4DQ.mjs";
13
13
  import "../chunk-472P3XVV.mjs";
14
14
  import "../chunk-3SEO7S3Q.mjs";
15
15
  export {
package/dist/react/swr.js CHANGED
@@ -25,7 +25,7 @@ __export(swr_exports, {
25
25
  module.exports = __toCommonJS(swr_exports);
26
26
  var import_react = require("react");
27
27
  var abortMiddleware = (useSWRNext) => (key, fetcher, config) => {
28
- const ctrlRef = (0, import_react.useRef)(void 0);
28
+ const ctrlRef = (0, import_react.useRef)();
29
29
  const extendedFetcher = fetcher ? (key2) => {
30
30
  ctrlRef.current?.abort();
31
31
  ctrlRef.current = new AbortController();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSwrConfig
3
- } from "../chunk-FPT75RJM.mjs";
3
+ } from "../chunk-DHYJM4DQ.mjs";
4
4
  export {
5
5
  createSwrConfig
6
6
  };
@@ -2,9 +2,9 @@ import {
2
2
  useApiClientConfig,
3
3
  useApiClientConfigWithSelector,
4
4
  useRequestInit
5
- } from "../chunk-R2UFZQ2K.mjs";
6
- import "../chunk-L2MQCMVH.mjs";
7
- import "../chunk-FPT75RJM.mjs";
5
+ } from "../chunk-2F5N5YY5.mjs";
6
+ import "../chunk-VVRQ7D57.mjs";
7
+ import "../chunk-DHYJM4DQ.mjs";
8
8
  import "../chunk-472P3XVV.mjs";
9
9
  import "../chunk-3SEO7S3Q.mjs";
10
10
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readyfor/api-client-base",
3
- "version": "0.203.0-pr971.2b88366",
3
+ "version": "0.203.0",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20,20 +20,23 @@
20
20
  "require": "./dist/react/index.js"
21
21
  }
22
22
  },
23
+ "scripts": {
24
+ "build": "tsup"
25
+ },
23
26
  "dependencies": {
24
27
  "qs": "6.14.0",
25
28
  "zod": "^3.24.1"
26
29
  },
27
30
  "devDependencies": {
28
31
  "@types/qs": "6.9.18",
29
- "@types/react": "catalog:react19",
30
- "@types/use-sync-external-store": "catalog:use-sync-external-store",
31
- "react": "catalog:react19",
32
- "swr": "catalog:",
33
- "use-sync-external-store": "catalog:use-sync-external-store"
32
+ "@types/react": "^18.3.12",
33
+ "@types/use-sync-external-store": "0.0.6",
34
+ "react": "^18.3.1",
35
+ "swr": "^2.3.3",
36
+ "use-sync-external-store": "^1.2.2"
34
37
  },
35
38
  "peerDependencies": {
36
- "react": ">=18.x <=19.x",
39
+ "react": "^18.3.1",
37
40
  "swr": "^2.3.3",
38
41
  "use-sync-external-store": "^1.2.2"
39
42
  },
@@ -60,7 +63,5 @@
60
63
  "src"
61
64
  ]
62
65
  },
63
- "scripts": {
64
- "build": "tsup"
65
- }
66
- }
66
+ "gitHead": "b43bfdef987450ec9ae7aa7f891d0c2f9e52e8a1"
67
+ }