@glympse-inc/com.glympse.enroute 2.109.295 → 2.109.296

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glympse-inc/com.glympse.enroute",
3
- "version": "2.109.295",
3
+ "version": "2.109.296",
4
4
  "description": "Glympse En Route Cordova Plugin",
5
5
  "cordova": {
6
6
  "id": "com.glympse.enroute",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" id="com.glympse.enroute" version="2.109.295">
2
+ <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" id="com.glympse.enroute" version="2.109.296">
3
3
 
4
4
  <name>Glympse En Route</name>
5
5
 
@@ -232,7 +232,7 @@
232
232
  <source url="https://github.com/CocoaPods/Specs.git"/>
233
233
  </config>
234
234
  <pods use-frameworks="true">
235
- <pod name="EnRouteApi" spec="~> 2.109.295"/>
235
+ <pod name="EnRouteApi" spec="~> 2.109.296"/>
236
236
  </pods>
237
237
  </podspec>
238
238
  <!-- RELEASE END -->
@@ -17,7 +17,7 @@ android {
17
17
  }
18
18
 
19
19
  dependencies {
20
- def GLYMPSE_VERSION = '2.109.295'
20
+ def GLYMPSE_VERSION = '2.109.296'
21
21
  implementation "com.glympse:enrouteapi:$GLYMPSE_VERSION"
22
22
  implementation "com.glympse:glympseapi:$GLYMPSE_VERSION"
23
23
  implementation "com.glympse:glympseapi-push:$GLYMPSE_VERSION"
package/www/Session.js CHANGED
@@ -12,6 +12,7 @@
12
12
  this._description = data.description;
13
13
  this._activeTaskIndex = data.activeTaskIndex;
14
14
  this._state = data.state;
15
+ this._isCancelled = data.isCancelled;
15
16
  this._startTime = data.startTime;
16
17
  this._orgId = data.orgId;
17
18
  this._agentId = data.agentId;
@@ -51,6 +52,10 @@
51
52
  return this._state;
52
53
  };
53
54
 
55
+ Session.prototype.isCancelled = function () {
56
+ return this._isCancelled;
57
+ };
58
+
54
59
  Session.prototype.getStartTime = function () {
55
60
  return this._startTime;
56
61
  };