seatsio 76.0.0 → 76.1.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/README.md
CHANGED
|
@@ -15,10 +15,12 @@ This is the official JavaScript client library for the [Seats.io V2 REST API](ht
|
|
|
15
15
|
> **Only use this in browser code if you know what you're doing (e.g. if you're building a password-protected backoffice application for admins)**. You have been warned :)
|
|
16
16
|
|
|
17
17
|
## Installing
|
|
18
|
-
For Node, you can install using npm:
|
|
18
|
+
For Node, you can install using yarn or npm:
|
|
19
19
|
|
|
20
20
|
```sh
|
|
21
|
-
|
|
21
|
+
yarn add seatsio
|
|
22
|
+
# or
|
|
23
|
+
npm install seatsio --save
|
|
22
24
|
```
|
|
23
25
|
|
|
24
26
|
## Usage
|
|
@@ -309,3 +311,7 @@ let client = new SeatsioClient(Region.EU(), <WORKSPACE SECRET KEY>).setMaxRetrie
|
|
|
309
311
|
```
|
|
310
312
|
|
|
311
313
|
Passing in 0 disables exponential backoff completely. In that case, the client will never retry a failed request.
|
|
314
|
+
|
|
315
|
+
## TypeScript
|
|
316
|
+
|
|
317
|
+
Since v76, this package contains TypeScript definitions.
|
|
@@ -19,6 +19,9 @@ var ChartObjectInfo = /** @class */ (function () {
|
|
|
19
19
|
this.rightNeighbour = json.rightNeighbour;
|
|
20
20
|
this.distanceToFocalPoint = json.distanceToFocalPoint;
|
|
21
21
|
this.numSeats = json.numSeats;
|
|
22
|
+
this.isAccessible = json.isAccessible;
|
|
23
|
+
this.isCompanionSeat = json.isCompanionSeat;
|
|
24
|
+
this.hasRestrictedView = json.hasRestrictedView;
|
|
22
25
|
}
|
|
23
26
|
return ChartObjectInfo;
|
|
24
27
|
}());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seatsio",
|
|
3
|
-
"version": "76.
|
|
3
|
+
"version": "76.1.0",
|
|
4
4
|
"main": "dist/src/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@jest/globals": "29.5.0",
|
|
25
|
-
"@types/jest": "29.5.
|
|
26
|
-
"@types/node": "20.
|
|
25
|
+
"@types/jest": "29.5.2",
|
|
26
|
+
"@types/node": "20.2.5",
|
|
27
27
|
"@types/uuid": "9.0.1",
|
|
28
|
-
"@typescript-eslint/eslint-plugin": "5.59.
|
|
29
|
-
"@typescript-eslint/parser": "5.59.
|
|
30
|
-
"eslint": "8.
|
|
31
|
-
"eslint-config-standard": "17.
|
|
28
|
+
"@typescript-eslint/eslint-plugin": "5.59.8",
|
|
29
|
+
"@typescript-eslint/parser": "5.59.8",
|
|
30
|
+
"eslint": "8.41.0",
|
|
31
|
+
"eslint-config-standard": "17.1.0",
|
|
32
32
|
"eslint-plugin-import": "2.27.5",
|
|
33
33
|
"eslint-plugin-n": "16.0.0",
|
|
34
34
|
"eslint-plugin-promise": "6.1.1",
|
|
35
35
|
"jest": "29.5.0",
|
|
36
36
|
"jest-cli": "29.5.0",
|
|
37
37
|
"ts-jest": "29.1.0",
|
|
38
|
-
"typescript": "5.
|
|
38
|
+
"typescript": "5.1.3",
|
|
39
39
|
"uuid": "9.0.0"
|
|
40
40
|
}
|
|
41
41
|
}
|