@fileverse-dev/formulajs 4.4.11-mod-46 → 4.4.11-mod-47

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
@@ -13218,6 +13218,7 @@ if (scanKey === SERVICE_API_KEY.Gnosisscan) chainId = 'gnosis';
13218
13218
 
13219
13219
  const fromUsernameToFid = async (username) => {
13220
13220
  if(!username) return null
13221
+ const API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Neynar);
13221
13222
  const url = `https://api.neynar.com/v2/farcaster/user/search/`;
13222
13223
  const res = await fetch(url, {
13223
13224
  query: {
@@ -182,8 +182,8 @@ var FUNCTION_LOCALE = [
182
182
  p: [
183
183
  {
184
184
  name: "username",
185
- detail: "The Farcaster FID of the user whose followers should be fetched.",
186
- example: `miroyato`,
185
+ detail: "The Farcaster username whose followers should be fetched.",
186
+ example: `"miroyato"`,
187
187
  require: "m",
188
188
  type: "number"
189
189
  }
package/lib/esm/index.mjs CHANGED
@@ -13216,6 +13216,7 @@ if (scanKey === SERVICE_API_KEY.Gnosisscan) chainId = 'gnosis';
13216
13216
 
13217
13217
  const fromUsernameToFid = async (username) => {
13218
13218
  if(!username) return null
13219
+ const API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Neynar);
13219
13220
  const url = `https://api.neynar.com/v2/farcaster/user/search/`;
13220
13221
  const res = await fetch(url, {
13221
13222
  query: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formulajs",
3
- "version": "4.4.11-mod-46",
3
+ "version": "4.4.11-mod-47",
4
4
  "description": "JavaScript implementation of most Microsoft Excel formula functions",
5
5
  "author": "Formulajs",
6
6
  "publishConfig": {