@await-widget/runtime 0.0.29 → 0.0.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@await-widget/runtime",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "TypeScript declarations for Await widgets.",
5
5
  "license": "MIT",
6
6
  "author": "Maundy",
package/types/bridge.d.ts CHANGED
@@ -88,6 +88,7 @@ export declare const AwaitStore: {
88
88
  delete(key: string): void;
89
89
  set(key: string, value: Encodable): void;
90
90
  };
91
+ /** `AwaitFile` can interact only with files located within the widget directory. Do not access hidden paths or parent directories. */
91
92
  export declare const AwaitFile: {
92
93
  files(path: string): string[];
93
94
  readJSON(path: string): unknown;
package/types/model.d.ts CHANGED
@@ -92,9 +92,13 @@ type AwaitWeatherHourly = {
92
92
  condition: string;
93
93
  symbolName: string;
94
94
  temperatureCelsius: number;
95
+ apparentTemperatureCelsius: number;
95
96
  humidity: number;
96
97
  uvIndex: number;
97
98
  windSpeedMetersPerSecond: number;
99
+ windDirectionDegrees: number;
100
+ pressureHectopascals: number;
101
+ visibilityKilometers: number;
98
102
  precipitationChance: number;
99
103
  };
100
104
 
@@ -106,6 +110,8 @@ type AwaitWeatherDaily = {
106
110
  lowTemperatureCelsius: number;
107
111
  precipitationChance: number;
108
112
  uvIndex: number;
113
+ windSpeedMetersPerSecond: number;
114
+ windDirectionDegrees: number;
109
115
  };
110
116
 
111
117
  type AwaitWeatherResult = {