@lido-nestjs/execution 1.8.3 → 1.9.1

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.
@@ -19,7 +19,7 @@ const retrier = (logger, defaultMaxRetryCount = 3, defaultMinBackoffMs = 1000, d
19
19
  throw err;
20
20
  }
21
21
  if (logger && logWarning) {
22
- logger.warn(err, 'Retrying after (%dms). Remaining retries [%d]', minBackoffMs, maxRetryCount);
22
+ logger.warn(err, `Retrying after (${minBackoffMs}ms). Remaining retries [${maxRetryCount}]`);
23
23
  }
24
24
  if (maxRetryCount <= 1 || minBackoffMs >= maxBackoffMs) {
25
25
  throw err;
@@ -51,7 +51,9 @@ exports.ExtendedJsonRpcBatchProvider = class ExtendedJsonRpcBatchProvider extend
51
51
  provider: this,
52
52
  });
53
53
  this._concurrencyLimiter(() => {
54
- return this._fetchMiddlewareService.go(() => this.fetchJson(this.connection, JSON.stringify(batchRequest)));
54
+ return this._fetchMiddlewareService.go(() => this.fetchJson(this.connection, JSON.stringify(batchRequest)), {
55
+ provider: this,
56
+ });
55
57
  }).then((batchResult) => {
56
58
  this.emit('debug', {
57
59
  action: 'response',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lido-nestjs/execution",
3
- "version": "1.8.3",
3
+ "version": "1.9.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  "@ethersproject/providers": "^5.5.3",
43
43
  "@ethersproject/web": "^5.5.1",
44
44
  "@lido-nestjs/logger": "1.3.0",
45
- "@lido-nestjs/middleware": "1.1.1"
45
+ "@lido-nestjs/middleware": "1.2.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@nestjs/common": "^8.2.5",