@weaverse/hydrogen 1.0.39 → 1.0.40

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
@@ -837,9 +837,6 @@ async function weaverseLoader(args, components) {
837
837
  url: `${weaverseHost}/api/public/project`,
838
838
  options: {
839
839
  method: "POST",
840
- headers: {
841
- "Content-Type": "application/json"
842
- },
843
840
  body: JSON.stringify({
844
841
  projectId,
845
842
  url: request.url
@@ -868,9 +865,7 @@ async function weaverseLoader(args, components) {
868
865
  })
869
866
  };
870
867
  } catch (err) {
871
- console.log(
872
- `\u274C Loader run failed! Item: ${item}: ${err}`
873
- );
868
+ console.log(`\u274C Loader run failed! Item: ${item}: ${err}`);
874
869
  return item;
875
870
  }
876
871
  }
package/dist/index.mjs CHANGED
@@ -801,9 +801,6 @@ async function weaverseLoader(args, components) {
801
801
  url: `${weaverseHost}/api/public/project`,
802
802
  options: {
803
803
  method: "POST",
804
- headers: {
805
- "Content-Type": "application/json"
806
- },
807
804
  body: JSON.stringify({
808
805
  projectId,
809
806
  url: request.url
@@ -832,9 +829,7 @@ async function weaverseLoader(args, components) {
832
829
  })
833
830
  };
834
831
  } catch (err) {
835
- console.log(
836
- `\u274C Loader run failed! Item: ${item}: ${err}`
837
- );
832
+ console.log(`\u274C Loader run failed! Item: ${item}: ${err}`);
838
833
  return item;
839
834
  }
840
835
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.39",
2
+ "version": "1.0.40",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -33,7 +33,7 @@
33
33
  "author": "Weaverse Team",
34
34
  "dependencies": {
35
35
  "@shopify/hydrogen": "2023.4.0",
36
- "@weaverse/react": "1.0.39"
36
+ "@weaverse/react": "1.0.40"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@shopify/remix-oxygen": "^1.0.5"