@enyo-energy/energy-app-sdk 0.0.67 → 0.0.68
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.
|
@@ -32,6 +32,13 @@ export interface EnergyAppElectricityTariff {
|
|
|
32
32
|
* @returns Promise that resolves when the tariff has been removed
|
|
33
33
|
*/
|
|
34
34
|
removeTariff(id: string): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Requests to make a tariff the default tariff.
|
|
37
|
+
*
|
|
38
|
+
* @param id - The unique identifier of the tariff
|
|
39
|
+
* @returns Promise that resolves with the result
|
|
40
|
+
*/
|
|
41
|
+
makeDefaultTariff(id: string): Promise<'accepted' | 'rejected'>;
|
|
35
42
|
/**
|
|
36
43
|
* Retrieves the system default tariff information.
|
|
37
44
|
* Returns the full tariff including pricing data.
|
package/dist/cjs/version.cjs
CHANGED
|
@@ -9,7 +9,7 @@ exports.getSdkVersion = getSdkVersion;
|
|
|
9
9
|
/**
|
|
10
10
|
* Current version of the enyo Energy App SDK.
|
|
11
11
|
*/
|
|
12
|
-
exports.SDK_VERSION = '0.0.
|
|
12
|
+
exports.SDK_VERSION = '0.0.68';
|
|
13
13
|
/**
|
|
14
14
|
* Gets the current SDK version.
|
|
15
15
|
* @returns The semantic version string of the SDK
|
package/dist/cjs/version.d.cts
CHANGED
|
@@ -32,6 +32,13 @@ export interface EnergyAppElectricityTariff {
|
|
|
32
32
|
* @returns Promise that resolves when the tariff has been removed
|
|
33
33
|
*/
|
|
34
34
|
removeTariff(id: string): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Requests to make a tariff the default tariff.
|
|
37
|
+
*
|
|
38
|
+
* @param id - The unique identifier of the tariff
|
|
39
|
+
* @returns Promise that resolves with the result
|
|
40
|
+
*/
|
|
41
|
+
makeDefaultTariff(id: string): Promise<'accepted' | 'rejected'>;
|
|
35
42
|
/**
|
|
36
43
|
* Retrieves the system default tariff information.
|
|
37
44
|
* Returns the full tariff including pricing data.
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED