@storybook/instrumenter 6.4.0-rc.8 → 6.4.2

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.
@@ -261,6 +261,7 @@ var Instrumenter = /*#__PURE__*/function () {
261
261
 
262
262
  if (newPhase === 'played') {
263
263
  _this.setState(storyId, {
264
+ isLocked: false,
264
265
  isPlaying: false,
265
266
  isDebugging: false,
266
267
  forwardedException: undefined
@@ -815,8 +816,7 @@ var Instrumenter = /*#__PURE__*/function () {
815
816
  clearTimeout(this.getState(call.storyId).syncTimeout);
816
817
  this.channel.emit(EVENTS.CALL, call);
817
818
  this.setState(call.storyId, function (_ref19) {
818
- var calls = _ref19.calls,
819
- isLocked = _ref19.isLocked;
819
+ var calls = _ref19.calls;
820
820
  // Omit earlier calls for the same ID, which may have been superceded by a later invocation.
821
821
  // This typically happens when calls are part of a callback which runs multiple times.
822
822
  var callsById = calls.concat(call).reduce(function (a, c) {
@@ -220,6 +220,7 @@ export var Instrumenter = /*#__PURE__*/function () {
220
220
 
221
221
  if (newPhase === 'played') {
222
222
  _this.setState(storyId, {
223
+ isLocked: false,
223
224
  isPlaying: false,
224
225
  isDebugging: false,
225
226
  forwardedException: undefined
@@ -774,8 +775,7 @@ export var Instrumenter = /*#__PURE__*/function () {
774
775
  clearTimeout(this.getState(call.storyId).syncTimeout);
775
776
  this.channel.emit(EVENTS.CALL, call);
776
777
  this.setState(call.storyId, function (_ref19) {
777
- var calls = _ref19.calls,
778
- isLocked = _ref19.isLocked;
778
+ var calls = _ref19.calls;
779
779
  // Omit earlier calls for the same ID, which may have been superceded by a later invocation.
780
780
  // This typically happens when calls are part of a callback which runs multiple times.
781
781
  var callsById = calls.concat(call).reduce(function (a, c) {
@@ -139,6 +139,7 @@ export class Instrumenter {
139
139
 
140
140
  if (newPhase === 'played') {
141
141
  this.setState(storyId, {
142
+ isLocked: false,
142
143
  isPlaying: false,
143
144
  isDebugging: false,
144
145
  forwardedException: undefined
@@ -634,8 +635,7 @@ export class Instrumenter {
634
635
  clearTimeout(this.getState(call.storyId).syncTimeout);
635
636
  this.channel.emit(EVENTS.CALL, call);
636
637
  this.setState(call.storyId, ({
637
- calls,
638
- isLocked
638
+ calls
639
639
  }) => {
640
640
  // Omit earlier calls for the same ID, which may have been superceded by a later invocation.
641
641
  // This typically happens when calls are part of a callback which runs multiple times.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/instrumenter",
3
- "version": "6.4.0-rc.8",
3
+ "version": "6.4.2",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "storybook"
@@ -40,14 +40,14 @@
40
40
  "prepare": "node ../../scripts/prepare.js"
41
41
  },
42
42
  "dependencies": {
43
- "@storybook/addons": "6.4.0-rc.8",
44
- "@storybook/client-logger": "6.4.0-rc.8",
45
- "@storybook/core-events": "6.4.0-rc.8",
43
+ "@storybook/addons": "6.4.2",
44
+ "@storybook/client-logger": "6.4.2",
45
+ "@storybook/core-events": "6.4.2",
46
46
  "global": "^4.4.0"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "0be6dde43b848e310e705a4354c6c8abe0431448",
51
+ "gitHead": "6e5ec774cf8e7fd8a1870fc2469c2dfa9ec112b7",
52
52
  "sbmodern": "dist/modern/index.js"
53
53
  }