@dabble/patches 0.2.0 → 0.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.
- package/dist/client/index.d.ts +3 -2
- package/dist/client/index.js +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/net/index.d.ts +7 -9
- package/dist/net/index.js +5 -8
- package/dist/persist/index.d.ts +0 -1
- package/dist/server/index.d.ts +0 -1
- package/package.json +1 -1
package/dist/client/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './Patches.js';
|
|
2
|
+
export * from './PatchesDoc.js';
|
|
3
|
+
export * from './PatchesHistoryClient.js';
|
package/dist/client/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/net/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export type { PatchesOptions } from './Patches.js';
|
|
7
|
-
export type { PatchesSyncOptions, PatchesSyncState } from './PatchesSync.js';
|
|
8
|
-
export type { ConnectionState, ListOptions, PatchesAPI, PatchesNotificationParams, SignalNotificationParams, } from './protocol/types.js';
|
|
9
|
-
export type { WebSocketOptions } from './websocket/WebSocketTransport.js';
|
|
1
|
+
export * from './AbstractTransport.js';
|
|
2
|
+
export * from './PatchesSync.js';
|
|
3
|
+
export * from './protocol/JSONRPCClient.js';
|
|
4
|
+
export type * from './protocol/types';
|
|
5
|
+
export type * from './types';
|
|
10
6
|
export * from './webrtc/WebRTCAwareness.js';
|
|
11
7
|
export * from './webrtc/WebRTCTransport.js';
|
|
8
|
+
export * from './websocket/PatchesWebSocket.js';
|
|
9
|
+
export * from './websocket/WebSocketTransport.js';
|
package/dist/net/index.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
// Underlying protocol and transport
|
|
5
|
-
export { JSONRPCClient } from './protocol/JSONRPCClient.js';
|
|
6
|
-
export { PatchesWebSocket } from './websocket/PatchesWebSocket.js';
|
|
7
|
-
export { WebSocketTransport } from './websocket/WebSocketTransport.js';
|
|
8
|
-
// Optional WebRTC Awareness (if kept)
|
|
1
|
+
export * from './AbstractTransport.js';
|
|
2
|
+
export * from './PatchesSync.js';
|
|
3
|
+
export * from './protocol/JSONRPCClient.js';
|
|
9
4
|
export * from './webrtc/WebRTCAwareness.js';
|
|
10
5
|
export * from './webrtc/WebRTCTransport.js';
|
|
6
|
+
export * from './websocket/PatchesWebSocket.js';
|
|
7
|
+
export * from './websocket/WebSocketTransport.js';
|
package/dist/persist/index.d.ts
CHANGED
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { PatchesBranchManager } from './PatchesBranchManager';
|
|
2
2
|
export { PatchesHistoryManager } from './PatchesHistoryManager';
|
|
3
3
|
export { PatchesServer } from './PatchesServer';
|
|
4
|
-
export type { Change, PatchesSnapshot as PatchSnapshot, PatchesState as PatchState, VersionMetadata } from '../types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dabble/patches",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Immutable JSON Patch implementation based on RFC 6902 supporting operational transformation and last-writer-wins",
|
|
5
5
|
"author": "Jacob Wright <jacwright@gmail.com>",
|
|
6
6
|
"bugs": {
|