nxt-aws-client
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -9,2 +9,3 @@ "use strict"; | ||
(function (ESTatsType) { | ||
ESTatsType["RequestCount"] = "request_count"; | ||
ESTatsType["RequestElapsed"] = "request_elapsed"; | ||
@@ -17,2 +18,3 @@ ESTatsType["RequestErrors"] = "request_errors"; | ||
const STATS_TYPES = { | ||
[ESTatsType.RequestCount]: 'Count', | ||
[ESTatsType.RequestElapsed]: 'Milliseconds', | ||
@@ -47,2 +49,3 @@ [ESTatsType.RequestErrors]: 'Count', | ||
}; | ||
this.collectStats(ESTatsType.RequestCount, 1); | ||
return await new Promise((resolve, reject) => { | ||
@@ -49,0 +52,0 @@ let timeoutId; |
{ | ||
"name": "nxt-aws-client", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts", |
25888
859