jclib-ui 1.1.2 → 1.1.3
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/dist/jclib-ui.es.js
CHANGED
|
@@ -1287,7 +1287,6 @@ function Alerta({ onConfirm, text: text2 = "", children }) {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
);
|
|
1289
1289
|
}
|
|
1290
|
-
const MESSAGE_ERROR = "*** setToken() is not defined ***";
|
|
1291
1290
|
const initConfig = {
|
|
1292
1291
|
baseURL: "",
|
|
1293
1292
|
timeout: 3e4,
|
|
@@ -1304,7 +1303,7 @@ const initConfig = {
|
|
|
1304
1303
|
isProductionMode: true,
|
|
1305
1304
|
withCredentials: false,
|
|
1306
1305
|
getToken: () => "",
|
|
1307
|
-
setToken: (token) => console.error(MESSAGE_ERROR, token),
|
|
1306
|
+
//setToken: (token: string) => console.error(MESSAGE_ERROR, token),
|
|
1308
1307
|
afterRequest: (_res) => {
|
|
1309
1308
|
}
|
|
1310
1309
|
};
|