@atlaskit/editor-synced-block-provider 3.5.3 → 3.5.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/editor-synced-block-provider
2
2
 
3
+ ## 3.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0248c6fa91442`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0248c6fa91442) -
8
+ EDITOR-4310 Ensure confirmation callback is cleaned up properly
9
+
3
10
  ## 3.5.3
4
11
 
5
12
  ### Patch Changes
@@ -477,6 +477,8 @@ var SourceSyncBlockStoreManager = exports.SourceSyncBlockStoreManager = /*#__PUR
477
477
  onDeleteCompleted: onDeleteCompleted,
478
478
  destroyCallback: destroyCallback
479
479
  };
480
+ } else {
481
+ destroyCallback();
480
482
  }
481
483
  _context4.next = 12;
482
484
  break;
@@ -332,6 +332,8 @@ export class SourceSyncBlockStoreManager {
332
332
  onDeleteCompleted,
333
333
  destroyCallback
334
334
  };
335
+ } else {
336
+ destroyCallback();
335
337
  }
336
338
  } else {
337
339
  destroyCallback();
@@ -470,6 +470,8 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
470
470
  onDeleteCompleted: onDeleteCompleted,
471
471
  destroyCallback: destroyCallback
472
472
  };
473
+ } else {
474
+ destroyCallback();
473
475
  }
474
476
  _context4.next = 12;
475
477
  break;
package/package.json CHANGED
@@ -77,7 +77,7 @@
77
77
  }
78
78
  },
79
79
  "name": "@atlaskit/editor-synced-block-provider",
80
- "version": "3.5.3",
80
+ "version": "3.5.4",
81
81
  "description": "Synced Block Provider for @atlaskit/editor-plugin-synced-block",
82
82
  "author": "Atlassian Pty Ltd",
83
83
  "license": "Apache-2.0",