@fctc/widget-logic 6.0.7 → 6.0.9

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/dist/index.js CHANGED
@@ -6289,7 +6289,7 @@ var binaryFieldController = (props) => {
6289
6289
  };
6290
6290
  const fetchFileMeta = async (url2) => {
6291
6291
  try {
6292
- const res = await fetch(url2, { method: "HEAD" });
6292
+ const res = await fetch(url2);
6293
6293
  const size = res.headers.get("content-length") || "";
6294
6294
  let type = res.headers.get("content-type") || "";
6295
6295
  const date = res.headers.get("last-modified") || "";
package/dist/index.mjs CHANGED
@@ -6384,7 +6384,7 @@ var binaryFieldController = (props) => {
6384
6384
  };
6385
6385
  const fetchFileMeta = async (url2) => {
6386
6386
  try {
6387
- const res = await fetch(url2, { method: "HEAD" });
6387
+ const res = await fetch(url2);
6388
6388
  const size = res.headers.get("content-length") || "";
6389
6389
  let type = res.headers.get("content-type") || "";
6390
6390
  const date = res.headers.get("last-modified") || "";
package/dist/widget.js CHANGED
@@ -5527,7 +5527,7 @@ var binaryFieldController = (props) => {
5527
5527
  };
5528
5528
  const fetchFileMeta = async (url2) => {
5529
5529
  try {
5530
- const res = await fetch(url2, { method: "HEAD" });
5530
+ const res = await fetch(url2);
5531
5531
  const size = res.headers.get("content-length") || "";
5532
5532
  let type = res.headers.get("content-type") || "";
5533
5533
  const date = res.headers.get("last-modified") || "";
package/dist/widget.mjs CHANGED
@@ -5598,7 +5598,7 @@ var binaryFieldController = (props) => {
5598
5598
  };
5599
5599
  const fetchFileMeta = async (url2) => {
5600
5600
  try {
5601
- const res = await fetch(url2, { method: "HEAD" });
5601
+ const res = await fetch(url2);
5602
5602
  const size = res.headers.get("content-length") || "";
5603
5603
  let type = res.headers.get("content-type") || "";
5604
5604
  const date = res.headers.get("last-modified") || "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "6.0.7",
3
+ "version": "6.0.9",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -74,7 +74,7 @@
74
74
  "test": "jest"
75
75
  },
76
76
  "dependencies": {
77
- "@fctc/interface-logic": "^5.4.9",
77
+ "@fctc/interface-logic": "^5.4.10",
78
78
  "@tanstack/react-query": "^5.84.0",
79
79
  "i18next": "^25.3.2",
80
80
  "i18next-browser-languagedetector": "^8.2.0",