@atlaskit/editor-synced-block-provider 6.6.0 → 6.6.1

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.
@@ -9,10 +9,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
9
9
  import _regeneratorRuntime from "@babel/runtime/regenerator";
10
10
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
11
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12
- import isEqual from 'lodash/isEqual';
13
12
  import { logException } from '@atlaskit/editor-common/monitoring';
14
- import { fg } from '@atlaskit/platform-feature-flags';
15
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
16
13
  import { SyncBlockError } from '../common/types';
17
14
  import { updateErrorPayload, createErrorPayload, deleteErrorPayload, updateCacheErrorPayload, getSourceInfoErrorPayload, updateSuccessPayload, createSuccessPayload, deleteSuccessPayload, fetchReferencesErrorPayload } from '../utils/errorHandling';
18
15
  import { getCreateSourceExperience, getDeleteSourceExperience, getSaveSourceExperience, getFetchSourceInfoExperience } from '../utils/experienceTracking';
@@ -28,7 +25,7 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
28
25
  _classCallCheck(this, SourceSyncBlockStoreManager);
29
26
  _defineProperty(this, "hasReceivedContentChange", false);
30
27
  _defineProperty(this, "setPendingDeletion", function (Ids, value) {
31
- if (_this.viewMode === 'view' && fg('platform_synced_block_patch_8')) {
28
+ if (_this.viewMode === 'view') {
32
29
  return;
33
30
  }
34
31
  var syncBlock = _this.syncBlockCache.get(Ids.resourceId);
@@ -76,7 +73,8 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
76
73
  key: "updateSyncBlockData",
77
74
  value: function updateSyncBlockData(syncBlockNode, isRemote) {
78
75
  try {
79
- if (this.viewMode === 'view' && fg('platform_synced_block_patch_8')) {
76
+ var _cachedBlock$contentF;
77
+ if (this.viewMode === 'view') {
80
78
  return false;
81
79
  }
82
80
  if (!this.isSourceBlock(syncBlockNode)) {
@@ -89,36 +87,23 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
89
87
  throw new Error('Local ID or resource ID is not set');
90
88
  }
91
89
  var cachedBlock = this.syncBlockCache.get(resourceId);
92
- if (fg('platform_synced_block_update_refactor')) {
93
- var _cachedBlock$contentF;
94
- // Fast path: if the PM content fragment hasn't changed, skip serialization entirely
95
- // Fragment.eq() leverages ProseMirror's structural sharing for O(1) comparison
96
- if (cachedBlock !== null && cachedBlock !== void 0 && (_cachedBlock$contentF = cachedBlock.contentFragment) !== null && _cachedBlock$contentF !== void 0 && _cachedBlock$contentF.eq(syncBlockNode.content)) {
97
- return true;
98
- }
99
- var syncBlockData = convertSyncBlockPMNodeToSyncBlockData(syncBlockNode);
100
- if (cachedBlock && !isRemote) {
101
- this.hasReceivedContentChange = true;
102
- }
103
- var isDirty = !isRemote || !cachedBlock; // if the change is not remote, or the block is not in the cache yet, it's dirty
104
- this.syncBlockCache.set(resourceId, _objectSpread(_objectSpread({}, syncBlockData), {}, {
105
- isDirty: isDirty,
106
- // if the change is from remote, it's not dirty
107
- contentFragment: syncBlockNode.content
108
- }, fg('platform_synced_block_patch_10') && {
109
- status: cachedBlock === null || cachedBlock === void 0 ? void 0 : cachedBlock.status
110
- }));
111
- } else {
112
- var _syncBlockData = convertSyncBlockPMNodeToSyncBlockData(syncBlockNode);
113
- if (cachedBlock && !isEqual(_syncBlockData.content, cachedBlock.content)) {
114
- this.hasReceivedContentChange = true;
115
- }
116
- this.syncBlockCache.set(resourceId, _objectSpread(_objectSpread({}, _syncBlockData), {}, {
117
- isDirty: true
118
- }, fg('platform_synced_block_patch_10') && {
119
- status: cachedBlock === null || cachedBlock === void 0 ? void 0 : cachedBlock.status
120
- }));
90
+
91
+ // Fast path: if the PM content fragment hasn't changed, skip serialization entirely
92
+ // Fragment.eq() leverages ProseMirror's structural sharing for O(1) comparison
93
+ if (cachedBlock !== null && cachedBlock !== void 0 && (_cachedBlock$contentF = cachedBlock.contentFragment) !== null && _cachedBlock$contentF !== void 0 && _cachedBlock$contentF.eq(syncBlockNode.content)) {
94
+ return true;
95
+ }
96
+ var syncBlockData = convertSyncBlockPMNodeToSyncBlockData(syncBlockNode);
97
+ if (cachedBlock && !isRemote) {
98
+ this.hasReceivedContentChange = true;
121
99
  }
100
+ var isDirty = !isRemote || !cachedBlock; // if the change is not remote, or the block is not in the cache yet, it's dirty
101
+ this.syncBlockCache.set(resourceId, _objectSpread(_objectSpread({}, syncBlockData), {}, {
102
+ isDirty: isDirty,
103
+ // if the change is from remote, it's not dirty
104
+ contentFragment: syncBlockNode.content,
105
+ status: cachedBlock === null || cachedBlock === void 0 ? void 0 : cachedBlock.status
106
+ }));
122
107
  return true;
123
108
  } catch (error) {
124
109
  var _this$fireAnalyticsEv, _syncBlockNode$attrs2, _syncBlockNode$attrs3;
@@ -147,7 +132,7 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
147
132
  while (1) switch (_context.prev = _context.next) {
148
133
  case 0:
149
134
  _context.prev = 0;
150
- if (!(this.viewMode === 'view' && fg('platform_synced_block_patch_8'))) {
135
+ if (!(this.viewMode === 'view')) {
151
136
  _context.next = 3;
152
137
  break;
153
138
  }
@@ -218,11 +203,9 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
218
203
  if (result.resourceId && !result.error) {
219
204
  var _this2$fireAnalyticsE;
220
205
  // Update cache with the status returned from the backend
221
- if (fg('platform_synced_block_patch_10')) {
222
- var cachedData = _this2.syncBlockCache.get(result.resourceId);
223
- if (cachedData && result.status) {
224
- cachedData.status = result.status;
225
- }
206
+ var cachedData = _this2.syncBlockCache.get(result.resourceId);
207
+ if (cachedData && result.status) {
208
+ cachedData.status = result.status;
226
209
  }
227
210
  (_this2$fireAnalyticsE = _this2.fireAnalyticsEvent) === null || _this2$fireAnalyticsE === void 0 || _this2$fireAnalyticsE.call(_this2, updateSuccessPayload(result.resourceId, false, productAttrIfGateOn(result.resourceId)));
228
211
  }
@@ -267,7 +250,7 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
267
250
  }, {
268
251
  key: "hasUnsavedChanges",
269
252
  value: function hasUnsavedChanges() {
270
- if (this.viewMode === 'view' && fg('platform_synced_block_patch_8')) {
253
+ if (this.viewMode === 'view') {
271
254
  return false;
272
255
  }
273
256
 
@@ -306,16 +289,14 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
306
289
  }, {
307
290
  key: "commitPendingCreation",
308
291
  value: function commitPendingCreation(success, resourceId) {
309
- if (this.viewMode === 'view' && fg('platform_synced_block_patch_8')) {
292
+ if (this.viewMode === 'view') {
310
293
  return;
311
294
  }
312
295
  var onCompletion = this.creationCompletionCallbacks.get(resourceId);
313
296
  if (onCompletion) {
314
297
  this.creationCompletionCallbacks.delete(resourceId);
315
298
  onCompletion(success);
316
- if (success && editorExperiment('platform_synced_block_patch_6', true, {
317
- exposure: true
318
- })) {
299
+ if (success) {
319
300
  // If creation is successful, set hasReceivedContentChange to true
320
301
  // to indicate that there are unsaved changes in the cache
321
302
  this.hasReceivedContentChange = true;
@@ -377,7 +358,7 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
377
358
  key: "createBodiedSyncBlockNode",
378
359
  value: function createBodiedSyncBlockNode(attrs, node, onCompletion) {
379
360
  var _this4 = this;
380
- if (this.viewMode === 'view' && fg('platform_synced_block_patch_8')) {
361
+ if (this.viewMode === 'view') {
381
362
  return;
382
363
  }
383
364
  var resourceId = attrs.resourceId,
@@ -387,17 +368,14 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
387
368
  if (!this.dataProvider) {
388
369
  throw new Error('Data provider not set');
389
370
  }
390
- if (fg('platform_synced_block_update_refactor')) {
391
- // add the node to the cache
392
- this.updateSyncBlockData(node, false);
393
371
 
394
- // Mark the block as unpublished in the cache so it can be cleaned up on cancel
395
- if (fg('platform_synced_block_patch_10')) {
396
- var cached = this.syncBlockCache.get(resourceId);
397
- if (cached) {
398
- cached.status = 'unpublished';
399
- }
400
- }
372
+ // add the node to the cache
373
+ this.updateSyncBlockData(node, false);
374
+
375
+ // Mark the block as unpublished in the cache so it can be cleaned up on cancel
376
+ var cached = this.syncBlockCache.get(resourceId);
377
+ if (cached) {
378
+ cached.status = 'unpublished';
401
379
  }
402
380
  this.creationCompletionCallbacks.set(resourceId, onCompletion);
403
381
  (_this$createExperienc = this.createExperience) === null || _this$createExperienc === void 0 || _this$createExperienc.start({});
@@ -451,7 +429,7 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
451
429
  while (1) switch (_context2.prev = _context2.next) {
452
430
  case 0:
453
431
  _context2.prev = 0;
454
- if (!(this.viewMode === 'view' && fg('platform_synced_block_patch_8'))) {
432
+ if (!(this.viewMode === 'view')) {
455
433
  _context2.next = 3;
456
434
  break;
457
435
  }
@@ -542,7 +520,7 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
542
520
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
543
521
  while (1) switch (_context3.prev = _context3.next) {
544
522
  case 0:
545
- if (!(this.viewMode === 'view' && fg('platform_synced_block_patch_8'))) {
523
+ if (!(this.viewMode === 'view')) {
546
524
  _context3.next = 2;
547
525
  break;
548
526
  }
@@ -594,7 +572,7 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
594
572
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
595
573
  while (1) switch (_context4.prev = _context4.next) {
596
574
  case 0:
597
- if (!(!fg('platform_synced_block_patch_10') || !this.dataProvider || this.syncBlockCache.size === 0)) {
575
+ if (!(!this.dataProvider || this.syncBlockCache.size === 0)) {
598
576
  _context4.next = 2;
599
577
  break;
600
578
  }
@@ -669,9 +647,6 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
669
647
  }, {
670
648
  key: "discardUnpublishedBlocks",
671
649
  value: function discardUnpublishedBlocks() {
672
- if (!fg('platform_synced_block_patch_10')) {
673
- return Promise.resolve(true);
674
- }
675
650
  var unpublishedBlockIds = Array.from(this.syncBlockCache.entries()).filter(function (_ref3) {
676
651
  var _ref4 = _slicedToArray(_ref3, 2),
677
652
  _ = _ref4[0],
@@ -712,7 +687,7 @@ export var SourceSyncBlockStoreManager = /*#__PURE__*/function () {
712
687
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
713
688
  while (1) switch (_context5.prev = _context5.next) {
714
689
  case 0:
715
- if (!(this.viewMode === 'view' && fg('platform_synced_block_patch_8'))) {
690
+ if (!(this.viewMode === 'view')) {
716
691
  _context5.next = 2;
717
692
  break;
718
693
  }
@@ -7,7 +7,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
7
7
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
8
  import { useMemo, useRef } from 'react';
9
9
  import { logException } from '@atlaskit/editor-common/monitoring';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
10
  import { getProductFromSourceAri } from '../clients/block-service/ari';
12
11
  import { SyncBlockError } from '../common/types';
13
12
  import { fetchReferencesErrorPayload } from '../utils/errorHandling';
@@ -41,7 +40,7 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
41
40
  value: function () {
42
41
  var _fetchReferencesSourceInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(resourceId, blockInstanceId, isSourceSyncBlock) {
43
42
  var _this = this;
44
- var _this$fetchReferences, _response$references, _this$fetchReferences5, _response$references2, response, _this$fetchReferences2, _this$fetchReferences3, _this$fetchReferences4, sourceInfoPromises, sourceInfos, sourceSyncBlockData, _this$fireAnalyticsEv;
43
+ var _this$fetchReferences, _response$references, _this$fetchReferences3, _response$references2, response, _this$fetchReferences2, sourceInfoPromises, sourceInfos, sourceSyncBlockData, _this$fireAnalyticsEv;
45
44
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
46
45
  while (1) switch (_context2.prev = _context2.next) {
47
46
  case 0:
@@ -69,30 +68,12 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
69
68
  });
70
69
  case 10:
71
70
  if (!(!response.references || ((_response$references = response.references) === null || _response$references === void 0 ? void 0 : _response$references.length) === 0)) {
72
- _context2.next = 17;
73
- break;
74
- }
75
- if (!fg('platform_synced_block_patch_8')) {
76
- _context2.next = 15;
71
+ _context2.next = 12;
77
72
  break;
78
73
  }
79
74
  return _context2.abrupt("return", this.getUnregisteredReferences(resourceId, blockInstanceId, isSourceSyncBlock));
80
- case 15:
81
- // No reference found
82
- if (isSourceSyncBlock) {
83
- (_this$fetchReferences3 = this.fetchReferencesExperience) === null || _this$fetchReferences3 === void 0 || _this$fetchReferences3.success();
84
- } else {
85
- (_this$fetchReferences4 = this.fetchReferencesExperience) === null || _this$fetchReferences4 === void 0 || _this$fetchReferences4.failure({
86
- reason: 'No references found for reference synced block'
87
- });
88
- }
89
- return _context2.abrupt("return", isSourceSyncBlock ? {
90
- references: []
91
- } : {
92
- error: SyncBlockError.Errored
93
- });
94
- case 17:
95
- (_this$fetchReferences5 = this.fetchReferencesExperience) === null || _this$fetchReferences5 === void 0 || _this$fetchReferences5.success();
75
+ case 12:
76
+ (_this$fetchReferences3 = this.fetchReferencesExperience) === null || _this$fetchReferences3 === void 0 || _this$fetchReferences3.success();
96
77
  sourceInfoPromises = ((_response$references2 = response.references) !== null && _response$references2 !== void 0 ? _response$references2 : []).map( /*#__PURE__*/function () {
97
78
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(reference) {
98
79
  var _this$fetchSourceInfo, _this$dataProvider, _this$fetchSourceInfo3;
@@ -130,13 +111,13 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
130
111
  return _ref.apply(this, arguments);
131
112
  };
132
113
  }());
133
- _context2.next = 21;
114
+ _context2.next = 16;
134
115
  return Promise.all(sourceInfoPromises);
135
- case 21:
116
+ case 16:
136
117
  sourceInfos = _context2.sent;
137
- _context2.next = 24;
118
+ _context2.next = 19;
138
119
  return isSourceSyncBlock ? this.sourceSyncBlockStoreManager.getSyncBlockSourceInfo(blockInstanceId) : this.referenceSyncBlockStoreManager.fetchSyncBlockSourceInfo(resourceId);
139
- case 24:
120
+ case 19:
140
121
  sourceSyncBlockData = _context2.sent;
141
122
  if (sourceSyncBlockData) {
142
123
  sourceInfos.push(_objectSpread(_objectSpread({}, sourceSyncBlockData), {}, {
@@ -149,8 +130,8 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
149
130
  return _context2.abrupt("return", {
150
131
  references: sourceInfos
151
132
  });
152
- case 29:
153
- _context2.prev = 29;
133
+ case 24:
134
+ _context2.prev = 24;
154
135
  _context2.t0 = _context2["catch"](0);
155
136
  logException(_context2.t0, {
156
137
  location: 'editor-synced-block-provider/syncBlockStoreManager'
@@ -159,11 +140,11 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
159
140
  return _context2.abrupt("return", {
160
141
  error: SyncBlockError.Errored
161
142
  });
162
- case 34:
143
+ case 29:
163
144
  case "end":
164
145
  return _context2.stop();
165
146
  }
166
- }, _callee2, this, [[0, 29]]);
147
+ }, _callee2, this, [[0, 24]]);
167
148
  }));
168
149
  function fetchReferencesSourceInfo(_x, _x2, _x3) {
169
150
  return _fetchReferencesSourceInfo.apply(this, arguments);
@@ -192,10 +173,10 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
192
173
  }, {
193
174
  key: "destroy",
194
175
  value: function destroy() {
195
- var _this$fetchReferences6, _this$fetchSourceInfo4;
176
+ var _this$fetchReferences4, _this$fetchSourceInfo4;
196
177
  this.referenceSyncBlockStoreManager.destroy();
197
178
  this.sourceSyncBlockStoreManager.destroy();
198
- (_this$fetchReferences6 = this.fetchReferencesExperience) === null || _this$fetchReferences6 === void 0 || _this$fetchReferences6.abort({
179
+ (_this$fetchReferences4 = this.fetchReferencesExperience) === null || _this$fetchReferences4 === void 0 || _this$fetchReferences4.abort({
199
180
  reason: 'editorDestroyed'
200
181
  });
201
182
  (_this$fetchSourceInfo4 = this.fetchSourceInfoExperience) === null || _this$fetchSourceInfo4 === void 0 || _this$fetchSourceInfo4.abort({
@@ -206,8 +187,8 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
206
187
  key: "getUnregisteredReferences",
207
188
  value: function () {
208
189
  var _getUnregisteredReferences = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(resourceId, blockInstanceId, isSourceSyncBlock) {
209
- var _this$fetchReferences0;
210
- var _this$fetchReferences8, referenceResourceId, hasUnregisteredReferenceOnPage, _this$fetchReferences7, _sourceSyncBlockData, _references, sourceSyncBlockReference, referenceSyncBlockReference, references, sourceSyncBlockData, currentPageData, _this$fetchReferences9;
190
+ var _this$fetchReferences8;
191
+ var _this$fetchReferences6, referenceResourceId, hasUnregisteredReferenceOnPage, _this$fetchReferences5, _sourceSyncBlockData, _references, sourceSyncBlockReference, referenceSyncBlockReference, references, sourceSyncBlockData, currentPageData, _this$fetchReferences7;
211
192
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
212
193
  while (1) switch (_context3.prev = _context3.next) {
213
194
  case 0:
@@ -242,13 +223,13 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
242
223
  });
243
224
  _references.push(sourceSyncBlockReference, referenceSyncBlockReference);
244
225
  }
245
- (_this$fetchReferences7 = this.fetchReferencesExperience) === null || _this$fetchReferences7 === void 0 || _this$fetchReferences7.success();
226
+ (_this$fetchReferences5 = this.fetchReferencesExperience) === null || _this$fetchReferences5 === void 0 || _this$fetchReferences5.success();
246
227
  return _context3.abrupt("return", {
247
228
  references: _references
248
229
  });
249
230
  case 11:
250
231
  // No remote or local reference exists — show info text with link to doco on how to use Synced Blocks
251
- (_this$fetchReferences8 = this.fetchReferencesExperience) === null || _this$fetchReferences8 === void 0 || _this$fetchReferences8.success();
232
+ (_this$fetchReferences6 = this.fetchReferencesExperience) === null || _this$fetchReferences6 === void 0 || _this$fetchReferences6.success();
252
233
  return _context3.abrupt("return", {
253
234
  references: []
254
235
  });
@@ -283,14 +264,14 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
283
264
  _context3.next = 25;
284
265
  break;
285
266
  }
286
- (_this$fetchReferences9 = this.fetchReferencesExperience) === null || _this$fetchReferences9 === void 0 || _this$fetchReferences9.failure({
267
+ (_this$fetchReferences7 = this.fetchReferencesExperience) === null || _this$fetchReferences7 === void 0 || _this$fetchReferences7.failure({
287
268
  reason: 'No references found for reference synced block'
288
269
  });
289
270
  return _context3.abrupt("return", {
290
271
  error: SyncBlockError.Errored
291
272
  });
292
273
  case 25:
293
- (_this$fetchReferences0 = this.fetchReferencesExperience) === null || _this$fetchReferences0 === void 0 || _this$fetchReferences0.success();
274
+ (_this$fetchReferences8 = this.fetchReferencesExperience) === null || _this$fetchReferences8 === void 0 || _this$fetchReferences8.success();
294
275
  return _context3.abrupt("return", {
295
276
  references: references
296
277
  });
package/package.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/editor-prosemirror": "^7.3.0",
30
30
  "@atlaskit/node-data-provider": "^11.1.0",
31
31
  "@atlaskit/platform-feature-flags": "^1.1.0",
32
- "@atlaskit/tmp-editor-statsig": "^80.2.0",
32
+ "@atlaskit/tmp-editor-statsig": "^80.3.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@compiled/react": "^0.20.0",
35
35
  "graphql-ws": "^5.14.2",
@@ -38,7 +38,7 @@
38
38
  "uuid": "^3.1.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@atlaskit/editor-common": "^114.30.0",
41
+ "@atlaskit/editor-common": "^114.32.0",
42
42
  "react": "^18.2.0"
43
43
  },
44
44
  "devDependencies": {
@@ -81,7 +81,7 @@
81
81
  }
82
82
  },
83
83
  "name": "@atlaskit/editor-synced-block-provider",
84
- "version": "6.6.0",
84
+ "version": "6.6.1",
85
85
  "description": "Synced Block Provider for @atlaskit/editor-plugin-synced-block",
86
86
  "author": "Atlassian Pty Ltd",
87
87
  "license": "Apache-2.0",
@@ -89,23 +89,8 @@
89
89
  "registry": "https://registry.npmjs.org/"
90
90
  },
91
91
  "platform-feature-flags": {
92
- "platform_synced_block_update_refactor": {
93
- "type": "boolean"
94
- },
95
- "platform_synced_block_patch_8": {
96
- "type": "boolean"
97
- },
98
- "platform_synced_block_patch_9": {
99
- "type": "boolean"
100
- },
101
- "platform_synced_block_patch_10": {
102
- "type": "boolean"
103
- },
104
92
  "platform_synced_block_patch_11": {
105
93
  "type": "boolean"
106
- },
107
- "platform_synced_block_add_info_web_socket_error": {
108
- "type": "boolean"
109
94
  }
110
95
  }
111
96
  }