@teslemetry/api 0.6.10 → 0.6.11
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3159,6 +3159,7 @@ var TeslemetryStream = class extends events.EventEmitter {
|
|
|
3159
3159
|
sendCache(vin, event, listener) {
|
|
3160
3160
|
if (this.cache) {
|
|
3161
3161
|
const vehicleCache = this.cache[vin];
|
|
3162
|
+
if (!vehicleCache) return;
|
|
3162
3163
|
if (event === "connectivity" && vehicleCache.connectivity) for (const networkInterface in vehicleCache.connectivity) {
|
|
3163
3164
|
const typedNetworkInterface = networkInterface;
|
|
3164
3165
|
const status = vehicleCache.connectivity[typedNetworkInterface];
|
|
@@ -5252,7 +5253,7 @@ const consoleLogger = {
|
|
|
5252
5253
|
|
|
5253
5254
|
//#endregion
|
|
5254
5255
|
//#region package.json
|
|
5255
|
-
var version = "0.6.
|
|
5256
|
+
var version = "0.6.11";
|
|
5256
5257
|
|
|
5257
5258
|
//#endregion
|
|
5258
5259
|
//#region src/Teslemetry.ts
|
package/dist/index.mjs
CHANGED
|
@@ -3159,6 +3159,7 @@ var TeslemetryStream = class extends EventEmitter {
|
|
|
3159
3159
|
sendCache(vin, event, listener) {
|
|
3160
3160
|
if (this.cache) {
|
|
3161
3161
|
const vehicleCache = this.cache[vin];
|
|
3162
|
+
if (!vehicleCache) return;
|
|
3162
3163
|
if (event === "connectivity" && vehicleCache.connectivity) for (const networkInterface in vehicleCache.connectivity) {
|
|
3163
3164
|
const typedNetworkInterface = networkInterface;
|
|
3164
3165
|
const status = vehicleCache.connectivity[typedNetworkInterface];
|
|
@@ -5252,7 +5253,7 @@ const consoleLogger = {
|
|
|
5252
5253
|
|
|
5253
5254
|
//#endregion
|
|
5254
5255
|
//#region package.json
|
|
5255
|
-
var version = "0.6.
|
|
5256
|
+
var version = "0.6.11";
|
|
5256
5257
|
|
|
5257
5258
|
//#endregion
|
|
5258
5259
|
//#region src/Teslemetry.ts
|