Skip to content

Commit

Permalink
bumps version
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Jul 13, 2019
1 parent b4e2001 commit 02fc093
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.0.3] - 2019-07-14
### Changed
- Adds support for api on a different domain (as long as there is a shared sub domain between currently loaded page and API) - via setting withCredentials to true.

## [3.0.2] - 2019-07-10
### Changed
- makeSuper is now a part of the default import
Expand Down
1 change: 0 additions & 1 deletion axios.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ AuthHttpRequest.makeSuper = axiosInstance => {
config => {
// we create an instance since we don't want to intercept this.
const instance = axios.create();
config = Object.assign({}, config, { withCredentials: true });
return instance(config);
},
config,
Expand Down
4 changes: 0 additions & 4 deletions axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,6 @@ export default class AuthHttpRequest {
(config: AxiosRequestConfig) => {
// we create an instance since we don't want to intercept this.
const instance = axios.create();
config = {
...config,
withCredentials: true
};
return instance(config);
},
config,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "supertokens-website",
"version": "3.0.2",
"version": "3.0.3",
"description": "frontend sdk for website to be used for auth solution.",
"main": "index.js",
"dependencies": {
Expand Down

0 comments on commit 02fc093

Please sign in to comment.