@atlaskit/collab-provider 9.42.4 → 9.42.5

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,13 @@
1
1
  # @atlaskit/collab-provider
2
2
 
3
+ ## 9.42.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#149960](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/149960)
8
+ [`46d3d1b5db7c6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/46d3d1b5db7c6) -
9
+ Provide more details for collab provider readme
10
+
3
11
  ## 9.42.4
4
12
 
5
13
  ### Patch Changes
package/README.md CHANGED
@@ -17,7 +17,14 @@ This guide outlines two primary use cases for integrating with the collab-provid
17
17
  - `NullDocumentService` from `null-document-service.ts`
18
18
  - `NullApi` from `null-api.ts`
19
19
 
20
- For a detailed comparison of these integration approaches, refer to the source code in `../platform/packages/editor/collab-provider/src/provider/index.ts`.
20
+ For a detailed comparison of these integration approaches, refer to the source code in `../platform/packages/editor/collab-provider/src/provider/index.ts`
21
+ ```
22
+ // Full integration
23
+ - setup({getState, onSyncUpError}: {getState: () => EditorState; onSyncUpError?: SyncUpErrorFunction;})
24
+
25
+ // Partial Integration, initialize the provider with passing config isPresenceOnly as true
26
+ - setupForPresenceOnly(clientId: string)
27
+ ```
21
28
 
22
29
  # Support
23
30
  If you have further questions or require assistance, please reach out to the [#team-cc-editor-services](https://atlassian.enterprise.slack.com/archives/C02GEULKMLN) on Slack.
@@ -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 = "9.42.4";
8
+ var version = exports.version = "9.42.5";
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 = "9.42.4";
2
+ export const version = "9.42.5";
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 = "9.42.4";
2
+ export var version = "9.42.5";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/collab-provider",
3
- "version": "9.42.4",
3
+ "version": "9.42.5",
4
4
  "description": "A provider for collaborative editing.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"