@golocalinteractive/golocal-cloud-wrapper 0.0.101 → 0.0.102

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.
@@ -9970,8 +9970,12 @@ function qp(e) {
9970
9970
  (async () => {
9971
9971
  try {
9972
9972
  o(!0), s(null);
9973
- const d = process.env.APP_ENV === "local" ? "/navigation-config.json" : "https://dev.cloud.golocal.com/navigation-config.json", u = await fetch(d, {
9974
- cache: "no-store"
9973
+ const d = process.env.APP_ENV === "local" ? "https://dev.cloud.golocal.com/api/navigation-config" : "/api/navigation-config", u = await fetch(d, {
9974
+ cache: "no-store",
9975
+ mode: "cors",
9976
+ headers: {
9977
+ "Content-Type": "application/json"
9978
+ }
9975
9979
  });
9976
9980
  if (!u.ok)
9977
9981
  throw new Error(`Failed to fetch navigation config: ${u.status}`);
@@ -1 +1 @@
1
- {"version":3,"file":"use-navigation-config.d.ts","sourceRoot":"","sources":["../../src/hooks/use-navigation-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,wBAAgB,mBAAmB,CAAC,YAAY,CAAC,EAAE,gBAAgB;;;;EA2ClE"}
1
+ {"version":3,"file":"use-navigation-config.d.ts","sourceRoot":"","sources":["../../src/hooks/use-navigation-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,wBAAgB,mBAAmB,CAAC,YAAY,CAAC,EAAE,gBAAgB;;;;EA+ClE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golocalinteractive/golocal-cloud-wrapper",
3
- "version": "0.0.101",
3
+ "version": "0.0.102",
4
4
  "description": "A React provider component for Go Local Interactive's cloud services",
5
5
  "license": "ISC",
6
6
  "author": "Tanner Barrett, Cody Lacey, Go Local Interactive",