@sentiance-react-native/core 6.22.0 → 6.23.0-rc.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.
@@ -5,7 +5,7 @@ sentiance_sdk_env_var_version = ENV["SENTIANCE_RN_IOS_SDK_VERSION"]
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = "RNSentianceCore"
8
- s.version = "6.22.0"
8
+ s.version = "6.23.0-rc.1"
9
9
  s.summary = "RNSentianceCore"
10
10
  s.description = <<-DESC
11
11
  RNSentianceCore
@@ -218,6 +218,8 @@ static NSString * const SmartGeofencesErrorDomain = @"com.sentiance.SmartGeofenc
218
218
  return @"BUS";
219
219
  case SENTTimelineTransportModeMotorcycle:
220
220
  return @"MOTORCYCLE";
221
+ case SENTTimelineTransportModeIdle:
222
+ return @"IDLE";
221
223
  case SENTTimelineTransportModeUnknown:
222
224
  default:
223
225
  return @"UNKNOWN";
@@ -233,6 +235,7 @@ static NSString * const SmartGeofencesErrorDomain = @"com.sentiance.SmartGeofenc
233
235
  if ([value isEqualToString:@"CAR"]) return SENTTimelineTransportModeCar;
234
236
  if ([value isEqualToString:@"BUS"]) return SENTTimelineTransportModeBus;
235
237
  if ([value isEqualToString:@"MOTORCYCLE"]) return SENTTimelineTransportModeMotorcycle;
238
+ if ([value isEqualToString:@"IDLE"]) return SENTTimelineTransportModeIdle;
236
239
 
237
240
  return SENTTimelineTransportModeUnknown;
238
241
  }
package/lib/index.d.ts CHANGED
@@ -33,6 +33,7 @@ declare module "@sentiance-react-native/core" {
33
33
  BOAT,
34
34
  METRO,
35
35
  RUNNING,
36
+ IDLE,
36
37
  }
37
38
 
38
39
  export interface UserInfo {
package/lib/index.js CHANGED
@@ -195,6 +195,7 @@ const transportModes = {};
195
195
  transportModes[transportModes["BOAT"] = 9] = "BOAT";
196
196
  transportModes[transportModes["METRO"] = 10] = "METRO";
197
197
  transportModes[transportModes["RUNNING"] = 11] = "RUNNING";
198
+ transportModes[transportModes["IDLE"] = 12] = "IDLE";
198
199
  })(transportModes);
199
200
 
200
201
  const mod = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentiance-react-native/core",
3
- "version": "6.22.0",
3
+ "version": "6.23.0-rc.1",
4
4
  "description": "The Sentiance Core library",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -23,10 +23,10 @@
23
23
  "targetSdk": 34,
24
24
  "compileSdk": 34,
25
25
  "buildTools": "34.0.0",
26
- "sentiance": "6.22.+"
26
+ "sentiance": "6.23.0-rc1"
27
27
  },
28
28
  "ios": {
29
- "sentiance": "~> 6.22.0"
29
+ "sentiance": "6.23.0-rc1"
30
30
  }
31
31
  },
32
32
  "scripts": {