@atlaskit/collab-provider 16.1.8 → 16.1.10

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,19 @@
1
1
  # @atlaskit/collab-provider
2
2
 
3
+ ## 16.1.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5221db0d676ef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5221db0d676ef) -
8
+ Mechanical type-import autofix for tables, collab, and synchrony packages.
9
+ - Updated dependencies
10
+
11
+ ## 16.1.9
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 16.1.8
4
18
 
5
19
  ### Patch Changes
@@ -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 = "0.0.0-development";
8
+ var version = exports.version = "16.1.10";
9
9
  var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
10
10
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
11
11
  };
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/collab-provider";
2
- export const version = "0.0.0-development";
2
+ export const version = "16.1.10";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/collab-provider";
2
- export var version = "0.0.0-development";
2
+ export var version = "16.1.10";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import { Emitter } from './emitter';
2
2
  import type { Config, ChannelEvent, Catchupv2Response, ReconcileResponse, GenerateDiffStepsResponseBody } from './types';
3
- import { type CatchupEventReason } from './helpers/const';
3
+ import type { CatchupEventReason } from './helpers/const';
4
4
  import type { Socket } from 'socket.io-client';
5
5
  import type AnalyticsHelper from './analytics/analytics-helper';
6
6
  import type { Metadata } from '@atlaskit/editor-common/collab';
@@ -8,8 +8,8 @@ import type { MetadataService } from '../metadata/metadata-service';
8
8
  import { CatchupEventReason } from '../helpers/const';
9
9
  import type AnalyticsHelper from '../analytics/analytics-helper';
10
10
  import type { InternalError } from '../errors/internal-errors';
11
- import { type ParticipantsService } from '../participants/participants-service';
12
- import { type DocumentServiceInterface } from './interface-document-service';
11
+ import type { ParticipantsService } from '../participants/participants-service';
12
+ import type { DocumentServiceInterface } from './interface-document-service';
13
13
  import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types';
14
14
  import type { ADFEntity } from '@atlaskit/adf-utils/types';
15
15
  import type { DebouncedFunc } from 'lodash';
@@ -1,7 +1,7 @@
1
- import { type Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform';
2
- import { type Transaction } from '@atlaskit/editor-prosemirror/state';
1
+ import type { Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform';
2
+ import type { Transaction } from '@atlaskit/editor-prosemirror/state';
3
3
  import type { ConflictChanges } from '@atlaskit/editor-common/collab';
4
- import { type Rebaseable } from '@atlaskit/prosemirror-collab';
4
+ import type { Rebaseable } from '@atlaskit/prosemirror-collab';
5
5
  interface Options {
6
6
  localSteps: readonly Rebaseable[];
7
7
  remoteSteps: ProseMirrorStep[];
@@ -1,4 +1,4 @@
1
- import { type StepsPayload } from '../types';
1
+ import type { StepsPayload } from '../types';
2
2
  export declare class StepQueueState {
3
3
  private queuePaused;
4
4
  private queue;
@@ -1,10 +1,10 @@
1
- import { type ADFEntity } from '@atlaskit/adf-utils/types';
1
+ import type { ADFEntity } from '@atlaskit/adf-utils/types';
2
2
  import type { ProductInformation } from '../types';
3
3
  import type { Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform';
4
4
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { StepJson } from '@atlaskit/editor-common/collab';
6
- import { type JSONDocNode } from '@atlaskit/editor-json-transformer';
7
- import { type Node as ProseMirrorNode } from '@atlaskit/editor-prosemirror/model';
6
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
7
+ import type { Node as ProseMirrorNode } from '@atlaskit/editor-prosemirror/model';
8
8
  import { CustomError } from '../errors/custom-errors';
9
9
  export declare const createLogger: (prefix: string, color?: string) => (msg: string, data?: any) => void;
10
10
  export declare function sleep(ms: number): Promise<any>;
@@ -1,4 +1,4 @@
1
- import { type NamespaceStatus } from '../types';
1
+ import type { NamespaceStatus } from '../types';
2
2
  /**
3
3
  * Allows us to keep track of any namespace changes from the server.
4
4
  * @param isNamespaceLocked - whether the namespace is locked or not, defaults to false
@@ -1,6 +1,6 @@
1
1
  import type { ProviderParticipant } from '@atlaskit/editor-common/collab';
2
2
  import type { PresencePayload } from '../types';
3
- import { type ParticipantsState } from './participants-state';
3
+ import type { ParticipantsState } from './participants-state';
4
4
  export declare const PARTICIPANT_UPDATE_INTERVAL: number;
5
5
  export type ParticipantsMap = Map<string, ProviderParticipant>;
6
6
  type UserType = Pick<ProviderParticipant, 'name' | 'avatar' | 'userId' | 'email' | 'isGuest'>;
@@ -2,7 +2,8 @@ import type { CollabEventPresenceData, CollabTelepointerPayload, CollabPresenceA
2
2
  import type AnalyticsHelper from '../analytics/analytics-helper';
3
3
  import type { CollabEventDisconnectedData, ChannelEvent, PresenceData, PresencePayload, TelepointerPayload, FetchAnonymousAsset } from '../types';
4
4
  import type { BatchProps, GetUserType } from './participants-helper';
5
- import { type ParticipantFilter, ParticipantsState } from './participants-state';
5
+ import { ParticipantsState } from './participants-state';
6
+ import type { ParticipantFilter } from './participants-state';
6
7
  export declare const SINGLE_COLLAB_MODE = "single";
7
8
  export declare const MULTI_COLLAB_MODE = "collab";
8
9
  /**
@@ -1,4 +1,4 @@
1
- import { type ParticipantsMap } from './participants-helper';
1
+ import type { ParticipantsMap } from './participants-helper';
2
2
  import type { ProviderParticipant } from '@atlaskit/editor-common/collab';
3
3
  export type ParticipantFilter = {
4
4
  isHydrated: boolean;
@@ -6,7 +6,7 @@ import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
6
6
  import type { BatchProps, GetUserType } from './participants/participants-helper';
7
7
  import type AnalyticsHelper from './analytics/analytics-helper';
8
8
  import type { StepJson, CollabSendableSelection, Metadata, UserPermitType, PresenceActivity } from '@atlaskit/editor-common/collab';
9
- import { type CatchupEventReason } from './helpers/const';
9
+ import type { CatchupEventReason } from './helpers/const';
10
10
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
11
11
  export interface CollabEventDisconnectedData {
12
12
  reason: 'CLIENT_DISCONNECT' | 'SERVER_DISCONNECT' | 'SOCKET_CLOSED' | 'SOCKET_ERROR' | 'SOCKET_TIMEOUT' | 'UNKNOWN_DISCONNECT';
@@ -1,6 +1,6 @@
1
1
  import { Emitter } from './emitter';
2
2
  import type { Config, ChannelEvent, Catchupv2Response, ReconcileResponse, GenerateDiffStepsResponseBody } from './types';
3
- import { type CatchupEventReason } from './helpers/const';
3
+ import type { CatchupEventReason } from './helpers/const';
4
4
  import type { Socket } from 'socket.io-client';
5
5
  import type AnalyticsHelper from './analytics/analytics-helper';
6
6
  import type { Metadata } from '@atlaskit/editor-common/collab';
@@ -8,8 +8,8 @@ import type { MetadataService } from '../metadata/metadata-service';
8
8
  import { CatchupEventReason } from '../helpers/const';
9
9
  import type AnalyticsHelper from '../analytics/analytics-helper';
10
10
  import type { InternalError } from '../errors/internal-errors';
11
- import { type ParticipantsService } from '../participants/participants-service';
12
- import { type DocumentServiceInterface } from './interface-document-service';
11
+ import type { ParticipantsService } from '../participants/participants-service';
12
+ import type { DocumentServiceInterface } from './interface-document-service';
13
13
  import type { GetResolvedEditorStateReason } from '@atlaskit/editor-common/types';
14
14
  import type { ADFEntity } from '@atlaskit/adf-utils/types';
15
15
  import type { DebouncedFunc } from 'lodash';
@@ -1,7 +1,7 @@
1
- import { type Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform';
2
- import { type Transaction } from '@atlaskit/editor-prosemirror/state';
1
+ import type { Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform';
2
+ import type { Transaction } from '@atlaskit/editor-prosemirror/state';
3
3
  import type { ConflictChanges } from '@atlaskit/editor-common/collab';
4
- import { type Rebaseable } from '@atlaskit/prosemirror-collab';
4
+ import type { Rebaseable } from '@atlaskit/prosemirror-collab';
5
5
  interface Options {
6
6
  localSteps: readonly Rebaseable[];
7
7
  remoteSteps: ProseMirrorStep[];
@@ -1,4 +1,4 @@
1
- import { type StepsPayload } from '../types';
1
+ import type { StepsPayload } from '../types';
2
2
  export declare class StepQueueState {
3
3
  private queuePaused;
4
4
  private queue;
@@ -1,10 +1,10 @@
1
- import { type ADFEntity } from '@atlaskit/adf-utils/types';
1
+ import type { ADFEntity } from '@atlaskit/adf-utils/types';
2
2
  import type { ProductInformation } from '../types';
3
3
  import type { Step as ProseMirrorStep } from '@atlaskit/editor-prosemirror/transform';
4
4
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { StepJson } from '@atlaskit/editor-common/collab';
6
- import { type JSONDocNode } from '@atlaskit/editor-json-transformer';
7
- import { type Node as ProseMirrorNode } from '@atlaskit/editor-prosemirror/model';
6
+ import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
7
+ import type { Node as ProseMirrorNode } from '@atlaskit/editor-prosemirror/model';
8
8
  import { CustomError } from '../errors/custom-errors';
9
9
  export declare const createLogger: (prefix: string, color?: string) => (msg: string, data?: any) => void;
10
10
  export declare function sleep(ms: number): Promise<any>;
@@ -1,4 +1,4 @@
1
- import { type NamespaceStatus } from '../types';
1
+ import type { NamespaceStatus } from '../types';
2
2
  /**
3
3
  * Allows us to keep track of any namespace changes from the server.
4
4
  * @param isNamespaceLocked - whether the namespace is locked or not, defaults to false
@@ -1,6 +1,6 @@
1
1
  import type { ProviderParticipant } from '@atlaskit/editor-common/collab';
2
2
  import type { PresencePayload } from '../types';
3
- import { type ParticipantsState } from './participants-state';
3
+ import type { ParticipantsState } from './participants-state';
4
4
  export declare const PARTICIPANT_UPDATE_INTERVAL: number;
5
5
  export type ParticipantsMap = Map<string, ProviderParticipant>;
6
6
  type UserType = Pick<ProviderParticipant, 'name' | 'avatar' | 'userId' | 'email' | 'isGuest'>;
@@ -2,7 +2,8 @@ import type { CollabEventPresenceData, CollabTelepointerPayload, CollabPresenceA
2
2
  import type AnalyticsHelper from '../analytics/analytics-helper';
3
3
  import type { CollabEventDisconnectedData, ChannelEvent, PresenceData, PresencePayload, TelepointerPayload, FetchAnonymousAsset } from '../types';
4
4
  import type { BatchProps, GetUserType } from './participants-helper';
5
- import { type ParticipantFilter, ParticipantsState } from './participants-state';
5
+ import { ParticipantsState } from './participants-state';
6
+ import type { ParticipantFilter } from './participants-state';
6
7
  export declare const SINGLE_COLLAB_MODE = "single";
7
8
  export declare const MULTI_COLLAB_MODE = "collab";
8
9
  /**
@@ -1,4 +1,4 @@
1
- import { type ParticipantsMap } from './participants-helper';
1
+ import type { ParticipantsMap } from './participants-helper';
2
2
  import type { ProviderParticipant } from '@atlaskit/editor-common/collab';
3
3
  export type ParticipantFilter = {
4
4
  isHydrated: boolean;
@@ -6,7 +6,7 @@ import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
6
6
  import type { BatchProps, GetUserType } from './participants/participants-helper';
7
7
  import type AnalyticsHelper from './analytics/analytics-helper';
8
8
  import type { StepJson, CollabSendableSelection, Metadata, UserPermitType, PresenceActivity } from '@atlaskit/editor-common/collab';
9
- import { type CatchupEventReason } from './helpers/const';
9
+ import type { CatchupEventReason } from './helpers/const';
10
10
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
11
11
  export interface CollabEventDisconnectedData {
12
12
  reason: 'CLIENT_DISCONNECT' | 'SERVER_DISCONNECT' | 'SOCKET_CLOSED' | 'SOCKET_ERROR' | 'SOCKET_TIMEOUT' | 'UNKNOWN_DISCONNECT';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/collab-provider",
3
- "version": "16.1.8",
3
+ "version": "16.1.10",
4
4
  "description": "A provider for collaborative editing.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/platform-feature-flags": "^1.1.0",
38
38
  "@atlaskit/prosemirror-collab": "^0.22.0",
39
39
  "@atlaskit/react-ufo": "^5.5.0",
40
- "@atlaskit/tmp-editor-statsig": "^45.0.0",
40
+ "@atlaskit/tmp-editor-statsig": "^46.2.0",
41
41
  "@atlaskit/ufo": "^0.4.0",
42
42
  "@atlaskit/util-service-support": "^6.3.0",
43
43
  "@babel/runtime": "^7.0.0",
@@ -73,6 +73,6 @@
73
73
  }
74
74
  },
75
75
  "peerDependencies": {
76
- "@atlaskit/editor-common": "^112.8.0"
76
+ "@atlaskit/editor-common": "^112.10.0"
77
77
  }
78
78
  }