@sonarwatch/portfolio-plugins 0.14.103 → 0.14.104
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.104](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.103...plugins-0.14.104) (2025-02-06)
|
6
|
+
|
7
|
+
|
8
|
+
|
5
9
|
## [0.14.103](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.102...plugins-0.14.103) (2025-02-06)
|
6
10
|
|
7
11
|
|
package/package.json
CHANGED
@@ -16,7 +16,9 @@ const axios_1 = __importDefault(require("axios"));
|
|
16
16
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
17
17
|
const constants_1 = require("../../utils/coingecko/constants");
|
18
18
|
const constants_2 = require("./constants");
|
19
|
+
const sleep_1 = __importDefault(require("../../utils/misc/sleep"));
|
19
20
|
const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
21
|
+
yield (0, sleep_1.default)(90000);
|
20
22
|
const res = yield axios_1.default.get(constants_1.coingeckoExchangeRatesUrl);
|
21
23
|
const { rates } = res.data;
|
22
24
|
const btcToUsd = rates['usd'].value;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fiatJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/coingecko/fiatJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,+DAA4E;AAG5E,+DAA4E;AAE5E,2CAA0E;
|
1
|
+
{"version":3,"file":"fiatJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/coingecko/fiatJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,+DAA4E;AAG5E,+DAA4E;AAE5E,2CAA0E;AAC1E,mEAA2C;AAE3C,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;I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