@types/sharedb 3.3.0 → 3.3.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.
sharedb/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for sharedb (https://github.com/share/sha
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharedb.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 06 Mar 2023 19:32:58 GMT
11
+ * Last updated: Mon, 27 Mar 2023 18:25:41 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
sharedb/index.d.ts CHANGED
@@ -242,6 +242,7 @@ declare namespace sharedb {
242
242
  }
243
243
 
244
244
  interface ApplyContext extends BaseContext, SubmitRequest {
245
+ $fixup: (op: any) => void;
245
246
  }
246
247
 
247
248
  interface CommitContext extends BaseContext, SubmitRequest {
sharedb/lib/agent.d.ts CHANGED
@@ -32,6 +32,10 @@ declare class Agent<TCustom = any> {
32
32
  */
33
33
  custom: TCustom;
34
34
 
35
+ clientId: string;
36
+ src: string;
37
+ connectTime: number;
38
+
35
39
  /**
36
40
  * Sends a JSON-compatible message to the client for this agent.
37
41
  *
sharedb/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedb",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "TypeScript definitions for sharedb",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharedb",
6
6
  "license": "MIT",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "942e20c991b72e9676f708901862ca7621e75cfbbd84a60411ebcb028b4ce118",
44
- "typeScriptVersion": "4.2"
43
+ "typesPublisherContentHash": "530d038cfa18315dd9ba5ee947e1ef71d8d2855440c3cab3a987b84ff9cbd647",
44
+ "typeScriptVersion": "4.3"
45
45
  }