@webiny/app-websockets 5.40.6-beta.3 → 5.41.0-beta.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.
@@ -1,6 +1,6 @@
1
1
  import { IWebsocketsSubscriptionManager } from "./IWebsocketsSubscriptionManager";
2
2
  import { IGenericData, WebsocketsCloseCode } from "./types";
3
- export declare type IWebsocketsConnectProtocol = string | string[] | undefined;
3
+ export type IWebsocketsConnectProtocol = string | string[] | undefined;
4
4
  export interface IWebsocketsConnectionFactory {
5
5
  (url: string, protocol?: IWebsocketsConnectProtocol): WebSocket;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { GenericRecord } from "@webiny/app/types";
2
2
  import { IGenericData, IWebsocketsManagerCloseEvent, IWebsocketsManagerErrorEvent, IWebsocketsManagerMessageEvent, IWebsocketsManagerOpenEvent } from "./types";
3
- export declare type IWebsocketManagerEvent = "open" | "close" | "error" | "message";
3
+ export type IWebsocketManagerEvent = "open" | "close" | "error" | "message";
4
4
  export interface IWebsocketsSubscriptionCallback<T> {
5
5
  (data: T): Promise<void> | void;
6
6
  }
@@ -1,9 +1,9 @@
1
1
  import { GenericRecord } from "@webiny/app/types";
2
- export declare type IWebsocketsManagerMessageEvent<T = IGenericData> = MessageEvent<T>;
3
- export declare type IWebsocketsManagerCloseEvent = CloseEvent;
4
- export declare type IWebsocketsManagerOpenEvent = Event;
5
- export declare type IWebsocketsManagerErrorEvent = Event;
6
- export declare type IGenericData = GenericRecord;
2
+ export type IWebsocketsManagerMessageEvent<T = IGenericData> = MessageEvent<T>;
3
+ export type IWebsocketsManagerCloseEvent = CloseEvent;
4
+ export type IWebsocketsManagerOpenEvent = Event;
5
+ export type IWebsocketsManagerErrorEvent = Event;
6
+ export type IGenericData = GenericRecord;
7
7
  export declare enum WebsocketsCloseCode {
8
8
  NORMAL = 1000,
9
9
  GOING_AWAY = 1001,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/app-websockets",
3
- "version": "5.40.6-beta.3",
3
+ "version": "5.41.0-beta.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,11 +13,11 @@
13
13
  ],
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
- "@webiny/app": "5.40.6-beta.3",
17
- "@webiny/app-i18n": "5.40.6-beta.3",
18
- "@webiny/app-security": "5.40.6-beta.3",
19
- "@webiny/app-tenancy": "5.40.6-beta.3",
20
- "@webiny/utils": "5.40.6-beta.3",
16
+ "@webiny/app": "5.41.0-beta.0",
17
+ "@webiny/app-i18n": "5.41.0-beta.0",
18
+ "@webiny/app-security": "5.41.0-beta.0",
19
+ "@webiny/app-tenancy": "5.41.0-beta.0",
20
+ "@webiny/utils": "5.41.0-beta.0",
21
21
  "react": "18.2.0",
22
22
  "react-dom": "18.2.0"
23
23
  },
@@ -27,11 +27,11 @@
27
27
  "@babel/preset-env": "7.24.3",
28
28
  "@babel/preset-react": "7.24.1",
29
29
  "@babel/preset-typescript": "7.24.1",
30
- "@webiny/cli": "5.40.6-beta.3",
31
- "@webiny/project-utils": "5.40.6-beta.3",
30
+ "@webiny/cli": "5.41.0-beta.0",
31
+ "@webiny/project-utils": "5.41.0-beta.0",
32
32
  "rimraf": "5.0.5",
33
33
  "ttypescript": "1.5.15",
34
- "typescript": "4.7.4"
34
+ "typescript": "4.9.5"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public",
@@ -41,5 +41,5 @@
41
41
  "build": "yarn webiny run build",
42
42
  "watch": "yarn webiny run watch"
43
43
  },
44
- "gitHead": "f9da84b373e62f9f269599c4301e5e4418a98d51"
44
+ "gitHead": "9ce5e75fc577aa4de2cf08d5ca734b3c98fe65b6"
45
45
  }