@hocuspocus/extension-rocksdb
Advanced tools
Comparing version 1.0.0-alpha.68 to 1.0.0-alpha.70
@@ -6,2 +6,18 @@ # Change Log | ||
# [1.0.0-alpha.70](https://github.com/ueberdosis/hocuspocus/compare/@hocuspocus/extension-rocksdb@1.0.0-alpha.69...@hocuspocus/extension-rocksdb@1.0.0-alpha.70) (2021-09-01) | ||
**Note:** Version bump only for package @hocuspocus/extension-rocksdb | ||
# [1.0.0-alpha.69](https://github.com/ueberdosis/hocuspocus/compare/@hocuspocus/extension-rocksdb@1.0.0-alpha.68...@hocuspocus/extension-rocksdb@1.0.0-alpha.69) (2021-09-01) | ||
**Note:** Version bump only for package @hocuspocus/extension-rocksdb | ||
# [1.0.0-alpha.68](https://github.com/ueberdosis/hocuspocus/compare/@hocuspocus/extension-rocksdb@1.0.0-alpha.67...@hocuspocus/extension-rocksdb@1.0.0-alpha.68) (2021-08-31) | ||
@@ -8,0 +24,0 @@ |
@@ -13,2 +13,3 @@ import { Decoder } from 'lib0/decoding'; | ||
writeVarUint8Array(data: Uint8Array): void; | ||
length(): number; | ||
} |
@@ -5,3 +5,5 @@ import { HocuspocusProvider } from './HocuspocusProvider'; | ||
message: IncomingMessage; | ||
broadcasted: boolean; | ||
constructor(message: IncomingMessage); | ||
setBroadcasted(value: boolean): this; | ||
apply(provider: HocuspocusProvider, emitSynced?: boolean): void; | ||
@@ -8,0 +10,0 @@ private applySyncMessage; |
import { Encoder } from 'lib0/encoding'; | ||
import { MessageType, OutgoingMessageInterface } from './types'; | ||
import { MessageType, OutgoingMessageArguments, OutgoingMessageInterface } from './types'; | ||
export declare class OutgoingMessage implements OutgoingMessageInterface { | ||
@@ -7,3 +7,4 @@ encoder: Encoder; | ||
constructor(); | ||
get(args: Partial<OutgoingMessageArguments>): Encoder | undefined; | ||
toUint8Array(): Uint8Array; | ||
} |
import { Awareness } from 'y-protocols/awareness'; | ||
import * as Y from 'yjs'; | ||
import * as encoding from 'lib0/encoding'; | ||
import { Encoder } from 'lib0/encoding'; | ||
export declare enum MessageType { | ||
@@ -11,3 +11,3 @@ Sync = 0, | ||
export interface OutgoingMessageInterface { | ||
encoder: encoding.Encoder; | ||
encoder: Encoder; | ||
type?: MessageType; | ||
@@ -24,2 +24,3 @@ } | ||
update: any; | ||
encoder: Encoder; | ||
} | ||
@@ -26,0 +27,0 @@ export interface Constructable<T> { |
@@ -46,3 +46,2 @@ /// <reference types="node" /> | ||
*/ | ||
private sendFirstSyncStep; | ||
/** | ||
@@ -49,0 +48,0 @@ * Handle an incoming message |
@@ -11,3 +11,3 @@ /// <reference types="node" /> | ||
/** | ||
* Hocuspocus yjs websocket server | ||
* Hocuspocus server | ||
*/ | ||
@@ -30,3 +30,3 @@ export declare class Hocuspocus { | ||
/** | ||
* Force closes one or more connections | ||
* Force close one or more connections | ||
*/ | ||
@@ -39,3 +39,3 @@ closeConnections(documentName?: string): void; | ||
/** | ||
* Handle the incoming websocket connection | ||
* Handle the incoming WebSocket connection | ||
*/ | ||
@@ -75,3 +75,3 @@ handleConnection(incoming: WebSocket, request: IncomingMessage, documentName: string, context?: any): void; | ||
enableDebugging(): void; | ||
enableLogging(): void; | ||
enableMessageLogging(): void; | ||
disableLogging(): void; | ||
@@ -78,0 +78,0 @@ disableDebugging(): void; |
{ | ||
"name": "@hocuspocus/extension-rocksdb", | ||
"description": "hocuspocus persistence driver for RocksDB", | ||
"version": "1.0.0-alpha.68", | ||
"version": "1.0.0-alpha.70", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@hocuspocus/server": "^1.0.0-alpha.66", | ||
"@hocuspocus/server": "^1.0.0-alpha.68", | ||
"@types/encoding-down": "^5.0.0", | ||
@@ -36,3 +36,3 @@ "@types/levelup": "^4.3.0", | ||
}, | ||
"gitHead": "f4b2c62f0322daa4c95f6be2009fc7a9c48557cb" | ||
"gitHead": "005faff0476fece012e9d92b82d59675eb69b4eb" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61589
1152