@hubs101/js-api-skd-client 1.0.10308 → 1.0.10310

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.
@@ -124,7 +124,6 @@ const _deletePaymentAccount = (basePath, token, paymentAccountId) => __awaiter(v
124
124
  });
125
125
  exports._deletePaymentAccount = _deletePaymentAccount;
126
126
  const _fetchAccountEvents = (basePath, token, url) => __awaiter(void 0, void 0, void 0, function* () {
127
- const base = (0, base_1.getBasePath)(basePath);
128
127
  const response = yield (0, api_1.getRequest)(url, token);
129
128
  return response;
130
129
  });
@@ -253,7 +253,8 @@ const _deleteDocument = (basePath, token, documentId) => __awaiter(void 0, void
253
253
  exports._deleteDocument = _deleteDocument;
254
254
  const _reportExhibitionAction = (basePath, token, exhibitionId, requestData) => __awaiter(void 0, void 0, void 0, function* () {
255
255
  const base = (0, base_1.getBasePath)(basePath);
256
- void (0, api_1.postRequestWE)(`${base.ACTIONS_EXHIBITIONS}/${exhibitionId}`, requestData, token);
256
+ const response = yield (0, api_1.postRequestWE)(`${base.ACTIONS_EXHIBITIONS}/${exhibitionId}`, requestData, token);
257
+ return response;
257
258
  });
258
259
  exports._reportExhibitionAction = _reportExhibitionAction;
259
260
  const _pinDocument = (basePath, token, eventId, documentId) => __awaiter(void 0, void 0, void 0, function* () {
@@ -388,19 +389,16 @@ const _fetchAccountDetails = (basePath, token, accountId) => __awaiter(void 0, v
388
389
  });
389
390
  exports._fetchAccountDetails = _fetchAccountDetails;
390
391
  const _fetchSpeakers = (basePath, token, url) => __awaiter(void 0, void 0, void 0, function* () {
391
- const base = (0, base_1.getBasePath)(basePath);
392
392
  const response = yield (0, api_1.getRequest)(url, token);
393
393
  return response;
394
394
  });
395
395
  exports._fetchSpeakers = _fetchSpeakers;
396
396
  const _fetchEditableEvents = (basePath, token, url) => __awaiter(void 0, void 0, void 0, function* () {
397
- const base = (0, base_1.getBasePath)(basePath);
398
397
  const response = yield (0, api_1.getRequest)(url, token);
399
398
  return response;
400
399
  });
401
400
  exports._fetchEditableEvents = _fetchEditableEvents;
402
401
  const _fetchMySessions = (basePath, token, url) => __awaiter(void 0, void 0, void 0, function* () {
403
- const base = (0, base_1.getBasePath)(basePath);
404
402
  const response = yield (0, api_1.getRequest)(url, token);
405
403
  return response;
406
404
  });
@@ -66,7 +66,7 @@ exports._postSessionComment = _postSessionComment;
66
66
  const _refetchSessionDiscussion = (basePath, token, sessionId) => __awaiter(void 0, void 0, void 0, function* () {
67
67
  var _a;
68
68
  const base = (0, base_1.getBasePath)(basePath);
69
- const response = yield (0, api_1.deleteRequest)(`${base.SESSIONS}/${sessionId}/chat`, {}, token);
69
+ const response = yield (0, api_1.getRequest)(`${base.SESSIONS}/${sessionId}/chat`, token);
70
70
  return ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.data) || (response === null || response === void 0 ? void 0 : response.data) || response;
71
71
  });
72
72
  exports._refetchSessionDiscussion = _refetchSessionDiscussion;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@hubs101/js-api-skd-client",
3
- "version": "1.0.10308",
3
+ "version": "1.0.10310",
4
4
  "author": "Liveware",
5
5
  "scripts": {
6
6
  "test": "jest --config jestconfig.json",
7
7
  "build": "tsc",
8
8
  "format": "prettier --write \"src/**/*.ts\" \"src/**/*.ts\"",
9
- "lint": "tslint -p tsconfig.json",
9
+ "lint": "eslint --ext .ts .",
10
10
  "prepare": "npm run build",
11
11
  "prepublishOnly": "npm test && npm run lint",
12
12
  "preversion": "npm run lint",
@@ -42,6 +42,13 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/jest": "^29.5.0",
45
+ "@typescript-eslint/eslint-plugin": "^6.7.0",
46
+ "@typescript-eslint/parser": "^6.7.0",
47
+ "eslint": "^8.49.0",
48
+ "eslint-config-prettier": "^9.0.0",
49
+ "eslint-plugin-jsdoc": "^46.6.0",
50
+ "eslint-plugin-prefer-arrow": "^1.2.3",
51
+ "eslint-plugin-react": "^7.33.2",
45
52
  "jest": "^29.5.0",
46
53
  "prettier": "^2.8.7",
47
54
  "ts-jest": "^29.1.0",