@atlaskit/collab-provider 35.0.2 → 35.0.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 +8 -0
- package/dist/cjs/provider/index.js +1 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/provider/index.js +1 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/provider/index.js +1 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/collab-provider
|
|
2
2
|
|
|
3
|
+
## 35.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`09933f847863e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/09933f847863e) -
|
|
8
|
+
Clean up experiment `collab_check_sleep_detection_experiment`. Sleep-based out-of-sync detection
|
|
9
|
+
on reconnect is now permanently enabled.
|
|
10
|
+
|
|
3
11
|
## 35.0.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -15,7 +15,6 @@ var _get2 = _interopRequireDefault(require("@babel/runtime/helpers/get"));
|
|
|
15
15
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
16
16
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
17
17
|
var _uuid = require("uuid");
|
|
18
|
-
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
19
18
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
20
19
|
var _analyticsHelper = _interopRequireDefault(require("../analytics/analytics-helper"));
|
|
21
20
|
var _performance = require("../analytics/performance");
|
|
@@ -271,7 +270,7 @@ var Provider = exports.Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
271
270
|
return disconnectedDuration;
|
|
272
271
|
}
|
|
273
272
|
var sleepDuration = (0, _sleepDetector.getMaxGapSince)(_this.sleepWatermark);
|
|
274
|
-
if (sleepDuration >= OUT_OF_SYNC_PERIOD
|
|
273
|
+
if (sleepDuration >= OUT_OF_SYNC_PERIOD) {
|
|
275
274
|
return sleepDuration;
|
|
276
275
|
}
|
|
277
276
|
return undefined;
|
|
@@ -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 = "35.0.
|
|
8
|
+
var version = exports.version = "35.0.2";
|
|
9
9
|
var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
|
|
10
10
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
11
11
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
3
3
|
import { v4 as uuidv4 } from 'uuid';
|
|
4
|
-
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
5
4
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
5
|
import AnalyticsHelper from '../analytics/analytics-helper';
|
|
7
6
|
import { shouldTelepointerBeSampled } from '../analytics/performance';
|
|
@@ -234,7 +233,7 @@ export class Provider extends Emitter {
|
|
|
234
233
|
return disconnectedDuration;
|
|
235
234
|
}
|
|
236
235
|
const sleepDuration = getMaxGapSince(this.sleepWatermark);
|
|
237
|
-
if (sleepDuration >= OUT_OF_SYNC_PERIOD
|
|
236
|
+
if (sleepDuration >= OUT_OF_SYNC_PERIOD) {
|
|
238
237
|
return sleepDuration;
|
|
239
238
|
}
|
|
240
239
|
return undefined;
|
|
@@ -14,7 +14,6 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
14
14
|
function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
15
15
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
16
16
|
import { v4 as uuidv4 } from 'uuid';
|
|
17
|
-
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
18
17
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
19
18
|
import AnalyticsHelper from '../analytics/analytics-helper';
|
|
20
19
|
import { shouldTelepointerBeSampled } from '../analytics/performance';
|
|
@@ -265,7 +264,7 @@ export var Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
265
264
|
return disconnectedDuration;
|
|
266
265
|
}
|
|
267
266
|
var sleepDuration = getMaxGapSince(_this.sleepWatermark);
|
|
268
|
-
if (sleepDuration >= OUT_OF_SYNC_PERIOD
|
|
267
|
+
if (sleepDuration >= OUT_OF_SYNC_PERIOD) {
|
|
269
268
|
return sleepDuration;
|
|
270
269
|
}
|
|
271
270
|
return undefined;
|