@dynamo-caffeina-dev/locator-frontend 0.0.3 → 0.0.4

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.d.ts CHANGED
@@ -115,6 +115,10 @@ declare type LocatorConfig = {
115
115
  * Can be `null`, or a partial value, since the app sets default values.
116
116
  */
117
117
  localizationConfig: LocalizationConfigType | null;
118
+ /**
119
+ * Base URL for API requests
120
+ */
121
+ apiUrl: string;
118
122
  /**
119
123
  * Endpoints configuration for API requests
120
124
  */
@@ -149,10 +153,6 @@ declare type LocatorFeaturesType = {
149
153
  * "Marker": a single location
150
154
  */
151
155
  export declare type LocatorProps = LocatorConfig & {
152
- /**
153
- * Base URL for API requests
154
- */
155
- baseUrl: string;
156
156
  /**
157
157
  * List of locations to display
158
158
  */
@@ -185,7 +185,7 @@ export declare type LocatorProps = LocatorConfig & {
185
185
  * It encapsulates the core Locator component within the required context providers and error boundary.
186
186
  *
187
187
  */
188
- declare function LocatorWrapper({ mapProvider, endpoints, baseUrl, children, ...props }: PropsWithChildren<LocatorProps>): JSX_2.Element;
188
+ declare function LocatorWrapper({ mapProvider, endpoints, apiUrl, children, ...props }: PropsWithChildren<LocatorProps>): JSX_2.Element;
189
189
 
190
190
  declare namespace LocatorWrapper {
191
191
  var displayName: string;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as r, S as s, L as f } from "./index-Dv5vjAmU.js";
1
+ import { M as r, S as s, L as f } from "./index-BIdjesCU.js";
2
2
  export {
3
3
  r as Map,
4
4
  s as Search,