@trackunit/react-date-and-time-hooks 1.6.29 → 1.6.30
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/index.cjs.js +1 -2
- package/index.esm.js +1 -2
- package/package.json +10 -10
package/index.cjs.js
CHANGED
|
@@ -113,8 +113,7 @@ const useTimezone = ({ assetId } = {}) => {
|
|
|
113
113
|
});
|
|
114
114
|
const { data: timeZoneData } = client.useQuery(GetAssetTimezoneDocument, {
|
|
115
115
|
variables: {
|
|
116
|
-
|
|
117
|
-
assetId: assetId,
|
|
116
|
+
assetId: assetId ?? "",
|
|
118
117
|
},
|
|
119
118
|
skip: !assetId,
|
|
120
119
|
fetchPolicy: "cache-first",
|
package/index.esm.js
CHANGED
|
@@ -111,8 +111,7 @@ const useTimezone = ({ assetId } = {}) => {
|
|
|
111
111
|
});
|
|
112
112
|
const { data: timeZoneData } = useQuery(GetAssetTimezoneDocument, {
|
|
113
113
|
variables: {
|
|
114
|
-
|
|
115
|
-
assetId: assetId,
|
|
114
|
+
assetId: assetId ?? "",
|
|
116
115
|
},
|
|
117
116
|
skip: !assetId,
|
|
118
117
|
fetchPolicy: "cache-first",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-date-and-time-hooks",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.30",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
12
12
|
"graphql": "^16.10.0",
|
|
13
13
|
"@apollo/client": "3.13.8",
|
|
14
|
-
"@js-temporal/polyfill": "^0.5.1",
|
|
15
14
|
"react": "19.0.0",
|
|
16
15
|
"zod": "^3.23.8",
|
|
17
|
-
"@trackunit/iris-app-build-utilities": "1.6.
|
|
18
|
-
"@trackunit/iris-app-api": "1.6.
|
|
19
|
-
"@trackunit/react-core-contexts-test": "1.6.
|
|
20
|
-
"@trackunit/date-and-time-utils": "1.6.
|
|
21
|
-
"@trackunit/shared-utils": "1.8.
|
|
22
|
-
"@trackunit/react-core-contexts-api": "1.7.
|
|
23
|
-
"@trackunit/react-core-hooks": "1.6.
|
|
24
|
-
"@trackunit/react-test-setup": "1.3.
|
|
16
|
+
"@trackunit/iris-app-build-utilities": "1.6.27",
|
|
17
|
+
"@trackunit/iris-app-api": "1.6.27",
|
|
18
|
+
"@trackunit/react-core-contexts-test": "1.6.29",
|
|
19
|
+
"@trackunit/date-and-time-utils": "1.6.27",
|
|
20
|
+
"@trackunit/shared-utils": "1.8.27",
|
|
21
|
+
"@trackunit/react-core-contexts-api": "1.7.28",
|
|
22
|
+
"@trackunit/react-core-hooks": "1.6.29",
|
|
23
|
+
"@trackunit/react-test-setup": "1.3.27",
|
|
24
|
+
"@js-temporal/polyfill": "^0.5.1"
|
|
25
25
|
},
|
|
26
26
|
"module": "./index.esm.js",
|
|
27
27
|
"main": "./index.cjs.js",
|