@dynamo-caffeina-dev/locator-frontend 0.0.3 → 0.0.5
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/{GoogleMapsProvider-D2hBqbFb.js → GoogleMapsProvider-BOj1ea91.js} +2 -2
- package/dist/{GoogleMapsProvider-D2hBqbFb.js.map → GoogleMapsProvider-BOj1ea91.js.map} +1 -1
- package/dist/{index-Dv5vjAmU.js → index-DSC2k7o_.js} +10 -10
- package/dist/{index-Dv5vjAmU.js.map → index-DSC2k7o_.js.map} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
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,
|
|
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