@escapenavigator/services 2.1.5 → 2.1.6
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.
|
@@ -34,8 +34,8 @@ import { refillOrdersAndCertificatesAnalytics } from './refill-orders-certificat
|
|
|
34
34
|
import { remove } from './remove';
|
|
35
35
|
import { retryAggregatorOrderBooking } from './retry-aggregator-order-booking';
|
|
36
36
|
import { update } from './update';
|
|
37
|
-
import { updateMobileApp } from './update-mobile-app';
|
|
38
37
|
import { updateAggregatorOrder } from './update-aggregator-order';
|
|
38
|
+
import { updateMobileApp } from './update-mobile-app';
|
|
39
39
|
type ApiDeclaration = {
|
|
40
40
|
removeIssues: typeof removeIssues;
|
|
41
41
|
findAllIssues: typeof findAllIssues;
|
|
@@ -37,8 +37,8 @@ var refill_orders_certificates_analytics_1 = require("./refill-orders-certificat
|
|
|
37
37
|
var remove_1 = require("./remove");
|
|
38
38
|
var retry_aggregator_order_booking_1 = require("./retry-aggregator-order-booking");
|
|
39
39
|
var update_1 = require("./update");
|
|
40
|
-
var update_mobile_app_1 = require("./update-mobile-app");
|
|
41
40
|
var update_aggregator_order_1 = require("./update-aggregator-order");
|
|
41
|
+
var update_mobile_app_1 = require("./update-mobile-app");
|
|
42
42
|
exports.adminsApiDeclaration = {
|
|
43
43
|
removeIssues: remove_issue_1.removeIssues,
|
|
44
44
|
findAllIssues: find_all_issues_1.findAllIssues,
|
|
@@ -126,6 +126,7 @@ var useApiMethod = function (_a) {
|
|
|
126
126
|
if (!mounted.current)
|
|
127
127
|
return [2 /*return*/, null];
|
|
128
128
|
if (!(axios_1.default.isAxiosError(error_1) &&
|
|
129
|
+
typeof Blob !== 'undefined' &&
|
|
129
130
|
((_c = error_1.response) === null || _c === void 0 ? void 0 : _c.data) instanceof Blob &&
|
|
130
131
|
(((_d = error_1.response.data.type) === null || _d === void 0 ? void 0 : _d.includes('application/json')) ||
|
|
131
132
|
((_e = error_1.response.data.type) === null || _e === void 0 ? void 0 : _e.includes('application/problem+json'))))) return [3 /*break*/, 7];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/services",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "rm -rf dist && tsc --project tsconfig.json"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "75e12fefcc518fe5882597477618d7181eb61084",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@escapenavigator/types": "^2.1.
|
|
18
|
-
"@escapenavigator/utils": "^2.1.
|
|
17
|
+
"@escapenavigator/types": "^2.1.6",
|
|
18
|
+
"@escapenavigator/utils": "^2.1.6",
|
|
19
19
|
"axios": "^0.21.4",
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.2",
|