@atlaskit/collab-provider 9.28.1 → 9.28.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 +949 -425
- package/dist/cjs/channel.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/channel.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/channel.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/channel.d.ts +1 -1
- package/dist/types-ts4.5/channel.d.ts +1 -1
- package/package.json +3 -3
package/dist/cjs/channel.js
CHANGED
|
@@ -693,7 +693,7 @@ var Channel = exports.Channel = /*#__PURE__*/function (_Emitter) {
|
|
|
693
693
|
// Ensure the error emit to the provider has the same structure, so we can handle them unified.
|
|
694
694
|
this.socket.on('connect_error', this.onConnectError);
|
|
695
695
|
this.socket.on('permission:invalidateToken', this.handlePermissionInvalidateToken);
|
|
696
|
-
this.socket.onAnyOutgoing(function (
|
|
696
|
+
this.socket.onAnyOutgoing(function (_event) {
|
|
697
697
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
698
698
|
args[_key - 1] = arguments[_key];
|
|
699
699
|
}
|
|
@@ -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 = "9.28.
|
|
8
|
+
var version = exports.version = "9.28.3";
|
|
9
9
|
var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
|
|
10
10
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
11
11
|
};
|
package/dist/es2019/channel.js
CHANGED
|
@@ -490,7 +490,7 @@ export class Channel extends Emitter {
|
|
|
490
490
|
// Ensure the error emit to the provider has the same structure, so we can handle them unified.
|
|
491
491
|
this.socket.on('connect_error', this.onConnectError);
|
|
492
492
|
this.socket.on('permission:invalidateToken', this.handlePermissionInvalidateToken);
|
|
493
|
-
this.socket.onAnyOutgoing((
|
|
493
|
+
this.socket.onAnyOutgoing((_event, ...args) => this.onAnyOutgoingHandler(Date.now(), args));
|
|
494
494
|
|
|
495
495
|
// To trigger reconnection when browser comes back online
|
|
496
496
|
if (!this.network) {
|
package/dist/esm/channel.js
CHANGED
|
@@ -686,7 +686,7 @@ export var Channel = /*#__PURE__*/function (_Emitter) {
|
|
|
686
686
|
// Ensure the error emit to the provider has the same structure, so we can handle them unified.
|
|
687
687
|
this.socket.on('connect_error', this.onConnectError);
|
|
688
688
|
this.socket.on('permission:invalidateToken', this.handlePermissionInvalidateToken);
|
|
689
|
-
this.socket.onAnyOutgoing(function (
|
|
689
|
+
this.socket.onAnyOutgoing(function (_event) {
|
|
690
690
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
691
691
|
args[_key - 1] = arguments[_key];
|
|
692
692
|
}
|
package/dist/types/channel.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare class Channel extends Emitter<ChannelEvent> {
|
|
|
24
24
|
constructor(config: Config, analyticsHelper: AnalyticsHelper);
|
|
25
25
|
getInitialized: () => boolean;
|
|
26
26
|
getConnected: () => boolean;
|
|
27
|
-
getSocket: () => Socket
|
|
27
|
+
getSocket: () => Socket | null;
|
|
28
28
|
getToken: () => string | undefined;
|
|
29
29
|
getChannelToken: () => Promise<string | undefined>;
|
|
30
30
|
/**
|
|
@@ -24,7 +24,7 @@ export declare class Channel extends Emitter<ChannelEvent> {
|
|
|
24
24
|
constructor(config: Config, analyticsHelper: AnalyticsHelper);
|
|
25
25
|
getInitialized: () => boolean;
|
|
26
26
|
getConnected: () => boolean;
|
|
27
|
-
getSocket: () => Socket
|
|
27
|
+
getSocket: () => Socket | null;
|
|
28
28
|
getToken: () => string | undefined;
|
|
29
29
|
getChannelToken: () => Promise<string | undefined>;
|
|
30
30
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/collab-provider",
|
|
3
|
-
"version": "9.28.
|
|
3
|
+
"version": "9.28.3",
|
|
4
4
|
"description": "A provider for collaborative editing.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
41
41
|
"@atlaskit/analytics-listeners": "^8.9.0",
|
|
42
|
-
"@atlaskit/editor-common": "^
|
|
42
|
+
"@atlaskit/editor-common": "^79.0.0",
|
|
43
43
|
"@atlaskit/editor-json-transformer": "^8.11.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "4.0.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@atlaskit/adf-schema": "^35.12.
|
|
69
|
+
"@atlaskit/adf-schema": "^35.12.2",
|
|
70
70
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
71
71
|
"@atlassian/feature-flags-test-utils": "^0.2.0",
|
|
72
72
|
"typescript": "~5.4.2"
|