@fileverse-dev/formulajs 4.4.21-price-and-wallet-7 → 4.4.21-price-and-wallet-8

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
@@ -19185,9 +19185,9 @@ async function PRICE() {
19185
19185
  try {
19186
19186
  let [input1, input2, input3] = argsToArray(arguments);
19187
19187
  validateParams(priceSchema, { input1, input2, input3 });
19188
- input1 = input1.replace(/\s+/g, "");
19189
- input2 = input2.replace(/\s+/g, "");
19190
- input3 = input3.replace(/\s+/g, "");
19188
+ input1 = input1?.replace(/\s+/g, "");
19189
+ input2 = input2?.replace(/\s+/g, "");
19190
+ input3 = input3?.replace(/\s+/g, "");
19191
19191
 
19192
19192
 
19193
19193
 
@@ -19277,9 +19277,9 @@ async function WALLET() {
19277
19277
  let [addresses, chains, query, time] = argsToArray(arguments);
19278
19278
  validateParams(walletParamsSchema, { addresses, chains, query, time });
19279
19279
 
19280
- addresses = addresses.replace(/\s+/g, "");
19281
- chains = chains.replace(/\s+/g, "");
19282
- time = chains.replace(/\s+/g, "");
19280
+ addresses = addresses?.replace(/\s+/g, "");
19281
+ chains = chains?.replace(/\s+/g, "");
19282
+ time = chains?.replace(/\s+/g, "");
19283
19283
  const baseUrl = window.useLocal ? 'http://localhost:3000' : 'https://onchain-proxy.fileverse.io';
19284
19284
 
19285
19285
  const resolvedAddresses = await getResolvedAddresses(addresses);
package/lib/esm/index.mjs CHANGED
@@ -19183,9 +19183,9 @@ async function PRICE() {
19183
19183
  try {
19184
19184
  let [input1, input2, input3] = argsToArray(arguments);
19185
19185
  validateParams(priceSchema, { input1, input2, input3 });
19186
- input1 = input1.replace(/\s+/g, "");
19187
- input2 = input2.replace(/\s+/g, "");
19188
- input3 = input3.replace(/\s+/g, "");
19186
+ input1 = input1?.replace(/\s+/g, "");
19187
+ input2 = input2?.replace(/\s+/g, "");
19188
+ input3 = input3?.replace(/\s+/g, "");
19189
19189
 
19190
19190
 
19191
19191
 
@@ -19275,9 +19275,9 @@ async function WALLET() {
19275
19275
  let [addresses, chains, query, time] = argsToArray(arguments);
19276
19276
  validateParams(walletParamsSchema, { addresses, chains, query, time });
19277
19277
 
19278
- addresses = addresses.replace(/\s+/g, "");
19279
- chains = chains.replace(/\s+/g, "");
19280
- time = chains.replace(/\s+/g, "");
19278
+ addresses = addresses?.replace(/\s+/g, "");
19279
+ chains = chains?.replace(/\s+/g, "");
19280
+ time = chains?.replace(/\s+/g, "");
19281
19281
  const baseUrl = window.useLocal ? 'http://localhost:3000' : 'https://onchain-proxy.fileverse.io';
19282
19282
 
19283
19283
  const resolvedAddresses = await getResolvedAddresses(addresses);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formulajs",
3
- "version": "4.4.21-price-and-wallet-7",
3
+ "version": "4.4.21-price-and-wallet-8",
4
4
  "description": "JavaScript implementation of most Microsoft Excel formula functions",
5
5
  "author": "Formulajs",
6
6
  "publishConfig": {