@stytch/vanilla-js 4.11.2 → 4.11.3

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.
@@ -2780,7 +2780,8 @@ var et = Promise.resolve({
2780
2780
  }, {
2781
2781
  key: "updateSession",
2782
2782
  value: function value(e) {
2783
- this._subscriptionService.updateTokens(e);
2783
+ var t;
2784
+ Je("stytch.sessions.updateSession").isString("session_token", e.session_token).isOptionalString("session_jwt", null !== (t = e.session_jwt) && void 0 !== t ? t : void 0), this._subscriptionService.updateTokens(e);
2784
2785
  }
2785
2786
  }]), e;
2786
2787
  }(),
@@ -4230,7 +4231,7 @@ var Nt = /*#__PURE__*/function () {
4230
4231
  },
4231
4232
  sdk: {
4232
4233
  identifier: "Stytch.js Javascript SDK",
4233
- version: "4.11.2"
4234
+ version: "4.11.3"
4234
4235
  }
4235
4236
  });
4236
4237
  }
@@ -2706,7 +2706,8 @@ var ze = Promise.resolve({
2706
2706
  }, {
2707
2707
  key: "updateSession",
2708
2708
  value: function value(e) {
2709
- this._subscriptionService.updateTokens(e);
2709
+ var t;
2710
+ Fe("stytch.sessions.updateSession").isString("session_token", e.session_token).isOptionalString("session_jwt", null !== (t = e.session_jwt) && void 0 !== t ? t : void 0), this._subscriptionService.updateTokens(e);
2710
2711
  }
2711
2712
  }]), e;
2712
2713
  }(),
@@ -4156,7 +4157,7 @@ var Et = /*#__PURE__*/function () {
4156
4157
  },
4157
4158
  sdk: {
4158
4159
  identifier: "Stytch.js Javascript SDK",
4159
- version: "4.11.2"
4160
+ version: "4.11.3"
4160
4161
  }
4161
4162
  });
4162
4163
  }