authscape 1.0.226 → 1.0.227

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -3186,7 +3186,8 @@ var signInValidator = /*#__PURE__*/function () {
3186
3186
  maxAge: 2147483647,
3187
3187
  path: '/',
3188
3188
  domain: window.location.origin,
3189
- secure: true
3189
+ secure: true,
3190
+ sameSite: false
3190
3191
  });
3191
3192
  case 10:
3192
3193
  _context.next = 12;
@@ -3194,7 +3195,8 @@ var signInValidator = /*#__PURE__*/function () {
3194
3195
  maxAge: 2147483647,
3195
3196
  path: '/',
3196
3197
  domain: window.location.origin,
3197
- secure: true
3198
+ secure: true,
3199
+ sameSite: false
3198
3200
  });
3199
3201
  case 12:
3200
3202
  _context.next = 14;
@@ -3202,7 +3204,8 @@ var signInValidator = /*#__PURE__*/function () {
3202
3204
  maxAge: 2147483647,
3203
3205
  path: '/',
3204
3206
  domain: window.location.origin,
3205
- secure: true
3207
+ secure: true,
3208
+ sameSite: false
3206
3209
  });
3207
3210
  case 14:
3208
3211
  redirectUri = localStorage.getItem("redirectUri");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.226",
3
+ "version": "1.0.227",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -32,7 +32,8 @@ export const signInValidator = async (queryCode) => {
32
32
  maxAge: 2147483647,
33
33
  path: '/',
34
34
  domain: window.location.origin,
35
- secure: true
35
+ secure: true,
36
+ sameSite: false
36
37
  });
37
38
 
38
39
  await setCookie(null, "expires_in", response.data.expires_in,
@@ -40,7 +41,8 @@ export const signInValidator = async (queryCode) => {
40
41
  maxAge: 2147483647,
41
42
  path: '/',
42
43
  domain: window.location.origin,
43
- secure: true
44
+ secure: true,
45
+ sameSite: false
44
46
  });
45
47
 
46
48
  await setCookie(null, "refresh_token", response.data.refresh_token,
@@ -48,7 +50,8 @@ export const signInValidator = async (queryCode) => {
48
50
  maxAge: 2147483647,
49
51
  path: '/',
50
52
  domain: window.location.origin,
51
- secure: true
53
+ secure: true,
54
+ sameSite: false
52
55
  });
53
56
 
54
57