@atlaskit/editor-plugin-collab-edit 11.2.4 → 11.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-collab-edit
2
2
 
3
+ ## 11.2.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.2.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 11.2.4
4
16
 
5
17
  ### Patch Changes
@@ -36,37 +36,37 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
36
36
  var providerBuilder = function providerBuilder(collabEditProviderPromise) {
37
37
  return /*#__PURE__*/function () {
38
38
  var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(codeToExecute, onError) {
39
- var provider;
40
- return _regenerator.default.wrap(function _callee$(_context) {
39
+ var provider, _t;
40
+ return _regenerator.default.wrap(function (_context) {
41
41
  while (1) switch (_context.prev = _context.next) {
42
42
  case 0:
43
43
  _context.prev = 0;
44
- _context.next = 3;
44
+ _context.next = 1;
45
45
  return collabEditProviderPromise;
46
- case 3:
46
+ case 1:
47
47
  provider = _context.sent;
48
48
  if (!provider) {
49
- _context.next = 6;
49
+ _context.next = 2;
50
50
  break;
51
51
  }
52
52
  return _context.abrupt("return", codeToExecute(provider));
53
- case 6:
54
- _context.next = 11;
53
+ case 2:
54
+ _context.next = 4;
55
55
  break;
56
- case 8:
57
- _context.prev = 8;
58
- _context.t0 = _context["catch"](0);
56
+ case 3:
57
+ _context.prev = 3;
58
+ _t = _context["catch"](0);
59
59
  if (onError) {
60
- onError(_context.t0);
60
+ onError(_t);
61
61
  } else {
62
62
  // eslint-disable-next-line no-console
63
- console.error(_context.t0);
63
+ console.error(_t);
64
64
  }
65
- case 11:
65
+ case 4:
66
66
  case "end":
67
67
  return _context.stop();
68
68
  }
69
- }, _callee, null, [[0, 8]]);
69
+ }, _callee, null, [[0, 3]]);
70
70
  }));
71
71
  return function (_x, _x2) {
72
72
  return _ref.apply(this, arguments);
@@ -29,37 +29,37 @@ import { getAvatarColor } from './pm-plugins/utils';
29
29
  var providerBuilder = function providerBuilder(collabEditProviderPromise) {
30
30
  return /*#__PURE__*/function () {
31
31
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(codeToExecute, onError) {
32
- var provider;
33
- return _regeneratorRuntime.wrap(function _callee$(_context) {
32
+ var provider, _t;
33
+ return _regeneratorRuntime.wrap(function (_context) {
34
34
  while (1) switch (_context.prev = _context.next) {
35
35
  case 0:
36
36
  _context.prev = 0;
37
- _context.next = 3;
37
+ _context.next = 1;
38
38
  return collabEditProviderPromise;
39
- case 3:
39
+ case 1:
40
40
  provider = _context.sent;
41
41
  if (!provider) {
42
- _context.next = 6;
42
+ _context.next = 2;
43
43
  break;
44
44
  }
45
45
  return _context.abrupt("return", codeToExecute(provider));
46
- case 6:
47
- _context.next = 11;
46
+ case 2:
47
+ _context.next = 4;
48
48
  break;
49
- case 8:
50
- _context.prev = 8;
51
- _context.t0 = _context["catch"](0);
49
+ case 3:
50
+ _context.prev = 3;
51
+ _t = _context["catch"](0);
52
52
  if (onError) {
53
- onError(_context.t0);
53
+ onError(_t);
54
54
  } else {
55
55
  // eslint-disable-next-line no-console
56
- console.error(_context.t0);
56
+ console.error(_t);
57
57
  }
58
- case 11:
58
+ case 4:
59
59
  case "end":
60
60
  return _context.stop();
61
61
  }
62
- }, _callee, null, [[0, 8]]);
62
+ }, _callee, null, [[0, 3]]);
63
63
  }));
64
64
  return function (_x, _x2) {
65
65
  return _ref.apply(this, arguments);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-collab-edit",
3
- "version": "11.2.4",
3
+ "version": "11.2.6",
4
4
  "description": "Collab Edit plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,9 +27,9 @@
27
27
  "sideEffects": false,
28
28
  "atlaskit:src": "src/index.ts",
29
29
  "dependencies": {
30
- "@atlaskit/adf-schema": "^52.14.0",
30
+ "@atlaskit/adf-schema": "^52.15.0",
31
31
  "@atlaskit/custom-steps": "^0.17.0",
32
- "@atlaskit/editor-json-transformer": "^8.32.0",
32
+ "@atlaskit/editor-json-transformer": "^8.33.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^10.1.0",
34
34
  "@atlaskit/editor-plugin-connectivity": "^10.1.0",
35
35
  "@atlaskit/editor-plugin-editor-viewmode": "^12.1.0",
@@ -39,13 +39,13 @@
39
39
  "@atlaskit/frontend-utilities": "^3.3.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
41
  "@atlaskit/prosemirror-collab": "^0.22.0",
42
- "@atlaskit/tmp-editor-statsig": "^84.0.0",
43
- "@atlaskit/tokens": "^13.0.0",
42
+ "@atlaskit/tmp-editor-statsig": "^86.0.0",
43
+ "@atlaskit/tokens": "^13.1.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "memoize-one": "^6.0.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/editor-common": "^114.47.0",
48
+ "@atlaskit/editor-common": "^114.54.0",
49
49
  "react": "^18.2.0",
50
50
  "react-dom": "^18.2.0"
51
51
  },