@jest-com/types 1.260901.1 → 1.260904.11
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 +10 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ export interface LifecycleModule {
|
|
|
125
125
|
* - Writes are sent as they are made; `flush()` waits for the platform
|
|
126
126
|
* to acknowledge them.
|
|
127
127
|
*
|
|
128
|
-
* Docs: https://docs.jest.com/sdk/html5
|
|
128
|
+
* Docs: https://docs.jest.com/sdk/player?engine=html5#user-data
|
|
129
129
|
*/
|
|
130
130
|
export interface PlayerDataModule {
|
|
131
131
|
/**
|
|
@@ -206,7 +206,7 @@ export type ScheduleNotificationOptions = {
|
|
|
206
206
|
*/
|
|
207
207
|
title?: string;
|
|
208
208
|
/**
|
|
209
|
-
* Call-to-action button label. Must be 1–
|
|
209
|
+
* Call-to-action button label. Must be 1–50 characters.
|
|
210
210
|
*/
|
|
211
211
|
ctaText: string;
|
|
212
212
|
/**
|
|
@@ -322,7 +322,7 @@ export type ScheduleInteractiveNotificationOptions = {
|
|
|
322
322
|
*
|
|
323
323
|
* Jest handles consent, opt-outs, and messaging cost subsidization.
|
|
324
324
|
*
|
|
325
|
-
* Docs: https://docs.jest.com/sdk/html5
|
|
325
|
+
* Docs: https://docs.jest.com/sdk/notifications?engine=html5
|
|
326
326
|
*/
|
|
327
327
|
export interface NotificationsModule {
|
|
328
328
|
/**
|
|
@@ -338,7 +338,7 @@ export interface NotificationsModule {
|
|
|
338
338
|
* Constraints (out-of-range values throw `INVALID_ARGUMENTS`):
|
|
339
339
|
* - `scheduledAt` must be within the next 7 days
|
|
340
340
|
* - `scheduledInDays` must be an integer 1–7 (inclusive)
|
|
341
|
-
* - `ctaText` must be 1–
|
|
341
|
+
* - `ctaText` must be 1–50 characters
|
|
342
342
|
*
|
|
343
343
|
* Use exact scheduling for fixed events/deadlines. Use fuzzy
|
|
344
344
|
* scheduling for time-of-day-flexible re-engagement (lets the
|
|
@@ -430,7 +430,7 @@ export interface ExperimentalNotificationsModule {
|
|
|
430
430
|
* For high-stakes rewards (entitlements, currency), verify
|
|
431
431
|
* `referralsSigned` server-side instead of trusting the client.
|
|
432
432
|
*
|
|
433
|
-
* Docs: https://docs.jest.com/sdk/html5
|
|
433
|
+
* Docs: https://docs.jest.com/sdk/referrals?engine=html5
|
|
434
434
|
*/
|
|
435
435
|
export interface ReferralsModule {
|
|
436
436
|
/**
|
|
@@ -524,7 +524,7 @@ export interface ReferralsModule {
|
|
|
524
524
|
* the platform. Those are deterministically picked based on the provided username.
|
|
525
525
|
* The avatars can be scaled to the requested size to reduce network usage.
|
|
526
526
|
*
|
|
527
|
-
* Docs: https://docs.jest.com/sdk/html5
|
|
527
|
+
* Docs: https://docs.jest.com/sdk/social?engine=html5
|
|
528
528
|
*/
|
|
529
529
|
export interface SocialModule {
|
|
530
530
|
/**
|
|
@@ -600,7 +600,7 @@ export interface SocialModule {
|
|
|
600
600
|
* traffic out of revenue reporting. Purchases driven from the Developer
|
|
601
601
|
* Console simulator carry the same flag, at their configured price.
|
|
602
602
|
*
|
|
603
|
-
* Docs: https://docs.jest.com/sdk/html5
|
|
603
|
+
* Docs: https://docs.jest.com/sdk/payments?engine=html5
|
|
604
604
|
*/
|
|
605
605
|
export interface PaymentsModule {
|
|
606
606
|
/**
|
|
@@ -986,7 +986,7 @@ export interface JestSDK {
|
|
|
986
986
|
*
|
|
987
987
|
* Works for both registered and guest players.
|
|
988
988
|
*
|
|
989
|
-
* Docs: https://docs.jest.com/sdk/html5
|
|
989
|
+
* Docs: https://docs.jest.com/sdk/player?engine=html5#get-a-signed-player-payload
|
|
990
990
|
*
|
|
991
991
|
* @example Authenticate a backend request
|
|
992
992
|
* ```typescript
|
|
@@ -1025,7 +1025,7 @@ export interface JestSDK {
|
|
|
1025
1025
|
* the platform exits the player to the home screen. Each call
|
|
1026
1026
|
* resets this timer.
|
|
1027
1027
|
*
|
|
1028
|
-
* Docs: https://docs.jest.com/sdk/
|
|
1028
|
+
* Docs: https://docs.jest.com/sdk/loading-screen?engine=html5
|
|
1029
1029
|
*
|
|
1030
1030
|
* @param progress - Loading progress from 0 to 100.
|
|
1031
1031
|
*/
|
|
@@ -1181,7 +1181,7 @@ export interface JestSDK {
|
|
|
1181
1181
|
* `{ result: "error", error }` with `"game_not_found"`,
|
|
1182
1182
|
* `"different_team"`, or `"internal_error"` (transient; safe to retry).
|
|
1183
1183
|
*
|
|
1184
|
-
* Docs: https://docs.jest.com/sdk/
|
|
1184
|
+
* Docs: https://docs.jest.com/sdk/app-redirects?engine=html5
|
|
1185
1185
|
*
|
|
1186
1186
|
* @example
|
|
1187
1187
|
* ```typescript
|