@leapdev/auth-agent 2.5.3 → 2.5.4
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/package.json +1 -1
- package/src/index.umd.js +0 -2
- package/src/lib/utils.js +0 -2
package/package.json
CHANGED
package/src/index.umd.js
CHANGED
|
@@ -6314,12 +6314,10 @@
|
|
|
6314
6314
|
let inFlight;
|
|
6315
6315
|
return factory => __awaiter(this, void 0, void 0, function* () {
|
|
6316
6316
|
if (inFlight) return inFlight;
|
|
6317
|
-
console.log('11111111111111');
|
|
6318
6317
|
const promise = (() => __awaiter(this, void 0, void 0, function* () {
|
|
6319
6318
|
try {
|
|
6320
6319
|
return yield factory();
|
|
6321
6320
|
} finally {
|
|
6322
|
-
console.log('inFlight-------------------- cleanup');
|
|
6323
6321
|
inFlight = undefined;
|
|
6324
6322
|
}
|
|
6325
6323
|
}))();
|
package/src/lib/utils.js
CHANGED
|
@@ -104,13 +104,11 @@ export function createInFlightDedupe() {
|
|
|
104
104
|
return (factory) => __awaiter(this, void 0, void 0, function* () {
|
|
105
105
|
if (inFlight)
|
|
106
106
|
return inFlight;
|
|
107
|
-
console.log('11111111111111');
|
|
108
107
|
const promise = (() => __awaiter(this, void 0, void 0, function* () {
|
|
109
108
|
try {
|
|
110
109
|
return yield factory();
|
|
111
110
|
}
|
|
112
111
|
finally {
|
|
113
|
-
console.log('inFlight-------------------- cleanup');
|
|
114
112
|
inFlight = undefined;
|
|
115
113
|
}
|
|
116
114
|
}))();
|