Socket
Socket
Sign inDemoInstall

@pdftron/collab-client

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pdftron/collab-client - npm Package Compare versions

Comparing version 2.0.1-alpha.2 to 2.0.1-alpha.4

4

package.json

@@ -6,3 +6,3 @@ {

"typedocMain": "src/index.ts",
"version": "2.0.1-alpha.2",
"version": "2.0.1-alpha.4",
"scripts": {

@@ -29,3 +29,3 @@ "test": "jest --watch",

},
"gitHead": "33eba0003bb5cf8e8eccb5afdcb9d5163af8b4ac"
"gitHead": "60fe7d47acc1707e8c69f82a9baea5976f932326"
}

@@ -94,5 +94,7 @@ import { GetSnapshotsFiltered } from "../graphql/queries/types/GetSnapshotsFiltered";

*
* If 'withXfdf' is provided, the document will be restored using the provided XFDF. It is not recommended to use this functionality.
*
* Throws if user does not have permission to restore a snapshot.
*/
restore(backupName?: string): Promise<import("../graphql/mutations/types/RestoreSnapshot").RestoreSnapshot_restoreSnapshot>;
restore(backupName?: string, withXFDF?: string): Promise<import("../graphql/mutations/types/RestoreSnapshot").RestoreSnapshot_restoreSnapshot>;
/**

@@ -99,0 +101,0 @@ * Fired when anything about this snapshot changes

@@ -11,2 +11,5 @@ import { WebViewerInstance } from "@pdftron/webviewer";

import { AnnotationFilterFunction } from './types';
import { Snapshot } from "./entities/Snapshot";
import { Annotation } from "./entities/Annotation";
import { Mention } from "./entities/Mention";
/**

@@ -72,3 +75,17 @@ * Constructor options for the Collaboration Client

static LogLevels: typeof LogLevels;
private restoreAPIs?;
/**
* @ignore
*/
static __dangerous_constructors: {
Snapshot: typeof Snapshot;
Document: {
new (): Document;
prototype: Document;
};
Annotation: typeof Annotation;
User: typeof User;
Mention: typeof Mention;
};
/**
* An instance of [[EventManager]], which you can use to subscribe to certain events

@@ -75,0 +92,0 @@ */

@@ -19,3 +19,3 @@ import type { WebViewerInstance, UI } from "@pdftron/webviewer";

export declare const setMentionsList: (users: UserInfo[], mentionsManager: UI.MentionsManager, currentUserId: any) => void;
export declare const disableAPIs: (classRef: any, apiList: string[], message?: string) => void;
export declare const disableAPIs: <T extends string[]>(classRef: any, apiList: T, message?: string) => () => void;
export declare const ensureMinimumVersion: (instance: WebViewerInstance) => boolean;

@@ -13,3 +13,4 @@ import winston from 'winston';

USERNAMES = "USERNAMES",
ANNOTATION_SYNC = "ANNOTATION_SYNC"
ANNOTATION_SYNC = "ANNOTATION_SYNC",
PERMISSIONS = "PERMISSIONS"
}

@@ -16,0 +17,0 @@ export declare enum LogLevels {

@@ -142,2 +142,3 @@ export declare enum ChangeEventTypes {

createdAt: any;
withXFDF?: string | null;
}

@@ -144,0 +145,0 @@ export interface ScrollSyncPositionInput {

@@ -561,2 +561,3 @@ import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';

createdAt: Scalars['Date'];
withXFDF?: Maybe<Scalars['String']>;
};

@@ -563,0 +564,0 @@ export declare type RestoreSnapshotResult = {

Sorry, the diff of this file is too big to display

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