cloudmr-ux 4.1.6 → 4.1.8

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.
@@ -96,7 +96,8 @@ export var uploadJob = createAsyncThunk('UploadJob', function (_a, thunkAPI) {
96
96
  switch (_a.label) {
97
97
  case 0:
98
98
  _a.trys.push([0, 2, , 7]);
99
- return [4 /*yield*/, AuthenticatedHttpClient.put(partUrl, part, {
99
+ return [4 /*yield*/, axios.put(partUrl, part, {
100
+ // const response = await AuthenticatedHttpClient.put(partUrl, part, {
100
101
  headers: {
101
102
  'Content-Type': ""
102
103
  },
@@ -181,7 +182,7 @@ export var uploadJob = createAsyncThunk('UploadJob', function (_a, thunkAPI) {
181
182
  }); }))];
182
183
  case 4:
183
184
  uploadedParts = _c.sent();
184
- return [4 /*yield*/, axios.post(endpoints.JOB_UPLOAD_FINALIZE, {
185
+ return [4 /*yield*/, AuthenticatedHttpClient.post(endpoints.JOB_UPLOAD_FINALIZE, {
185
186
  uploadId: uploadId,
186
187
  parts: uploadedParts,
187
188
  Key: Key
@@ -232,7 +233,8 @@ var createPayload = function (uploadToken, file, fileAlias) { return __awaiter(v
232
233
  case 2:
233
234
  UploadHeaders = {
234
235
  headers: {
235
- 'Content-Type': 'application/json'
236
+ 'Content-Type': 'application/json',
237
+ 'X-Api-Key': uploadToken
236
238
  }
237
239
  };
238
240
  return [2 /*return*/, { destination: endpoints.JOB_UPLOAD_INIT, lambdaFile: lambdaFile, file: file, config: UploadHeaders }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudmr-ux",
3
- "version": "4.1.6",
3
+ "version": "4.1.8",
4
4
  "author": "erosmontin@gmail.com",
5
5
  "license": "MIT",
6
6
  "repository": "erosmontin/cloudmr-ux",