@servicetitan/ajax-handlers
Advanced tools
Comparing version 23.1.0 to 23.2.0
@@ -7,5 +7,2 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -79,3 +76,3 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
writable: true, | ||
value: true | ||
value: void 0 | ||
}); | ||
@@ -93,2 +90,4 @@ Object.defineProperty(this, "requestQueue", { | ||
value: () => __awaiter(this, void 0, void 0, function* () { | ||
this.isMounted = true; | ||
this.addInterceptors(); | ||
if (options === null || options === void 0 ? void 0 : options.prefetchAuthToken) { | ||
@@ -267,3 +266,2 @@ try { | ||
_MicroserviceAuthStore_isAuthRequestConfig.set(this, (config) => { var _a; return (_a = config.url) === null || _a === void 0 ? void 0 : _a.startsWith(authURL); }); | ||
this.addInterceptors(); | ||
} | ||
@@ -276,4 +274,3 @@ get isFetching() { | ||
MicroserviceAuthStore = __decorate([ | ||
injectable(), | ||
__metadata("design:paramtypes", []) | ||
injectable() | ||
], MicroserviceAuthStore); | ||
@@ -280,0 +277,0 @@ const apiBaseUrlConfigs = tokens.map(token => ({ |
{ | ||
"name": "@servicetitan/ajax-handlers", | ||
"version": "23.1.0", | ||
"version": "23.2.0", | ||
"description": "", | ||
@@ -21,4 +21,3 @@ "repository": { | ||
"devDependencies": { | ||
"@servicetitan/react-ioc": "23.1.0", | ||
"@testing-library/dom": "^8.20.1", | ||
"@servicetitan/react-ioc": "23.2.0", | ||
"@testing-library/jest-dom": "^6.4.2", | ||
@@ -32,3 +31,3 @@ "@testing-library/react": "^14.2.1", | ||
"peerDependencies": { | ||
"@servicetitan/react-ioc": "23.1.0", | ||
"@servicetitan/react-ioc": "23.2.0", | ||
"axios": "~0.27.2", | ||
@@ -43,3 +42,3 @@ "react": ">=17.0.2" | ||
}, | ||
"gitHead": "7267270e54cdb3a2926f61feb4939d057e82adb3" | ||
"gitHead": "4b72bab5ab6cb52a688d9329c7fbaa702ae6780c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7
124406
2362