@teslemetry/api 0.2.2 → 0.3.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/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -11894,7 +11894,7 @@ declare class Teslemetry {
|
|
|
11894
11894
|
logger: Logger;
|
|
11895
11895
|
private _user;
|
|
11896
11896
|
private _charging;
|
|
11897
|
-
constructor(access_token: string, options?: TeslemetryOptions);
|
|
11897
|
+
constructor(access_token: string | (() => Promise<string>), options?: TeslemetryOptions);
|
|
11898
11898
|
/**
|
|
11899
11899
|
* Get a vehicle instance with both API and SSE capabilities.
|
|
11900
11900
|
* @param vin Vehicle Identification Number
|
package/dist/index.d.mts
CHANGED
|
@@ -11894,7 +11894,7 @@ declare class Teslemetry {
|
|
|
11894
11894
|
logger: Logger;
|
|
11895
11895
|
private _user;
|
|
11896
11896
|
private _charging;
|
|
11897
|
-
constructor(access_token: string, options?: TeslemetryOptions);
|
|
11897
|
+
constructor(access_token: string | (() => Promise<string>), options?: TeslemetryOptions);
|
|
11898
11898
|
/**
|
|
11899
11899
|
* Get a vehicle instance with both API and SSE capabilities.
|
|
11900
11900
|
* @param vin Vehicle Identification Number
|
package/dist/index.mjs
CHANGED