@stytch/vanilla-js 4.11.2 → 4.12.0
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 +24 -0
- package/dist/b2b/index.esm.js +3025 -3049
- package/dist/b2b/index.headless.esm.js +3 -2
- package/dist/b2b/index.headless.js +3 -2
- package/dist/b2b/index.js +2668 -2692
- package/dist/index.esm.js +3571 -3709
- package/dist/index.headless.esm.js +3 -2
- package/dist/index.headless.js +3 -2
- package/dist/index.js +3220 -3358
- package/package.json +2 -2
|
@@ -1871,7 +1871,8 @@ var it = ge(function e(t, r) {
|
|
|
1871
1871
|
}, {
|
|
1872
1872
|
key: "updateSession",
|
|
1873
1873
|
value: function value(e) {
|
|
1874
|
-
|
|
1874
|
+
var t;
|
|
1875
|
+
Xe("stytch.session.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);
|
|
1875
1876
|
}
|
|
1876
1877
|
}]), e;
|
|
1877
1878
|
}(),
|
|
@@ -3802,7 +3803,7 @@ var zt = /*#__PURE__*/function () {
|
|
|
3802
3803
|
},
|
|
3803
3804
|
sdk: {
|
|
3804
3805
|
identifier: "Stytch.js Javascript SDK",
|
|
3805
|
-
version: "4.
|
|
3806
|
+
version: "4.12.0"
|
|
3806
3807
|
}
|
|
3807
3808
|
});
|
|
3808
3809
|
}
|
package/dist/index.headless.js
CHANGED
|
@@ -1780,7 +1780,8 @@ var nt = ye(function e(t, r) {
|
|
|
1780
1780
|
}, {
|
|
1781
1781
|
key: "updateSession",
|
|
1782
1782
|
value: function value(e) {
|
|
1783
|
-
|
|
1783
|
+
var t;
|
|
1784
|
+
$e("stytch.session.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);
|
|
1784
1785
|
}
|
|
1785
1786
|
}]), e;
|
|
1786
1787
|
}(),
|
|
@@ -3711,7 +3712,7 @@ var Ht = /*#__PURE__*/function () {
|
|
|
3711
3712
|
},
|
|
3712
3713
|
sdk: {
|
|
3713
3714
|
identifier: "Stytch.js Javascript SDK",
|
|
3714
|
-
version: "4.
|
|
3715
|
+
version: "4.12.0"
|
|
3715
3716
|
}
|
|
3716
3717
|
});
|
|
3717
3718
|
}
|