@types/sharedb 2.2.0 → 2.2.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 +1 -1
- sharedb/lib/sharedb.d.ts +2 -2
- sharedb/package.json +3 -3
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:
|
|
11
|
+
* Last updated: Tue, 03 May 2022 16:31:36 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
sharedb/lib/sharedb.d.ts
CHANGED
|
@@ -126,8 +126,8 @@ export class Doc<T = any> extends TypedEmitter<DocEventMap<T>> {
|
|
|
126
126
|
ingestSnapshot(snapshot: Pick<Snapshot<T>, 'v' | 'type' | 'data'>, callback?: Callback): void;
|
|
127
127
|
destroy(callback?: Callback): void;
|
|
128
128
|
create(data: any, callback?: Callback): void;
|
|
129
|
-
create(data: any, type?:
|
|
130
|
-
create(data: any, type?:
|
|
129
|
+
create(data: any, type?: string, callback?: Callback): void;
|
|
130
|
+
create(data: any, type?: string, options?: ShareDBSourceOptions, callback?: Callback): void;
|
|
131
131
|
submitOp(data: any, options?: ShareDBSourceOptions, callback?: Callback): void;
|
|
132
132
|
del(options: ShareDBSourceOptions, callback?: (err: Error) => void): void;
|
|
133
133
|
whenNothingPending(callback: () => void): void;
|
sharedb/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/sharedb",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.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": "
|
|
44
|
-
"typeScriptVersion": "3.
|
|
43
|
+
"typesPublisherContentHash": "a7c66f7d4ca41d1a4423bd30c1789c77b975c80f599d4811fd699acbff6139ec",
|
|
44
|
+
"typeScriptVersion": "3.9"
|
|
45
45
|
}
|