@atlaskit/collab-provider 9.42.0 → 9.42.2

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
+ ## 9.42.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#147660](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/147660)
8
+ [`9b66ba02b702e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9b66ba02b702e) -
9
+ Add README.md to guide integrating with collab-provider
10
+
11
+ ## 9.42.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 9.42.0
4
18
 
5
19
  ### Minor Changes
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # Integrating with Collab-Provider
2
+ This guide outlines two primary use cases for integrating with the collab-provider.
3
+
4
+ # Use Cases
5
+ 1. Full Integration: FE Events and BE API Calls
6
+ - For scenarios requiring both front-end events and back-end API interactions, the back-end APIs are hosted by `pf-collab-service`. To determine if API calls are necessary, please refer to the [OpenAPI documentation](https://bitbucket.org/atlassian/pf-collab-service/src/c25a7614f30c68cae50b8f8da827a844c4ccecc2/openapi.yaml#openapi.yaml), specifically under the `Service to Service` section.
7
+ 2. Partial Integration: FE Events Only
8
+ - For scenarios where only front-end events are needed, without back-end API interactions.
9
+
10
+ # Integration Details
11
+ 1. Full Integration: FE Events and BE API Calls
12
+ - Ensure the provider is initialized with:
13
+ - `DocumentService` from `document-service.ts`
14
+ - `Api` from `api.ts`
15
+ 2. Partial Integration: FE Events Only
16
+ - Ensure the provider is initialized with:
17
+ - `NullDocumentService` from `null-document-service.ts`
18
+ - `NullApi` from `null-api.ts`
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`.
21
+
22
+ # Support
23
+ 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.0";
8
+ var version = exports.version = "9.42.2";
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.0";
2
+ export const version = "9.42.2";
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.0";
2
+ export var version = "9.42.2";
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.0",
3
+ "version": "9.42.2",
4
4
  "description": "A provider for collaborative editing.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@atlaskit/analytics-gas-types": "^5.1.0",
36
36
  "@atlaskit/analytics-listeners": "^8.11.0",
37
- "@atlaskit/editor-common": "^91.1.0",
37
+ "@atlaskit/editor-common": "^92.1.0",
38
38
  "@atlaskit/editor-json-transformer": "^8.18.0",
39
39
  "@atlaskit/editor-prosemirror": "6.0.0",
40
40
  "@atlaskit/platform-feature-flags": "^0.3.0",