@gradientedge/single-promise
Advanced tools
Comparing version
@@ -25,3 +25,3 @@ "use strict"; | ||
})); | ||
promiseKeys[options.key].then(() => { | ||
promiseKeys[options.key] = promiseKeys[options.key].finally(() => { | ||
delete promiseKeys[options.key]; | ||
@@ -28,0 +28,0 @@ }); |
{ | ||
"name": "@gradientedge/single-promise", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Ensures that only a single promise/request is made while waiting for the original request to complete", | ||
@@ -5,0 +5,0 @@ "author": "Jimmy Thomson <jimmy@gradientedge.com>", |
Sorry, the diff of this file is not supported yet
6331
1.04%