@time2win/t2w 1.4.13 → 1.4.14

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/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 1.4.14 - 2024-10-14
9
+ ### Changed
10
+ type of ```category_id``` of ```T2WParticipantInfo``` to ```number | null```
11
+
12
+ ## 1.4.13 - 2024-10-02
13
+ ### Added
14
+ undefined check for body.list ```getIndividualResults()```
15
+
8
16
  ## 1.4.12 - 2024-09-19
9
17
  ### Added
10
18
  RaceStatus enum
package/index.js CHANGED
@@ -217,12 +217,6 @@ var Time2WinAPI = /** @class */ (function () {
217
217
  reject(body);
218
218
  return [2 /*return*/];
219
219
  }
220
- if (body.list === undefined) {
221
- console.log('body.list is undefined');
222
- console.log(body);
223
- console.log(raceId);
224
- body.list = [];
225
- }
226
220
  if (!(body.page < body.page_total)) return [3 /*break*/, 3];
227
221
  _b = (_a = (_d = body.list).push).apply;
228
222
  _c = [_d];
package/models.d.ts CHANGED
@@ -244,7 +244,7 @@ export interface T2WParticipantInfo {
244
244
  age: number | null;
245
245
  year: number | null;
246
246
  country_code: string;
247
- category_id: string | null;
247
+ category_id: number | null;
248
248
  category_name: string | null;
249
249
  contactinfo: T2WContactInfo | null;
250
250
  team_id: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@time2win/t2w",
3
- "version": "1.4.13",
3
+ "version": "1.4.14",
4
4
  "description": "providing latest-state models and advanced methods to interact with the T2W API",
5
5
  "keywords": [
6
6
  "time2win",