@vonage/accounts
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -21,3 +21,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const response = yield this.sendPostRequest(`${this.config.restHost}/accounts/${apiKey}/secrets`, { secret }); | ||
const response = yield this.sendPostRequest(`${this.config.apiHost}/accounts/${apiKey}/secrets`, { secret }); | ||
return response.data; | ||
@@ -28,3 +28,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function* () { | ||
yield this.sendDeleteRequest(`${this.config.restHost}/accounts/${apiKey}/secrets/${id}`); | ||
yield this.sendDeleteRequest(`${this.config.apiHost}/accounts/${apiKey}/secrets/${id}`); | ||
}); | ||
@@ -34,3 +34,3 @@ } | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const response = yield this.sendGetRequest(`${this.config.restHost}/accounts/${apiKey}/secrets/${id}`); | ||
const response = yield this.sendGetRequest(`${this.config.apiHost}/accounts/${apiKey}/secrets/${id}`); | ||
return response.data; | ||
@@ -41,3 +41,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const response = yield this.sendGetRequest(`${this.config.restHost}/accounts/${apiKey}/secrets`); | ||
const response = yield this.sendGetRequest(`${this.config.apiHost}/accounts/${apiKey}/secrets`); | ||
return response.data; | ||
@@ -44,0 +44,0 @@ }); |
{ | ||
"name": "@vonage/accounts", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Vonage Account Management API", | ||
@@ -5,0 +5,0 @@ "author": "Chris Tankersley <chris@ctankersley.com>", |
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
8224