Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions JavaScript/ocrsdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ try {
throw new Error("xml2js module not found. Please install it with 'npm install xml2js'");
}

exports.create = function(applicationId, password) {
return new ocrsdk(applicationId, password);
exports.create = function(applicationId, password, serviceUrl) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return new ocrsdk(applicationId, password, serviceUrl);
}

exports.ProcessingSettings = ProcessingSettings;
Expand All @@ -38,6 +38,7 @@ exports.ProcessingSettings = ProcessingSettings;
* @constructor
* @param {string} applicationId Application Id.
* @param {string} password Password for the application you received in e-mail.
* @param {string} serviceUrl Service url to use.
* To create an application and obtain a password,
* register at https://cloud.ocrsdk.com/Account/Register
* More info on getting your application id and password at
Expand Down