diff --git a/docs/utils-reference/getting-started.md b/docs/utils-reference/getting-started.md index ae2a529..ec5e8d2 100644 --- a/docs/utils-reference/getting-started.md +++ b/docs/utils-reference/getting-started.md @@ -16,6 +16,10 @@ npm install --save @raycast/utils ## Changelog +### v2.1.1 + +- Fix the default size of `getFavicon`. + ### v2.1.0 - `getFavicon` will now respect the user's setting for the favicon provider. Note that the `Apple` provider isn't supported since it relies on a native API. diff --git a/package-lock.json b/package-lock.json index 044c836..50f677b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@raycast/utils", - "version": "2.1.0", + "version": "2.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@raycast/utils", - "version": "2.1.0", + "version": "2.1.1", "license": "MIT", "dependencies": { "dequal": "^2.0.3" diff --git a/package.json b/package.json index ad4ab56..1cee92b 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "@raycast/utils", - "version": "2.1.0", + "version": "2.1.1", "description": "Set of utilities to streamline building Raycast extensions", "author": "Raycast Technologies Ltd.", - "homepage": "https://developers.raycast.com/utils-reference", + "homepage": "https://developers.raycast.com/utilities/getting-started", "source": "src/index.ts", "main": "dist/main.js", "module": "dist/module.js", diff --git a/src/icon/favicon.ts b/src/icon/favicon.ts index 8e4eb20..19ad1df 100644 --- a/src/icon/favicon.ts +++ b/src/icon/favicon.ts @@ -77,7 +77,7 @@ export function getFavicon( case "raycast": default: return { - source: `https://api.ray.so/favicon?url=${hostname}&size=${options?.size}`, + source: `https://api.ray.so/favicon?url=${hostname}&size=${options?.size ?? 64}`, fallback: options?.fallback ?? Icon.Link, mask: options?.mask, };