@elice/material-exercise 1.250113.0-runbox.0 → 1.250212.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.
@@ -471,11 +471,11 @@ var useUsercodeEditWebSocket = function useUsercodeEditWebSocket(_ref) {
471
471
  }).then(function (data) {
472
472
  return "".concat(url, "/").concat(data.accesskey);
473
473
  }).catch(function (err) {
474
- var _a, _b;
474
+ var _a;
475
475
  if (((_a = err.detail) === null || _a === void 0 ? void 0 : _a.failCode) === 'non_editable_file') {
476
476
  setDocEditable(false);
477
477
  }
478
- throw new Error(((_b = err.detail) === null || _b === void 0 ? void 0 : _b.failMessage) || err.message);
478
+ return "".concat(url, "/");
479
479
  }));
480
480
  case 4:
481
481
  case "end":
@@ -464,11 +464,11 @@ var useUsercodeEditWebSocket = function useUsercodeEditWebSocket(_ref) {
464
464
  }).then(function (data) {
465
465
  return "".concat(url, "/").concat(data.accesskey);
466
466
  }).catch(function (err) {
467
- var _a, _b;
467
+ var _a;
468
468
  if (((_a = err.detail) === null || _a === void 0 ? void 0 : _a.failCode) === 'non_editable_file') {
469
469
  setDocEditable(false);
470
470
  }
471
- throw new Error(((_b = err.detail) === null || _b === void 0 ? void 0 : _b.failMessage) || err.message);
471
+ return "".concat(url, "/");
472
472
  }));
473
473
  case 4:
474
474
  case "end":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-exercise",
3
- "version": "1.250113.0-runbox.0",
3
+ "version": "1.250212.0",
4
4
  "description": "User view and editing components of Elice material exercise",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -83,8 +83,8 @@
83
83
  "@elice/icons": "^1.230814.0",
84
84
  "@elice/intl": "0.241127.0",
85
85
  "@elice/markdown": "1.241015.0",
86
- "@elice/material-shared-types": "1.250113.0-runbox.0",
87
- "@elice/material-shared-utils": "1.250113.0-runbox.0",
86
+ "@elice/material-shared-types": "1.250204.0",
87
+ "@elice/material-shared-utils": "1.250204.0",
88
88
  "@elice/mui-elements": "^5.250108.0-controllabel.0",
89
89
  "@elice/mui-system": "^5.250108.0-controllabel.0",
90
90
  "@elice/types": "1.241220.0",