@northern.tech/store 0.5.0 → 0.5.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.
@@ -3,7 +3,7 @@ import {
3
3
  setFirstLoginAfterSignup,
4
4
  setOfflineThreshold,
5
5
  setSearchState
6
- } from "../chunk-DA6QVCOG.js";
6
+ } from "../chunk-FQW72QFK.js";
7
7
  import "../chunk-YWHRAPDQ.js";
8
8
  import "../chunk-ZIUUV35J.js";
9
9
  import "../chunk-MPYYSFPL.js";
@@ -172,7 +172,8 @@ import Cookies4 from "universal-cookie";
172
172
  // src/deploymentsSlice/thunks.ts
173
173
  import { customSort, deepCompare, isEmpty, standardizePhases } from "@northern.tech/utils/helpers";
174
174
  import Tracking from "@northern.tech/utils/tracking";
175
- import { isUUID } from "validator";
175
+ import validator from "validator";
176
+ var { isUUID } = validator;
176
177
  var { receivedDevice, setSnackbar } = actions_default;
177
178
  var { page: defaultPage, perPage: defaultPerPage } = DEVICE_LIST_DEFAULTS;
178
179
  var deriveDeploymentGroup = ({ filter, group, groups = [], name }) => group || groups.length === 1 && !isUUID(name) ? groups[0] : filter?.name;
@@ -1771,7 +1772,7 @@ var requestPlanChange = createAppAsyncThunk(
1771
1772
  );
1772
1773
  var downloadLicenseReport = createAppAsyncThunk(
1773
1774
  `${sliceName5}/downloadLicenseReport`,
1774
- (_, { dispatch }) => general_api_default.get(`${deviceAuthV2}/reports/devices`).catch((err) => commonErrorHandler(err, "There was an error downloading the report", dispatch, commonErrorFallback)).then((res) => res.data)
1775
+ (_, { dispatch }) => general_api_default.get(`${deviceAuthV2}/license`).catch((err) => commonErrorHandler(err, "There was an error downloading the report", dispatch, commonErrorFallback)).then((res) => res.data)
1775
1776
  );
1776
1777
  var createIntegration = createAppAsyncThunk(
1777
1778
  `${sliceName5}/createIntegration`,
@@ -2757,4 +2758,4 @@ export {
2757
2758
  setAllTooltipsReadState,
2758
2759
  submitFeedback
2759
2760
  };
2760
- //# sourceMappingURL=chunk-DA6QVCOG.js.map
2761
+ //# sourceMappingURL=chunk-FQW72QFK.js.map