react-native-steerpath-smart-map 1.15.1 → 1.15.2

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/CHANGELOG.md CHANGED
@@ -15,6 +15,10 @@ This package is built on top of Steerpath's Smart SDK, and most of releases are
15
15
  - [iOS](https://s3-eu-west-1.amazonaws.com/steerpath/ios/releases/smart-sdk-changelog/index.html)
16
16
  - [Web](https://s3-eu-west-1.amazonaws.com/steerpath-web-sdk/documentation/smart/latest/index.html)
17
17
 
18
+ # [1.15.2]
19
+
20
+ - Fix some SmartMapObject typings
21
+
18
22
  # [1.15.1]
19
23
 
20
24
  - Improve SmartMapObject typings
@@ -109,12 +109,14 @@ export declare enum SmartMapUserTaskResponse {
109
109
  UNSUPPORTED = "unsupported",
110
110
  COMPLETED = "completed"
111
111
  }
112
- interface UrlObject {
112
+ export interface LinkProperty {
113
+ title: string;
114
+ url: string;
115
+ }
116
+ export interface ImageProperty {
113
117
  title: string;
114
118
  url: string;
115
119
  }
116
- export declare type LinkProperty = UrlObject;
117
- export declare type ImageProperty = UrlObject;
118
120
  export declare type BookingIntegration = {
119
121
  integrationType: string;
120
122
  integrationRef: string;
@@ -250,4 +252,3 @@ export interface SmartMapUserTask {
250
252
  type: SmartMapUserTaskType;
251
253
  payload: SmartMapNavigationUserTask | SmartMapPOISelectionUserTask;
252
254
  }
253
- export {};
@@ -67,6 +67,8 @@ export var SmartMapUserTaskResponse;
67
67
  SmartMapUserTaskResponse["UNSUPPORTED"] = "unsupported";
68
68
  SmartMapUserTaskResponse["COMPLETED"] = "completed";
69
69
  })(SmartMapUserTaskResponse || (SmartMapUserTaskResponse = {}));
70
+ ;
71
+ ;
70
72
  export var SmartMapUserTaskType;
71
73
  (function (SmartMapUserTaskType) {
72
74
  SmartMapUserTaskType["NAVIGATION"] = "navigation";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-steerpath-smart-map",
3
3
  "title": "React Native Steerpath Smart Map",
4
- "version": "1.15.1",
4
+ "version": "1.15.2",
5
5
  "description": "Steerpath SmartMapView for React Native",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {
@@ -172,14 +172,16 @@ export enum SmartMapUserTaskResponse {
172
172
  UNSUPPORTED = "unsupported",
173
173
  COMPLETED = "completed",
174
174
  }
175
+ export interface LinkProperty {
176
+ title: string;
177
+ url: string;
178
+ };
175
179
 
176
- interface UrlObject {
180
+ export interface ImageProperty {
177
181
  title: string;
178
182
  url: string;
179
- }
183
+ };
180
184
 
181
- export type LinkProperty = UrlObject;
182
- export type ImageProperty = UrlObject;
183
185
  export type BookingIntegration = {
184
186
  integrationType: string;
185
187
  integrationRef: string;