@redhat-cloud-services/frontend-components-utilities 3.3.15 → 3.5.0
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.
|
@@ -60,8 +60,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
60
60
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
|
+
import { useMemo } from 'react';
|
|
63
64
|
import axios from 'axios';
|
|
64
65
|
import { captureException, configureScope } from '@sentry/browser';
|
|
66
|
+
import { useChrome } from '@redhat-cloud-services/frontend-components/useChrome';
|
|
65
67
|
var HttpError = (function (_super) {
|
|
66
68
|
__extends(HttpError, _super);
|
|
67
69
|
function HttpError(description) {
|
|
@@ -72,31 +74,37 @@ var HttpError = (function (_super) {
|
|
|
72
74
|
return HttpError;
|
|
73
75
|
}(Error));
|
|
74
76
|
export { HttpError };
|
|
75
|
-
export function
|
|
76
|
-
return
|
|
77
|
-
return
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
77
|
+
export function authInterceptorWithChrome(chrome) {
|
|
78
|
+
return function (config) {
|
|
79
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
80
|
+
return __generator(this, function (_a) {
|
|
81
|
+
switch (_a.label) {
|
|
82
|
+
case 0: return [4, (chrome || window.insights.chrome).auth.getUser()];
|
|
83
|
+
case 1:
|
|
84
|
+
_a.sent();
|
|
85
|
+
return [2, config];
|
|
86
|
+
}
|
|
87
|
+
});
|
|
84
88
|
});
|
|
85
|
-
}
|
|
89
|
+
};
|
|
86
90
|
}
|
|
91
|
+
export var authInterceptor = authInterceptorWithChrome();
|
|
87
92
|
export function responseDataInterceptor(response) {
|
|
88
93
|
if (response.data) {
|
|
89
94
|
return response.data;
|
|
90
95
|
}
|
|
91
96
|
return response;
|
|
92
97
|
}
|
|
93
|
-
export function
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
export function interceptor401WithChrome(chrome) {
|
|
99
|
+
return function (error) {
|
|
100
|
+
if (error.response && error.response.status === 401) {
|
|
101
|
+
(chrome || window.insights.chrome).auth.logout();
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
throw error;
|
|
105
|
+
};
|
|
99
106
|
}
|
|
107
|
+
export var interceptor401 = interceptor401WithChrome();
|
|
100
108
|
export function interceptor500(error) {
|
|
101
109
|
if (error.response && error.response.status >= 500 && error.response.status < 600) {
|
|
102
110
|
configureScope(function (scope) {
|
|
@@ -126,6 +134,19 @@ export function errorInterceptor(err) {
|
|
|
126
134
|
}
|
|
127
135
|
}
|
|
128
136
|
}
|
|
137
|
+
export var useAxiosWithPlatformInterceptors = function () {
|
|
138
|
+
var chrome = useChrome();
|
|
139
|
+
var instance = useMemo(function () {
|
|
140
|
+
var memoInstance = axios.create();
|
|
141
|
+
memoInstance.interceptors.request.use(authInterceptorWithChrome(chrome));
|
|
142
|
+
memoInstance.interceptors.response.use(responseDataInterceptor);
|
|
143
|
+
memoInstance.interceptors.response.use(undefined, interceptor401WithChrome(chrome));
|
|
144
|
+
memoInstance.interceptors.response.use(undefined, interceptor500);
|
|
145
|
+
memoInstance.interceptors.response.use(undefined, errorInterceptor);
|
|
146
|
+
return memoInstance;
|
|
147
|
+
}, [chrome]);
|
|
148
|
+
return instance;
|
|
149
|
+
};
|
|
129
150
|
export var instance = axios.create();
|
|
130
151
|
instance.interceptors.request.use(authInterceptor);
|
|
131
152
|
instance.interceptors.response.use(responseDataInterceptor);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interceptors.js","sourceRoot":"","sources":["../../src/interceptors/interceptors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"interceptors.js","source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|
|
2
2
|
description: string;
|
|
3
3
|
constructor(description: string);
|
|
4
4
|
}
|
|
5
|
-
export declare function
|
|
5
|
+
export declare function authInterceptorWithChrome(chrome: any): (config: any) => Promise<any>;
|
|
6
|
+
export declare const authInterceptor: (config: any) => Promise<any>;
|
|
6
7
|
export declare function responseDataInterceptor(response: any): any;
|
|
7
|
-
export declare function
|
|
8
|
+
export declare function interceptor401WithChrome(chrome: any): (error: any) => boolean;
|
|
9
|
+
export declare const interceptor401: (error: any) => boolean;
|
|
8
10
|
export declare function interceptor500(error: any): void;
|
|
9
11
|
export declare function errorInterceptor(err: any): void;
|
|
12
|
+
export declare const useAxiosWithPlatformInterceptors: () => import("axios").AxiosInstance;
|
|
10
13
|
export declare const instance: import("axios").AxiosInstance;
|
|
11
14
|
export default instance;
|
|
@@ -65,9 +65,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
65
65
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
66
66
|
};
|
|
67
67
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
68
|
-
exports.instance = exports.errorInterceptor = exports.interceptor500 = exports.interceptor401 = exports.responseDataInterceptor = exports.authInterceptor = exports.HttpError = void 0;
|
|
68
|
+
exports.instance = exports.useAxiosWithPlatformInterceptors = exports.errorInterceptor = exports.interceptor500 = exports.interceptor401 = exports.interceptor401WithChrome = exports.responseDataInterceptor = exports.authInterceptor = exports.authInterceptorWithChrome = exports.HttpError = void 0;
|
|
69
|
+
var react_1 = require("react");
|
|
69
70
|
var axios_1 = __importDefault(require("axios"));
|
|
70
71
|
var browser_1 = require("@sentry/browser");
|
|
72
|
+
var useChrome_1 = require("@redhat-cloud-services/frontend-components/useChrome");
|
|
71
73
|
var HttpError = (function (_super) {
|
|
72
74
|
__extends(HttpError, _super);
|
|
73
75
|
function HttpError(description) {
|
|
@@ -78,19 +80,22 @@ var HttpError = (function (_super) {
|
|
|
78
80
|
return HttpError;
|
|
79
81
|
}(Error));
|
|
80
82
|
exports.HttpError = HttpError;
|
|
81
|
-
function
|
|
82
|
-
return
|
|
83
|
-
return
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
83
|
+
function authInterceptorWithChrome(chrome) {
|
|
84
|
+
return function (config) {
|
|
85
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
86
|
+
return __generator(this, function (_a) {
|
|
87
|
+
switch (_a.label) {
|
|
88
|
+
case 0: return [4, (chrome || window.insights.chrome).auth.getUser()];
|
|
89
|
+
case 1:
|
|
90
|
+
_a.sent();
|
|
91
|
+
return [2, config];
|
|
92
|
+
}
|
|
93
|
+
});
|
|
90
94
|
});
|
|
91
|
-
}
|
|
95
|
+
};
|
|
92
96
|
}
|
|
93
|
-
exports.
|
|
97
|
+
exports.authInterceptorWithChrome = authInterceptorWithChrome;
|
|
98
|
+
exports.authInterceptor = authInterceptorWithChrome();
|
|
94
99
|
function responseDataInterceptor(response) {
|
|
95
100
|
if (response.data) {
|
|
96
101
|
return response.data;
|
|
@@ -98,14 +103,17 @@ function responseDataInterceptor(response) {
|
|
|
98
103
|
return response;
|
|
99
104
|
}
|
|
100
105
|
exports.responseDataInterceptor = responseDataInterceptor;
|
|
101
|
-
function
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
function interceptor401WithChrome(chrome) {
|
|
107
|
+
return function (error) {
|
|
108
|
+
if (error.response && error.response.status === 401) {
|
|
109
|
+
(chrome || window.insights.chrome).auth.logout();
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
throw error;
|
|
113
|
+
};
|
|
107
114
|
}
|
|
108
|
-
exports.
|
|
115
|
+
exports.interceptor401WithChrome = interceptor401WithChrome;
|
|
116
|
+
exports.interceptor401 = interceptor401WithChrome();
|
|
109
117
|
function interceptor500(error) {
|
|
110
118
|
if (error.response && error.response.status >= 500 && error.response.status < 600) {
|
|
111
119
|
(0, browser_1.configureScope)(function (scope) {
|
|
@@ -137,10 +145,24 @@ function errorInterceptor(err) {
|
|
|
137
145
|
}
|
|
138
146
|
}
|
|
139
147
|
exports.errorInterceptor = errorInterceptor;
|
|
148
|
+
var useAxiosWithPlatformInterceptors = function () {
|
|
149
|
+
var chrome = (0, useChrome_1.useChrome)();
|
|
150
|
+
var instance = (0, react_1.useMemo)(function () {
|
|
151
|
+
var memoInstance = axios_1.default.create();
|
|
152
|
+
memoInstance.interceptors.request.use(authInterceptorWithChrome(chrome));
|
|
153
|
+
memoInstance.interceptors.response.use(responseDataInterceptor);
|
|
154
|
+
memoInstance.interceptors.response.use(undefined, interceptor401WithChrome(chrome));
|
|
155
|
+
memoInstance.interceptors.response.use(undefined, interceptor500);
|
|
156
|
+
memoInstance.interceptors.response.use(undefined, errorInterceptor);
|
|
157
|
+
return memoInstance;
|
|
158
|
+
}, [chrome]);
|
|
159
|
+
return instance;
|
|
160
|
+
};
|
|
161
|
+
exports.useAxiosWithPlatformInterceptors = useAxiosWithPlatformInterceptors;
|
|
140
162
|
exports.instance = axios_1.default.create();
|
|
141
|
-
exports.instance.interceptors.request.use(authInterceptor);
|
|
163
|
+
exports.instance.interceptors.request.use(exports.authInterceptor);
|
|
142
164
|
exports.instance.interceptors.response.use(responseDataInterceptor);
|
|
143
|
-
exports.instance.interceptors.response.use(undefined, interceptor401);
|
|
165
|
+
exports.instance.interceptors.response.use(undefined, exports.interceptor401);
|
|
144
166
|
exports.instance.interceptors.response.use(undefined, interceptor500);
|
|
145
167
|
exports.instance.interceptors.response.use(undefined, errorInterceptor);
|
|
146
168
|
exports.default = exports.instance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interceptors.js","sourceRoot":"","sources":["../src/interceptors/interceptors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"interceptors.js","sourceRoot":"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