You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP →

@ebanux/ebanux-utils

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ebanux/ebanux-utils - npm Package Compare versions

Comparing version

to
1.0.46

@@ -59,2 +59,3 @@ "use strict";

_sessionStorage["default"].del('user');
_cookiesStorage["default"].del('user');
var message = err.response ? err.response.data.message : err.message;

@@ -61,0 +62,0 @@ throw Error(message);

{
"name": "@ebanux/ebanux-utils",
"version": "1.0.45",
"version": "1.0.46",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -88,3 +88,3 @@ "use strict";

(_options$signal = options.signal) !== null && _options$signal !== void 0 ? _options$signal : options.signal = options.timeout !== undefined ? abortSignal(options.timeout) : undefined;
if (_sessionStorage["default"].isAuthenticated && options.withCredentials !== false) {
if (options.withCredentials !== false) {
axiosInstance = _sessionStorage["default"].axiosInstance || createAxiosInstance();

@@ -91,0 +91,0 @@ _sessionStorage["default"].axiosInstance = axiosInstance;