@atlaskit/collab-provider 21.1.2 → 21.1.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 +6 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/channel.d.ts +1 -1
- package/dist/types/feature-flags/types.d.ts +1 -1
- package/dist/types/participants/participants-service.d.ts +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -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 = "21.1.
|
|
8
|
+
var version = exports.version = "21.1.2";
|
|
9
9
|
var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
|
|
10
10
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
11
11
|
};
|
package/dist/types/channel.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare class Channel extends Emitter<ChannelEvent> {
|
|
|
55
55
|
* @throws {NotInitializedError} Channel not initialized
|
|
56
56
|
* @throws {NotConnectedError} Channel not connected
|
|
57
57
|
*/
|
|
58
|
-
broadcast: <K extends keyof ChannelEvent>(type: K, data: Omit<ChannelEvent[K],
|
|
58
|
+
broadcast: <K extends keyof ChannelEvent>(type: K, data: Omit<ChannelEvent[K], 'timestamp'>, callback?: Function) => void;
|
|
59
59
|
/**
|
|
60
60
|
* Send metadata to the back-end service over the channel
|
|
61
61
|
* @throws {NotInitializedError} Channel not initialized
|
|
@@ -6,6 +6,6 @@ export interface WithNCSFeatureFlags {
|
|
|
6
6
|
}
|
|
7
7
|
export type RequiredNCSFeatureFlags = Record<keyof Required<NCSFeatureFlags>, boolean>;
|
|
8
8
|
export type NCSFeatureFlagsMap = Record<keyof Required<NCSFeatureFlags>, string>;
|
|
9
|
-
export declare const supportedProducts: readonly [
|
|
9
|
+
export declare const supportedProducts: readonly ['confluence'];
|
|
10
10
|
export type SupportedProduct = (typeof supportedProducts)[number];
|
|
11
11
|
export type ProductKeys = Record<SupportedProduct, NCSFeatureFlagsMap>;
|
|
@@ -53,7 +53,7 @@ export declare class ParticipantsService {
|
|
|
53
53
|
constructor(analyticsHelper: AnalyticsHelper | undefined, participantsState: ParticipantsState | undefined, emit: (evt: 'presence' | 'telepointer' | 'disconnected' | 'presence:changed', data: CollabEventPresenceData | CollabTelepointerPayload | CollabEventDisconnectedData | CollabPresenceActivityChangePayload) => void, getUser: GetUserType, batchProps: BatchProps | undefined, channelBroadcast: <K extends keyof ChannelEvent>(type: K, data: Omit<ChannelEvent[K], 'timestamp'>, callback?: Function) => void, sendPresenceJoined: () => void, getPresenceData: () => PresenceData, setUserId: (id: string) => void, getAIProviderActiveIds?: (() => string[]) | undefined, fetchAnonymousAsset?: FetchAnonymousAsset | undefined);
|
|
54
54
|
sendPresenceActivityChanged: () => void;
|
|
55
55
|
sendAIProviderChanged: (payload: {
|
|
56
|
-
action:
|
|
56
|
+
action: 'add' | 'remove';
|
|
57
57
|
clientId: string | number;
|
|
58
58
|
permit?: UserPermitType;
|
|
59
59
|
providerId?: string;
|
|
@@ -237,5 +237,5 @@ export declare class ParticipantsService {
|
|
|
237
237
|
getUniqueParticipantSize: () => number;
|
|
238
238
|
getUniqueParticipants: (filter: ParticipantFilter) => ProviderParticipant[];
|
|
239
239
|
getAIProviderParticipants: () => ProviderParticipant[];
|
|
240
|
-
getCollabMode: () =>
|
|
240
|
+
getCollabMode: () => 'collab' | 'single';
|
|
241
241
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/collab-provider",
|
|
3
|
-
"version": "21.1.
|
|
3
|
+
"version": "21.1.3",
|
|
4
4
|
"description": "A provider for collaborative editing.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
30
30
|
"@atlaskit/prosemirror-collab": "^1.0.0",
|
|
31
31
|
"@atlaskit/react-ufo": "^7.3.0",
|
|
32
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
32
|
+
"@atlaskit/tmp-editor-statsig": "^135.0.0",
|
|
33
33
|
"@atlaskit/ufo": "^1.0.0",
|
|
34
34
|
"@atlaskit/util-service-support": "^7.2.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
@@ -71,6 +71,6 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@atlaskit/editor-common": "^116.
|
|
74
|
+
"@atlaskit/editor-common": "^116.41.0"
|
|
75
75
|
}
|
|
76
76
|
}
|