@bangle.dev/collab-comms
Advanced tools
Comparing version 0.31.2 to 0.31.3
@@ -115,2 +115,3 @@ declare enum MessageType { | ||
declare type GetDocumentRequestBody = { | ||
clientCreatedAt: number; | ||
docName: string; | ||
@@ -131,10 +132,11 @@ userId: string; | ||
declare type PushEventsRequestBody = { | ||
version: number; | ||
clientCreatedAt: number; | ||
clientID: string; | ||
docName: string; | ||
managerId: string; | ||
steps: Array<{ | ||
[key: string]: any; | ||
}>; | ||
clientID: string; | ||
docName: string; | ||
userId: string; | ||
managerId: string; | ||
version: number; | ||
}; | ||
@@ -149,6 +151,7 @@ declare type PullEventsResponseBody = { | ||
declare type PullEventsRequestBody = { | ||
clientCreatedAt: number; | ||
docName: string; | ||
managerId: string; | ||
userId: string; | ||
version: number; | ||
userId: string; | ||
managerId: string; | ||
}; | ||
@@ -155,0 +158,0 @@ |
{ | ||
"name": "@bangle.dev/collab-comms", | ||
"version": "0.31.2", | ||
"version": "0.31.3", | ||
"description": "A package for managing communication of collab clients with their manager", | ||
@@ -39,3 +39,3 @@ "homepage": "https://bangle.dev", | ||
"devDependencies": { | ||
"@bangle.dev/test-helpers": "0.31.2", | ||
"@bangle.dev/test-helpers": "0.31.3", | ||
"@types/node": "^17.0.43", | ||
@@ -42,0 +42,0 @@ "wait-for-expect": "^3.0.2" |
@@ -109,2 +109,3 @@ // This is the default value if one it not specified by the consumer. | ||
export type GetDocumentRequestBody = { | ||
clientCreatedAt: number; | ||
docName: string; | ||
@@ -126,8 +127,9 @@ userId: string; | ||
export type PushEventsRequestBody = { | ||
version: number; | ||
steps: Array<{ [key: string]: any }>; | ||
clientCreatedAt: number; | ||
clientID: string; | ||
docName: string; | ||
managerId: string; | ||
steps: Array<{ [key: string]: any }>; | ||
userId: string; | ||
managerId: string; | ||
version: number; | ||
}; | ||
@@ -142,6 +144,7 @@ | ||
export type PullEventsRequestBody = { | ||
clientCreatedAt: number; | ||
docName: string; | ||
managerId: string; | ||
userId: string; | ||
version: number; | ||
userId: string; | ||
managerId: string; | ||
}; |
55170
1506