@chainlink/external-adapter-framework 0.0.28 → 0.0.30

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 CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@chainlink/external-adapter-framework",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
+ "ajv": "^8.11.0",
7
8
  "axios": "^0.27.2",
8
9
  "fastify": "^4.5.3",
9
10
  "ioredis": "^5.0.4",
@@ -65,6 +65,8 @@ class BatchWarmingTransport {
65
65
  async backgroundExecute(context) {
66
66
  logger.debug('Starting background execute');
67
67
  const entries = await this.subscriptionSet.getAll();
68
+ logger.debug(`entries: ${JSON.stringify(entries)}`);
69
+ logger.debug(entries.length);
68
70
  if (!entries.length) {
69
71
  logger.debug('No entries in batch warming set, skipping');
70
72
  if (this.WARMER_ACTIVE) {
@@ -79,6 +81,7 @@ class BatchWarmingTransport {
79
81
  cacheMetrics.cacheWarmerCount.labels({ isBatched: 'true' }).inc();
80
82
  this.WARMER_ACTIVE = true;
81
83
  }
84
+ logger.debug('Preparing request');
82
85
  const request = this.config.prepareRequest(entries, context);
83
86
  logger.trace('Sending request to data provider...');
84
87
  const providerResponse = await (0, util_2.axiosRequest)(request, context.adapterConfig);