@react-pdf-viewer/core
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -580,10 +580,4 @@ /** | ||
export interface Store<T extends StoreState> { | ||
subscribe<K extends StoreKey<T>>( | ||
eventName: K, | ||
handler: StoreHandler<NonNullable<T[K]>> | ||
): void; | ||
unsubscribe<K extends StoreKey<T>>( | ||
eventName: K, | ||
handler: StoreHandler<NonNullable<T[K]>> | ||
): void; | ||
subscribe<K extends StoreKey<T>>(eventName: K, handler: StoreHandler<NonNullable<T[K]>>): void; | ||
unsubscribe<K extends StoreKey<T>>(eventName: K, handler: StoreHandler<NonNullable<T[K]>>): void; | ||
update<K extends StoreKey<T>>(eventName: K, params: T[K]): void; | ||
@@ -621,5 +615,3 @@ get<K extends StoreKey<T>>(eventName: K): T[K] | undefined; | ||
theme?: string; | ||
transformGetDocumentParams?( | ||
options: PdfJs.GetDocumentParams | ||
): PdfJs.GetDocumentParams; | ||
transformGetDocumentParams?(options: PdfJs.GetDocumentParams): PdfJs.GetDocumentParams; | ||
// Indicate the cross-site requests should be made with credentials such as cookie and authorization headers. | ||
@@ -646,10 +638,5 @@ // The default value is `false` | ||
} | ||
export function useIntersectionObserver( | ||
props: UseIntersectionObserverProps | ||
): React.MutableRefObject<HTMLDivElement>; | ||
export function useIntersectionObserver(props: UseIntersectionObserverProps): React.MutableRefObject<HTMLDivElement>; | ||
export function useIsomorphicLayoutEffect( | ||
effect: React.EffectCallback, | ||
deps?: React.DependencyList | ||
): void; | ||
export function useIsomorphicLayoutEffect(effect: React.EffectCallback, deps?: React.DependencyList): void; | ||
@@ -665,5 +652,2 @@ // Utils | ||
export function getDestination( | ||
doc: PdfJs.PdfDocument, | ||
dest: PdfJs.OutlineDestinationType | ||
): Promise<JumpToDestination>; | ||
export function getDestination(doc: PdfJs.PdfDocument, dest: PdfJs.OutlineDestinationType): Promise<JumpToDestination>; |
{ | ||
"name": "@react-pdf-viewer/core", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "A React component to view a PDF document", | ||
@@ -50,3 +50,3 @@ "license": "https://react-pdf-viewer.dev/license", | ||
}, | ||
"gitHead": "91d6279570bd3d4672b131100392afd6e8658892" | ||
"gitHead": "500247f24514da033bf92266f6903decaffebb68" | ||
} |
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
184316