@sonarwatch/portfolio-plugins 0.11.147 → 0.11.148

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.148](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.147...plugins-0.11.148) (2024-03-26)
6
+
7
+
8
+
5
9
  ## [0.11.147](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.146...plugins-0.11.147) (2024-03-25)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.11.147",
3
+ "version": "0.11.148",
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.147"
44
+ "@sonarwatch/portfolio-core": "0.11.148"
45
45
  },
46
46
  "main": "./src/index.js",
47
47
  "types": "./src/index.d.ts"
@@ -3,7 +3,7 @@ import { TokenData } from './types';
3
3
  export declare function compareVersion(versionA: UniTokenListVersion, versionB: UniTokenListVersion): 1 | -1 | 0;
4
4
  export declare function isLatestVersion(newVersion: UniTokenListVersion, oldVersion: UniTokenListVersion): boolean;
5
5
  export declare function getCoingeckoSources(networkId: NetworkIdType, tokensData: TokenData[]): Promise<TokenPriceSource[]>;
6
- export declare function getTokensData(tokenList: UniTokenList): Promise<TokenData[]>;
6
+ export declare function getTokensData(tokenList: UniTokenList): TokenData[];
7
7
  export declare const lpTagSeparator = "<|>";
8
8
  export declare function getLpTag(platformId: string, elementName?: string): string;
9
9
  export declare function parseLpTag(tag: string): {
@@ -105,24 +105,22 @@ function getPricesFromCoingeckoIds(coingeckoIds) {
105
105
  });
106
106
  }
107
107
  function getTokensData(tokenList) {
108
- return __awaiter(this, void 0, void 0, function* () {
109
- const tokensData = tokenList.tokens.reduce((cTokensData, ti) => {
110
- if (!ti.extensions)
111
- return cTokensData;
112
- const { coingeckoId } = ti.extensions;
113
- if (typeof coingeckoId !== 'string')
114
- return cTokensData;
115
- const tokenData = {
116
- address: ti.address,
117
- coingeckoId,
118
- decimals: ti.decimals,
119
- platformId: constants_1.walletTokensPlatform.id,
120
- };
121
- cTokensData.push(tokenData);
108
+ const tokensData = tokenList.tokens.reduce((cTokensData, ti) => {
109
+ if (!ti.extensions)
122
110
  return cTokensData;
123
- }, []);
124
- return tokensData;
125
- });
111
+ const { coingeckoId } = ti.extensions;
112
+ if (typeof coingeckoId !== 'string')
113
+ return cTokensData;
114
+ const tokenData = {
115
+ address: ti.address,
116
+ coingeckoId,
117
+ decimals: ti.decimals,
118
+ platformId: constants_1.walletTokensPlatform.id,
119
+ };
120
+ cTokensData.push(tokenData);
121
+ return cTokensData;
122
+ }, []);
123
+ return tokensData;
126
124
  }
127
125
  exports.getTokensData = getTokensData;
128
126
  exports.lpTagSeparator = '<|>';
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/helpers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA6C;AAO7C,2CAAgE;AAEhE,iFAAyD;AACzD,mEAA2C;AAC3C,+DAAyE;AAEzE,SAAgB,cAAc,CAC5B,QAA6B,EAC7B,QAA6B;IAE7B,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC;IAC9C,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC,CAAC;IAC/C,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC;IAC9C,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC,C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AVD,gCAUC"}
@@ -17,6 +17,7 @@ const axios_1 = __importDefault(require("axios"));
17
17
  const helpers_1 = require("./helpers");
18
18
  const sleep_1 = __importDefault(require("../../utils/misc/sleep"));
19
19
  const constants_1 = require("./constants");
20
+ const shuffleArray_1 = __importDefault(require("../../utils/misc/shuffleArray"));
20
21
  function jobGenerator(networkId) {
21
22
  const network = portfolio_core_1.networks[networkId];
22
23
  const executor = (cache) => __awaiter(this, void 0, void 0, function* () {
@@ -26,9 +27,15 @@ function jobGenerator(networkId) {
26
27
  .catch(() => null);
27
28
  if (!tokenListResponse)
28
29
  return;
29
- const tokensData = yield (0, helpers_1.getTokensData)(tokenListResponse.data);
30
- const sources = yield (0, helpers_1.getCoingeckoSources)(networkId, tokensData);
31
- yield cache.setTokenPriceSources(sources);
30
+ const tokensData = (0, helpers_1.getTokensData)(tokenListResponse.data);
31
+ (0, shuffleArray_1.default)(tokensData);
32
+ const setSourcesPromises = [];
33
+ while (tokensData.length !== 0) {
34
+ const currTokensDate = tokensData.splice(0, 100);
35
+ const sources = yield (0, helpers_1.getCoingeckoSources)(networkId, currTokensDate);
36
+ setSourcesPromises.push(cache.setTokenPriceSources(sources));
37
+ }
38
+ yield Promise.all(setSourcesPromises);
32
39
  });
33
40
  return {
34
41
  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,OAAO,GAAG,yBAAQ,CAAC,SAAS,CAAC,CAAC;IACpC,MAAM,QAAQ,GAAG,CAAO,KAAY,EAAE,EAAE;QACtC,MAAM,IAAA,eAAK,EAAC,KAAK,CAAC,CAAC;QACnB,MAAM,iBAAiB,GAAuC,MAAM,eAAK;aACtE,G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