@tryvital/vital-node
Advanced tools
Comparing version 0.3.2 to 0.3.3
import { ActivityApi, BodyApi, LinkApi, ProviderSpecificApi, SleepApi, UserApi, WebhooksApi, WorkoutsApi } from './client'; | ||
import { ClientConfig } from './lib/models'; | ||
import { ClientCredentials } from './lib/credentials'; | ||
import { VitalsApi } from './client/Vitals'; | ||
export declare class VitalClient { | ||
@@ -15,3 +16,4 @@ config: ClientConfig; | ||
Webhooks: WebhooksApi; | ||
Vitals: VitalsApi; | ||
constructor(config: ClientConfig); | ||
} |
@@ -56,2 +56,3 @@ "use strict"; | ||
var credentials_1 = require("./lib/credentials"); | ||
var Vitals_1 = require("./client/Vitals"); | ||
var VitalClient = /** @class */ (function () { | ||
@@ -91,2 +92,3 @@ function VitalClient(config) { | ||
this.Webhooks = new client_1.WebhooksApi(baseURL, axiosApiInstance); | ||
this.Vitals = new Vitals_1.VitalsApi(baseURL, axiosApiInstance); | ||
} | ||
@@ -93,0 +95,0 @@ return VitalClient; |
@@ -16,2 +16,3 @@ import axios from 'axios'; | ||
import { ClientCredentials } from './lib/credentials'; | ||
import { VitalsApi } from './client/Vitals'; | ||
@@ -29,2 +30,3 @@ export class VitalClient { | ||
Webhooks: WebhooksApi; | ||
Vitals: VitalsApi; | ||
@@ -66,3 +68,4 @@ constructor(config: ClientConfig) { | ||
this.Webhooks = new WebhooksApi(baseURL, axiosApiInstance); | ||
this.Vitals = new VitalsApi(baseURL, axiosApiInstance); | ||
} | ||
} |
{ | ||
"name": "@tryvital/vital-node", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Node client for Vital", | ||
@@ -5,0 +5,0 @@ "author": "maitham", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
558614
183
9694