You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

scanbot-web-sdk

Package Overview
Dependencies
Maintainers
1
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scanbot-web-sdk - npm Package Compare versions

Comparing version

to
2.0.2-beta1

./@types/index.d.ts

4

./@types/cropping-view.d.ts

@@ -69,4 +69,6 @@ import React from "react";

get configuration(): CroppingViewConfiguration;
calculateRatio(): number;
BASE_SCALE: number;
calculateScale(existingRotations: number, appliedRotations: number, size?: Size): number;
calculateRatio(size?: Size): number;
calculateMargin(size: Size): Point;
}

@@ -34,2 +34,6 @@ import { Polygon } from "../response/detection-result";

image: Uint8Array;
/**
* Initial rotations of the original image. Default is 0
*/
rotations?: number;
style?: CroppingViewStyle;

@@ -36,0 +40,0 @@ static fromJson(json: any): CroppingViewConfiguration;

@@ -5,2 +5,3 @@ import { Polygon } from "./detection-result";

polygon: Polygon;
rotations: number;
}

@@ -8,4 +8,4 @@ import { InitializationOptions } from "./model/configuration/initialization-options";

import { ImageFilter } from './model/filter-types';
import PdfGenerator, { PdfGenerationOptions } from './pdf-generator';
import TiffGenerator, { TiffGenerationOptions } from './tiff-generator';
import PdfGenerator, { PdfGenerationOptions } from './service/pdf-generator';
import TiffGenerator, { TiffGenerationOptions } from './service/tiff-generator';
import { IDocumentScannerHandle } from "./interfaces/i-document-scanner-handle";

@@ -12,0 +12,0 @@ import { ICroppingViewHandle } from "./interfaces/i-cropping-view-handle";

@@ -13,3 +13,3 @@ {

"author": "doo GmbH",
"version": "2.0.1",
"version": "2.0.2-beta1",
"dependencies": {},

@@ -20,3 +20,3 @@ "scripts": {

"transpile": "npx tsc --declaration && cp -r src/styles component/",
"cp-typings": "rsync -a --include '*/' --include '*.d.ts' --exclude '*' ./component/ ./@types/",
"cp-typings": "rsync -a --include '*/' --include '*.d.ts' --exclude '*' ./component/ ./@types/ && cp src/_misc/typings-entrypoint.d.ts ./@types/index.d.ts",
"build-lib-all": "bash lib/build-all-packages.sh",

@@ -23,0 +23,0 @@ "build-src": "npx webpack --mode production",

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 not supported yet

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 not supported yet

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

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