@fileverse-dev/formulajs 4.4.11-mod-49 → 4.4.11-mod-50

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
@@ -13222,7 +13222,7 @@ const fromUsernameToFid = async (username, apiKey) => {
13222
13222
  const url = `https://api.neynar.com/v2/farcaster/user/search/?q=${username}&limit=5`;
13223
13223
  const res = await fetch(url, {
13224
13224
  headers: {
13225
- 'x-api-key': API_KEY,
13225
+ 'x-api-key': apiKey,
13226
13226
  'x-neynar-experimental': 'false'
13227
13227
  }
13228
13228
  });
@@ -13521,7 +13521,7 @@ async function NEYNAR() {
13521
13521
  return `${SERVICE_API_KEY.Neynar}${ERROR_MESSAGES_FLAG.INVALID_PARAM}`;
13522
13522
  }
13523
13523
 
13524
- const fid = await fromUsernameToFid(username);
13524
+ const fid = await fromUsernameToFid(username, API_KEY);
13525
13525
 
13526
13526
  if(!fid){
13527
13527
  return `${SERVICE_API_KEY.Neynar}${ERROR_MESSAGES_FLAG.INVALID_PARAM}`;
package/lib/esm/index.mjs CHANGED
@@ -13220,7 +13220,7 @@ const fromUsernameToFid = async (username, apiKey) => {
13220
13220
  const url = `https://api.neynar.com/v2/farcaster/user/search/?q=${username}&limit=5`;
13221
13221
  const res = await fetch(url, {
13222
13222
  headers: {
13223
- 'x-api-key': API_KEY,
13223
+ 'x-api-key': apiKey,
13224
13224
  'x-neynar-experimental': 'false'
13225
13225
  }
13226
13226
  });
@@ -13519,7 +13519,7 @@ async function NEYNAR() {
13519
13519
  return `${SERVICE_API_KEY.Neynar}${ERROR_MESSAGES_FLAG.INVALID_PARAM}`;
13520
13520
  }
13521
13521
 
13522
- const fid = await fromUsernameToFid(username);
13522
+ const fid = await fromUsernameToFid(username, API_KEY);
13523
13523
 
13524
13524
  if(!fid){
13525
13525
  return `${SERVICE_API_KEY.Neynar}${ERROR_MESSAGES_FLAG.INVALID_PARAM}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formulajs",
3
- "version": "4.4.11-mod-49",
3
+ "version": "4.4.11-mod-50",
4
4
  "description": "JavaScript implementation of most Microsoft Excel formula functions",
5
5
  "author": "Formulajs",
6
6
  "publishConfig": {