@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/browser/formula.js +3 -3
- package/lib/browser/formula.min.js +2 -2
- package/lib/browser/formula.min.js.map +1 -1
- package/lib/cjs/index.cjs +2 -2
- package/lib/esm/crypto-constants.mjs +340 -387
- package/lib/esm/index.mjs +2 -2
- package/package.json +1 -1
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':
|
|
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}`;
|