update to 14.2 (#29720)

* fix bugs with types

* fixed type errors

* more type errors fixed

* fixed errors and added missing type definitions

* fix all typos and added all missing ones

* change inappropriate names

* Updated names to be more accurate.

* adds EnumDWT_ConvertMode to make compatible with the old enum

* update to 14.2

* add v13

* delete v13 for test not pass

* remove base64

* fixed conflict

* add back GetLicenseInfo

* change header version to 14.2
This commit is contained in:
lincoln
2018-10-15 09:48:39 -07:00
committed by Sheetal Nandi
parent 8b63c2bc82
commit c799ce19bf
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
*
* Copyright 2018, Dynamsoft Corporation
* Author: Dynamsoft Support Team
* Version: 13.4
* Version: 14.2
*/
declare enum EnumDWT_ConvertMode {
+4 -4
View File
@@ -1,4 +1,4 @@
// Type definitions for dwt 13.4
// Type definitions for dwt 14.2
// Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx
// Definitions by: Xiao Ling <https://github.com/yushulx>
// Josh Hall <https://github.com/jbh>
@@ -14,7 +14,7 @@
*
* Copyright 2018, Dynamsoft Corporation
* Author: Dynamsoft Support Team
* Version: 13.4
* Version: 14.2
*/
/**
@@ -2889,12 +2889,12 @@ interface WebTwain {
* @return {number}
*/
GetImageYResolution(sImageIndex: number): number;
/**
* Return the runtime license info.
* @method WebTwain#GetLicenseInfo
*/
GetLicenseInfo(): { Domain: string, Detail: LicenseDetailItem[] };
GetLicenseInfo(optionalAsyncSuccessFunc?: (result: any) => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean;
/**
* Returns the index of the selected image.