@webiny/api-websockets 5.43.0-beta.0 → 5.43.0-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-websockets",
3
- "version": "5.43.0-beta.0",
3
+ "version": "5.43.0-beta.1",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,30 +12,29 @@
12
12
  ],
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@webiny/api": "5.43.0-beta.0",
16
- "@webiny/api-i18n": "5.43.0-beta.0",
17
- "@webiny/api-security": "5.43.0-beta.0",
18
- "@webiny/api-tenancy": "5.43.0-beta.0",
19
- "@webiny/aws-sdk": "5.43.0-beta.0",
20
- "@webiny/db-dynamodb": "5.43.0-beta.0",
21
- "@webiny/error": "5.43.0-beta.0",
22
- "@webiny/handler": "5.43.0-beta.0",
23
- "@webiny/handler-aws": "5.43.0-beta.0",
24
- "@webiny/plugins": "5.43.0-beta.0",
25
- "@webiny/utils": "5.43.0-beta.0",
26
- "type-fest": "3.13.1",
15
+ "@webiny/api": "5.43.0-beta.1",
16
+ "@webiny/api-i18n": "5.43.0-beta.1",
17
+ "@webiny/api-security": "5.43.0-beta.1",
18
+ "@webiny/api-tenancy": "5.43.0-beta.1",
19
+ "@webiny/aws-sdk": "5.43.0-beta.1",
20
+ "@webiny/db-dynamodb": "5.43.0-beta.1",
21
+ "@webiny/error": "5.43.0-beta.1",
22
+ "@webiny/handler": "5.43.0-beta.1",
23
+ "@webiny/handler-aws": "5.43.0-beta.1",
24
+ "@webiny/plugins": "5.43.0-beta.1",
25
+ "@webiny/utils": "5.43.0-beta.1",
26
+ "type-fest": "4.14.0",
27
27
  "zod": "3.23.8"
28
28
  },
29
29
  "devDependencies": {
30
- "@webiny/api-headless-cms": "5.43.0-beta.0",
31
- "@webiny/api-wcp": "5.43.0-beta.0",
32
- "@webiny/handler-db": "5.43.0-beta.0",
33
- "@webiny/handler-graphql": "5.43.0-beta.0",
34
- "@webiny/project-utils": "5.43.0-beta.0",
30
+ "@webiny/api-headless-cms": "5.43.0-beta.1",
31
+ "@webiny/api-wcp": "5.43.0-beta.1",
32
+ "@webiny/handler-db": "5.43.0-beta.1",
33
+ "@webiny/handler-graphql": "5.43.0-beta.1",
34
+ "@webiny/project-utils": "5.43.0-beta.1",
35
35
  "graphql": "15.9.0",
36
36
  "rimraf": "6.0.1",
37
- "ttypescript": "1.5.15",
38
- "typescript": "4.9.5"
37
+ "typescript": "5.3.3"
39
38
  },
40
39
  "publishConfig": {
41
40
  "access": "public",
@@ -45,5 +44,5 @@
45
44
  "build": "node ../cli/bin.js run build",
46
45
  "watch": "node ../cli/bin.js run watch"
47
46
  },
48
- "gitHead": "abfb4ec7b4391f2414cd22f2c5539c84b6c8abbf"
47
+ "gitHead": "d47a234b09383cb7ab2d9907300b8eaa89aa64d6"
49
48
  }
@@ -8,4 +8,4 @@ export declare class WebsocketsActionPlugin<T extends GenericRecord = GenericRec
8
8
  constructor(action: string, cb: IWebsocketsActionPluginCallable<T>);
9
9
  run(params: IWebsocketsActionPluginCallableParams): Promise<WebsocketsActionPluginCallableResponse<T>>;
10
10
  }
11
- export declare const createWebsocketsAction: <T extends GenericRecord<PropertyKey, any> = GenericRecord<PropertyKey, any>>(action: string, cb: IWebsocketsActionPluginCallable<T>) => WebsocketsActionPlugin<T>;
11
+ export declare const createWebsocketsAction: <T extends GenericRecord = GenericRecord>(action: string, cb: IWebsocketsActionPluginCallable<T>) => WebsocketsActionPlugin<T>;
@@ -78,7 +78,7 @@ export declare const createEntity: (documentClient: DynamoDBDocument) => Entity<
78
78
  data: {
79
79
  type: "map";
80
80
  };
81
- }, true, "created", "modified", "entity", false, "created" | "modified" | "entity", "TYPE" | "created" | "modified" | "entity", "PK", never, never, "SK", never, never, "PK" | "SK", "modified", "created" | "entity", "data" | "PK" | "SK" | "GSI1_PK" | "GSI1_SK" | "GSI2_PK" | "GSI2_SK" | "TYPE" | "created" | "modified" | "entity", never>, {
81
+ }, true, "created", "modified", "entity", false>, {
82
82
  data?: any;
83
83
  GSI1_PK?: string | undefined;
84
84
  GSI1_SK?: string | undefined;
@@ -2,4 +2,4 @@ import { GenericRecord } from "@webiny/api/types";
2
2
  export interface MiddlewareCallable<I extends GenericRecord = GenericRecord, O extends GenericRecord = GenericRecord> {
3
3
  (input: I, next: () => Promise<O>): Promise<O>;
4
4
  }
5
- export declare const middleware: <I extends GenericRecord<PropertyKey, any> = GenericRecord<PropertyKey, any>, O extends GenericRecord<PropertyKey, any> = GenericRecord<PropertyKey, any>>(functions: MiddlewareCallable<I, O>[]) => (input: I) => Promise<O>;
5
+ export declare const middleware: <I extends GenericRecord = GenericRecord, O extends GenericRecord = GenericRecord>(functions: MiddlewareCallable<I, O>[]) => (input: I) => Promise<O>;