@sonarwatch/portfolio-plugins 0.8.12 → 0.8.13

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/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.8.13](https://github.com/sonarwatch/portfolio/compare/plugins-0.8.12...plugins-0.8.13) (2023-10-13)
6
+
7
+
8
+
5
9
  ## [0.8.12](https://github.com/sonarwatch/portfolio/compare/plugins-0.8.11...plugins-0.8.12) (2023-10-13)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.8.12",
3
+ "version": "0.8.13",
4
4
  "type": "commonjs",
5
5
  "generators": "./generators.json",
6
6
  "dependencies": {
@@ -36,7 +36,7 @@
36
36
  "web3-v1": "npm:web3@^1.5.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "@sonarwatch/portfolio-core": "0.8.12"
39
+ "@sonarwatch/portfolio-core": "0.8.14"
40
40
  },
41
41
  "main": "./src/index.js",
42
42
  "types": "./src/index.d.ts"
@@ -1 +1 @@
1
- {"version":3,"file":"getLlamaProtocolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/getLlamaProtocolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAA0B;AAI1B,uCAAgD;AAChD,2CAAgF;AAEhF,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAElD,SAAgB,oBAAoB,CAAC,SAAqB;IACxD,OAAO,CAAO,KAAY,EAAE,EAAE;QAC5B,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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AAS,CAAC,WAAW,CAAC,EAAE;oBAC3B,SAAS,CAAC,WAAW,CAAC,mCACjB,IAAA,6BAAmB,EAAC,aAAa,CAAC,KACrC,GAAG,EAAE,CAAC,GACP,CAAC;iBACH;gBACD,SAAS,CAAC,WAAW,CAAC,CAAC,GAAG,IAAI,aAAa,CAAC,GAAG,CAAC;aACjD;SACF;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;AACJ,CAAC;AApCD,oDAoCC"}
@@ -1,2 +1,2 @@
1
- import { LlamaProtocol, LlamaProtocolFull } from './types';
1
+ import { LlamaProtocol, LlamaProtocolFull } from '@sonarwatch/portfolio-core';
2
2
  export declare function shrinkLlamaProtocol(protocol: LlamaProtocolFull): LlamaProtocol;
@@ -1,3 +1,2 @@
1
1
  export { getLlamaProtocolsJob } from './getLlamaProtocolsJob';
2
- export * from './types';
3
2
  export * from './constants';
@@ -17,6 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.getLlamaProtocolsJob = void 0;
18
18
  var getLlamaProtocolsJob_1 = require("./getLlamaProtocolsJob");
19
19
  Object.defineProperty(exports, "getLlamaProtocolsJob", { enumerable: true, get: function () { return getLlamaProtocolsJob_1.getLlamaProtocolsJob; } });
20
- __exportStar(require("./types"), exports);
21
20
  __exportStar(require("./constants"), exports);
22
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,0CAAwB;AACxB,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,8CAA4B"}
@@ -1,60 +0,0 @@
1
- export type LlamaProtocolFull = {
2
- id: string;
3
- name: string;
4
- address: null | string;
5
- symbol: string;
6
- url: string;
7
- description: null | string;
8
- chain: string;
9
- logo: string;
10
- audits: null | string;
11
- audit_note?: null | string;
12
- gecko_id: null | string;
13
- cmcId: null | string;
14
- category: string;
15
- chains: string[];
16
- module: string;
17
- twitter?: null | string;
18
- forkedFrom?: string[];
19
- oracles?: string[];
20
- listedAt?: number;
21
- slug: string;
22
- tvl: number;
23
- chainTvls: {
24
- [key: string]: number;
25
- };
26
- change_1h: number | null;
27
- change_1d: number | null;
28
- change_7d: number | null;
29
- mcap: number | null;
30
- referralUrl?: string;
31
- treasury?: string;
32
- audit_links?: string[];
33
- openSource?: boolean;
34
- governanceID?: string[];
35
- github?: string[];
36
- stablecoins?: string[];
37
- parentProtocol?: string;
38
- wrongLiquidity?: boolean;
39
- staking?: number;
40
- pool2?: number;
41
- language?: string;
42
- assetToken?: string;
43
- oraclesByChain?: {
44
- [key: string]: string[];
45
- };
46
- deadUrl?: boolean;
47
- rugged?: boolean;
48
- };
49
- export type LlamaProtocol = {
50
- id: string;
51
- name: string;
52
- url: string;
53
- logo: string;
54
- twitter?: null | string;
55
- slug: string;
56
- tvl: number;
57
- openSource?: boolean;
58
- deadUrl?: boolean;
59
- rugged?: boolean;
60
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/llama-protocols/types.ts"],"names":[],"mappings":""}