@hocuspocus/provider
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -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 |
export * from './HocuspocusProvider'; | ||
export * from './HocuspocusCloudProvider'; | ||
export * from './TiptapCollabProvider'; | ||
export * from './types'; |
{ | ||
"name": "@hocuspocus/provider", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "hocuspocus provider", | ||
@@ -31,3 +31,3 @@ "homepage": "https://hocuspocus.dev", | ||
"dependencies": { | ||
"@hocuspocus/common": "^1.1.1", | ||
"@hocuspocus/common": "^1.1.2", | ||
"@lifeomic/attempt": "^3.0.2", | ||
@@ -34,0 +34,0 @@ "lib0": "^0.2.46" |
@@ -599,3 +599,7 @@ import * as Y from 'yjs' | ||
if (!this.configuration.quiet) { | ||
console.warn('[HocuspocusProvider] An authentication token is required, but you didn’t send one. Try adding a `token` to your HocuspocusProvider configuration. Won’t try again.') | ||
if (event.reason === Unauthorized.reason) { | ||
console.warn('[HocuspocusProvider] An authentication token is required, but you didn’t send one. Try adding a `token` to your HocuspocusProvider configuration. Won’t try again.') | ||
} else { | ||
console.warn(`[HocuspocusProvider] Connection closed with status Unauthorized: ${event.reason}`) | ||
} | ||
} | ||
@@ -602,0 +606,0 @@ |
export * from './HocuspocusProvider' | ||
export * from './HocuspocusCloudProvider' | ||
export * from './TiptapCollabProvider' | ||
export * from './types' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
587039
6876
Updated@hocuspocus/common@^1.1.2