@atlaskit/collab-provider 16.0.2 → 16.1.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 +11 -0
- package/dist/cjs/socket-io-provider.js +2 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/socket-io-provider.js +2 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/socket-io-provider.js +2 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/collab-provider
|
|
2
2
|
|
|
3
|
+
## 16.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`e6fbfbf141ff3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e6fbfbf141ff3) -
|
|
8
|
+
Cleanup feature exp cleanup-platform_editor_send_client_platform_header
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 16.0.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -44,11 +44,9 @@ function createSocketIOSocket(url, auth, productInfo, isPresenceOnly, analyticsH
|
|
|
44
44
|
}
|
|
45
45
|
var extraHeaders = {
|
|
46
46
|
'x-product': (0, _utils.getProduct)(productInfo),
|
|
47
|
-
'x-subproduct': (0, _utils.getSubProduct)(productInfo)
|
|
47
|
+
'x-subproduct': (0, _utils.getSubProduct)(productInfo),
|
|
48
|
+
'x-client-platform': 'web'
|
|
48
49
|
};
|
|
49
|
-
if ((0, _expValEquals.expValEquals)('platform_editor_send_client_platform_header', 'isEnabled', true, false)) {
|
|
50
|
-
extraHeaders['x-client-platform'] = 'web';
|
|
51
|
-
}
|
|
52
50
|
var client = (0, _socket.io)(url, {
|
|
53
51
|
reconnectionDelayMax: socketIOOptions.RECONNECTION_DELAY_MAX,
|
|
54
52
|
reconnectionDelay: socketIOOptions.RECONNECTION_DELAY,
|
|
@@ -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 = "16.0.
|
|
8
|
+
var version = exports.version = "16.0.2";
|
|
9
9
|
var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
|
|
10
10
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
11
11
|
};
|
|
@@ -34,11 +34,9 @@ export function createSocketIOSocket(url, auth, productInfo, isPresenceOnly, ana
|
|
|
34
34
|
}
|
|
35
35
|
const extraHeaders = {
|
|
36
36
|
'x-product': getProduct(productInfo),
|
|
37
|
-
'x-subproduct': getSubProduct(productInfo)
|
|
37
|
+
'x-subproduct': getSubProduct(productInfo),
|
|
38
|
+
'x-client-platform': 'web'
|
|
38
39
|
};
|
|
39
|
-
if (expValEquals('platform_editor_send_client_platform_header', 'isEnabled', true, false)) {
|
|
40
|
-
extraHeaders['x-client-platform'] = 'web';
|
|
41
|
-
}
|
|
42
40
|
const client = io(url, {
|
|
43
41
|
reconnectionDelayMax: socketIOOptions.RECONNECTION_DELAY_MAX,
|
|
44
42
|
reconnectionDelay: socketIOOptions.RECONNECTION_DELAY,
|
|
@@ -36,11 +36,9 @@ export function createSocketIOSocket(url, auth, productInfo, isPresenceOnly, ana
|
|
|
36
36
|
}
|
|
37
37
|
var extraHeaders = {
|
|
38
38
|
'x-product': getProduct(productInfo),
|
|
39
|
-
'x-subproduct': getSubProduct(productInfo)
|
|
39
|
+
'x-subproduct': getSubProduct(productInfo),
|
|
40
|
+
'x-client-platform': 'web'
|
|
40
41
|
};
|
|
41
|
-
if (expValEquals('platform_editor_send_client_platform_header', 'isEnabled', true, false)) {
|
|
42
|
-
extraHeaders['x-client-platform'] = 'web';
|
|
43
|
-
}
|
|
44
42
|
var client = io(url, {
|
|
45
43
|
reconnectionDelayMax: socketIOOptions.RECONNECTION_DELAY_MAX,
|
|
46
44
|
reconnectionDelay: socketIOOptions.RECONNECTION_DELAY,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/collab-provider",
|
|
3
|
-
"version": "16.0
|
|
3
|
+
"version": "16.1.0",
|
|
4
4
|
"description": "A provider for collaborative editing.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
38
38
|
"@atlaskit/prosemirror-collab": "^0.22.0",
|
|
39
39
|
"@atlaskit/react-ufo": "^5.4.0",
|
|
40
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^37.0.0",
|
|
41
41
|
"@atlaskit/ufo": "^0.4.0",
|
|
42
42
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|