@digabi/exam-engine-rendering 19.2.10 → 19.3.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.
@@ -12,7 +12,7 @@ async function previewExam(examFile, options = {}) {
12
12
  const config = (0, getPreviewWebpackConfig_1.getPreviewWebpackConfig)(examFile, options);
13
13
  const compiler = (0, webpack_1.default)(config);
14
14
  const devServer = config.devServer;
15
- const webpackDevServer = new webpack_dev_server_1.default({ ...devServer, port: (_a = options.port) !== null && _a !== void 0 ? _a : 0, host: 'localhost' }, compiler);
15
+ const webpackDevServer = new webpack_dev_server_1.default({ ...devServer, port: (_a = options.port) !== null && _a !== void 0 ? _a : 0, host: '0.0.0.0' }, compiler);
16
16
  return new Promise((resolve, reject) => {
17
17
  webpackDevServer.startCallback((err) => {
18
18
  if (err) {
@@ -1 +1 @@
1
- {"version":3,"file":"previewExam.js","sourceRoot":"","sources":["../src/previewExam.ts"],"names":[],"mappings":";;;;;;AACA,sDAA6B;AAE7B,uEAAmE;AAEnE,4EAAuC;AAShC,KAAK,UAAU,WAAW,CAAC,QAAgB,EAAE,UAA4B,EAAE;;IAChF,MAAM,MAAM,GAAG,IAAA,iDAAuB,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IACzD,MAAM,QAAQ,GAAG,IAAA,iBAAO,EAAC,MAAM,CAAC,CAAA;IAChC,MAAM,SAAS,GAAG,MAAM,CAAC,SAAU,CAAA;IACnC,MAAM,gBAAgB,GAAW,IAAI,4BAAM,CAAC,EAAE,GAAG,SAAS,EAAE,IAAI,EAAE,MAAA,OAAO,CAAC,IAAI,mCAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,QAAQ,CAAC,CAAA;IACnH,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,gBAAgB,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,EAAE;YACrC,IAAI,GAAG,EAAE;gBACP,MAA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B,WAAW,CAAC,IAAI,EAAE,CAAA;gBAClD,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAA;gBAC3C,OAAO,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAA;aACxB;QACH,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC;AAjBD,kCAiBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digabi/exam-engine-rendering",
3
- "version": "19.2.10",
3
+ "version": "19.3.0",
4
4
  "main": "./dist/index.js",
5
5
  "license": "EUPL-1.1",
6
6
  "files": [
@@ -13,8 +13,8 @@
13
13
  "@babel/polyfill": "^7.8.7",
14
14
  "@babel/preset-env": "^7.8.7",
15
15
  "@babel/runtime": "^7.8.7",
16
- "@digabi/exam-engine-core": "19.2.10",
17
- "@digabi/exam-engine-mastering": "19.2.10",
16
+ "@digabi/exam-engine-core": "19.3.0",
17
+ "@digabi/exam-engine-mastering": "19.3.0",
18
18
  "@fortawesome/fontawesome-svg-core": "^1.2.25",
19
19
  "babel-loader": "^9.1.2",
20
20
  "child-process-promise": "^2.2.1",
@@ -44,5 +44,5 @@
44
44
  "webpack-dev-server": "^4.7.2",
45
45
  "webpack-merge": "^5.0.9"
46
46
  },
47
- "gitHead": "cefffb210c708a1ccedcb225bdd1db6795d79624"
47
+ "gitHead": "2113280dfca29a3d8c2fd174b635d9e7d0cac627"
48
48
  }
package/public/index.html CHANGED
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <link rel="stylesheet" href="/main.css" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
7
  <style type="text/css">
7
8
  body {
8
9
  margin: 0;