@fileverse-dev/formulajs 4.4.21-price-and-wallet-3 → 4.4.21-price-and-wallet-4

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
@@ -19215,9 +19215,7 @@ async function PRICE() {
19215
19215
  }
19216
19216
 
19217
19217
 
19218
- const json = await res.json();
19219
-
19220
- const data = json.price;
19218
+ const data = await res.json();
19221
19219
 
19222
19220
  if(returnSingleValue){
19223
19221
  return data[0].price
@@ -19289,10 +19287,7 @@ async function WALLET() {
19289
19287
  }
19290
19288
 
19291
19289
  const json = await res.json();
19292
- if(query === 'txns'){
19293
- return json.transactions
19294
- }
19295
- return json.balances
19290
+ return json
19296
19291
 
19297
19292
  } catch (error) {
19298
19293
  return errorMessageHandler(error, 'WALLET')
package/lib/esm/index.mjs CHANGED
@@ -19213,9 +19213,7 @@ async function PRICE() {
19213
19213
  }
19214
19214
 
19215
19215
 
19216
- const json = await res.json();
19217
-
19218
- const data = json.price;
19216
+ const data = await res.json();
19219
19217
 
19220
19218
  if(returnSingleValue){
19221
19219
  return data[0].price
@@ -19287,10 +19285,7 @@ async function WALLET() {
19287
19285
  }
19288
19286
 
19289
19287
  const json = await res.json();
19290
- if(query === 'txns'){
19291
- return json.transactions
19292
- }
19293
- return json.balances
19288
+ return json
19294
19289
 
19295
19290
  } catch (error) {
19296
19291
  return errorMessageHandler(error, 'WALLET')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formulajs",
3
- "version": "4.4.21-price-and-wallet-3",
3
+ "version": "4.4.21-price-and-wallet-4",
4
4
  "description": "JavaScript implementation of most Microsoft Excel formula functions",
5
5
  "author": "Formulajs",
6
6
  "publishConfig": {