@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.
@@ -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 (event) {
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.1";
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
  };
@@ -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((event, ...args) => this.onAnyOutgoingHandler(Date.now(), args));
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) {
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/collab-provider";
2
- export const version = "9.28.1";
2
+ export const version = "9.28.3";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -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 (event) {
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
  }
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/collab-provider";
2
- export var version = "9.28.1";
2
+ export var version = "9.28.3";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -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<import("@socket.io/component-emitter").DefaultEventsMap, import("@socket.io/component-emitter").DefaultEventsMap> | null;
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<import("@socket.io/component-emitter").DefaultEventsMap, import("@socket.io/component-emitter").DefaultEventsMap> | null;
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.1",
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": "^78.36.0",
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.1",
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"