intermediate-component-sa 1.1.1 → 1.1.2

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/client/index.html CHANGED
@@ -13,7 +13,7 @@
13
13
  <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i" rel="stylesheet">
14
14
  <link href="https://fonts.googleapis.com/css?family=Oswald:300,400,500,600,700" rel="stylesheet">
15
15
  <link href="/client/assets/img/favicon.ico" rel="icon" type="image/x-icon">
16
- <link rel="stylesheet" href="/client/css/main.css?1660347778211">
16
+ <link rel="stylesheet" href="/client/css/main.css?1732657107511">
17
17
  <link rel="stylesheet" href="/client/css/skin-main-occ.css">
18
18
  </head>
19
19
  <body class="skin-occ">
@@ -49,8 +49,8 @@
49
49
  // Fixes undefined module function in SystemJS bundle
50
50
  function module() { }
51
51
  </script>
52
- <script src="/client/js/shims.js?1660347778193"></script>
53
- <script src="/client/js/app.js?1660347778196"></script>
52
+ <script src="/client/js/shims.js?1732657107494"></script>
53
+ <script src="/client/js/app.js?1732657107498"></script>
54
54
  <script>window.__theme = 'bs4';</script>
55
55
  </body>
56
56
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intermediate-component-sa",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.",
5
5
  "main": "./server/customRequest.js",
6
6
  "repository": {
@@ -269,7 +269,8 @@ function InconcertSegmentedFileUpload(installationId) {
269
269
  segmentedFiles = result[0].children;
270
270
  var fileContentPromises = [];
271
271
  for (var i = 0; i < 25; i++) {
272
- fileContentPromises.push(file_manager_1.ReadFileContent(segmentedFiles[i].fullPath, 'utf8'));
272
+ if (segmentedFiles[i])
273
+ fileContentPromises.push(file_manager_1.ReadFileContent(segmentedFiles[i].fullPath, 'utf8'));
273
274
  }
274
275
  return Promise.all(fileContentPromises);
275
276
  }
@@ -281,12 +282,14 @@ function InconcertSegmentedFileUpload(installationId) {
281
282
  var arrSummary = [];
282
283
  if (result && result.length) {
283
284
  for (var i = 0; i < 25; i++) {
284
- var body = {
285
- 'installationId': installationId,
286
- 'file': segmentedFiles[i].name,
287
- 'data': result[i]
288
- };
289
- arrSummary.push(body);
285
+ if (result[i]) {
286
+ var body = {
287
+ 'installationId': installationId,
288
+ 'file': segmentedFiles[i].name,
289
+ 'data': result[i]
290
+ };
291
+ arrSummary.push(body);
292
+ }
290
293
  }
291
294
  }
292
295
  else {
@@ -33,5 +33,7 @@ exports.RoutesCentralized = {
33
33
  IC_PARAM_URL_BATCH_ID_SEARCH: 'api/batch/search_batch_id',
34
34
  IC_PARAM_URL_BATCH_SUMMARY_CANCEL: 'api/batch/cancel_batch_summary',
35
35
  IC_PARAM_URL_BATCH_SUMMARY_RESUME: 'api/batch/resume_batch_summary',
36
- IC_PARAM_URL_CURRENT_BATCHES_GET: 'api/batch/get_current_batches'
36
+ IC_PARAM_URL_CURRENT_BATCHES_GET: 'api/batch/get_current_batches',
37
+ IC_PARAM_URL_TRANSCRIPTION_ENGINE_STATUS_GET: 'api/batch/get_transcription_engine_availability',
38
+ IC_PARAM_URL_TRANSCRIPTION_ENGINE_STATUS_SAVE: 'api/batch/save_transcription_engine_availability'
37
39
  };