@sonarwatch/portfolio-plugins 0.11.132 → 0.11.133

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.11.133](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.132...plugins-0.11.133) (2024-03-19)
6
+
7
+
8
+
5
9
  ## [0.11.132](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.131...plugins-0.11.132) (2024-03-19)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.11.132",
3
+ "version": "0.11.133",
4
4
  "type": "commonjs",
5
5
  "generators": "./generators.json",
6
6
  "dependencies": {
@@ -41,7 +41,7 @@
41
41
  "web3-v1": "npm:web3@^1.5.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "@sonarwatch/portfolio-core": "0.11.132"
44
+ "@sonarwatch/portfolio-core": "0.11.133"
45
45
  },
46
46
  "main": "./src/index.js",
47
47
  "types": "./src/index.d.ts"
@@ -28,10 +28,7 @@ function jobGenerator(networkId) {
28
28
  return;
29
29
  const tokensData = yield (0, helpers_1.getTokensData)(tokenListResponse.data);
30
30
  const sources = yield (0, helpers_1.getCoingeckoSources)(networkId, tokensData);
31
- for (let i = 0; i < sources.length; i += 1) {
32
- const source = sources[i];
33
- yield cache.setTokenPriceSource(source);
34
- }
31
+ yield cache.setTokenPriceSources(sources);
35
32
  });
36
33
  return {
37
34
  executor,
@@ -1 +1 @@
1
- {"version":3,"file":"jobGenerator.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/jobGenerator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AACpC,kDAA6C;AAC7C,uCAA+D;AAG/D,mEAA2C;AAC3C,2CAAmD;AAEnD,SAAwB,YAAY,CAAC,SAAwB;IAC3D,MAAM,O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