@atlaskit/collab-provider 35.0.4 → 35.0.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/collab-provider
2
2
 
3
+ ## 35.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 35.0.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 35.0.4
4
16
 
5
17
  ### Patch Changes
@@ -13,7 +13,7 @@ exports.toObfuscatedSteps = toObfuscatedSteps;
13
13
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
14
14
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
15
15
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
- var _scrub = require("@atlaskit/adf-utils/scrub");
16
+ var _scrubAdf = _interopRequireDefault(require("@atlaskit/adf-utils/scrub-adf"));
17
17
  var _prosemirrorCollab = require("@atlaskit/prosemirror-collab");
18
18
  var _customErrors = require("../errors/custom-errors");
19
19
  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; }
@@ -166,7 +166,7 @@ var getStepsAdfWithObfuscation = exports.getStepsAdfWithObfuscation = function g
166
166
  return null;
167
167
  }
168
168
  var scrubbedSteps = stepContentAsAdf.map(function (adf) {
169
- return (0, _scrub.scrubAdf)(adf);
169
+ return (0, _scrubAdf.default)(adf);
170
170
  }).filter(function (adf) {
171
171
  return !!adf;
172
172
  });
@@ -174,14 +174,14 @@ var getStepsAdfWithObfuscation = exports.getStepsAdfWithObfuscation = function g
174
174
  };
175
175
  var getDocAdfWithObfuscation = exports.getDocAdfWithObfuscation = function getDocAdfWithObfuscation(doc) {
176
176
  var docJson = doc.toJSON();
177
- var scrubbedDoc = (0, _scrub.scrubAdf)(docJson);
177
+ var scrubbedDoc = (0, _scrubAdf.default)(docJson);
178
178
  if (!scrubbedDoc) {
179
179
  return null;
180
180
  }
181
181
  return scrubbedDoc;
182
182
  };
183
183
  var getDocAdfWithObfuscationFromJSON = exports.getDocAdfWithObfuscationFromJSON = function getDocAdfWithObfuscationFromJSON(docJson) {
184
- var scrubbedDoc = (0, _scrub.scrubAdf)(docJson);
184
+ var scrubbedDoc = (0, _scrubAdf.default)(docJson);
185
185
  if (!scrubbedDoc) {
186
186
  return null;
187
187
  }
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/collab-provider";
8
- var version = exports.version = "35.0.3";
8
+ var version = exports.version = "35.0.5";
9
9
  var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
10
10
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
11
11
  };
@@ -1,4 +1,4 @@
1
- import { scrubAdf } from '@atlaskit/adf-utils/scrub';
1
+ import scrubAdf from '@atlaskit/adf-utils/scrub-adf';
2
2
  import { sendableSteps } from '@atlaskit/prosemirror-collab';
3
3
  import { CustomError } from '../errors/custom-errors';
4
4
  // eslint-disable-next-line require-unicode-regexp
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/collab-provider";
2
- export const version = "35.0.3";
2
+ export const version = "35.0.5";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  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; }
5
5
  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; }
6
- import { scrubAdf } from '@atlaskit/adf-utils/scrub';
6
+ import scrubAdf from '@atlaskit/adf-utils/scrub-adf';
7
7
  import { sendableSteps } from '@atlaskit/prosemirror-collab';
8
8
  import { CustomError } from '../errors/custom-errors';
9
9
  // eslint-disable-next-line require-unicode-regexp
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/collab-provider";
2
- export var version = "35.0.3";
2
+ export var version = "35.0.5";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,7 +1,7 @@
1
1
  import type { DebouncedFunc } from 'lodash';
2
2
  import type { ADFEntity } from '@atlaskit/adf-utils/types';
3
3
  import type { ResolvedEditorState, SyncUpErrorFunction, CollabEvents, CollabInitPayload } from '@atlaskit/editor-common/collab';
4
- import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types';
4
+ import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types/editor-actions';
5
5
  import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
6
6
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
7
7
  import { Transaction } from '@atlaskit/editor-prosemirror/state';
@@ -1,5 +1,5 @@
1
1
  import type { ResolvedEditorState, SyncUpErrorFunction } from '@atlaskit/editor-common/collab';
2
- import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types';
2
+ import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types/editor-actions';
3
3
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
4
4
  import type { Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform-override';
5
5
  import type { InternalError } from '../errors/internal-errors';
@@ -1,5 +1,5 @@
1
1
  import type { ResolvedEditorState } from '@atlaskit/editor-common/collab';
2
- import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types';
2
+ import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types/editor-actions';
3
3
  import type { DocumentServiceInterface } from './interface-document-service';
4
4
  export declare class NullDocumentService implements DocumentServiceInterface {
5
5
  setup: () => this;
@@ -1,5 +1,5 @@
1
1
  import type { CollabEvents } from '@atlaskit/editor-common/collab';
2
- import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types';
2
+ import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types/editor-actions';
3
3
  import type { Transaction } from '@atlaskit/editor-prosemirror/state';
4
4
  import type { Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform-override';
5
5
  import type AnalyticsHelper from '../analytics/analytics-helper';
@@ -1,5 +1,5 @@
1
1
  import type { CollabEditProvider, CollabEvents, CollabTelepointerPayload, ResolvedEditorState, Metadata, CollabInitPayload, SyncUpErrorFunction, CollabPresenceActivityChangePayload, CollabActivityAIProviderChangedPayload, ProviderParticipant } from '@atlaskit/editor-common/collab';
2
- import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types';
2
+ import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types/editor-actions';
3
3
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
4
4
  import type { Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform-override';
5
5
  import { Api } from '../api/api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/collab-provider",
3
- "version": "35.0.4",
3
+ "version": "35.0.6",
4
4
  "description": "A provider for collaborative editing.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  "@atlaskit/platform-feature-flags": "^2.2.0",
31
31
  "@atlaskit/prosemirror-collab": "^1.1.0",
32
32
  "@atlaskit/react-ufo": "^8.1.0",
33
- "@atlaskit/tmp-editor-statsig": "^230.0.0",
33
+ "@atlaskit/tmp-editor-statsig": "^232.0.0",
34
34
  "@atlaskit/ufo": "^2.0.0",
35
35
  "@atlaskit/util-service-support": "^7.4.0",
36
36
  "@babel/runtime": "^7.0.0",