@arenarium/maps 1.0.31 → 1.0.32

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -191,7 +191,7 @@ declare namespace Types {
191
191
  markers: Marker[];
192
192
  }
193
193
  }
194
- declare namespace MapComponent {
194
+ export declare namespace MapComponent {
195
195
  interface Position {
196
196
  lat: number;
197
197
  lng: number;
@@ -225,7 +225,10 @@ export interface MapComponent {
225
225
  setPopupsContentCallback: (callback: MapComponent.PopupContentCallback) => void;
226
226
  setPopups: (popups: Types.Popup[]) => void;
227
227
  }
228
- export declare function mountMap(options: MapOptions): MapComponent;
228
+ export declare function mountMap(options: MapOptions): {
229
+ $on?(type: string, callback: (e: any) => void): () => void;
230
+ $set?(props: Partial<Record<string, any>>): void;
231
+ } & Record<string, any>;
229
232
  export declare function unmountMap(map: ReturnType<typeof mountMap>): void;
230
233
 
231
234
  export as namespace arenarium;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arenarium/maps",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "keywords": [
5
5
  "arenarium",
6
6
  "maps",