@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.
@@ -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.3",
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,
@@ -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;
@@ -3,5 +3,5 @@ import {BoundingElement} from "./BoundingElement";
3
3
  export declare type ShipTo = {
4
4
  address?: null | string | BoundingElement;
5
5
  name?: null | string | BoundingElement;
6
- parsed_address?: null | string;
6
+ parsed_address?: null | Record<string, unknown>;
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veryfi/veryfi-sdk",
3
- "version": "1.4.3",
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.7.4",
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"