favicon-stealer 1.4.0 → 1.5.0

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.
Files changed (2) hide show
  1. package/dist/Favicon.js +1 -1
  2. package/package.json +1 -1
package/dist/Favicon.js CHANGED
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  const utils_1 = require("./lib/utils");
38
38
  const react_1 = __importStar(require("react"));
39
- const Favicon = ({ url, size = 32, className = "", timeout = 5000, // 增加到5秒,给网站自己的favicon更多加载时间
39
+ const Favicon = ({ url, size = 32, className = "", timeout = 3000, // 增加到3秒,给网站自己的favicon更多加载时间
40
40
  border = false, padding = 0, background = "transparent", borderRadius = 0, lazy = false, preferGoogle = false, }) => {
41
41
  const domain = (0, utils_1.getDomain)(url);
42
42
  const [imgSrc, setImgSrc] = (0, react_1.useState)("");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "favicon-stealer",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/index.d.ts",
6
6
  "files": [