@atlaskit/collab-provider 9.6.2 → 9.6.3

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,11 @@
1
1
  # @atlaskit/collab-provider
2
2
 
3
+ ## 9.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`857daf603b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/857daf603b0) - ESS-3718: change CollabEventPresenceData joined type to ProviderParticipant
8
+
3
9
  ## 9.6.2
4
10
 
5
11
  ### Patch Changes
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = "@atlaskit/collab-provider";
8
8
  exports.name = name;
9
- var version = "9.6.2";
9
+ var version = "9.6.3";
10
10
  exports.version = version;
11
11
  var nextMajorVersion = function nextMajorVersion() {
12
12
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/collab-provider",
3
- "version": "9.6.2",
3
+ "version": "9.6.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/collab-provider";
2
- export const version = "9.6.2";
2
+ export const version = "9.6.3";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/collab-provider",
3
- "version": "9.6.2",
3
+ "version": "9.6.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/collab-provider";
2
- export var version = "9.6.2";
2
+ export var version = "9.6.3";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/collab-provider",
3
- "version": "9.6.2",
3
+ "version": "9.6.3",
4
4
  "sideEffects": false
5
5
  }
@@ -8,7 +8,8 @@ import type { ProviderError } from './errors/error-types';
8
8
  import { JSONDocNode } from '@atlaskit/editor-json-transformer';
9
9
  import { GetUserType } from './participants/participants-helper';
10
10
  import AnalyticsHelper from './analytics/analytics-helper';
11
- export type { ProviderParticipant } from './participants/participants-helper';
11
+ import type { ProviderParticipant } from './participants/participants-helper';
12
+ export { ProviderParticipant };
12
13
  export interface CollabParticipant {
13
14
  lastActive: number;
14
15
  sessionId: string;
@@ -40,7 +41,7 @@ export interface CollabEventDisconnectedData {
40
41
  reason: 'CLIENT_DISCONNECT' | 'SERVER_DISCONNECT' | 'SOCKET_CLOSED' | 'SOCKET_ERROR' | 'SOCKET_TIMEOUT' | 'UNKNOWN_DISCONNECT';
41
42
  }
42
43
  export interface CollabEventPresenceData {
43
- joined?: CollabParticipant[];
44
+ joined?: ProviderParticipant[];
44
45
  left?: {
45
46
  sessionId: string;
46
47
  }[];
@@ -8,7 +8,8 @@ import type { ProviderError } from './errors/error-types';
8
8
  import { JSONDocNode } from '@atlaskit/editor-json-transformer';
9
9
  import { GetUserType } from './participants/participants-helper';
10
10
  import AnalyticsHelper from './analytics/analytics-helper';
11
- export type { ProviderParticipant } from './participants/participants-helper';
11
+ import type { ProviderParticipant } from './participants/participants-helper';
12
+ export { ProviderParticipant };
12
13
  export interface CollabParticipant {
13
14
  lastActive: number;
14
15
  sessionId: string;
@@ -40,7 +41,7 @@ export interface CollabEventDisconnectedData {
40
41
  reason: 'CLIENT_DISCONNECT' | 'SERVER_DISCONNECT' | 'SOCKET_CLOSED' | 'SOCKET_ERROR' | 'SOCKET_TIMEOUT' | 'UNKNOWN_DISCONNECT';
41
42
  }
42
43
  export interface CollabEventPresenceData {
43
- joined?: CollabParticipant[];
44
+ joined?: ProviderParticipant[];
44
45
  left?: {
45
46
  sessionId: string;
46
47
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/collab-provider",
3
- "version": "9.6.2",
3
+ "version": "9.6.3",
4
4
  "description": "A provider for collaborative editing.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -61,7 +61,7 @@
61
61
  }
62
62
  },
63
63
  "devDependencies": {
64
- "@atlaskit/adf-schema": "^26.1.0",
64
+ "@atlaskit/adf-schema": "^26.2.0",
65
65
  "@atlaskit/analytics-listeners": "^8.7.0",
66
66
  "@atlaskit/editor-test-helpers": "^18.10.0",
67
67
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
package/report.api.md CHANGED
@@ -141,7 +141,7 @@ export interface CollabEventLocalStepData {
141
141
  // @public (undocumented)
142
142
  export interface CollabEventPresenceData {
143
143
  // (undocumented)
144
- joined?: CollabParticipant[];
144
+ joined?: ProviderParticipant[];
145
145
  // (undocumented)
146
146
  left?: {
147
147
  sessionId: string;
@@ -117,7 +117,7 @@ export interface CollabEventLocalStepData {
117
117
  // @public (undocumented)
118
118
  export interface CollabEventPresenceData {
119
119
  // (undocumented)
120
- joined?: CollabParticipant[];
120
+ joined?: ProviderParticipant[];
121
121
  // (undocumented)
122
122
  left?: {
123
123
  sessionId: string;