node-calendly
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -28,3 +28,3 @@ "use strict"; | ||
timeout: (params === null || params === void 0 ? void 0 : params.timeout) || 60000, | ||
limit: (params === null || params === void 0 ? void 0 : params.limit) || 10, | ||
limit: (params === null || params === void 0 ? void 0 : params.limit) || 2, | ||
interval: (params === null || params === void 0 ? void 0 : params.interval) || 1000, | ||
@@ -40,13 +40,2 @@ bucketSize: (params === null || params === void 0 ? void 0 : params.bucketSize) || 35 | ||
return __awaiter(this, void 0, void 0, function* () { | ||
// const response = await fetch(url, { | ||
// method: 'GET', | ||
// headers: { | ||
// Authorization: `Bearer ${this.ACCESS_TOKEN}`, | ||
// 'Content-Type': 'application/json' | ||
// } | ||
// }); | ||
// const data = await response.json(); | ||
// if (data && data.message) | ||
// throw new Error(data.title + ': ' + data.message); | ||
// return data; | ||
return this.request(url, { | ||
@@ -63,14 +52,2 @@ method: 'GET', | ||
return __awaiter(this, void 0, void 0, function* () { | ||
// const response = await fetch(url, { | ||
// method: 'POST', | ||
// headers: { | ||
// 'Content-Type': 'application/json', | ||
// Authorization: `Bearer ${this.ACCESS_TOKEN}` | ||
// }, | ||
// body | ||
// }); | ||
// const data = await response.json(); | ||
// if (data && data.message) | ||
// throw new Error(data.title + ': ' + data.message); | ||
// return data; | ||
return this.request(url, { | ||
@@ -77,0 +54,0 @@ method: 'POST', |
@@ -16,3 +16,3 @@ "use strict"; | ||
timeout: 60000, | ||
limit: 8, | ||
limit: 2, | ||
interval: 1000, | ||
@@ -19,0 +19,0 @@ bucketSize: 35 |
@@ -18,3 +18,3 @@ "use strict"; | ||
? process.env.DEBUG_LEVEL | ||
: 'debug'; | ||
: 'info'; | ||
class LogHandler { | ||
@@ -21,0 +21,0 @@ constructor() { |
{ | ||
"name": "node-calendly", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Node module to access calendly api.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/Calendly.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
140729
1800