@fileverse-dev/fortune-react 1.0.61 → 1.0.63
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.
|
@@ -268,7 +268,8 @@ export function convertCellsToCrypto(_a) {
|
|
|
268
268
|
col: col,
|
|
269
269
|
baseValue: baseValue,
|
|
270
270
|
cryptoValue: cryptoValue,
|
|
271
|
-
baseCurrency: getFiatGeckoId(fiatSymbol) || "usd"
|
|
271
|
+
baseCurrency: getFiatGeckoId(fiatSymbol) || "usd",
|
|
272
|
+
baseCurrencyPrice: fiatVsCryptoPrice
|
|
272
273
|
});
|
|
273
274
|
});
|
|
274
275
|
setContext(function (ctx) {
|
|
@@ -279,7 +280,8 @@ export function convertCellsToCrypto(_a) {
|
|
|
279
280
|
col = _a.col,
|
|
280
281
|
baseValue = _a.baseValue,
|
|
281
282
|
cryptoValue = _a.cryptoValue,
|
|
282
|
-
baseCurrency = _a.baseCurrency
|
|
283
|
+
baseCurrency = _a.baseCurrency,
|
|
284
|
+
baseCurrencyPrice = _a.baseCurrencyPrice;
|
|
283
285
|
if (!d[row]) d[row] = [];
|
|
284
286
|
if (!d[row][col]) d[row][col] = {};
|
|
285
287
|
var cellCp = d[row][col];
|
|
@@ -291,6 +293,7 @@ export function convertCellsToCrypto(_a) {
|
|
|
291
293
|
};
|
|
292
294
|
cellCp.baseValue = baseValue;
|
|
293
295
|
cellCp.baseCurrency = baseCurrency.toLowerCase();
|
|
296
|
+
cellCp.baseCurrencyPrice = baseCurrencyPrice;
|
|
294
297
|
d[row][col] = cellCp;
|
|
295
298
|
});
|
|
296
299
|
});
|
|
@@ -275,7 +275,8 @@ function convertCellsToCrypto(_a) {
|
|
|
275
275
|
col: col,
|
|
276
276
|
baseValue: baseValue,
|
|
277
277
|
cryptoValue: cryptoValue,
|
|
278
|
-
baseCurrency: getFiatGeckoId(fiatSymbol) || "usd"
|
|
278
|
+
baseCurrency: getFiatGeckoId(fiatSymbol) || "usd",
|
|
279
|
+
baseCurrencyPrice: fiatVsCryptoPrice
|
|
279
280
|
});
|
|
280
281
|
});
|
|
281
282
|
setContext(function (ctx) {
|
|
@@ -286,7 +287,8 @@ function convertCellsToCrypto(_a) {
|
|
|
286
287
|
col = _a.col,
|
|
287
288
|
baseValue = _a.baseValue,
|
|
288
289
|
cryptoValue = _a.cryptoValue,
|
|
289
|
-
baseCurrency = _a.baseCurrency
|
|
290
|
+
baseCurrency = _a.baseCurrency,
|
|
291
|
+
baseCurrencyPrice = _a.baseCurrencyPrice;
|
|
290
292
|
if (!d[row]) d[row] = [];
|
|
291
293
|
if (!d[row][col]) d[row][col] = {};
|
|
292
294
|
var cellCp = d[row][col];
|
|
@@ -298,6 +300,7 @@ function convertCellsToCrypto(_a) {
|
|
|
298
300
|
};
|
|
299
301
|
cellCp.baseValue = baseValue;
|
|
300
302
|
cellCp.baseCurrency = baseCurrency.toLowerCase();
|
|
303
|
+
cellCp.baseCurrencyPrice = baseCurrencyPrice;
|
|
301
304
|
d[row][col] = cellCp;
|
|
302
305
|
});
|
|
303
306
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.63",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "lib/index.d.ts",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"tsc": "tsc"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@fileverse-dev/fortune-core": "1.0.
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.0.63",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-20",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|