@sentiance-react-native/user-context 6.10.0 → 6.10.1

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/lib/index.d.ts +6 -0
  2. package/package.json +2 -2
package/lib/index.d.ts CHANGED
@@ -176,6 +176,11 @@ declare module "@sentiance-react-native/user-context" {
176
176
  | "ACTIVE_SEGMENTS"
177
177
  | "VISITED_VENUES";
178
178
 
179
+ export type OccupantRole =
180
+ | "DRIVER"
181
+ | "PASSENGER"
182
+ | "UNAVAILABLE";
183
+
179
184
  export type TransportTags = { [key: string]: string };
180
185
 
181
186
  export interface Event {
@@ -196,6 +201,7 @@ declare module "@sentiance-react-native/user-context" {
196
201
  waypoints: Waypoint[];
197
202
  distance?: number; // in meters
198
203
  transportTags: TransportTags;
204
+ occupantRole: OccupantRole;
199
205
  }
200
206
 
201
207
  export interface GeoLocation {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentiance-react-native/user-context",
3
- "version": "6.10.0",
3
+ "version": "6.10.1",
4
4
  "description": "The Sentiance User Context library",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "sentiance"
15
15
  ],
16
16
  "peerDependencies": {
17
- "@sentiance-react-native/core": "6.10.0"
17
+ "@sentiance-react-native/core": "6.10.1"
18
18
  },
19
19
  "author": "",
20
20
  "license": "",