@veryfi/veryfi-sdk 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/getHeaders.js +1 -1
- package/lib/types/BillTo.ts +1 -1
- package/lib/types/ShipTo.ts +1 -1
- package/package.json +2 -2
package/lib/client/getHeaders.js
CHANGED
|
@@ -8,7 +8,7 @@ const Client = require('../client/constructor');
|
|
|
8
8
|
*/
|
|
9
9
|
Client.prototype._get_headers = function (has_files = false) {
|
|
10
10
|
let final_headers = {
|
|
11
|
-
"User-Agent": "Node.js Veryfi-Nodejs/1.4.
|
|
11
|
+
"User-Agent": "Node.js Veryfi-Nodejs/1.4.4",
|
|
12
12
|
"Accept": "application/json",
|
|
13
13
|
"Content-Type": "application/json",
|
|
14
14
|
"Client-Id": this.client_id,
|
package/lib/types/BillTo.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare type BillTo = {
|
|
|
4
4
|
address?: null | string | BoundingElement;
|
|
5
5
|
email?: null | string | BoundingElement;
|
|
6
6
|
name?: null | string | BoundingElement;
|
|
7
|
-
parsed_address?: null | string
|
|
7
|
+
parsed_address?: null | Record<string, unknown>;
|
|
8
8
|
phone_number?: null | number | string | BoundingElement;
|
|
9
9
|
reg_number?: null | number | string | BoundingElement;
|
|
10
10
|
vat_number?: null | number | string | BoundingElement;
|
package/lib/types/ShipTo.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veryfi/veryfi-sdk",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "Node.js module for communicating with the Veryfi OCR API",
|
|
5
5
|
"main": "lib/client/client.js",
|
|
6
6
|
"typings": "lib/types/Client.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@jest/globals": "^29.0.3",
|
|
36
|
-
"axios": "^1.
|
|
36
|
+
"axios": "^1.8.2",
|
|
37
37
|
"docdash": "^1.2.0",
|
|
38
38
|
"form-data": "^4.0.0",
|
|
39
39
|
"jest-config": "^29.0.3"
|