@sonarwatch/portfolio-plugins 0.12.113 → 0.12.115

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.12.115](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.114...plugins-0.12.115) (2024-08-05)
6
+
7
+
8
+
9
+ ## [0.12.114](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.113...plugins-0.12.114) (2024-08-04)
10
+
11
+
12
+
5
13
  ## [0.12.113](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.112...plugins-0.12.113) (2024-08-03)
6
14
 
7
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.12.113",
3
+ "version": "0.12.115",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
@@ -1,13 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.nIdsToFetch = exports.tokenListsDetailsPrefix = exports.tokenListsPrefix = exports.walletNftsPlatform = exports.walletTokensPlatform = void 0;
4
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
4
5
  exports.walletTokensPlatform = {
5
- id: 'wallet-tokens',
6
+ id: portfolio_core_1.walletTokensPlatformId,
6
7
  name: 'Tokens',
7
8
  image: 'https://sonar.watch/img/platforms/wallet-tokens.webp',
8
9
  };
9
10
  exports.walletNftsPlatform = {
10
- id: 'wallet-nfts',
11
+ id: portfolio_core_1.walletNftsPlatformId,
11
12
  name: 'NFTs',
12
13
  image: 'https://sonar.watch/img/platforms/wallet-nfts.webp',
13
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAa;IAC5C,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,sDAAsD;CAC9D,CAAC;AACW,QAAA,kBAAkB,GAAa;IAC1C,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,oDAAoD;CAC5D,CAAC;AAEW,QAAA,gBAAgB,GAAG,YAAY,CAAC;AAChC,QAAA,uBAAuB,GAAG,mBAAmB,CAAC;AAC9C,QAAA,WAAW,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/constants.ts"],"names":[],"mappings":";;;AAAA,+DAIoC;AAEvB,QAAA,oBAAoB,GAAa;IAC5C,EAAE,EAAE,uCAAsB;IAC1B,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,sDAAsD;CAC9D,CAAC;AACW,QAAA,kBAAkB,GAAa;IAC1C,EAAE,EAAE,qCAAoB;IACxB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,oDAAoD;CAC5D,CAAC;AAEW,QAAA,gBAAgB,GAAG,YAAY,CAAC;AAChC,QAAA,uBAAuB,GAAG,mBAAmB,CAAC;AAC9C,QAAA,WAAW,GAAG,EAAE,CAAC"}
@@ -28,6 +28,7 @@ function jobGenerator(networkId) {
28
28
  if (!tokenListResponse)
29
29
  return;
30
30
  const tokensData = (0, helpers_1.getTokensData)(tokenListResponse.data);
31
+ tokenListResponse.data.tokens = []; // Free some RAM
31
32
  (0, shuffleArray_1.default)(tokensData);
32
33
  const setSourcesPromises = [];
33
34
  while (tokensData.length !== 0) {
@@ -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;AACnD,iFAAyD;AAEzD,SAAwB,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