@tryvital/vital-node 1.3.5 → 1.3.6

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/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  Node client for using Vital API.
4
4
 
5
-
6
5
  ### Install
7
6
 
8
7
  With npm:
@@ -17,22 +16,6 @@ With yarn
17
16
  yarn add @tryvital/vital-node
18
17
  ```
19
18
 
20
-
21
19
  ## Documentation
22
20
 
23
- The official [Vital Link docs](https://docs.tryvital.io) provide a full reference on using this library.
24
-
25
-
26
- ### Examples
27
- ```
28
- const { VitalClient } = require("Vital");
29
-
30
- const client = new VitalClient({
31
- client_id: <CLIENT_ID>,
32
- client_secret: <CLIENT_SECRET>,
33
- environment: "sandbox",
34
- });
35
-
36
- const resp = await client.User.getUser(user_key)
37
- const data = await resp.data
38
- ```
21
+ Please refer to the official [Vital docs](https://docs.tryvital.io) provide a full reference on using this library.
@@ -1,7 +1,7 @@
1
1
  export interface PatientAdress {
2
2
  receiver_name: string;
3
- street_number: string;
4
- street: string;
3
+ first_line: string;
4
+ second_line?: string;
5
5
  city: string;
6
6
  state: string;
7
7
  zip: string;
@@ -1,7 +1,7 @@
1
1
  export interface PatientAdress {
2
2
  receiver_name: string;
3
- street_number: string;
4
- street: string;
3
+ first_line: string;
4
+ second_line?: string;
5
5
  city: string;
6
6
  state: string;
7
7
  zip: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "Node client for Vital",
5
5
  "author": "maitham",
6
6
  "keywords": [
@@ -56,4 +56,4 @@
56
56
  "ts-node": "^10.2.0",
57
57
  "typescript": "^4.3.5"
58
58
  }
59
- }
59
+ }