@miso.ai/client-sdk-ui 1.11.5-beta.5 → 1.11.5-beta.6

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.
@@ -28,11 +28,12 @@ class DataActor {
28
28
  return this._source;
29
29
  }
30
30
  _handleSession(session) {
31
- // protocol: inactive -> no reaction
31
+ // this is mandatory in any case
32
+ /*
32
33
  if (!this.active) {
33
34
  return;
34
35
  }
35
-
36
+ */
36
37
  // abort ongoing data fetch if any
37
38
  if (!this._session || session.index !== this._session.index) {
38
39
  // new session, abort preview data fetch if necessary
@@ -44,6 +45,7 @@ class DataActor {
44
45
  }
45
46
  this._session = session;
46
47
 
48
+ // TODO: move this to workflow
47
49
  // reflect session update
48
50
  this._emitResponse({
49
51
  session
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '1.11.5-beta.5';
7
+ var _default = exports.default = '1.11.5-beta.6';
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "url": "https://github.com/MisoAI/miso-client-js-sdk/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@miso.ai/commons": "1.11.5-beta.5"
29
+ "@miso.ai/commons": "1.11.5-beta.6"
30
30
  },
31
- "version": "1.11.5-beta.5"
31
+ "version": "1.11.5-beta.6"
32
32
  }
package/src/actor/data.js CHANGED
@@ -22,11 +22,12 @@ export default class DataActor {
22
22
  }
23
23
 
24
24
  _handleSession(session) {
25
- // protocol: inactive -> no reaction
25
+ // this is mandatory in any case
26
+ /*
26
27
  if (!this.active) {
27
28
  return;
28
29
  }
29
-
30
+ */
30
31
  // abort ongoing data fetch if any
31
32
  if (!this._session || (session.index !== this._session.index)) {
32
33
  // new session, abort preview data fetch if necessary
@@ -38,6 +39,7 @@ export default class DataActor {
38
39
  }
39
40
  this._session = session;
40
41
 
42
+ // TODO: move this to workflow
41
43
  // reflect session update
42
44
  this._emitResponse({ session });
43
45
  }
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export default '1.11.5-beta.5';
1
+ export default '1.11.5-beta.6';