@contentful/field-editor-shared 4.0.1-canary.15 → 4.1.1
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/queryClient.js
CHANGED
|
@@ -20,7 +20,7 @@ _export(exports, {
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
23
|
-
const _reactquery = require("@tanstack/react-query");
|
|
23
|
+
const _reactquery = /*#__PURE__*/ _interop_require_wildcard(require("@tanstack/react-query"));
|
|
24
24
|
function _getRequireWildcardCache(nodeInterop) {
|
|
25
25
|
if (typeof WeakMap !== "function") return null;
|
|
26
26
|
var cacheBabelInterop = new WeakMap();
|
|
@@ -62,7 +62,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
62
62
|
}
|
|
63
63
|
return newObj;
|
|
64
64
|
}
|
|
65
|
-
const rqVersion =
|
|
65
|
+
const rqVersion = _reactquery.version;
|
|
66
66
|
const RQ_MAJOR = parseInt(rqVersion ?? '4', 10);
|
|
67
67
|
const IS_V5 = RQ_MAJOR >= 5;
|
|
68
68
|
const clientContext = /*#__PURE__*/ _react.createContext(undefined);
|
package/dist/esm/queryClient.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import * as ReactQuery from '@tanstack/react-query';
|
|
2
3
|
import { QueryClient, QueryClientProvider, useQuery as useRQv4, useQueryClient as useHostQueryClientV4 } from '@tanstack/react-query';
|
|
3
|
-
const rqVersion =
|
|
4
|
+
const rqVersion = ReactQuery.version;
|
|
4
5
|
const RQ_MAJOR = parseInt(rqVersion ?? '4', 10);
|
|
5
6
|
const IS_V5 = RQ_MAJOR >= 5;
|
|
6
7
|
const clientContext = /*#__PURE__*/ React.createContext(undefined);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-shared",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"registry": "https://npm.pkg.github.com/"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "1c60463b77d379bd0d88409fed04fb0bdea3677c"
|
|
77
77
|
}
|