@sonarwatch/portfolio-plugins 0.12.83 → 0.12.84
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/AirdropFetcher.js +5 -5
- package/src/AirdropFetcher.js.map +1 -1
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.84](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.83...plugins-0.12.84) (2024-07-22)
|
6
|
+
|
7
|
+
|
8
|
+
|
5
9
|
## [0.12.83](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.82...plugins-0.12.83) (2024-07-22)
|
6
10
|
|
7
11
|
|
package/package.json
CHANGED
package/src/AirdropFetcher.js
CHANGED
@@ -166,16 +166,16 @@ function internalRunAirdropFetcher(owner, fetcher, cache, useCache = true) {
|
|
166
166
|
}
|
167
167
|
const airdrop = yield fetcher.executor(owner, cache);
|
168
168
|
// TTL is 120000 ms (2min)
|
169
|
-
// If ineligible or claimed
|
170
|
-
// If not claimable yet
|
169
|
+
// If ineligible or claimed 21600000 ms (6h)
|
170
|
+
// If not claimable yet 21600000 ms (6h) or until claim start
|
171
171
|
let ttl = 120000;
|
172
172
|
const now = Date.now();
|
173
173
|
if (airdrop.items.every((i) => !(0, portfolio_core_1.isEligibleAmount)(i.amount)))
|
174
|
-
ttl =
|
174
|
+
ttl = 21600000;
|
175
175
|
else if (airdrop.items.every((i) => i.isClaimed === true))
|
176
|
-
ttl =
|
176
|
+
ttl = 21600000;
|
177
177
|
else if (airdrop.claimStart && airdrop.claimStart > now) {
|
178
|
-
ttl = Math.min(
|
178
|
+
ttl = Math.min(21600000, airdrop.claimStart - now);
|
179
179
|
}
|
180
180
|
yield cache.setItem(`${fetcher.id}_${owner}`, airdrop, {
|
181
181
|
ttl,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AirdropFetcher.js","source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