@swift-food-services/catering-widget 0.1.0-beta.2 → 0.1.0-beta.3

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.cjs CHANGED
@@ -26,12 +26,10 @@ function useCateringConfig() {
26
26
  function useStorage() {
27
27
  return useCateringConfig().storage;
28
28
  }
29
-
30
- // src/api/baseUrl.ts
31
- var DEFAULT_API_BASE_URL = "https://api.swiftfood.uk";
32
29
  function resolveBaseUrl(override) {
33
30
  if (override) return override.replace(/\/$/, "");
34
- return (DEFAULT_API_BASE_URL).replace(/\/$/, "");
31
+ const envUrl = "https://swiftfoods-32981ec7b5a4.herokuapp.com";
32
+ return (envUrl).replace(/\/$/, "");
35
33
  }
36
34
 
37
35
  // src/api/client.ts
@@ -4637,12 +4635,7 @@ var GOOGLE_MAPS_CONFIG = {
4637
4635
  "name"
4638
4636
  ]
4639
4637
  };
4640
- var GOOGLE_MAPS_API_KEY = "";
4641
- if (typeof window !== "undefined" && (!GOOGLE_MAPS_API_KEY)) {
4642
- console.warn(
4643
- "[@swift-food-services/catering-widget] Google Maps API key was not injected at build time. The address-autocomplete field will not work. Set SWIFT_WIDGET_GOOGLE_MAPS_KEY before running the widget build."
4644
- );
4645
- }
4638
+ var GOOGLE_MAPS_API_KEY = "AIzaSyBa84yiNxYkVBImykiXqJMMnLFX7txfbeI";
4646
4639
 
4647
4640
  // src/utils/google-maps-loader.ts
4648
4641
  var isLoading = false;