@atlaskit/editor-plugin-collab-edit 4.1.6 → 4.2.0

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,24 @@
1
1
  # @atlaskit/editor-plugin-collab-edit
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`72f94befc61f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/72f94befc61f2) -
8
+ replace method-style signatures with function-style signatures
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 4.1.7
15
+
16
+ ### Patch Changes
17
+
18
+ - [`57b19274b9fdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57b19274b9fdd) -
19
+ EDITOR-1373 Bump adf-schema version
20
+ - Updated dependencies
21
+
3
22
  ## 4.1.6
4
23
 
5
24
  ### Patch Changes
@@ -10,5 +10,5 @@ export declare class Participants implements ReadOnlyParticipants {
10
10
  toArray(): CollabParticipant[];
11
11
  get(sessionId: string): CollabParticipant | undefined;
12
12
  size(): number;
13
- eq(other: Participants): boolean;
13
+ eq(other: ReadOnlyParticipants): boolean;
14
14
  }
@@ -9,9 +9,9 @@ export type PrivateCollabEditOptions = CollabEditOptions & {
9
9
  export type ProviderCallback = <ReturnType>(codeToExecute: (provider: CollabEditProvider) => ReturnType | undefined, onError?: (err: Error) => void) => Promise<ReturnType | undefined> | undefined;
10
10
  export type ProviderBuilder = (collabEditProviderPromise: Promise<CollabEditProvider>) => ProviderCallback;
11
11
  export interface ReadOnlyParticipants {
12
- get(sessionId: string): CollabParticipant | undefined;
13
- toArray(): ReadonlyArray<CollabParticipant>;
14
- eq(other: ReadOnlyParticipants): boolean;
12
+ get: (sessionId: string) => CollabParticipant | undefined;
13
+ toArray: () => ReadonlyArray<CollabParticipant>;
14
+ eq: (other: ReadOnlyParticipants) => boolean;
15
15
  }
16
16
  export type CollabInitializedMetadata = {
17
17
  collabInitialisedAt: null | number;
@@ -10,5 +10,5 @@ export declare class Participants implements ReadOnlyParticipants {
10
10
  toArray(): CollabParticipant[];
11
11
  get(sessionId: string): CollabParticipant | undefined;
12
12
  size(): number;
13
- eq(other: Participants): boolean;
13
+ eq(other: ReadOnlyParticipants): boolean;
14
14
  }
@@ -9,9 +9,9 @@ export type PrivateCollabEditOptions = CollabEditOptions & {
9
9
  export type ProviderCallback = <ReturnType>(codeToExecute: (provider: CollabEditProvider) => ReturnType | undefined, onError?: (err: Error) => void) => Promise<ReturnType | undefined> | undefined;
10
10
  export type ProviderBuilder = (collabEditProviderPromise: Promise<CollabEditProvider>) => ProviderCallback;
11
11
  export interface ReadOnlyParticipants {
12
- get(sessionId: string): CollabParticipant | undefined;
13
- toArray(): ReadonlyArray<CollabParticipant>;
14
- eq(other: ReadOnlyParticipants): boolean;
12
+ get: (sessionId: string) => CollabParticipant | undefined;
13
+ toArray: () => ReadonlyArray<CollabParticipant>;
14
+ eq: (other: ReadOnlyParticipants) => boolean;
15
15
  }
16
16
  export type CollabInitializedMetadata = {
17
17
  collabInitialisedAt: null | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-collab-edit",
3
- "version": "4.1.6",
3
+ "version": "4.2.0",
4
4
  "description": "Collab Edit plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,9 +30,9 @@
30
30
  ".": "./src/index.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/adf-schema": "^50.2.0",
33
+ "@atlaskit/adf-schema": "^50.2.1",
34
34
  "@atlaskit/custom-steps": "^0.11.0",
35
- "@atlaskit/editor-json-transformer": "^8.25.0",
35
+ "@atlaskit/editor-json-transformer": "^8.27.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^3.0.0",
37
37
  "@atlaskit/editor-plugin-connectivity": "^3.1.0",
38
38
  "@atlaskit/editor-plugin-editor-viewmode": "^5.0.0",
@@ -42,12 +42,12 @@
42
42
  "@atlaskit/frontend-utilities": "^3.1.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/prosemirror-collab": "^0.17.0",
45
- "@atlaskit/tmp-editor-statsig": "^11.1.0",
45
+ "@atlaskit/tmp-editor-statsig": "^11.3.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "memoize-one": "^6.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^107.25.0",
50
+ "@atlaskit/editor-common": "^107.26.0",
51
51
  "react": "^18.2.0",
52
52
  "react-dom": "^18.2.0"
53
53
  },