@pie-api/pie-api-live-components
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -28,6 +28,8 @@ import { Component, Prop, h, Watch, Host, Listen, Event } from '@stencil/core'; | ||
async disconnectedCallback() { | ||
await this.gqlClient.stop(); | ||
const sc = this.gqlClient.link.subscriptionClient; | ||
sc.close(true); | ||
this.gqlClient = null; | ||
if (this.gqlClient) { | ||
await this.gqlClient.stop(); | ||
const sc = this.gqlClient.link.subscriptionClient; | ||
sc.close(true); | ||
this.gqlClient = null; | ||
} | ||
} | ||
@@ -34,0 +36,0 @@ watchToken() { |
@@ -1,1 +0,1 @@ | ||
import{p as s,b as e}from"./p-dae29130.js";s().then(s=>e([["p-d897f83c",[[0,"pie-api-live",{token:[1],host:[1]},[[0,"attachSession","handleLiveSessionAdded"]]],[1,"pie-live-session",{sessionId:[513,"session-id"],client:[16],sessionData:[32]}],[0,"pie-response-cell",{sessionData:[8,"session-data"]}]]],["p-59748cf8",[[1,"pie-response",{response:[16]}]]]],s)); | ||
import{p as s,b as e}from"./p-dae29130.js";s().then(s=>e([["p-720d39e5",[[0,"pie-api-live",{token:[1],host:[1]},[[0,"attachSession","handleLiveSessionAdded"]]],[1,"pie-live-session",{sessionId:[513,"session-id"],client:[16],sessionData:[32]}],[0,"pie-response-cell",{sessionData:[8,"session-data"]}]]],["p-59748cf8",[[1,"pie-response",{response:[16]}]]]],s)); |
{ | ||
"name": "@pie-api/pie-api-live-components", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Custom Elements that work with PIE Api Live services", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1363052
26461