seatsio 65.3.0 → 65.4.0

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": "seatsio",
3
- "version": "65.3.0",
3
+ "version": "65.4.0",
4
4
  "main": "index.js",
5
5
  "description": "Official JavaScript and Node.JS client library for the Seats.io REST API",
6
6
  "license": "MIT",
@@ -13,6 +13,8 @@ class StatusChange {
13
13
  this.extraData = statusChange.extraData ? statusChange.extraData : null
14
14
  this.holdToken = statusChange.holdToken ? statusChange.holdToken : null
15
15
  this.origin = statusChange.origin
16
+ this.isPresentOnChart = statusChange.isPresentOnChart
17
+ this.displayedLabel = statusChange.displayedLabel ? statusChange.displayedLabel : null
16
18
  }
17
19
  }
18
20
 
@@ -174,6 +174,8 @@ test('properties of status changes', async () => {
174
174
  expect(statusChange.value.eventId).toBe(event.id)
175
175
  expect(statusChange.value.extraData).toEqual({ foo: 'bar' })
176
176
  expect(statusChange.value.origin.type).toBe('API_CALL')
177
+ expect(statusChange.value.displayedLabel).toBe('A-1')
178
+ expect(statusChange.value.isPresentOnChart).toBe(true)
177
179
  })
178
180
 
179
181
  test('should list status changes with hold token', async () => {