@timetac/js-client-library
Advanced tools
Comparing version 0.12.0 to 0.13.0
@@ -14,3 +14,2 @@ "use strict"; | ||
const axios_1 = require("axios"); | ||
const qs_1 = require("qs"); | ||
const baseApi_1 = require("../baseApi"); | ||
@@ -46,3 +45,3 @@ const utils_1 = require("../utils"); | ||
}; | ||
return axios_1.default.post(url, qs_1.stringify(credentials), config); | ||
return axios_1.default.post(url, new URLSearchParams(credentials), config); | ||
}); | ||
@@ -66,3 +65,3 @@ } | ||
}; | ||
return axios_1.default.post(url, qs_1.stringify(credentials), config); | ||
return axios_1.default.post(url, new URLSearchParams(credentials), config); | ||
} | ||
@@ -69,0 +68,0 @@ throw utils_1.objectCheck({ |
@@ -10,2 +10,3 @@ import { AbsenceDaysEndpoint } from './absenceDays'; | ||
import { FavouriteTasksEndpoint } from './favouriteTasks'; | ||
import { FeedbackEndpoint } from './feedback'; | ||
import { GeneralSettingsEndpoint } from './generalSettings'; | ||
@@ -40,2 +41,3 @@ import { MessagesEndpoint } from './messages'; | ||
export { FavouriteTask, FavouriteTaskCreate } from './favouriteTasks/types'; | ||
export { FeedbackCreate } from './feedback/types'; | ||
export { GeneralSetting } from './generalSettings/types'; | ||
@@ -78,2 +80,3 @@ export { Message, MessageCreate } from './messages/types'; | ||
favouriteTasks: FavouriteTasksEndpoint; | ||
feedback: FeedbackEndpoint; | ||
generalSettings: GeneralSettingsEndpoint; | ||
@@ -80,0 +83,0 @@ projects: ProjectsEndpoint; |
@@ -22,2 +22,3 @@ "use strict"; | ||
const favouriteTasks_1 = require("./favouriteTasks"); | ||
const feedback_1 = require("./feedback"); | ||
const generalSettings_1 = require("./generalSettings"); | ||
@@ -66,2 +67,3 @@ const messages_1 = require("./messages"); | ||
this.favouriteTasks = new favouriteTasks_1.FavouriteTasksEndpoint(this.config); | ||
this.feedback = new feedback_1.FeedbackEndpoint(this.config); | ||
this.generalSettings = new generalSettings_1.GeneralSettingsEndpoint(this.config); | ||
@@ -68,0 +70,0 @@ this.projects = new projects_1.ProjectsEndpoint(this.config); |
{ | ||
"name": "@timetac/js-client-library", | ||
"version": "0.12.0", | ||
"version": "0.13.0", | ||
"description": "TimeTac API JS client library", | ||
@@ -38,5 +38,3 @@ "homepage": "https://github.com/TimeTac/js-client-library#readme", | ||
"dependencies": { | ||
"@types/qs": "^6.9.6", | ||
"axios": "0.21.1", | ||
"qs": "^6.9.6", | ||
"typescript": "^4.2.3" | ||
@@ -43,0 +41,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
208538
2
207
3073
- Removed@types/qs@^6.9.6
- Removedqs@^6.9.6
- Removed@types/qs@6.9.18(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.1.1(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.7(transitive)
- Removedget-proto@1.0.1(transitive)
- Removedgopd@1.2.0(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedqs@6.14.0(transitive)
- Removedside-channel@1.1.0(transitive)
- Removedside-channel-list@1.0.0(transitive)
- Removedside-channel-map@1.0.1(transitive)
- Removedside-channel-weakmap@1.0.2(transitive)