Skip to content

Commit a84580e

Browse files
committed
updates dependency of supertokens-web-js
1 parent f1b7e7e commit a84580e

File tree

6 files changed

+31
-22
lines changed

6 files changed

+31
-22
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [0.41.0] - 2024-05-09
11+
12+
### Breaking changes
13+
14+
The `shouldDoInterceptionBasedOnUrl` function now returns true:
15+
16+
- If sessionTokenBackendDomain is a valid subdomain of the URL's domain. This aligns with the behavior of browsers when sending cookies to subdomains.
17+
- Even if the ports of the URL you are querying are different compared to the apiDomain's port ot the sessionTokenBackendDomain port (as long as the hostname is the same, or a subdomain of the sessionTokenBackendDomain): #217
18+
1019
## [0.40.1] - 2024-04-29
1120

1221
### CI changes

lib/build/genericComponentOverrideContext.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/version.d.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
* License for the specific language governing permissions and limitations
1313
* under the License.
1414
*/
15-
export const package_version = "0.40.1";
15+
export const package_version = "0.41.0";

package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "supertokens-auth-react",
3-
"version": "0.40.1",
3+
"version": "0.41.0",
44
"description": "ReactJS SDK that provides login functionality with SuperTokens.",
55
"main": "./index.js",
66
"engines": {
@@ -98,7 +98,7 @@
9898
"peerDependencies": {
9999
"react": ">=16.8.0",
100100
"react-dom": ">=16.8.0",
101-
"supertokens-web-js": "^0.10.0"
101+
"supertokens-web-js": "^0.11.0"
102102
},
103103
"scripts": {
104104
"init": "bash ./init.sh",

0 commit comments

Comments
 (0)