tinybird.js
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -13,2 +13,8 @@ # Change Log | ||
## [2.0.2] - 2021-12-01 | ||
### Fixed | ||
- Send token as query param instead of header when creating a Data Source in the case of long URLs (!33) | ||
## [2.0.1] - 2021-11-19 | ||
@@ -15,0 +21,0 @@ |
@@ -5,3 +5,3 @@ /* | ||
* git+ssh://git@gitlab.com/tinybird/tinybird.js.git | ||
* v2.0.1 | ||
* v2.0.2 | ||
* MIT License | ||
@@ -1413,6 +1413,5 @@ */ | ||
schemaParams.format = type; | ||
return Utils.fetchJson(Utils.trimUrl(url), { | ||
return Utils.fetchJson(Utils.trimUrl(url + 'token=' + token), { | ||
method: 'POST', | ||
headers: { | ||
Authorization: 'Bearer ' + token, | ||
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8' | ||
@@ -1419,0 +1418,0 @@ }, |
@@ -5,3 +5,3 @@ /* | ||
* git+ssh://git@gitlab.com/tinybird/tinybird.js.git | ||
* v2.0.1 | ||
* v2.0.2 | ||
* MIT License | ||
@@ -1419,6 +1419,5 @@ */ | ||
schemaParams.format = type; | ||
return Utils.fetchJson(Utils.trimUrl(url), { | ||
return Utils.fetchJson(Utils.trimUrl(url + 'token=' + token), { | ||
method: 'POST', | ||
headers: { | ||
Authorization: 'Bearer ' + token, | ||
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8' | ||
@@ -1425,0 +1424,0 @@ }, |
{ | ||
"name": "tinybird.js", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Tinybird.js library", | ||
@@ -5,0 +5,0 @@ "umd": "dist/tinybird.umd.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
472751
3965