@trackunit/react-core-hooks 1.17.61 → 1.17.63

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 CHANGED
@@ -419,7 +419,7 @@ const fetchAssetBlobUrl = async (fullUrl, headers) => {
419
419
  const assetUrl = URL.createObjectURL(blob);
420
420
  return assetUrl;
421
421
  }
422
- catch (e) {
422
+ catch {
423
423
  return null;
424
424
  }
425
425
  };
@@ -859,7 +859,7 @@ const useAssetRuntime = () => {
859
859
  setLoading(false);
860
860
  setAssetInfo(updatedAssetInfo);
861
861
  }
862
- catch (e) {
862
+ catch {
863
863
  setLoading(false);
864
864
  setError(new Error("Failed to get asset info"));
865
865
  }
@@ -898,7 +898,7 @@ const useCustomerRuntime = () => {
898
898
  setLoading(false);
899
899
  setCustomerInfo(updatedCustomerInfo);
900
900
  }
901
- catch (e) {
901
+ catch {
902
902
  setLoading(false);
903
903
  setError(new Error("Failed to get customer info"));
904
904
  }
@@ -978,7 +978,7 @@ const useIrisAppName = () => {
978
978
  setLoading(false);
979
979
  setAppName(updatedAppName);
980
980
  }
981
- catch (e) {
981
+ catch {
982
982
  setLoading(false);
983
983
  setError(new Error("Failed to get iris app name"));
984
984
  }
@@ -1016,7 +1016,7 @@ const useIrisAppId = () => {
1016
1016
  setLoading(false);
1017
1017
  setIrisAppId(`${updatedOrgName}/${updatedAppName}`);
1018
1018
  }
1019
- catch (e) {
1019
+ catch {
1020
1020
  setLoading(false);
1021
1021
  setError(new Error("Failed to get iris app name"));
1022
1022
  }
@@ -1055,7 +1055,7 @@ const useSiteRuntime = () => {
1055
1055
  setLoading(false);
1056
1056
  setSiteInfo(updatedSiteInfo);
1057
1057
  }
1058
- catch (e) {
1058
+ catch {
1059
1059
  setLoading(false);
1060
1060
  setError(new Error("Failed to get site info"));
1061
1061
  }
package/index.esm.js CHANGED
@@ -417,7 +417,7 @@ const fetchAssetBlobUrl = async (fullUrl, headers) => {
417
417
  const assetUrl = URL.createObjectURL(blob);
418
418
  return assetUrl;
419
419
  }
420
- catch (e) {
420
+ catch {
421
421
  return null;
422
422
  }
423
423
  };
@@ -857,7 +857,7 @@ const useAssetRuntime = () => {
857
857
  setLoading(false);
858
858
  setAssetInfo(updatedAssetInfo);
859
859
  }
860
- catch (e) {
860
+ catch {
861
861
  setLoading(false);
862
862
  setError(new Error("Failed to get asset info"));
863
863
  }
@@ -896,7 +896,7 @@ const useCustomerRuntime = () => {
896
896
  setLoading(false);
897
897
  setCustomerInfo(updatedCustomerInfo);
898
898
  }
899
- catch (e) {
899
+ catch {
900
900
  setLoading(false);
901
901
  setError(new Error("Failed to get customer info"));
902
902
  }
@@ -976,7 +976,7 @@ const useIrisAppName = () => {
976
976
  setLoading(false);
977
977
  setAppName(updatedAppName);
978
978
  }
979
- catch (e) {
979
+ catch {
980
980
  setLoading(false);
981
981
  setError(new Error("Failed to get iris app name"));
982
982
  }
@@ -1014,7 +1014,7 @@ const useIrisAppId = () => {
1014
1014
  setLoading(false);
1015
1015
  setIrisAppId(`${updatedOrgName}/${updatedAppName}`);
1016
1016
  }
1017
- catch (e) {
1017
+ catch {
1018
1018
  setLoading(false);
1019
1019
  setError(new Error("Failed to get iris app name"));
1020
1020
  }
@@ -1053,7 +1053,7 @@ const useSiteRuntime = () => {
1053
1053
  setLoading(false);
1054
1054
  setSiteInfo(updatedSiteInfo);
1055
1055
  }
1056
- catch (e) {
1056
+ catch {
1057
1057
  setLoading(false);
1058
1058
  setError(new Error("Failed to get site info"));
1059
1059
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-hooks",
3
- "version": "1.17.61",
3
+ "version": "1.17.63",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,9 +8,9 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "es-toolkit": "^1.39.10",
11
- "@trackunit/iris-app-runtime-core": "1.17.56",
12
- "@trackunit/iris-app-runtime-core-api": "1.16.55",
13
- "@trackunit/react-core-contexts-api": "1.17.55",
11
+ "@trackunit/iris-app-runtime-core": "1.17.58",
12
+ "@trackunit/iris-app-runtime-core-api": "1.16.57",
13
+ "@trackunit/react-core-contexts-api": "1.17.57",
14
14
  "zod": "^3.25.76"
15
15
  },
16
16
  "peerDependencies": {