@readyfor/api-client-base 0.240.0-pr981.89e7f00 → 0.240.0-pr982.47c0748
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/apiClientConfigStore.js +2 -2
- package/dist/apiClientConfigStore.mjs +2 -2
- package/dist/{chunk-BKGI64NY.mjs → chunk-6LWQJVNG.mjs} +2 -2
- package/dist/{chunk-YGQL4FPZ.mjs → chunk-75FRDEPQ.mjs} +1 -1
- package/dist/{chunk-SE2OY7FZ.mjs → chunk-AY5SE6GE.mjs} +2 -2
- package/dist/{chunk-QJGJPJUF.mjs → chunk-EUWRRSKU.mjs} +1 -1
- package/dist/{chunk-W6BWZ3JJ.mjs → chunk-I7IHBG7V.mjs} +1 -1
- package/dist/{chunk-NDBDIHHK.mjs → chunk-VC2N3UT3.mjs} +1 -1
- package/dist/fetcher.mjs +3 -3
- package/dist/index.js +2 -2
- package/dist/index.mjs +4 -4
- package/dist/react/ApiClientConfigProvider.mjs +3 -3
- package/dist/react/index.js +2 -2
- package/dist/react/index.mjs +4 -4
- package/dist/react/useApiClientConfig.js +2 -2
- package/dist/react/useApiClientConfig.mjs +4 -4
- package/dist/requestUrl.mjs +3 -3
- package/dist/requestUrl.test.mjs +3 -3
- package/dist/utils/requestInit.js +2 -2
- package/dist/utils/requestInit.mjs +1 -1
- package/package.json +1 -1
|
@@ -50,10 +50,10 @@ var createStore = (initialState) => {
|
|
|
50
50
|
var mergeRequestInit = (a, b) => {
|
|
51
51
|
const keys = Object.keys({ ...a, ...b });
|
|
52
52
|
return keys.reduce((acc, key) => {
|
|
53
|
-
if (
|
|
53
|
+
if (key in b) {
|
|
54
54
|
return { ...acc, [key]: a[key] };
|
|
55
55
|
}
|
|
56
|
-
if (
|
|
56
|
+
if (key in a) {
|
|
57
57
|
return { ...acc, [key]: b[key] };
|
|
58
58
|
}
|
|
59
59
|
if (Array.isArray(a[key]) && Array.isArray(b[key])) {
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
buildRequestInitWithDefaultConfig,
|
|
3
3
|
setApiClientConfig,
|
|
4
4
|
store
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VC2N3UT3.mjs";
|
|
6
|
+
import "./chunk-AY5SE6GE.mjs";
|
|
7
7
|
import "./chunk-3SEO7S3Q.mjs";
|
|
8
8
|
export {
|
|
9
9
|
buildRequestInitWithDefaultConfig,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useApiClientConfigContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EUWRRSKU.mjs";
|
|
4
4
|
import {
|
|
5
5
|
mergeRequestInit
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AY5SE6GE.mjs";
|
|
7
7
|
|
|
8
8
|
// src/react/useApiClientConfig.ts
|
|
9
9
|
import { useMemo } from "react";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
var mergeRequestInit = (a, b) => {
|
|
3
3
|
const keys = Object.keys({ ...a, ...b });
|
|
4
4
|
return keys.reduce((acc, key) => {
|
|
5
|
-
if (
|
|
5
|
+
if (key in b) {
|
|
6
6
|
return { ...acc, [key]: a[key] };
|
|
7
7
|
}
|
|
8
|
-
if (
|
|
8
|
+
if (key in a) {
|
|
9
9
|
return { ...acc, [key]: b[key] };
|
|
10
10
|
}
|
|
11
11
|
if (Array.isArray(a[key]) && Array.isArray(b[key])) {
|
package/dist/fetcher.mjs
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
createJsonFetcher,
|
|
4
4
|
createTextFetcher,
|
|
5
5
|
createVoidFetcher
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-75FRDEPQ.mjs";
|
|
7
7
|
import "./chunk-PY35XWDS.mjs";
|
|
8
8
|
import "./chunk-JCZWXJBU.mjs";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-VC2N3UT3.mjs";
|
|
10
|
+
import "./chunk-AY5SE6GE.mjs";
|
|
11
11
|
import "./chunk-3SEO7S3Q.mjs";
|
|
12
12
|
export {
|
|
13
13
|
createBlobFetcher,
|
package/dist/index.js
CHANGED
|
@@ -72,10 +72,10 @@ var createStore = (initialState) => {
|
|
|
72
72
|
var mergeRequestInit = (a, b) => {
|
|
73
73
|
const keys = Object.keys({ ...a, ...b });
|
|
74
74
|
return keys.reduce((acc, key) => {
|
|
75
|
-
if (
|
|
75
|
+
if (key in b) {
|
|
76
76
|
return { ...acc, [key]: a[key] };
|
|
77
77
|
}
|
|
78
|
-
if (
|
|
78
|
+
if (key in a) {
|
|
79
79
|
return { ...acc, [key]: b[key] };
|
|
80
80
|
}
|
|
81
81
|
if (Array.isArray(a[key]) && Array.isArray(b[key])) {
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createJsonFetcher,
|
|
4
4
|
createTextFetcher,
|
|
5
5
|
createVoidFetcher
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-75FRDEPQ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
HTTPError,
|
|
9
9
|
errorStatusCode,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
} from "./chunk-JCZWXJBU.mjs";
|
|
17
17
|
import {
|
|
18
18
|
__internal__requestUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-I7IHBG7V.mjs";
|
|
20
20
|
import {
|
|
21
21
|
buildRequestInitWithDefaultConfig,
|
|
22
22
|
setApiClientConfig,
|
|
23
23
|
store
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-VC2N3UT3.mjs";
|
|
25
|
+
import "./chunk-AY5SE6GE.mjs";
|
|
26
26
|
import {
|
|
27
27
|
createStore
|
|
28
28
|
} from "./chunk-3SEO7S3Q.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiClientConfigProvider,
|
|
3
3
|
useApiClientConfigContext
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EUWRRSKU.mjs";
|
|
5
5
|
import "../chunk-DH33ZDBG.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-VC2N3UT3.mjs";
|
|
7
|
+
import "../chunk-AY5SE6GE.mjs";
|
|
8
8
|
import "../chunk-3SEO7S3Q.mjs";
|
|
9
9
|
export {
|
|
10
10
|
ApiClientConfigProvider,
|
package/dist/react/index.js
CHANGED
|
@@ -56,10 +56,10 @@ var createStore = (initialState) => {
|
|
|
56
56
|
var mergeRequestInit = (a, b) => {
|
|
57
57
|
const keys = Object.keys({ ...a, ...b });
|
|
58
58
|
return keys.reduce((acc, key) => {
|
|
59
|
-
if (
|
|
59
|
+
if (key in b) {
|
|
60
60
|
return { ...acc, [key]: a[key] };
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
62
|
+
if (key in a) {
|
|
63
63
|
return { ...acc, [key]: b[key] };
|
|
64
64
|
}
|
|
65
65
|
if (Array.isArray(a[key]) && Array.isArray(b[key])) {
|
package/dist/react/index.mjs
CHANGED
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
useApiClientConfig,
|
|
3
3
|
useApiClientConfigWithSelector,
|
|
4
4
|
useRequestInit
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-6LWQJVNG.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ApiClientConfigProvider,
|
|
8
8
|
useApiClientConfigContext
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-EUWRRSKU.mjs";
|
|
10
10
|
import {
|
|
11
11
|
createSwrConfig
|
|
12
12
|
} from "../chunk-DH33ZDBG.mjs";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-VC2N3UT3.mjs";
|
|
14
|
+
import "../chunk-AY5SE6GE.mjs";
|
|
15
15
|
import "../chunk-3SEO7S3Q.mjs";
|
|
16
16
|
export {
|
|
17
17
|
ApiClientConfigProvider,
|
|
@@ -53,10 +53,10 @@ var createStore = (initialState) => {
|
|
|
53
53
|
var mergeRequestInit = (a, b) => {
|
|
54
54
|
const keys = Object.keys({ ...a, ...b });
|
|
55
55
|
return keys.reduce((acc, key) => {
|
|
56
|
-
if (
|
|
56
|
+
if (key in b) {
|
|
57
57
|
return { ...acc, [key]: a[key] };
|
|
58
58
|
}
|
|
59
|
-
if (
|
|
59
|
+
if (key in a) {
|
|
60
60
|
return { ...acc, [key]: b[key] };
|
|
61
61
|
}
|
|
62
62
|
if (Array.isArray(a[key]) && Array.isArray(b[key])) {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
useApiClientConfig,
|
|
3
3
|
useApiClientConfigWithSelector,
|
|
4
4
|
useRequestInit
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-6LWQJVNG.mjs";
|
|
6
|
+
import "../chunk-EUWRRSKU.mjs";
|
|
7
7
|
import "../chunk-DH33ZDBG.mjs";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-VC2N3UT3.mjs";
|
|
9
|
+
import "../chunk-AY5SE6GE.mjs";
|
|
10
10
|
import "../chunk-3SEO7S3Q.mjs";
|
|
11
11
|
export {
|
|
12
12
|
useApiClientConfig,
|
package/dist/requestUrl.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__internal__requestUrl
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-I7IHBG7V.mjs";
|
|
4
|
+
import "./chunk-VC2N3UT3.mjs";
|
|
5
|
+
import "./chunk-AY5SE6GE.mjs";
|
|
6
6
|
import "./chunk-3SEO7S3Q.mjs";
|
|
7
7
|
export {
|
|
8
8
|
__internal__requestUrl
|
package/dist/requestUrl.test.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__internal__requestUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I7IHBG7V.mjs";
|
|
4
4
|
import {
|
|
5
5
|
store
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-VC2N3UT3.mjs";
|
|
7
|
+
import "./chunk-AY5SE6GE.mjs";
|
|
8
8
|
import "./chunk-3SEO7S3Q.mjs";
|
|
9
9
|
|
|
10
10
|
// src/requestUrl.test.ts
|
|
@@ -26,10 +26,10 @@ module.exports = __toCommonJS(requestInit_exports);
|
|
|
26
26
|
var mergeRequestInit = (a, b) => {
|
|
27
27
|
const keys = Object.keys({ ...a, ...b });
|
|
28
28
|
return keys.reduce((acc, key) => {
|
|
29
|
-
if (
|
|
29
|
+
if (key in b) {
|
|
30
30
|
return { ...acc, [key]: a[key] };
|
|
31
31
|
}
|
|
32
|
-
if (
|
|
32
|
+
if (key in a) {
|
|
33
33
|
return { ...acc, [key]: b[key] };
|
|
34
34
|
}
|
|
35
35
|
if (Array.isArray(a[key]) && Array.isArray(b[key])) {
|