eyevinn-channel-engine 4.3.12 → 4.3.13

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.
@@ -478,14 +478,15 @@ var Session = /** @class */ (function () {
478
478
  return [4 /*yield*/, this._playheadStateStore.reset(id)];
479
479
  case 2:
480
480
  _a.sent();
481
- _a.label = 3;
481
+ return [3 /*break*/, 6];
482
482
  case 3: return [4 /*yield*/, this._sessionStateStore.resetAll()];
483
483
  case 4:
484
484
  _a.sent();
485
485
  return [4 /*yield*/, this._playheadStateStore.resetAll()];
486
486
  case 5:
487
487
  _a.sent();
488
- return [2 /*return*/];
488
+ _a.label = 6;
489
+ case 6: return [2 /*return*/];
489
490
  }
490
491
  });
491
492
  });
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyevinn-channel-engine",
3
- "version": "4.3.12",
3
+ "version": "4.3.13",
4
4
  "description": "OTT TV Channel Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,8 +30,8 @@
30
30
  "dependencies": {
31
31
  "@eyevinn/hls-repeat": "^0.2.0",
32
32
  "@eyevinn/hls-truncate": "^0.3.0",
33
- "@eyevinn/hls-vodtolive": "^4.1.1",
34
- "@eyevinn/m3u8": "^0.5.3",
33
+ "@eyevinn/hls-vodtolive": "^4.1.3",
34
+ "@eyevinn/m3u8": "^0.5.8",
35
35
  "abort-controller": "^3.0.0",
36
36
  "debug": "^3.2.7",
37
37
  "ioredis": "^5.3.2",
package/engine/session.js CHANGED
@@ -348,9 +348,10 @@ class Session {
348
348
  if (id) {
349
349
  await this._sessionStateStore.reset(id);
350
350
  await this._playheadStateStore.reset(id);
351
+ } else {
352
+ await this._sessionStateStore.resetAll();
353
+ await this._playheadStateStore.resetAll();
351
354
  }
352
- await this._sessionStateStore.resetAll();
353
- await this._playheadStateStore.resetAll();
354
355
  }
355
356
 
356
357
  async getSessionState() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyevinn-channel-engine",
3
- "version": "4.3.12",
3
+ "version": "4.3.13",
4
4
  "description": "OTT TV Channel Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,8 +30,8 @@
30
30
  "dependencies": {
31
31
  "@eyevinn/hls-repeat": "^0.2.0",
32
32
  "@eyevinn/hls-truncate": "^0.3.0",
33
- "@eyevinn/hls-vodtolive": "^4.1.1",
34
- "@eyevinn/m3u8": "^0.5.3",
33
+ "@eyevinn/hls-vodtolive": "^4.1.3",
34
+ "@eyevinn/m3u8": "^0.5.8",
35
35
  "abort-controller": "^3.0.0",
36
36
  "debug": "^3.2.7",
37
37
  "ioredis": "^5.3.2",