@fileverse-dev/formulajs 4.4.11-mod-48 → 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}`;