@digabi/exam-engine-core 20.2.2 → 20.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"VersionNumber.d.ts","sourceRoot":"","sources":["../../../src/components/shared/VersionNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAkD,CAAA"}
1
+ {"version":3,"file":"VersionNumber.d.ts","sourceRoot":"","sources":["../../../src/components/shared/VersionNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAGjC,CAAA"}
@@ -1,6 +1,10 @@
1
1
  import React from 'react';
2
+ import * as _ from 'lodash-es';
2
3
  import lernaConfig from '../../../../../lerna.json';
3
- export const VersionNumber = () => React.createElement("span", null,
4
- "EE v.",
5
- lernaConfig.version);
4
+ export const VersionNumber = () => {
5
+ const testVersion = _.get(window, 'TEST_VERSION_NUMBER');
6
+ return React.createElement("span", null,
7
+ "EE v.",
8
+ testVersion || lernaConfig.version);
9
+ };
6
10
  //# sourceMappingURL=VersionNumber.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VersionNumber.js","sourceRoot":"","sources":["../../../src/components/shared/VersionNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,WAAW,MAAM,2BAA2B,CAAA;AAEnD,MAAM,CAAC,MAAM,aAAa,GAAa,GAAG,EAAE,CAAC;;IAAY,WAAW,CAAC,OAAO,CAAQ,CAAA"}
1
+ {"version":3,"file":"VersionNumber.js","sourceRoot":"","sources":["../../../src/components/shared/VersionNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,WAAW,MAAM,2BAA2B,CAAA;AAEnD,MAAM,CAAC,MAAM,aAAa,GAAa,GAAG,EAAE;IAC1C,MAAM,WAAW,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAA;IACxD,OAAO;;QAAY,WAAW,IAAI,WAAW,CAAC,OAAO,CAAQ,CAAA;AAC/D,CAAC,CAAA"}