Socket
Socket
Sign inDemoInstall

@react-pdf-viewer/core

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-pdf-viewer/core - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

28

lib/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc