@stytch/vanilla-js 2.2.1 → 2.2.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @stytch/vanilla-js
2
2
 
3
+ ## 2.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 3c4fa89: Don't delete cookies from datalayer, let SubscriptionService handle instead.
8
+
3
9
  ## 2.2.1
4
10
 
5
11
  ### Patch Changes
@@ -2887,7 +2887,7 @@ var Re = /*#__PURE__*/function () {
2887
2887
  },
2888
2888
  sdk: {
2889
2889
  identifier: "Stytch.js Javascript SDK",
2890
- version: "2.2.1"
2890
+ version: "2.2.2"
2891
2891
  }
2892
2892
  });
2893
2893
  }
@@ -3256,7 +3256,7 @@ var $e = /*#__PURE__*/function () {
3256
3256
  try {
3257
3257
  r = JSON.parse(n);
3258
3258
  } catch (e) {
3259
- return this.syncToLocalStorage(), this.removeSessionCookie(), void this.removeISTCookie();
3259
+ return void this.syncToLocalStorage();
3260
3260
  }
3261
3261
  this.state = r;
3262
3262
  }
package/dist/b2b/index.js CHANGED
@@ -2892,7 +2892,7 @@ var Re = /*#__PURE__*/function () {
2892
2892
  },
2893
2893
  sdk: {
2894
2894
  identifier: "Stytch.js Javascript SDK",
2895
- version: "2.2.1"
2895
+ version: "2.2.2"
2896
2896
  }
2897
2897
  });
2898
2898
  }
@@ -3261,7 +3261,7 @@ var $e = /*#__PURE__*/function () {
3261
3261
  try {
3262
3262
  r = JSON.parse(n);
3263
3263
  } catch (e) {
3264
- return this.syncToLocalStorage(), this.removeSessionCookie(), void this.removeISTCookie();
3264
+ return void this.syncToLocalStorage();
3265
3265
  }
3266
3266
  this.state = r;
3267
3267
  }