@jest-com/types 1.260904.11 → 1.260921.7
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/index.d.ts +7 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -241,9 +241,10 @@ export type ScheduleNotificationOptions = {
|
|
|
241
241
|
} | {
|
|
242
242
|
scheduledAt?: never;
|
|
243
243
|
/**
|
|
244
|
-
* Days from now to deliver the notification (
|
|
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
|
|
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
|
|
@@ -1153,8 +1154,9 @@ export interface JestSDK {
|
|
|
1153
1154
|
/**
|
|
1154
1155
|
* Records a custom analytics event for the current player.
|
|
1155
1156
|
*
|
|
1156
|
-
*
|
|
1157
|
-
*
|
|
1157
|
+
* Retired from the docs; still delivered for games that call it.
|
|
1158
|
+
*
|
|
1159
|
+
* @hidden
|
|
1158
1160
|
*
|
|
1159
1161
|
* Property values should be JSON-serializable primitives or simple
|
|
1160
1162
|
* objects. Avoid storing PII or sensitive data in event properties.
|