@jest-com/types 1.260920.2 → 1.260921.10

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.
Files changed (2) hide show
  1. package/index.d.ts +7 -6
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -196,7 +196,7 @@ export type ScheduleNotificationOptions = {
196
196
  * unschedule it later. Scheduling with an existing identifier
197
197
  * automatically replaces the previous notification.
198
198
  */
199
- identifier?: string;
199
+ identifier: string;
200
200
  /**
201
201
  * Main body text of the notification.
202
202
  */
@@ -212,9 +212,9 @@ export type ScheduleNotificationOptions = {
212
212
  /**
213
213
  * Higher-priority notifications are weighted more heavily when
214
214
  * the platform selects which notification to deliver per day.
215
- * Defaults to `"low"`.
215
+ * Defaults to `"medium"`.
216
216
  */
217
- priority: NotificationPriority;
217
+ priority?: NotificationPriority;
218
218
  /**
219
219
  * Reference to a pre-approved image from the Developer Console's
220
220
  * Assets Library. Falls back to the game's Hero image if missing
@@ -241,9 +241,10 @@ export type ScheduleNotificationOptions = {
241
241
  } | {
242
242
  scheduledAt?: never;
243
243
  /**
244
- * Days from now to deliver the notification (1–7, inclusive).
244
+ * Days from now to deliver the notification (0–7, inclusive).
245
245
  * The platform picks an optimal delivery time within that window
246
- * for each player.
246
+ * for each player. Use 0 to deliver later the same day; it lands
247
+ * 10 minutes from now at the earliest.
247
248
  */
248
249
  scheduledInDays: number;
249
250
  });
@@ -337,7 +338,7 @@ export interface NotificationsModule {
337
338
  *
338
339
  * Constraints (out-of-range values throw `INVALID_ARGUMENTS`):
339
340
  * - `scheduledAt` must be within the next 7 days
340
- * - `scheduledInDays` must be an integer 1–7 (inclusive)
341
+ * - `scheduledInDays` must be an integer 0–7 (inclusive); 0 is later today
341
342
  * - `ctaText` must be 1–50 characters
342
343
  *
343
344
  * Use exact scheduling for fixed events/deadlines. Use fuzzy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jest-com/types",
3
- "version": "1.260920.2",
3
+ "version": "1.260921.10",
4
4
  "description": "TypeScript types for the Jest HTML5 game SDK global (window.JestSDK).",
5
5
  "keywords": [
6
6
  "jest",