@digabi/exam-engine-core 19.17.1-abitti2.1.0 → 19.17.2-abitti2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"sagas.d.ts","sourceRoot":"","sources":["../../../src/store/audio/sagas.ts"],"names":[],"mappings":"AAWA,OAAO,EAAyB,aAAa,EAAE,MAAM,OAAO,CAAA;AA0E5D,MAAM,CAAC,OAAO,UAAW,SAAS,CAAC,aAAa,EAAE,aAAa,4EAE9D"}
1
+ {"version":3,"file":"sagas.d.ts","sourceRoot":"","sources":["../../../src/store/audio/sagas.ts"],"names":[],"mappings":"AAWA,OAAO,EAAyB,aAAa,EAAE,MAAM,OAAO,CAAA;AA2E5D,MAAM,CAAC,OAAO,UAAW,SAAS,CAAC,aAAa,EAAE,aAAa,4EAE9D"}
@@ -42,7 +42,7 @@ function* performPlayAudio(examServerApi, action) {
42
42
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
43
43
  const playbackTimes = audio.restrictedAudioId != null ? yield select(getPlaybackTimes(audio.restrictedAudioId)) : undefined;
44
44
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
45
- const result = audio.audioRef
45
+ const result = audio.audioRef && audio.audioRef.current
46
46
  ? yield handleAbitti2Audio(examServerApi, audio, playbackTimes)
47
47
  : yield handleAbitti1Audio(examServerApi, audio, playbackTimes);
48
48
  if (result.response === 'ok') {
@@ -1 +1 @@
1
- {"version":3,"file":"sagas.js","sourceRoot":"","sources":["../../../src/store/audio/sagas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EACL,cAAc,EAEd,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,eAAe,EAChB,MAAM,WAAW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D,MAAM,SAAS,CAAC,YAAY,EAAE,gBAAgB,EAAE,aAAa,CAAC,CAAA;AAChE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digabi/exam-engine-core",
3
- "version": "19.17.1-abitti2.1.0",
3
+ "version": "19.17.2-abitti2.0",
4
4
  "main": "dist/main-bundle.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Matriculation Examination Board, Finland",
@@ -58,5 +58,5 @@
58
58
  "webpack-bundle-analyzer": "^4.1.0",
59
59
  "webpack-cli": "^5.0.2"
60
60
  },
61
- "gitHead": "018d230ff7826f135f27fa974b4306a4c7955c41"
61
+ "gitHead": "730f59f6938445a94d8544db977515e70d6f5462"
62
62
  }