Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@huaweicloud/huaweicloud-sdk-ocr

Package Overview
Dependencies
Maintainers
2
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huaweicloud/huaweicloud-sdk-ocr - npm Package Compare versions

Comparing version 3.0.54-rc to 3.0.55-rc

4

package.json
{
"name": "@huaweicloud/huaweicloud-sdk-ocr",
"version": "3.0.54-rc",
"version": "3.0.55-rc",
"description": "Huaweicloud SDK for ocr",

@@ -17,4 +17,4 @@ "main": "huaweicloud-sdk-ocr.js",

"dependencies": {
"@huaweicloud/huaweicloud-sdk-core": "^3.0.54-rc"
"@huaweicloud/huaweicloud-sdk-core": "^3.0.55-rc"
}
}

@@ -6,2 +6,3 @@ export declare class WebImageRequestBody {

private 'extract_type'?;
private 'detect_font'?;
constructor();

@@ -16,2 +17,5 @@ withImage(image: string): WebImageRequestBody;

get extractType(): Array<string> | undefined;
withDetectFont(detectFont: boolean): WebImageRequestBody;
set detectFont(detectFont: boolean | undefined);
get detectFont(): boolean | undefined;
}

@@ -43,4 +43,18 @@ "use strict";

});
WebImageRequestBody.prototype.withDetectFont = function (detectFont) {
this['detect_font'] = detectFont;
return this;
};
Object.defineProperty(WebImageRequestBody.prototype, "detectFont", {
get: function () {
return this['detect_font'];
},
set: function (detectFont) {
this['detect_font'] = detectFont;
},
enumerable: false,
configurable: true
});
return WebImageRequestBody;
}());
exports.WebImageRequestBody = WebImageRequestBody;

@@ -16,2 +16,4 @@ export declare class WebImageWordsBlockList {

private 'detail_address'?;
private 'font_list'?;
private 'font_scores'?;
constructor();

@@ -40,2 +42,8 @@ withWords(words: string): WebImageWordsBlockList;

get detailAddress(): string | undefined;
withFontList(fontList: Array<string>): WebImageWordsBlockList;
set fontList(fontList: Array<string> | undefined);
get fontList(): Array<string> | undefined;
withFontScores(fontScores: Array<number>): WebImageWordsBlockList;
set fontScores(fontScores: Array<number> | undefined);
get fontScores(): Array<number> | undefined;
}

@@ -103,4 +103,32 @@ "use strict";

});
WebImageWordsBlockList.prototype.withFontList = function (fontList) {
this['font_list'] = fontList;
return this;
};
Object.defineProperty(WebImageWordsBlockList.prototype, "fontList", {
get: function () {
return this['font_list'];
},
set: function (fontList) {
this['font_list'] = fontList;
},
enumerable: false,
configurable: true
});
WebImageWordsBlockList.prototype.withFontScores = function (fontScores) {
this['font_scores'] = fontScores;
return this;
};
Object.defineProperty(WebImageWordsBlockList.prototype, "fontScores", {
get: function () {
return this['font_scores'];
},
set: function (fontScores) {
this['font_scores'] = fontScores;
},
enumerable: false,
configurable: true
});
return WebImageWordsBlockList;
}());
exports.WebImageWordsBlockList = WebImageWordsBlockList;

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

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