@fileverse-dev/formulajs 4.4.14 → 4.4.15

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.
package/lib/cjs/index.cjs CHANGED
@@ -17858,7 +17858,7 @@ async function COINGECKO() {
17858
17858
  }
17859
17859
  const {URL: finalUrl, HEADERS} = getUrlAndHeaders({url, serviceName: 'Coingecko', headers});
17860
17860
 
17861
- const res = await fetch(finalUrl, { headers: HEADERS });
17861
+ const res = await fetch(finalUrl + "?refresh=true", { headers: HEADERS });
17862
17862
  const json = await res.json();
17863
17863
  if (!res.ok) {
17864
17864
  const msg = json?.status?.error_message || '';
@@ -18686,6 +18686,9 @@ async function DUNE() {
18686
18686
  if(item?.total_supply){
18687
18687
  item.total_supply = formatNumber(item?.total_supply, item.decimals);
18688
18688
  }
18689
+ if(item?.fully_diluted_value){
18690
+ item.fully_diluted_value = formatNumber(item?.fully_diluted_value, item.decimals);
18691
+ }
18689
18692
  }
18690
18693
  if(item?.first_acquired){
18691
18694
  item.first_acquired = new Intl.DateTimeFormat("en-US", {
package/lib/esm/index.mjs CHANGED
@@ -17856,7 +17856,7 @@ async function COINGECKO() {
17856
17856
  }
17857
17857
  const {URL: finalUrl, HEADERS} = getUrlAndHeaders({url, serviceName: 'Coingecko', headers});
17858
17858
 
17859
- const res = await fetch(finalUrl, { headers: HEADERS });
17859
+ const res = await fetch(finalUrl + "?refresh=true", { headers: HEADERS });
17860
17860
  const json = await res.json();
17861
17861
  if (!res.ok) {
17862
17862
  const msg = json?.status?.error_message || '';
@@ -18684,6 +18684,9 @@ async function DUNE() {
18684
18684
  if(item?.total_supply){
18685
18685
  item.total_supply = formatNumber(item?.total_supply, item.decimals);
18686
18686
  }
18687
+ if(item?.fully_diluted_value){
18688
+ item.fully_diluted_value = formatNumber(item?.fully_diluted_value, item.decimals);
18689
+ }
18687
18690
  }
18688
18691
  if(item?.first_acquired){
18689
18692
  item.first_acquired = new Intl.DateTimeFormat("en-US", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formulajs",
3
- "version": "4.4.14",
3
+ "version": "4.4.15",
4
4
  "description": "JavaScript implementation of most Microsoft Excel formula functions",
5
5
  "author": "Formulajs",
6
6
  "publishConfig": {