@sonarwatch/portfolio-plugins 0.12.90 → 0.12.91

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.12.91](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.90...plugins-0.12.91) (2024-07-25)
6
+
7
+
8
+
5
9
  ## [0.12.90](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.89...plugins-0.12.90) (2024-07-25)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.12.90",
3
+ "version": "0.12.91",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
@@ -165,23 +165,25 @@ function internalRunAirdropFetcher(owner, fetcher, cache, useCache = true) {
165
165
  return enhanceAirdrop(cAirdropRaw, owner, fetcher.networkId, cache);
166
166
  }
167
167
  const airdrop = yield fetcher.executor(owner, cache);
168
- // TTL is 120000 ms (2min)
169
- // If ineligible or claimed 240000 ms (4min)
170
- // If not claimable yet 240000 ms (4min) or until claim start
171
- let ttl = 120000;
172
- const now = Date.now();
173
- if (airdrop.items.every((i) => !(0, portfolio_core_1.isEligibleAmount)(i.amount)))
174
- ttl = 240000;
175
- else if (airdrop.items.every((i) => i.isClaimed === true))
176
- ttl = 240000;
177
- else if (airdrop.claimStart && airdrop.claimStart > now) {
178
- ttl = Math.min(240000, airdrop.claimStart - now);
168
+ if (useCache) {
169
+ // TTL is 120000 ms (2min)
170
+ // If ineligible or claimed 240000 ms (4min)
171
+ // If not claimable yet 240000 ms (4min) or until claim start
172
+ let ttl = 120000;
173
+ const now = Date.now();
174
+ if (airdrop.items.every((i) => !(0, portfolio_core_1.isEligibleAmount)(i.amount)))
175
+ ttl = 240000;
176
+ else if (airdrop.items.every((i) => i.isClaimed === true))
177
+ ttl = 240000;
178
+ else if (airdrop.claimStart && airdrop.claimStart > now) {
179
+ ttl = Math.min(240000, airdrop.claimStart - now);
180
+ }
181
+ yield cache.setItem(`${fetcher.id}_${owner}`, airdrop, {
182
+ ttl,
183
+ prefix: airdropCachePrefix,
184
+ networkId: fetcher.networkId,
185
+ });
179
186
  }
180
- yield cache.setItem(`${fetcher.id}_${owner}`, airdrop, {
181
- ttl,
182
- prefix: airdropCachePrefix,
183
- networkId: fetcher.networkId,
184
- });
185
187
  return enhanceAirdrop(airdrop, owner, fetcher.networkId, cache);
186
188
  });
187
189
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AirdropFetcher.js","sourceRoot":"","sources":["../../../../packages/plugins/src/AirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DA2BoC;AAEpC,iFAAyD;AAEzD,iGAAyE;AAa5D,QAAA,2BAA2B,GAAG,kBAAkB,CAAC;AAC9D,SAAsB,oBAAoB,CACxC,MAGG,EACH,SAAwB,EACxB,KAAY;;QAEZ,MAAM,KAAK,CAAC,QAAQ,CAClB,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;YAChC,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,KAAK;SACb,CAAC,CAAC,EACH;YACE,SAAS;YACT,MAAM,EAAE,mCAA2B;SACpC,CACF,CAAC;IACJ,CAAC;CAAA;AAlBD,oDAkBC;AAED,SAAe,oBAAoB,CACjC,MAAgB,EAChB,UAAyB,EACzB,KAAY;;QAEZ,MAAM,SAAS,GAA0B,IAAI,GAAG,EAAE,CAAC;QACnD,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,SAAS,CAAC;QAE1C,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAS,MAAM,EAAE;YAClD,SAAS,EAAE,UAAU;YACrB,MAAM,EAAE,mCAA2B;SACpC,CAAC,CAAC;QACH,MAAM,CAAC,OA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C,KAAK,CAAC,CAAC;YACrB,CAAC,CAAC,CAAC;YAEH,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAO,EAAE,CAAC;YACnC,OAAO;gBACL;oBACE,SAAS,EAAE,cAAc,CAAC,SAAS;oBACnC,KAAK,EAAE,SAAS;oBAChB,IAAI,EAAE;wBACJ,MAAM;qBACP;oBACD,UAAU;oBACV,IAAI,EAAE,qCAAoB,CAAC,QAAQ;oBACnC,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;oBACjD,IAAI,EAAE,OAAO,CAAC,IAAI,IAAI,SAAS;iBAChC;aACF,CAAC;QACJ,CAAC,CAAA;KACF,CAAC;AACJ,CAAC;AApED,0DAoEC"}
1
+ {"version":3,"file":"AirdropFetcher.js","sourceRoot":"","sources":["../../../../packages/plugins/src/AirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DA2BoC;AAEpC,iFAAyD;AAEzD,iGAAyE;AAa5D,QAAA,2BAA2B,GAAG,kBAAkB,CAAC;AAC9D,SAAsB,oBAAoB,CACxC,MAGG,EACH,SAAwB,EACxB,KAAY;;QAEZ,MAAM,KAAK,CAAC,QAAQ,CAClB,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;YAChC,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,KAAK;SACb,CAAC,CAAC,EACH;YACE,SAAS;YACT,MAAM,EAAE,mCAA2B;SACpC,CACF,CAAC;IACJ,CAAC;CAAA;AAlBD,oDAkBC;AAED,SAAe,oBAAoB,CACjC,MAAgB,EAChB,UAAyB,EACzB,KAAY;;QAEZ,MAAM,SAAS,GAA0B,IAAI,GAAG,EAAE,CAAC;QACnD,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,SAAS,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C,SAAS;wBACnC,UAAU,EAAE;4BACV,WAAW,EAAE,IAAI;4BACjB,WAAW,EAAE,OAAO,CAAC,UAAU;yBAChC;wBACD,KAAK,EAAE,IAAI,CAAC,KAAK;wBACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;qBACxB,CAAC;gBACN,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACrB,CAAC,CAAC,CAAC;YAEH,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAO,EAAE,CAAC;YACnC,OAAO;gBACL;oBACE,SAAS,EAAE,cAAc,CAAC,SAAS;oBACnC,KAAK,EAAE,SAAS;oBAChB,IAAI,EAAE;wBACJ,MAAM;qBACP;oBACD,UAAU;oBACV,IAAI,EAAE,qCAAoB,CAAC,QAAQ;oBACnC,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;oBACjD,IAAI,EAAE,OAAO,CAAC,IAAI,IAAI,SAAS;iBAChC;aACF,CAAC;QACJ,CAAC,CAAA;KACF,CAAC;AACJ,CAAC;AApED,0DAoEC"}
@@ -36,7 +36,6 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
36
36
  const lpPrice = yield (0, helpers_1.getLpTokenPrice)(client, pool, pool.custodies.map((c) => { var _a; return ((_a = custodyAccounts.get(c.toString())) === null || _a === void 0 ? void 0 : _a.oracle.oracleAccount) || ''; }));
37
37
  const decimals = yield (0, getDecimals_1.getDecimals)(client, pool.flpMint);
38
38
  if (decimals && lpPrice) {
39
- console.log('lpPrice:', lpPrice);
40
39
  yield cache.setTokenPriceSource({
41
40
  address: pool.flpMint.toString(),
42
41
  decimals,
@@ -1 +1 @@
1
- {"version":3,"file":"poolJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flash/poolJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAG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