@tdxvolt/volt-client-grpc 0.16.0-beta.8 → 0.16.0-beta.9
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/lib/index.cjs +2 -2
- package/package.json +1 -1
- package/src/volt-client-internal.js +2 -2
package/lib/index.cjs
CHANGED
|
@@ -1977,8 +1977,8 @@ function connectInternal(helloPayload) {
|
|
|
1977
1977
|
log$1("Volt connection error [%s]", err.message);
|
|
1978
1978
|
if (err.message.endsWith("session invalid")) {
|
|
1979
1979
|
log$1("Volt session invalid - clearing session");
|
|
1980
|
-
this._credential.cache.session_id
|
|
1981
|
-
this._credential.cache.cert
|
|
1980
|
+
delete this._credential.cache.session_id;
|
|
1981
|
+
delete this._credential.cache.cert;
|
|
1982
1982
|
this._credential.saveCache();
|
|
1983
1983
|
}
|
|
1984
1984
|
|
package/package.json
CHANGED
|
@@ -289,8 +289,8 @@ export function connectInternal(helloPayload) {
|
|
|
289
289
|
log("Volt connection error [%s]", err.message);
|
|
290
290
|
if (err.message.endsWith("session invalid")) {
|
|
291
291
|
log("Volt session invalid - clearing session");
|
|
292
|
-
this._credential.cache.session_id
|
|
293
|
-
this._credential.cache.cert
|
|
292
|
+
delete this._credential.cache.session_id;
|
|
293
|
+
delete this._credential.cache.cert;
|
|
294
294
|
this._credential.saveCache();
|
|
295
295
|
}
|
|
296
296
|
|