@atlaskit/collab-provider 10.20.4 → 10.20.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 +6 -0
- package/dist/cjs/document/document-service.js +10 -8
- package/dist/cjs/helpers/const.js +1 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/document/document-service.js +10 -8
- package/dist/es2019/helpers/const.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/document/document-service.js +10 -8
- package/dist/esm/helpers/const.js +1 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/helpers/const.d.ts +9 -2
- package/dist/types-ts4.5/helpers/const.d.ts +9 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -900,6 +900,7 @@ var DocumentService = exports.DocumentService = /*#__PURE__*/function () {
|
|
|
900
900
|
logger("Processing data. Version \"".concat(version, "\"."));
|
|
901
901
|
if (steps !== null && steps !== void 0 && steps.length) {
|
|
902
902
|
try {
|
|
903
|
+
var _this$analyticsHelper33;
|
|
903
904
|
var clientIds = steps.map(function (_ref1) {
|
|
904
905
|
var clientId = _ref1.clientId;
|
|
905
906
|
return clientId;
|
|
@@ -921,12 +922,13 @@ var DocumentService = exports.DocumentService = /*#__PURE__*/function () {
|
|
|
921
922
|
return _this2.sendStepsFromCurrentState();
|
|
922
923
|
}, 100);
|
|
923
924
|
}
|
|
925
|
+
(_this$analyticsHelper33 = this.analyticsHelper) === null || _this$analyticsHelper33 === void 0 || _this$analyticsHelper33.sendActionEvent(_const.EVENT_ACTION.PROCESS_STEPS, _const.EVENT_STATUS.SUCCESS);
|
|
924
926
|
} catch (error) {
|
|
925
|
-
var _this$
|
|
927
|
+
var _this$analyticsHelper34;
|
|
926
928
|
// ESS-6421: log if error processing steps when there are steps from the same userId but not the same clientId
|
|
927
929
|
var userIdMatch = this.isStepsFromNewClientIdForSameUserId(steps);
|
|
928
930
|
logger("Processing steps failed with error: ".concat(error, ". Triggering catch up call."));
|
|
929
|
-
(_this$
|
|
931
|
+
(_this$analyticsHelper34 = this.analyticsHelper) === null || _this$analyticsHelper34 === void 0 || _this$analyticsHelper34.sendErrorEvent(error, userIdMatch ? "Error while processing steps with new clientId" : "Error while processing steps");
|
|
930
932
|
this.throttledCatchupv2(_const.CatchupEventReason.PROCESS_STEPS);
|
|
931
933
|
}
|
|
932
934
|
}
|
|
@@ -978,8 +980,8 @@ var DocumentService = exports.DocumentService = /*#__PURE__*/function () {
|
|
|
978
980
|
var _this$getState9;
|
|
979
981
|
var state = (_this$getState9 = this.getState) === null || _this$getState9 === void 0 ? void 0 : _this$getState9.call(this);
|
|
980
982
|
if (!state) {
|
|
981
|
-
var _this$
|
|
982
|
-
(_this$
|
|
983
|
+
var _this$analyticsHelper35;
|
|
984
|
+
(_this$analyticsHelper35 = this.analyticsHelper) === null || _this$analyticsHelper35 === void 0 || _this$analyticsHelper35.sendErrorEvent(new Error('Editor state is undefined'), 'sendStepsFromCurrentState called without state');
|
|
983
985
|
return;
|
|
984
986
|
}
|
|
985
987
|
this.send(null, null, state, sendAnalyticsEvent, reason);
|
|
@@ -1018,8 +1020,8 @@ var DocumentService = exports.DocumentService = /*#__PURE__*/function () {
|
|
|
1018
1020
|
// to ensure that analytics events with the number of unconfirmed steps is only
|
|
1019
1021
|
// sent once on connection (as opposed to on every step)
|
|
1020
1022
|
if (sendAnalyticsEvent) {
|
|
1021
|
-
var _this$
|
|
1022
|
-
(_this$
|
|
1023
|
+
var _this$analyticsHelper36;
|
|
1024
|
+
(_this$analyticsHelper36 = this.analyticsHelper) === null || _this$analyticsHelper36 === void 0 || _this$analyticsHelper36.sendActionEvent(_const.EVENT_ACTION.HAS_UNCONFIRMED_STEPS, _const.EVENT_STATUS.INFO, {
|
|
1023
1025
|
numUnconfirmedSteps: (unconfirmedSteps === null || unconfirmedSteps === void 0 ? void 0 : unconfirmedSteps.length) || 0
|
|
1024
1026
|
});
|
|
1025
1027
|
}
|
|
@@ -1028,12 +1030,12 @@ var DocumentService = exports.DocumentService = /*#__PURE__*/function () {
|
|
|
1028
1030
|
}
|
|
1029
1031
|
var rebased = tr === null || tr === void 0 ? void 0 : tr.getMeta('rebasedData');
|
|
1030
1032
|
if (rebased) {
|
|
1031
|
-
var _this$
|
|
1033
|
+
var _this$analyticsHelper37;
|
|
1032
1034
|
var obfuscatedUnconfirmedSteps = this.obfuscateStepsAndState(rebased.unconfirmedSteps).obfuscatedSteps;
|
|
1033
1035
|
var obfuscatedRemoteSteps = this.obfuscateStepsAndState(rebased.remoteSteps);
|
|
1034
1036
|
var obfuscatedRebasedSteps = this.obfuscateStepsAndState(unconfirmedSteps).obfuscatedSteps;
|
|
1035
1037
|
// send analtyics on unconfirmed steps
|
|
1036
|
-
(_this$
|
|
1038
|
+
(_this$analyticsHelper37 = this.analyticsHelper) === null || _this$analyticsHelper37 === void 0 || _this$analyticsHelper37.sendActionEvent(_const.EVENT_ACTION.STEPS_REBASED, _const.EVENT_STATUS.INFO, {
|
|
1037
1039
|
obfuscatedUnconfirmedSteps: obfuscatedUnconfirmedSteps,
|
|
1038
1040
|
obfuscatedRemoteSteps: obfuscatedRemoteSteps,
|
|
1039
1041
|
obfuscatedRebasedSteps: obfuscatedRebasedSteps,
|
|
@@ -50,6 +50,7 @@ var EVENT_ACTION = exports.EVENT_ACTION = /*#__PURE__*/function (EVENT_ACTION) {
|
|
|
50
50
|
EVENT_ACTION["STEPS_REBASED"] = "stepsRebased";
|
|
51
51
|
// https://data-portal.internal.atlassian.com/analytics/registry/76616
|
|
52
52
|
EVENT_ACTION["POLLING_FALLBACK"] = "pollingFallback";
|
|
53
|
+
EVENT_ACTION["PROCESS_STEPS"] = "processSteps"; // https://data-portal.internal.atlassian.com/analytics/registry/85229
|
|
53
54
|
return EVENT_ACTION;
|
|
54
55
|
}({});
|
|
55
56
|
var EVENT_STATUS = exports.EVENT_STATUS = /*#__PURE__*/function (EVENT_STATUS) {
|
|
@@ -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 = "10.20.
|
|
8
|
+
var version = exports.version = "10.20.4";
|
|
9
9
|
var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
|
|
10
10
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
11
11
|
};
|
|
@@ -780,6 +780,7 @@ export class DocumentService {
|
|
|
780
780
|
logger(`Processing data. Version "${version}".`);
|
|
781
781
|
if (steps !== null && steps !== void 0 && steps.length) {
|
|
782
782
|
try {
|
|
783
|
+
var _this$analyticsHelper33;
|
|
783
784
|
const clientIds = steps.map(({
|
|
784
785
|
clientId
|
|
785
786
|
}) => clientId);
|
|
@@ -798,12 +799,13 @@ export class DocumentService {
|
|
|
798
799
|
if (clientIds.indexOf(this.clientId) === -1) {
|
|
799
800
|
setTimeout(() => this.sendStepsFromCurrentState(), 100);
|
|
800
801
|
}
|
|
802
|
+
(_this$analyticsHelper33 = this.analyticsHelper) === null || _this$analyticsHelper33 === void 0 ? void 0 : _this$analyticsHelper33.sendActionEvent(EVENT_ACTION.PROCESS_STEPS, EVENT_STATUS.SUCCESS);
|
|
801
803
|
} catch (error) {
|
|
802
|
-
var _this$
|
|
804
|
+
var _this$analyticsHelper34;
|
|
803
805
|
// ESS-6421: log if error processing steps when there are steps from the same userId but not the same clientId
|
|
804
806
|
const userIdMatch = this.isStepsFromNewClientIdForSameUserId(steps);
|
|
805
807
|
logger(`Processing steps failed with error: ${error}. Triggering catch up call.`);
|
|
806
|
-
(_this$
|
|
808
|
+
(_this$analyticsHelper34 = this.analyticsHelper) === null || _this$analyticsHelper34 === void 0 ? void 0 : _this$analyticsHelper34.sendErrorEvent(error, userIdMatch ? `Error while processing steps with new clientId` : `Error while processing steps`);
|
|
807
809
|
this.throttledCatchupv2(CatchupEventReason.PROCESS_STEPS);
|
|
808
810
|
}
|
|
809
811
|
}
|
|
@@ -848,8 +850,8 @@ export class DocumentService {
|
|
|
848
850
|
var _this$getState9;
|
|
849
851
|
const state = (_this$getState9 = this.getState) === null || _this$getState9 === void 0 ? void 0 : _this$getState9.call(this);
|
|
850
852
|
if (!state) {
|
|
851
|
-
var _this$
|
|
852
|
-
(_this$
|
|
853
|
+
var _this$analyticsHelper35;
|
|
854
|
+
(_this$analyticsHelper35 = this.analyticsHelper) === null || _this$analyticsHelper35 === void 0 ? void 0 : _this$analyticsHelper35.sendErrorEvent(new Error('Editor state is undefined'), 'sendStepsFromCurrentState called without state');
|
|
853
855
|
return;
|
|
854
856
|
}
|
|
855
857
|
this.send(null, null, state, sendAnalyticsEvent, reason);
|
|
@@ -885,8 +887,8 @@ export class DocumentService {
|
|
|
885
887
|
// to ensure that analytics events with the number of unconfirmed steps is only
|
|
886
888
|
// sent once on connection (as opposed to on every step)
|
|
887
889
|
if (sendAnalyticsEvent) {
|
|
888
|
-
var _this$
|
|
889
|
-
(_this$
|
|
890
|
+
var _this$analyticsHelper36;
|
|
891
|
+
(_this$analyticsHelper36 = this.analyticsHelper) === null || _this$analyticsHelper36 === void 0 ? void 0 : _this$analyticsHelper36.sendActionEvent(EVENT_ACTION.HAS_UNCONFIRMED_STEPS, EVENT_STATUS.INFO, {
|
|
890
892
|
numUnconfirmedSteps: (unconfirmedSteps === null || unconfirmedSteps === void 0 ? void 0 : unconfirmedSteps.length) || 0
|
|
891
893
|
});
|
|
892
894
|
}
|
|
@@ -895,12 +897,12 @@ export class DocumentService {
|
|
|
895
897
|
}
|
|
896
898
|
const rebased = tr === null || tr === void 0 ? void 0 : tr.getMeta('rebasedData');
|
|
897
899
|
if (rebased) {
|
|
898
|
-
var _this$
|
|
900
|
+
var _this$analyticsHelper37;
|
|
899
901
|
const obfuscatedUnconfirmedSteps = this.obfuscateStepsAndState(rebased.unconfirmedSteps).obfuscatedSteps;
|
|
900
902
|
const obfuscatedRemoteSteps = this.obfuscateStepsAndState(rebased.remoteSteps);
|
|
901
903
|
const obfuscatedRebasedSteps = this.obfuscateStepsAndState(unconfirmedSteps).obfuscatedSteps;
|
|
902
904
|
// send analtyics on unconfirmed steps
|
|
903
|
-
(_this$
|
|
905
|
+
(_this$analyticsHelper37 = this.analyticsHelper) === null || _this$analyticsHelper37 === void 0 ? void 0 : _this$analyticsHelper37.sendActionEvent(EVENT_ACTION.STEPS_REBASED, EVENT_STATUS.INFO, {
|
|
904
906
|
obfuscatedUnconfirmedSteps,
|
|
905
907
|
obfuscatedRemoteSteps,
|
|
906
908
|
obfuscatedRebasedSteps,
|
|
@@ -44,6 +44,7 @@ export let EVENT_ACTION = /*#__PURE__*/function (EVENT_ACTION) {
|
|
|
44
44
|
EVENT_ACTION["STEPS_REBASED"] = "stepsRebased";
|
|
45
45
|
// https://data-portal.internal.atlassian.com/analytics/registry/76616
|
|
46
46
|
EVENT_ACTION["POLLING_FALLBACK"] = "pollingFallback";
|
|
47
|
+
EVENT_ACTION["PROCESS_STEPS"] = "processSteps"; // https://data-portal.internal.atlassian.com/analytics/registry/85229
|
|
47
48
|
return EVENT_ACTION;
|
|
48
49
|
}({});
|
|
49
50
|
export let EVENT_STATUS = /*#__PURE__*/function (EVENT_STATUS) {
|
|
@@ -893,6 +893,7 @@ export var DocumentService = /*#__PURE__*/function () {
|
|
|
893
893
|
logger("Processing data. Version \"".concat(version, "\"."));
|
|
894
894
|
if (steps !== null && steps !== void 0 && steps.length) {
|
|
895
895
|
try {
|
|
896
|
+
var _this$analyticsHelper33;
|
|
896
897
|
var clientIds = steps.map(function (_ref1) {
|
|
897
898
|
var clientId = _ref1.clientId;
|
|
898
899
|
return clientId;
|
|
@@ -914,12 +915,13 @@ export var DocumentService = /*#__PURE__*/function () {
|
|
|
914
915
|
return _this2.sendStepsFromCurrentState();
|
|
915
916
|
}, 100);
|
|
916
917
|
}
|
|
918
|
+
(_this$analyticsHelper33 = this.analyticsHelper) === null || _this$analyticsHelper33 === void 0 || _this$analyticsHelper33.sendActionEvent(EVENT_ACTION.PROCESS_STEPS, EVENT_STATUS.SUCCESS);
|
|
917
919
|
} catch (error) {
|
|
918
|
-
var _this$
|
|
920
|
+
var _this$analyticsHelper34;
|
|
919
921
|
// ESS-6421: log if error processing steps when there are steps from the same userId but not the same clientId
|
|
920
922
|
var userIdMatch = this.isStepsFromNewClientIdForSameUserId(steps);
|
|
921
923
|
logger("Processing steps failed with error: ".concat(error, ". Triggering catch up call."));
|
|
922
|
-
(_this$
|
|
924
|
+
(_this$analyticsHelper34 = this.analyticsHelper) === null || _this$analyticsHelper34 === void 0 || _this$analyticsHelper34.sendErrorEvent(error, userIdMatch ? "Error while processing steps with new clientId" : "Error while processing steps");
|
|
923
925
|
this.throttledCatchupv2(CatchupEventReason.PROCESS_STEPS);
|
|
924
926
|
}
|
|
925
927
|
}
|
|
@@ -971,8 +973,8 @@ export var DocumentService = /*#__PURE__*/function () {
|
|
|
971
973
|
var _this$getState9;
|
|
972
974
|
var state = (_this$getState9 = this.getState) === null || _this$getState9 === void 0 ? void 0 : _this$getState9.call(this);
|
|
973
975
|
if (!state) {
|
|
974
|
-
var _this$
|
|
975
|
-
(_this$
|
|
976
|
+
var _this$analyticsHelper35;
|
|
977
|
+
(_this$analyticsHelper35 = this.analyticsHelper) === null || _this$analyticsHelper35 === void 0 || _this$analyticsHelper35.sendErrorEvent(new Error('Editor state is undefined'), 'sendStepsFromCurrentState called without state');
|
|
976
978
|
return;
|
|
977
979
|
}
|
|
978
980
|
this.send(null, null, state, sendAnalyticsEvent, reason);
|
|
@@ -1011,8 +1013,8 @@ export var DocumentService = /*#__PURE__*/function () {
|
|
|
1011
1013
|
// to ensure that analytics events with the number of unconfirmed steps is only
|
|
1012
1014
|
// sent once on connection (as opposed to on every step)
|
|
1013
1015
|
if (sendAnalyticsEvent) {
|
|
1014
|
-
var _this$
|
|
1015
|
-
(_this$
|
|
1016
|
+
var _this$analyticsHelper36;
|
|
1017
|
+
(_this$analyticsHelper36 = this.analyticsHelper) === null || _this$analyticsHelper36 === void 0 || _this$analyticsHelper36.sendActionEvent(EVENT_ACTION.HAS_UNCONFIRMED_STEPS, EVENT_STATUS.INFO, {
|
|
1016
1018
|
numUnconfirmedSteps: (unconfirmedSteps === null || unconfirmedSteps === void 0 ? void 0 : unconfirmedSteps.length) || 0
|
|
1017
1019
|
});
|
|
1018
1020
|
}
|
|
@@ -1021,12 +1023,12 @@ export var DocumentService = /*#__PURE__*/function () {
|
|
|
1021
1023
|
}
|
|
1022
1024
|
var rebased = tr === null || tr === void 0 ? void 0 : tr.getMeta('rebasedData');
|
|
1023
1025
|
if (rebased) {
|
|
1024
|
-
var _this$
|
|
1026
|
+
var _this$analyticsHelper37;
|
|
1025
1027
|
var obfuscatedUnconfirmedSteps = this.obfuscateStepsAndState(rebased.unconfirmedSteps).obfuscatedSteps;
|
|
1026
1028
|
var obfuscatedRemoteSteps = this.obfuscateStepsAndState(rebased.remoteSteps);
|
|
1027
1029
|
var obfuscatedRebasedSteps = this.obfuscateStepsAndState(unconfirmedSteps).obfuscatedSteps;
|
|
1028
1030
|
// send analtyics on unconfirmed steps
|
|
1029
|
-
(_this$
|
|
1031
|
+
(_this$analyticsHelper37 = this.analyticsHelper) === null || _this$analyticsHelper37 === void 0 || _this$analyticsHelper37.sendActionEvent(EVENT_ACTION.STEPS_REBASED, EVENT_STATUS.INFO, {
|
|
1030
1032
|
obfuscatedUnconfirmedSteps: obfuscatedUnconfirmedSteps,
|
|
1031
1033
|
obfuscatedRemoteSteps: obfuscatedRemoteSteps,
|
|
1032
1034
|
obfuscatedRebasedSteps: obfuscatedRebasedSteps,
|
|
@@ -44,6 +44,7 @@ export var EVENT_ACTION = /*#__PURE__*/function (EVENT_ACTION) {
|
|
|
44
44
|
EVENT_ACTION["STEPS_REBASED"] = "stepsRebased";
|
|
45
45
|
// https://data-portal.internal.atlassian.com/analytics/registry/76616
|
|
46
46
|
EVENT_ACTION["POLLING_FALLBACK"] = "pollingFallback";
|
|
47
|
+
EVENT_ACTION["PROCESS_STEPS"] = "processSteps"; // https://data-portal.internal.atlassian.com/analytics/registry/85229
|
|
47
48
|
return EVENT_ACTION;
|
|
48
49
|
}({});
|
|
49
50
|
export var EVENT_STATUS = /*#__PURE__*/function (EVENT_STATUS) {
|
|
@@ -22,7 +22,8 @@ export declare enum EVENT_ACTION {
|
|
|
22
22
|
HAS_UNCONFIRMED_STEPS = "hasUnconfirmedSteps",// https://data-portal.internal.atlassian.com/analytics/registry/56141
|
|
23
23
|
OUT_OF_SYNC = "outOfSync",// https://data-portal.internal.atlassian.com/analytics/registry/74993
|
|
24
24
|
STEPS_REBASED = "stepsRebased",// https://data-portal.internal.atlassian.com/analytics/registry/76616
|
|
25
|
-
POLLING_FALLBACK = "pollingFallback"
|
|
25
|
+
POLLING_FALLBACK = "pollingFallback",
|
|
26
|
+
PROCESS_STEPS = "processSteps"
|
|
26
27
|
}
|
|
27
28
|
export declare enum EVENT_STATUS {
|
|
28
29
|
SUCCESS = "SUCCESS",
|
|
@@ -303,7 +304,13 @@ type PollingFallbackAnalyticsEvent = {
|
|
|
303
304
|
url: 'string';
|
|
304
305
|
} & BaseActionAnalyticsEventAttributes;
|
|
305
306
|
};
|
|
306
|
-
|
|
307
|
+
type ProcessStepsAnalyticsEvent = {
|
|
308
|
+
eventAction: EVENT_ACTION.PROCESS_STEPS;
|
|
309
|
+
attributes: {
|
|
310
|
+
eventStatus: EVENT_STATUS.SUCCESS;
|
|
311
|
+
} & BaseActionAnalyticsEventAttributes;
|
|
312
|
+
};
|
|
313
|
+
export type ActionAnalyticsEvent = AddStepsSuccessAnalyticsEvent | AddStepsFailureAnalyticsEvent | ReInitDocFailAnalyticsEvent | ReInitDocSuccessAnalyticsEvent | ConnectionSuccessAnalyticsEvent | ConnectionFailureAnalyticsEvent | CatchUpSuccessAnalyticsEvent | CatchUpFailureAnalyticsEvent | DocumentInitSuccessAnalyticsEvent | UpdateParticipantsSuccessAnalyticsEvent | CommitUnconfirmedStepsSuccessAnalyticsEvent | CommitUnconfirmedStepsFailureAnalyticsEvent | PublishPageSuccessAnalyticsEvent | PublishPageFailureAnalyticsEvent | GetCurrentStateSuccessAnalyticsEvent | GetCurrentStateFailureAnalyticsEvent | InvalidateTokenAnalyticsEvent | SendStepsRetryAnalyticsEvent | CatchupAfterMaxSendStepsRetryAnalyticsEvent | CatchUpDroppedStepsEvent | WebsocketMessageVolumeMetricEvent | ProviderInitializedAnalyticsEvent | ProviderSetupAnalyticsEvent | ProviderHasUnconfirmedStepsAnalyticsEvent | UpdateDocumentAnalyticsEvent | ReconnectionAnalyticsEvent | OutOfSyncAnalyticsEvent | StepsRebasedAnalyticsEvent | PollingFallbackAnalyticsEvent | ProcessStepsAnalyticsEvent;
|
|
307
314
|
export declare const ACK_MAX_TRY = 60;
|
|
308
315
|
export declare const CONFLUENCE = "confluence";
|
|
309
316
|
/** Enumerable for attaching a reason to catchup (v2) call(s) */
|
|
@@ -22,7 +22,8 @@ export declare enum EVENT_ACTION {
|
|
|
22
22
|
HAS_UNCONFIRMED_STEPS = "hasUnconfirmedSteps",// https://data-portal.internal.atlassian.com/analytics/registry/56141
|
|
23
23
|
OUT_OF_SYNC = "outOfSync",// https://data-portal.internal.atlassian.com/analytics/registry/74993
|
|
24
24
|
STEPS_REBASED = "stepsRebased",// https://data-portal.internal.atlassian.com/analytics/registry/76616
|
|
25
|
-
POLLING_FALLBACK = "pollingFallback"
|
|
25
|
+
POLLING_FALLBACK = "pollingFallback",
|
|
26
|
+
PROCESS_STEPS = "processSteps"
|
|
26
27
|
}
|
|
27
28
|
export declare enum EVENT_STATUS {
|
|
28
29
|
SUCCESS = "SUCCESS",
|
|
@@ -303,7 +304,13 @@ type PollingFallbackAnalyticsEvent = {
|
|
|
303
304
|
url: 'string';
|
|
304
305
|
} & BaseActionAnalyticsEventAttributes;
|
|
305
306
|
};
|
|
306
|
-
|
|
307
|
+
type ProcessStepsAnalyticsEvent = {
|
|
308
|
+
eventAction: EVENT_ACTION.PROCESS_STEPS;
|
|
309
|
+
attributes: {
|
|
310
|
+
eventStatus: EVENT_STATUS.SUCCESS;
|
|
311
|
+
} & BaseActionAnalyticsEventAttributes;
|
|
312
|
+
};
|
|
313
|
+
export type ActionAnalyticsEvent = AddStepsSuccessAnalyticsEvent | AddStepsFailureAnalyticsEvent | ReInitDocFailAnalyticsEvent | ReInitDocSuccessAnalyticsEvent | ConnectionSuccessAnalyticsEvent | ConnectionFailureAnalyticsEvent | CatchUpSuccessAnalyticsEvent | CatchUpFailureAnalyticsEvent | DocumentInitSuccessAnalyticsEvent | UpdateParticipantsSuccessAnalyticsEvent | CommitUnconfirmedStepsSuccessAnalyticsEvent | CommitUnconfirmedStepsFailureAnalyticsEvent | PublishPageSuccessAnalyticsEvent | PublishPageFailureAnalyticsEvent | GetCurrentStateSuccessAnalyticsEvent | GetCurrentStateFailureAnalyticsEvent | InvalidateTokenAnalyticsEvent | SendStepsRetryAnalyticsEvent | CatchupAfterMaxSendStepsRetryAnalyticsEvent | CatchUpDroppedStepsEvent | WebsocketMessageVolumeMetricEvent | ProviderInitializedAnalyticsEvent | ProviderSetupAnalyticsEvent | ProviderHasUnconfirmedStepsAnalyticsEvent | UpdateDocumentAnalyticsEvent | ReconnectionAnalyticsEvent | OutOfSyncAnalyticsEvent | StepsRebasedAnalyticsEvent | PollingFallbackAnalyticsEvent | ProcessStepsAnalyticsEvent;
|
|
307
314
|
export declare const ACK_MAX_TRY = 60;
|
|
308
315
|
export declare const CONFLUENCE = "confluence";
|
|
309
316
|
/** Enumerable for attaching a reason to catchup (v2) call(s) */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/collab-provider",
|
|
3
|
-
"version": "10.20.
|
|
3
|
+
"version": "10.20.5",
|
|
4
4
|
"description": "A provider for collaborative editing.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@atlaskit/adf-utils": "^19.20.0",
|
|
36
36
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
37
37
|
"@atlaskit/analytics-listeners": "^9.0.0",
|
|
38
|
-
"@atlaskit/anonymous-assets": "^0.0.
|
|
39
|
-
"@atlaskit/editor-common": "^107.
|
|
38
|
+
"@atlaskit/anonymous-assets": "^0.0.2",
|
|
39
|
+
"@atlaskit/editor-common": "^107.3.0",
|
|
40
40
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
42
|
-
"@atlaskit/feature-gate-js-client": "^5.
|
|
42
|
+
"@atlaskit/feature-gate-js-client": "^5.4.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/prosemirror-collab": "^0.17.0",
|
|
45
|
-
"@atlaskit/react-ufo": "^3.
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^8.
|
|
45
|
+
"@atlaskit/react-ufo": "^3.14.0",
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^8.4.0",
|
|
47
47
|
"@atlaskit/ufo": "^0.4.0",
|
|
48
48
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|