@atlaskit/collab-provider 9.44.1 → 9.45.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 +12 -0
- package/afm-jira/tsconfig.json +44 -44
- package/dist/cjs/participants/participants-helper.js +2 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/participants/participants-helper.js +2 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/participants/participants-helper.js +2 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/participants/participants-helper.d.ts +1 -1
- package/dist/types-ts4.5/participants/participants-helper.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/collab-provider
|
|
2
2
|
|
|
3
|
+
## 9.45.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#163776](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163776)
|
|
8
|
+
[`45d76610f271d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/45d76610f271d) -
|
|
9
|
+
Add support for optional property, isGuest, on CollabProvider
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 9.44.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.jira.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__collab-provider/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-gas-types/afm-jira/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../analytics/analytics-listeners/afm-jira/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../editor-common/afm-jira/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../editor-json-transformer/afm-jira/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../prosemirror-collab/afm-jira/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../data/ufo-external/afm-jira/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../elements/util-service-support/afm-jira/tsconfig.json"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -30,7 +30,8 @@ var createParticipantFromPayload = exports.createParticipantFromPayload = /*#__P
|
|
|
30
30
|
lastActive: timestamp,
|
|
31
31
|
userId: userId,
|
|
32
32
|
clientId: clientId,
|
|
33
|
-
permit: permit
|
|
33
|
+
permit: permit,
|
|
34
|
+
isGuest: user === null || user === void 0 ? void 0 : user.isGuest
|
|
34
35
|
};
|
|
35
36
|
return _context.abrupt("return", participant);
|
|
36
37
|
case 6:
|
|
@@ -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.
|
|
8
|
+
var version = exports.version = "9.45.0";
|
|
9
9
|
var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
|
|
10
10
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
11
11
|
};
|
|
@@ -23,7 +23,8 @@ export var createParticipantFromPayload = /*#__PURE__*/function () {
|
|
|
23
23
|
lastActive: timestamp,
|
|
24
24
|
userId: userId,
|
|
25
25
|
clientId: clientId,
|
|
26
|
-
permit: permit
|
|
26
|
+
permit: permit,
|
|
27
|
+
isGuest: user === null || user === void 0 ? void 0 : user.isGuest
|
|
27
28
|
};
|
|
28
29
|
return _context.abrupt("return", participant);
|
|
29
30
|
case 6:
|
|
@@ -2,7 +2,7 @@ import type { PresencePayload } from '../types';
|
|
|
2
2
|
import type { ProviderParticipant } from '@atlaskit/editor-common/collab';
|
|
3
3
|
export declare const PARTICIPANT_UPDATE_INTERVAL: number;
|
|
4
4
|
export type ParticipantsMap = Map<string, ProviderParticipant>;
|
|
5
|
-
export type GetUserType = ((userId: string) => Promise<Pick<ProviderParticipant, 'name' | 'avatar' | 'userId' | 'email'>>) | undefined;
|
|
5
|
+
export type GetUserType = ((userId: string) => Promise<Pick<ProviderParticipant, 'name' | 'avatar' | 'userId' | 'email' | 'isGuest'>>) | undefined;
|
|
6
6
|
export declare const createParticipantFromPayload: (payload: import("../types").PresenceData & {
|
|
7
7
|
timestamp: number;
|
|
8
8
|
} & {
|
|
@@ -2,7 +2,7 @@ import type { PresencePayload } from '../types';
|
|
|
2
2
|
import type { ProviderParticipant } from '@atlaskit/editor-common/collab';
|
|
3
3
|
export declare const PARTICIPANT_UPDATE_INTERVAL: number;
|
|
4
4
|
export type ParticipantsMap = Map<string, ProviderParticipant>;
|
|
5
|
-
export type GetUserType = ((userId: string) => Promise<Pick<ProviderParticipant, 'name' | 'avatar' | 'userId' | 'email'>>) | undefined;
|
|
5
|
+
export type GetUserType = ((userId: string) => Promise<Pick<ProviderParticipant, 'name' | 'avatar' | 'userId' | 'email' | 'isGuest'>>) | undefined;
|
|
6
6
|
export declare const createParticipantFromPayload: (payload: import("../types").PresenceData & {
|
|
7
7
|
timestamp: number;
|
|
8
8
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/collab-provider",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.45.0",
|
|
4
4
|
"description": "A provider for collaborative editing.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
36
36
|
"@atlaskit/analytics-listeners": "^8.11.0",
|
|
37
|
-
"@atlaskit/editor-common": "^94.
|
|
38
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
37
|
+
"@atlaskit/editor-common": "^94.20.0",
|
|
38
|
+
"@atlaskit/editor-json-transformer": "^8.21.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
41
41
|
"@atlaskit/prosemirror-collab": "^0.10.0",
|