@vitia.ai/secure-api-client-vue 0.1.3 → 0.1.4
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2968,7 +2968,7 @@ ${c}`, l = await Hs(i, new TextEncoder().encode(h)), g = ne(l), w = new Headers(
|
|
|
2968
2968
|
await this.post("/handshake/extend", {}).then(async (e) => {
|
|
2969
2969
|
var t;
|
|
2970
2970
|
e && (e.session_id !== ((t = this.session) == null ? void 0 : t.sessionId) ? await this.handshake() : this.updateSession({
|
|
2971
|
-
sessionExpiresAt: e.session_expires_at
|
|
2971
|
+
sessionExpiresAt: e.data[0].session_expires_at
|
|
2972
2972
|
}));
|
|
2973
2973
|
}).catch(async (e) => {
|
|
2974
2974
|
await this.handshake();
|