@readyfor/api-client-pigeon 0.155.0-pr911.649bbb6 → 0.155.0-pr912.becd9db
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.
|
@@ -12,7 +12,7 @@ var useV1Example = (swrConfig) => {
|
|
|
12
12
|
const key = __internal__requestUrl("/api/v1/example");
|
|
13
13
|
const result = useSWR(
|
|
14
14
|
swrConfig?.shouldNotFetch ? null : key,
|
|
15
|
-
|
|
15
|
+
buildV1ExampleGetFetcher(),
|
|
16
16
|
swrConfig
|
|
17
17
|
);
|
|
18
18
|
return { key, ...result };
|
|
@@ -21,7 +21,7 @@ var useV1ExampleImmutable = (swrConfig) => {
|
|
|
21
21
|
const key = __internal__requestUrl("/api/v1/example");
|
|
22
22
|
const result = useSWRImmutable(
|
|
23
23
|
swrConfig?.shouldNotFetch ? null : key,
|
|
24
|
-
|
|
24
|
+
buildV1ExampleGetFetcher(),
|
|
25
25
|
swrConfig
|
|
26
26
|
);
|
|
27
27
|
return { key, ...result };
|
package/dist/hooks/index.js
CHANGED
|
@@ -56,7 +56,7 @@ var useV1Example = (swrConfig) => {
|
|
|
56
56
|
const key = (0, import_api_client_base2.__internal__requestUrl)("/api/v1/example");
|
|
57
57
|
const result = (0, import_swr.default)(
|
|
58
58
|
swrConfig?.shouldNotFetch ? null : key,
|
|
59
|
-
|
|
59
|
+
buildV1ExampleGetFetcher(),
|
|
60
60
|
swrConfig
|
|
61
61
|
);
|
|
62
62
|
return { key, ...result };
|
|
@@ -65,7 +65,7 @@ var useV1ExampleImmutable = (swrConfig) => {
|
|
|
65
65
|
const key = (0, import_api_client_base2.__internal__requestUrl)("/api/v1/example");
|
|
66
66
|
const result = (0, import_immutable.default)(
|
|
67
67
|
swrConfig?.shouldNotFetch ? null : key,
|
|
68
|
-
|
|
68
|
+
buildV1ExampleGetFetcher(),
|
|
69
69
|
swrConfig
|
|
70
70
|
);
|
|
71
71
|
return { key, ...result };
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -54,7 +54,7 @@ var useV1Example = (swrConfig) => {
|
|
|
54
54
|
const key = (0, import_api_client_base2.__internal__requestUrl)("/api/v1/example");
|
|
55
55
|
const result = (0, import_swr.default)(
|
|
56
56
|
swrConfig?.shouldNotFetch ? null : key,
|
|
57
|
-
|
|
57
|
+
buildV1ExampleGetFetcher(),
|
|
58
58
|
swrConfig
|
|
59
59
|
);
|
|
60
60
|
return { key, ...result };
|
|
@@ -63,7 +63,7 @@ var useV1ExampleImmutable = (swrConfig) => {
|
|
|
63
63
|
const key = (0, import_api_client_base2.__internal__requestUrl)("/api/v1/example");
|
|
64
64
|
const result = (0, import_immutable.default)(
|
|
65
65
|
swrConfig?.shouldNotFetch ? null : key,
|
|
66
|
-
|
|
66
|
+
buildV1ExampleGetFetcher(),
|
|
67
67
|
swrConfig
|
|
68
68
|
);
|
|
69
69
|
return { key, ...result };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-pigeon",
|
|
3
|
-
"version": "0.155.0-
|
|
3
|
+
"version": "0.155.0-pr912.becd9db",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"swr": "^2.2.5",
|
|
30
30
|
"use-sync-external-store": "^1.2.2",
|
|
31
31
|
"zod": "^3.23.8",
|
|
32
|
-
"@readyfor/api-client-base": "0.155.0-
|
|
32
|
+
"@readyfor/api-client-base": "0.155.0-pr912.becd9db"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"qs": "^6",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"swr": "^2",
|
|
38
38
|
"use-sync-external-store": "1.2.2",
|
|
39
39
|
"zod": "^3",
|
|
40
|
-
"@readyfor/api-client-base": "0.155.0-
|
|
40
|
+
"@readyfor/api-client-base": "0.155.0-pr912.becd9db"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
43
|
"react": {
|