@hocuspocus/extension-sqlite
Advanced tools
Comparing version 2.0.0-alpha.1 to 2.0.0-beta.0
@@ -5,3 +5,2 @@ /// <reference types="node" /> | ||
import { Transformer } from '@hocuspocus/transformer'; | ||
import { AxiosResponse } from 'axios'; | ||
export declare enum Events { | ||
@@ -45,3 +44,3 @@ onChange = "change", | ||
*/ | ||
sendRequest(event: Events, payload: any): Promise<AxiosResponse<any, any>>; | ||
sendRequest(event: Events, payload: any): Promise<import("axios").AxiosResponse<any, any>>; | ||
/** | ||
@@ -48,0 +47,0 @@ * onChange hook |
@@ -7,5 +7,5 @@ import * as Y from 'yjs'; | ||
import { ConstructableOutgoingMessage, onAuthenticationFailedParameters, onCloseParameters, onDisconnectParameters, onMessageParameters, onOpenParameters, onOutgoingMessageParameters, onStatelessParameters, onStatusParameters, onSyncedParameters, WebSocketStatus } from './types'; | ||
import { HocuspocusProviderWebsocket } from './HocuspocusProviderWebsocket'; | ||
import { CompleteHocuspocusProviderWebsocketConfiguration, HocuspocusProviderWebsocket } from './HocuspocusProviderWebsocket'; | ||
import { onAwarenessChangeParameters, onAwarenessUpdateParameters } from '.'; | ||
export declare type HocuspocusProviderConfiguration = Required<Pick<CompleteHocuspocusProviderConfiguration, 'name' | 'websocketProvider'>> & Partial<CompleteHocuspocusProviderConfiguration>; | ||
export declare type HocuspocusProviderConfiguration = Required<Pick<CompleteHocuspocusProviderConfiguration, 'name'>> & Partial<CompleteHocuspocusProviderConfiguration> & (Required<Pick<CompleteHocuspocusProviderWebsocketConfiguration, 'url'>> | Required<Pick<CompleteHocuspocusProviderConfiguration, 'websocketProvider'>>); | ||
export interface CompleteHocuspocusProviderConfiguration { | ||
@@ -74,2 +74,3 @@ /** | ||
intervals: any; | ||
isConnected: boolean; | ||
constructor(configuration: HocuspocusProviderConfiguration); | ||
@@ -76,0 +77,0 @@ onStatus({ status }: onStatusParameters): void; |
{ | ||
"name": "@hocuspocus/extension-sqlite", | ||
"description": "a generic Hocuspocus persistence driver for the sqlite", | ||
"version": "2.0.0-alpha.1", | ||
"version": "2.0.0-beta.0", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@hocuspocus/extension-database": "^2.0.0-alpha.1", | ||
"@hocuspocus/extension-database": "^2.0.0-beta.0", | ||
"kleur": "^4.1.4", | ||
@@ -32,0 +32,0 @@ "sqlite3": "^5.0.11" |
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
76539
128
1895