@atlaskit/collab-provider 21.0.27 → 21.0.28
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 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/provider/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/provider/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/collab-provider
|
|
2
2
|
|
|
3
|
+
## 21.0.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ea47d8afdb33d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ea47d8afdb33d) -
|
|
8
|
+
Clean up experiment `platform_editor_ignore_metadata_connection_errors`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 21.0.27
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -783,7 +783,7 @@ var Provider = exports.Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
783
783
|
(_this$analyticsHelper13 = this.analyticsHelper) === null || _this$analyticsHelper13 === void 0 || _this$analyticsHelper13.sendErrorEvent(error, 'Error while setting metadata');
|
|
784
784
|
// Don't re-throw for transient connectivity/initialization errors.
|
|
785
785
|
// (e.g. socket not yet ready, user momentarily offline)
|
|
786
|
-
if (
|
|
786
|
+
if (error instanceof _customErrors.NotInitializedError || error instanceof _customErrors.NotConnectedError) {
|
|
787
787
|
return;
|
|
788
788
|
}
|
|
789
789
|
throw new _customErrors.SetMetadataError('Error while setting metadata', error);
|
|
@@ -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.0.
|
|
8
|
+
var version = exports.version = "21.0.27";
|
|
9
9
|
var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
|
|
10
10
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
11
11
|
};
|
|
@@ -673,7 +673,7 @@ export class Provider extends Emitter {
|
|
|
673
673
|
(_this$analyticsHelper15 = this.analyticsHelper) === null || _this$analyticsHelper15 === void 0 ? void 0 : _this$analyticsHelper15.sendErrorEvent(error, 'Error while setting metadata');
|
|
674
674
|
// Don't re-throw for transient connectivity/initialization errors.
|
|
675
675
|
// (e.g. socket not yet ready, user momentarily offline)
|
|
676
|
-
if (
|
|
676
|
+
if (error instanceof NotInitializedError || error instanceof NotConnectedError) {
|
|
677
677
|
return;
|
|
678
678
|
}
|
|
679
679
|
throw new SetMetadataError('Error while setting metadata', error);
|
|
@@ -777,7 +777,7 @@ export var Provider = /*#__PURE__*/function (_Emitter) {
|
|
|
777
777
|
(_this$analyticsHelper13 = this.analyticsHelper) === null || _this$analyticsHelper13 === void 0 || _this$analyticsHelper13.sendErrorEvent(error, 'Error while setting metadata');
|
|
778
778
|
// Don't re-throw for transient connectivity/initialization errors.
|
|
779
779
|
// (e.g. socket not yet ready, user momentarily offline)
|
|
780
|
-
if (
|
|
780
|
+
if (error instanceof NotInitializedError || error instanceof NotConnectedError) {
|
|
781
781
|
return;
|
|
782
782
|
}
|
|
783
783
|
throw new SetMetadataError('Error while setting metadata', error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/collab-provider",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.28",
|
|
4
4
|
"description": "A provider for collaborative editing.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"@atlaskit/adf-utils": "^20.3.0",
|
|
22
22
|
"@atlaskit/analytics-gas-types": "^6.0.0",
|
|
23
23
|
"@atlaskit/analytics-listeners": "^11.1.0",
|
|
24
|
-
"@atlaskit/anonymous-assets": "^2.
|
|
24
|
+
"@atlaskit/anonymous-assets": "^2.6.0",
|
|
25
25
|
"@atlaskit/atlassian-context": "^1.1.0",
|
|
26
26
|
"@atlaskit/editor-json-transformer": "^9.0.0",
|
|
27
27
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
28
28
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
29
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
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": "^131.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",
|
|
@@ -68,6 +68,6 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@atlaskit/editor-common": "^116.
|
|
71
|
+
"@atlaskit/editor-common": "^116.35.0"
|
|
72
72
|
}
|
|
73
73
|
}
|