@elliemae/pui-app-sdk 4.7.2 → 4.8.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.
|
@@ -41,12 +41,9 @@ const handleFailure = (error) => {
|
|
|
41
41
|
if (status === HTTP_UNAUTHORIZED && unAuthorizedFailureHandler && typeof unAuthorizedFailureHandler === "function") {
|
|
42
42
|
return unAuthorizedFailureHandler(error).then((authorizationHeader) => {
|
|
43
43
|
const { config } = error;
|
|
44
|
-
if (!config)
|
|
44
|
+
if (!config?.headers)
|
|
45
45
|
throw error;
|
|
46
|
-
config.headers =
|
|
47
|
-
...config.headers,
|
|
48
|
-
Authorization: authorizationHeader
|
|
49
|
-
};
|
|
46
|
+
config.headers["Authorization"] = authorizationHeader;
|
|
50
47
|
return new Promise((resolve, reject) => {
|
|
51
48
|
import_axios.default.request(config).then(resolve).catch(reject);
|
|
52
49
|
});
|
package/dist/cjs/index.js
CHANGED
|
@@ -83,7 +83,6 @@ __export(lib_exports, {
|
|
|
83
83
|
getStore: () => import_store3.getStore,
|
|
84
84
|
globalConstants: () => import_constants.default,
|
|
85
85
|
history: () => import_history.browserHistory,
|
|
86
|
-
initSBManager: () => import_manager.initSBManager,
|
|
87
86
|
initServiceWorker: () => import_service_worker.initServiceWorker,
|
|
88
87
|
isCIBuild: () => import_helpers.isCIBuild,
|
|
89
88
|
isProd: () => import_helpers.isProd,
|
|
@@ -169,7 +168,6 @@ var import_render_with_state_addons = require("./utils/testing/render-with-state
|
|
|
169
168
|
var import_helpers2 = require("./api/helpers.js");
|
|
170
169
|
var import_users = require("./api/users/index.js");
|
|
171
170
|
var import_decorator = require("./view/storybook/decorator.js");
|
|
172
|
-
var import_manager = require("./utils/storybook/manager.js");
|
|
173
171
|
var import_autocomplete = require("./view/fields/autocomplete/index.js");
|
|
174
172
|
var import_error_toast = require("./view/error-toast/index.js");
|
|
175
173
|
var import_navigation_prompt = require("./view/modals/navigation-prompt/index.js");
|
|
@@ -10,12 +10,9 @@ const handleFailure = (error) => {
|
|
|
10
10
|
if (status === HTTP_UNAUTHORIZED && unAuthorizedFailureHandler && typeof unAuthorizedFailureHandler === "function") {
|
|
11
11
|
return unAuthorizedFailureHandler(error).then((authorizationHeader) => {
|
|
12
12
|
const { config } = error;
|
|
13
|
-
if (!config)
|
|
13
|
+
if (!config?.headers)
|
|
14
14
|
throw error;
|
|
15
|
-
config.headers =
|
|
16
|
-
...config.headers,
|
|
17
|
-
Authorization: authorizationHeader
|
|
18
|
-
};
|
|
15
|
+
config.headers["Authorization"] = authorizationHeader;
|
|
19
16
|
return new Promise((resolve, reject) => {
|
|
20
17
|
axios.request(config).then(resolve).catch(reject);
|
|
21
18
|
});
|
package/dist/esm/index.js
CHANGED
|
@@ -71,7 +71,6 @@ import { RenderWithStateAddOns } from "./utils/testing/render-with-state-addons.
|
|
|
71
71
|
import { getApiActionCreator, getSelectField } from "./api/helpers.js";
|
|
72
72
|
import { getUser } from "./api/users/index.js";
|
|
73
73
|
import { withAppDecorator } from "./view/storybook/decorator.js";
|
|
74
|
-
import { initSBManager } from "./utils/storybook/manager.js";
|
|
75
74
|
import { Autocomplete } from "./view/fields/autocomplete/index.js";
|
|
76
75
|
import { ErrorToast } from "./view/error-toast/index.js";
|
|
77
76
|
import { NavigationPrompt } from "./view/modals/navigation-prompt/index.js";
|
|
@@ -167,7 +166,6 @@ export {
|
|
|
167
166
|
getStore,
|
|
168
167
|
default2 as globalConstants,
|
|
169
168
|
browserHistory as history,
|
|
170
|
-
initSBManager,
|
|
171
169
|
initServiceWorker,
|
|
172
170
|
isCIBuild,
|
|
173
171
|
isProd,
|
|
@@ -42,7 +42,6 @@ export { RenderWithStateAddOns } from './utils/testing/render-with-state-addons.
|
|
|
42
42
|
export { getApiActionCreator, getSelectField } from './api/helpers.js';
|
|
43
43
|
export { getUser as fetchUserSettings } from './api/users/index.js';
|
|
44
44
|
export { withAppDecorator } from './view/storybook/decorator.js';
|
|
45
|
-
export { initSBManager } from './utils/storybook/manager.js';
|
|
46
45
|
export { Autocomplete } from './view/fields/autocomplete/index.js';
|
|
47
46
|
export { ErrorToast } from './view/error-toast/index.js';
|
|
48
47
|
export { NavigationPrompt } from './view/modals/navigation-prompt/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -111,50 +111,50 @@
|
|
|
111
111
|
"indent": 4
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
|
-
"@elliemae/app-react-dependencies": "^4.
|
|
115
|
-
"@elliemae/ds-basic": "^3.
|
|
116
|
-
"@elliemae/ds-button": "^3.
|
|
117
|
-
"@elliemae/ds-controlled-form": "^3.
|
|
118
|
-
"@elliemae/ds-date-picker": "^3.
|
|
119
|
-
"@elliemae/ds-date-range-picker": "^3.
|
|
120
|
-
"@elliemae/ds-dialog": "^3.
|
|
121
|
-
"@elliemae/ds-form": "^3.
|
|
122
|
-
"@elliemae/ds-form-layout-blocks": "^3.
|
|
123
|
-
"@elliemae/ds-grid": "^3.
|
|
124
|
-
"@elliemae/ds-loading-indicator": "^3.
|
|
125
|
-
"@elliemae/ds-modal": "^3.
|
|
126
|
-
"@elliemae/ds-popperjs": "^3.
|
|
127
|
-
"@elliemae/ds-toast": "^3.
|
|
114
|
+
"@elliemae/app-react-dependencies": "^4.3.0",
|
|
115
|
+
"@elliemae/ds-basic": "^3.12.1",
|
|
116
|
+
"@elliemae/ds-button": "^3.12.1",
|
|
117
|
+
"@elliemae/ds-controlled-form": "^3.12.1",
|
|
118
|
+
"@elliemae/ds-date-picker": "^3.12.1",
|
|
119
|
+
"@elliemae/ds-date-range-picker": "^3.12.1",
|
|
120
|
+
"@elliemae/ds-dialog": "^3.12.1",
|
|
121
|
+
"@elliemae/ds-form": "^3.12.1",
|
|
122
|
+
"@elliemae/ds-form-layout-blocks": "^3.12.1",
|
|
123
|
+
"@elliemae/ds-grid": "^3.12.1",
|
|
124
|
+
"@elliemae/ds-loading-indicator": "^3.12.1",
|
|
125
|
+
"@elliemae/ds-modal": "^3.12.1",
|
|
126
|
+
"@elliemae/ds-popperjs": "^3.12.1",
|
|
127
|
+
"@elliemae/ds-toast": "^3.12.1",
|
|
128
128
|
"@elliemae/em-ssf-guest": "^1.11.2",
|
|
129
129
|
"@elliemae/pui-diagnostics": "^2.7.5",
|
|
130
130
|
"@elliemae/pui-micro-frontend-base": "^1.14.0",
|
|
131
|
-
"@elliemae/pui-scripting-object": "^1.
|
|
131
|
+
"@elliemae/pui-scripting-object": "^1.18.0",
|
|
132
132
|
"@elliemae/pui-theme": "^2.6.0",
|
|
133
133
|
"@elliemae/pui-user-monitoring": "^1.18.1"
|
|
134
134
|
},
|
|
135
135
|
"devDependencies": {
|
|
136
|
-
"@elliemae/app-react-dependencies": "~4.
|
|
136
|
+
"@elliemae/app-react-dependencies": "~4.3.0",
|
|
137
137
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
|
|
138
|
-
"@elliemae/ds-basic": "~3.
|
|
139
|
-
"@elliemae/ds-button": "~3.
|
|
140
|
-
"@elliemae/ds-controlled-form": "~3.
|
|
141
|
-
"@elliemae/ds-date-picker": "~3.
|
|
142
|
-
"@elliemae/ds-date-range-picker": "~3.
|
|
143
|
-
"@elliemae/ds-dialog": "~3.
|
|
144
|
-
"@elliemae/ds-form": "~3.
|
|
145
|
-
"@elliemae/ds-form-layout-blocks": "~3.
|
|
146
|
-
"@elliemae/ds-grid": "~3.
|
|
147
|
-
"@elliemae/ds-loading-indicator": "~3.
|
|
148
|
-
"@elliemae/ds-modal": "~3.
|
|
149
|
-
"@elliemae/ds-popperjs": "~3.
|
|
150
|
-
"@elliemae/ds-toast": "~3.
|
|
138
|
+
"@elliemae/ds-basic": "~3.12.1",
|
|
139
|
+
"@elliemae/ds-button": "~3.12.1",
|
|
140
|
+
"@elliemae/ds-controlled-form": "~3.12.1",
|
|
141
|
+
"@elliemae/ds-date-picker": "~3.12.1",
|
|
142
|
+
"@elliemae/ds-date-range-picker": "~3.12.1",
|
|
143
|
+
"@elliemae/ds-dialog": "~3.12.1",
|
|
144
|
+
"@elliemae/ds-form": "~3.12.1",
|
|
145
|
+
"@elliemae/ds-form-layout-blocks": "~3.12.1",
|
|
146
|
+
"@elliemae/ds-grid": "~3.12.1",
|
|
147
|
+
"@elliemae/ds-loading-indicator": "~3.12.1",
|
|
148
|
+
"@elliemae/ds-modal": "~3.12.1",
|
|
149
|
+
"@elliemae/ds-popperjs": "~3.12.1",
|
|
150
|
+
"@elliemae/ds-toast": "~3.12.1",
|
|
151
151
|
"@elliemae/em-ssf-guest": "~1.11.2",
|
|
152
|
-
"@elliemae/pui-cli": "~7.
|
|
152
|
+
"@elliemae/pui-cli": "~7.23.0",
|
|
153
153
|
"@elliemae/pui-diagnostics": "~2.7.5",
|
|
154
154
|
"@elliemae/pui-doc-gen": "~1.4.1",
|
|
155
155
|
"@elliemae/pui-e2e-test-sdk": "~7.7.1",
|
|
156
156
|
"@elliemae/pui-micro-frontend-base": "~1.14.0",
|
|
157
|
-
"@elliemae/pui-scripting-object": "~1.
|
|
157
|
+
"@elliemae/pui-scripting-object": "~1.18.0",
|
|
158
158
|
"@elliemae/pui-theme": "~2.6.0",
|
|
159
159
|
"@elliemae/pui-user-monitoring": "~1.18.1"
|
|
160
160
|
}
|