@tryvital/vital-node 2.1.15 → 2.1.16

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.
@@ -178,7 +178,7 @@ export class ResultsApi {
178
178
  // such as whether the area is served by our Phlebotomy network.
179
179
  public async getAreaInfo(zip_code: string): Promise<AreaInfo> {
180
180
  const resp = await this.client.get(
181
- this.baseURL.concat('/area/info?') +
181
+ this.baseURL.concat('/order/area/info?') +
182
182
  new URLSearchParams({ zip_code: zip_code })
183
183
  );
184
184
  return resp.data;
@@ -250,7 +250,7 @@ var ResultsApi = /** @class */ (function () {
250
250
  var resp;
251
251
  return __generator(this, function (_a) {
252
252
  switch (_a.label) {
253
- case 0: return [4 /*yield*/, this.client.get(this.baseURL.concat('/area/info?') +
253
+ case 0: return [4 /*yield*/, this.client.get(this.baseURL.concat('/order/area/info?') +
254
254
  new URLSearchParams({ zip_code: zip_code }))];
255
255
  case 1:
256
256
  resp = _a.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "2.1.15",
3
+ "version": "2.1.16",
4
4
  "description": "Node client for Vital",
5
5
  "author": "maitham",
6
6
  "keywords": [