@sonarwatch/portfolio-plugins 0.14.39 → 0.14.40

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.14.40](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.39...plugins-0.14.40) (2024-11-21)
6
+
7
+
8
+
5
9
  ## [0.14.39](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.38...plugins-0.14.39) (2024-11-20)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.14.39",
3
+ "version": "0.14.40",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
@@ -30,10 +30,10 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
30
30
  voter: r.vote_identity,
31
31
  name: r.name,
32
32
  imageUri: r.image,
33
- baseApy: r.apy_estimate,
34
- jitoApy: r.jito_apy,
35
- stakingApy: r.staking_apy,
36
- totalApy: r.total_apy,
33
+ baseApy: r.apy_estimate / 100,
34
+ jitoApy: r.jito_apy / 100,
35
+ stakingApy: r.staking_apy / 100,
36
+ totalApy: r.total_apy / 100,
37
37
  stakeCommission: r.commission / 100,
38
38
  mevCommission: r.jito_commission_bps / 10000,
39
39
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"solanaValidatorsJob.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaValidatorsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,kDAA6C;AAG7C,4CAAyD;AACzD,2CAA0C;AAG1C,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,GAAG,GAAG,MAAM,eAAK;SACpB,GAAG,CAAgD,uBAAW,EAAE;QAC/D,OAAO,EAAE,KAAK;KACf,CAAC;SACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;QACb,MAAM,KAAK,CAAC,qBAAqB,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEL,IAAI,CAAC,GAAG,CAAC,IAAI;QAAE,MAAM,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAEnD,MAAM,UAAU,GAAgB,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACnD,KAAK,EAAE,CAAC,CAAC,aAAa;QACtB,IAAI,EAAE,CAAC,CAAC,IAAI;QACZ,QAAQ,EAAE,CAAC,CAAC,KAAK;QACjB,OAAO,EAAE,CAAC,CAAC,YAAY;QACvB,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,UAAU,EAAE,CAAC,CAAC,WAAW;QACzB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,eAAe,EAAE,CAAC,CAAC,UAAU,GAAG,GAAG;QACnC,aAAa,EAAE,CAAC,CAAC,mBAAmB,GAAG,KAAK;KAC7C,CAAC,CAAC,CAAC;IAEJ,MAAM,KAAK,CAAC,OAAO,CAAC,yBAAa,EAAE,UAAU,EAAE;QAC7C,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,oBAAoB;IACrC,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"solanaValidatorsJob.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaValidatorsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,kDAA6C;AAG7C,4CAAyD;AACzD,2CAA0C;AAG1C,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAA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1.platformId}-pricing`,
136
136
  executor,
137
- label: 'coingecko',
137
+ label: 'realtime',
138
138
  };
139
139
  exports.default = job;
140
140
  //# sourceMappingURL=pricingJob.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pricingJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pyth/pricingJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6CAA4C;AAC5C,+DASoC;AAGpC,2CAAyC;AACzC,iDAAsD;AACtD,6DAGyC;AACzC,yDAKmC;AACnC,+CAAwE;AAExE,MAAM,YAAY,GAAe;IAC/B,MAAM;IACN;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC;QACtE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,oCAAmB;gBACzB,QAAQ,EAAE,qCAAoB;gBAC9B,UAAU,EAAE,0BAAS,CAAC,MAAM;aAC7B;YACD;gBACE,IAAI,EAAE,2CAA0B;gBAChC,QAAQ,EAAE,qCAAoB;gBAC9B,UAAU,EAAE,0BAAS,CAAC,MAAM;aAC7B;SACF;KACF;IACD,MAAM;IACN;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC;QACtE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,iCAAgB;gBACtB,QAAQ,EAAE,kCAAiB;gBAC3B,UAAU,EAAE,0BAAS,CAAC,GAAG;aAC1B;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,QAAQ,EAAE,kCAAiB;gBAC3B,UAAU,EAAE,0BAAS,CAAC,GAAG;aAC1B;SACF;KACF;IACD,MAAM;IACN;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC;QACrE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,mCAAkB;gBACxB,QAAQ,EAAE,oCAAmB;gBAC7B,UAAU,EAAE,0BAAS,CAAC,KAAK;aAC5B;SACF;KACF;IACD,OAAO;IACP;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,8CA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BAAe,GAAE,CAAC;IACrC,MAAM,OAAO,GAAG,MAAM,IAAA,kCAAwB,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACzE,MAAM,KAAK,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AACF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,QAAQ;IACR,KAAK,EAAE,WAAW;CACnB,CAAC;AACF,kBAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"pricingJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pyth/pricingJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6CAA4C;AAC5C,+DASoC;AAGpC,2CAAyC;AACzC,iDAAsD;AACtD,6DAGyC;AACzC,yDAKmC;AACnC,+CAAwE;AAExE,MAAM,YAAY,GAAe;IAC/B,MAAM;IACN;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC;QACtE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,oCAAmB;gBACzB,QAAQ,EAAE,qCAAoB;gBAC9B,UAAU,EAAE,0BAAS,CAAC,MAAM;aAC7B;YACD;gBACE,IAAI,EAAE,2CAA0B;gBAChC,QAAQ,EAAE,qCAAoB;gBAC9B,UAAU,EAAE,0BAAS,CAAC,MAAM;aAC7B;SACF;KACF;IACD,MAAM;IACN;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC;QACtE,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,iCAAgB;gBACtB,QAAQ,EAAE,kCAAiB;gBAC3B,UAAU,EAAE,0BAAS,CAAC,GAAG;aAC1B;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,QAAQ,EAAE,kCAAiB;gBAC3B,UAAU,EAAE,0BAAS,CAAC,GAAG;aAC1B;SACF;KACF;IACD,MAAM;IACN;QACE,OAAO,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC;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