@await-widget/runtime 0.0.19 → 0.0.20

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.19",
3
+ "version": "0.0.20",
4
4
  "description": "TypeScript declarations for Await widgets.",
5
5
  "license": "MIT",
6
6
  "author": "LitoMore",
package/types/await.d.ts CHANGED
@@ -227,6 +227,15 @@ declare module 'await' {
227
227
  children: NativeView[];
228
228
  },
229
229
  ): NativeView;
230
+ /** This is a fallback for Ticker on iOS 18 and earlier. */
231
+ export function ClockSecond(
232
+ props: ClockSecondValue &
233
+ ID &
234
+ Mods & {
235
+ children: NativeView[];
236
+ },
237
+ ): NativeView;
238
+ /** Available on iOS 26 and later. */
230
239
  export function Ticker(
231
240
  props: TickerValue &
232
241
  ID &
package/types/bridge.d.ts CHANGED
@@ -156,6 +156,7 @@ export declare const AwaitEnv: {
156
156
  readonly id: string;
157
157
  readonly tag: number;
158
158
  readonly host: 'app' | 'widget';
159
+ readonly version: string;
159
160
  test(...args: unknown[]): unknown;
160
161
  };
161
162
  type AwaitGlobal = typeof Await;
package/types/prop.d.ts CHANGED
@@ -156,6 +156,10 @@ type TickerValue = {
156
156
  style: TickerStyle;
157
157
  };
158
158
 
159
+ type ClockSecondValue = {
160
+ size: Size;
161
+ };
162
+
159
163
  type FlipValue = {
160
164
  index: number;
161
165
  delta: number;