@sonarwatch/portfolio-plugins 0.11.185 → 0.11.186

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.186](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.185...plugins-0.11.186) (2024-04-23)
6
+
7
+
8
+
5
9
  ## [0.11.185](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.184...plugins-0.11.185) (2024-04-23)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.11.185",
3
+ "version": "0.11.186",
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.185"
44
+ "@sonarwatch/portfolio-core": "0.11.186"
45
45
  },
46
46
  "main": "./src/index.js",
47
47
  "types": "./src/index.d.ts"
@@ -47,6 +47,10 @@ function getLlamaProtocolsJob(platforms) {
47
47
  protocols[platformId2].networkIds = [
48
48
  ...new Set(protocols[platformId2].networkIds),
49
49
  ];
50
+ protocols[platformId2].categories.push(llamaProtocol.category);
51
+ protocols[platformId2].categories = [
52
+ ...new Set(protocols[platformId2].categories),
53
+ ];
50
54
  }
51
55
  }
52
56
  yield cache.setItem(constants_1.llamaProtocolsCacheKey, JSON.stringify(protocols), {
@@ -1 +1 @@
1
- {"version":3,"file":"getLlamaProtocolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/getLlamaProtocolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAKA,kDAA0B;AAG1B,uCAAyE;AACzE,2CAAgF;AAEhF,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAElD,SAAgB,oBAAo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;gBACD,SAAS,CAAC,WAAW,CAAC,CAAC,GAAG,IAAI,aAAa,CAAC,GAAG,CAAC;gBAChD,SAAS,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC,IAAI,CACpC,GAAG,IAAA,iCAAuB,EAAC,aAAa,CAAC,MAAM,CAAC,CACjD,CAAC;gBACF,SAAS,CAAC,WAAW,CAAC,CAAC,UAAU,GAAG;oBAClC,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC;iBAC9C,CAAC;YACJ,CAAC;QACH,CAAC;QACD,MAAM,KAAK,CAAC,OAAO,CAAC,kCAAsB,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE;YACrE,MAAM,EAAE,qCAAyB;SAClC,CAAC,CAAC;IACL,CAAC,CAAA,CAAC;IACF,OAAO;QACL,EAAE,EAAE,iBAAiB;QACrB,QAAQ;QACR,KAAK,EAAE,WAAW;KACnB,CAAC;AACJ,CAAC;AAhDD,oDAgDC"}
1
+ {"version":3,"file":"getLlamaProtocolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/getLlamaProtocolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAKA,kDAA0B;AAG1B,uCAAyE;AACzE,2CAAgF;AAEhF,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAElD,SAAgB,oBAAoB,CAAC,SAAqB;IACxD,MAAM,QAAQ,GAAG,CAAO,KAAY,EAAE,EAAE;QACtC,MAAM,sBAAsB,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACzD,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAkB,CAAC;QACtD,SAAS,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YAC7B,IAAI,CAAC,QAAQ,CAAC,WAAW;gBAAE,OAAO;YAClC,mBAAmB,CAAC,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,QAAQ,C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AC,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;gBAC/D,SAAS,CAAC,WAAW,CAAC,CAAC,UAAU,GAAG;oBAClC,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC;iBAC9C,CAAC;YACJ,CAAC;QACH,CAAC;QACD,MAAM,KAAK,CAAC,OAAO,CAAC,kCAAsB,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE;YACrE,MAAM,EAAE,qCAAyB;SAClC,CAAC,CAAC;IACL,CAAC,CAAA,CAAC;IACF,OAAO;QACL,EAAE,EAAE,iBAAiB;QACrB,QAAQ;QACR,KAAK,EAAE,WAAW;KACnB,CAAC;AACJ,CAAC;AApDD,oDAoDC"}
@@ -17,6 +17,7 @@ function shrinkLlamaProtocol(protocol) {
17
17
  ? `https://twitter.com/${protocol.twitter}`
18
18
  : undefined,
19
19
  networkIds: llamaChainsToNetworkIds(protocol.chains),
20
+ categories: [protocol.category],
20
21
  };
21
22
  }
22
23
  exports.shrinkLlamaProtocol = shrinkLlamaProtocol;
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/helpers.ts"],"names":[],"mappings":";;;AAAA,+DAKoC;AAEpC,SAAgB,mBAAmB,CACjC,QAA2B;IAE3B,OAAO;QACL,EAAE,EAAE,QAAQ,CAAC,EAAE;QACf,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,UAAU,EAAE,QAAQ,CAAC,UAAU;QAC/B,MAAM,EAAE,QAAQ,CAAC,MAAM;QACvB,OAAO,EAAE,QAAQ,CA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