@domino-sdk/relay 1.16.0 → 1.18.0
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/dist/{attempt-captures-DHwIVoRP.d.ts → attempt-captures-ByzZyggX.d.ts} +5 -1
- package/dist/authoring.d.ts +82 -9
- package/dist/authoring.js +14 -9
- package/dist/{automatic-outcomes-BcEn_L46.d.ts → automatic-outcomes-BBSdMf0R.d.ts} +2 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/browser.d.ts +7 -7
- package/dist/browser.js +9 -11
- package/dist/{chunk-Y6SRF54G.js → chunk-4VWMY4II.js} +32 -25
- package/dist/{chunk-6QJ3LADK.js → chunk-5P5PTZ3T.js} +1 -1
- package/dist/{chunk-3YCCHTCU.js → chunk-BWW3XLEE.js} +2 -2
- package/dist/{chunk-W335CWYJ.js → chunk-CVQG2AZZ.js} +2 -2
- package/dist/{chunk-ZLYBUM7K.js → chunk-DQWRDRVO.js} +26 -14
- package/dist/{chunk-46C33ASD.js → chunk-EMLDFUTV.js} +1314 -908
- package/dist/{chunk-4OLQYRSA.js → chunk-GMKJPHN4.js} +1 -1
- package/dist/{chunk-NM3IYYPG.js → chunk-HQBCFU5G.js} +6 -8
- package/dist/{chunk-YT3QKV2L.js → chunk-I525XMUY.js} +1 -1
- package/dist/{chunk-LLMJ2SUT.js → chunk-IE4QOQUI.js} +21 -4
- package/dist/{chunk-ZGH6NEG6.js → chunk-JIQHUDVZ.js} +1 -1
- package/dist/{chunk-NIYCAW2I.js → chunk-NGP2NMZ4.js} +1 -1
- package/dist/{chunk-XMBM2XD5.js → chunk-T47OFHHX.js} +2 -4
- package/dist/{chunk-AXRMT33W.js → chunk-UIHPWC4C.js} +3 -0
- package/dist/{chunk-UJACD6K2.js → chunk-XSLRNFIY.js} +346 -304
- package/dist/{chunk-PT5STHFH.js → chunk-YXAK2637.js} +1 -1
- package/dist/{client-DFSCmf3H.d.ts → client-93pUw04R.d.ts} +182 -14
- package/dist/{deployments-DIbKJO_Y.d.ts → deployments-D0mrWCsp.d.ts} +817 -1
- package/dist/{groups-Bi7lc54m.d.ts → groups-jLLG7MML.d.ts} +27 -2
- package/dist/{images-Cb8QHGjn.d.ts → images-BPiPqVKn.d.ts} +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +12 -16
- package/dist/internal.d.ts +10 -10
- package/dist/internal.js +9 -10
- package/dist/{offers-Catj06u7.d.ts → offers-CPqiF3dZ.d.ts} +92 -3
- package/dist/{pages-CpYt56Km.d.ts → pages-1h1387a3.d.ts} +757 -3
- package/dist/portal-proxy.js +4 -4
- package/dist/react/index.d.ts +47 -19
- package/dist/react/index.js +361 -340
- package/dist/{schema-BaVl2VBS.d.ts → schema-Br3c1GOu.d.ts} +508 -2
- package/dist/schema.d.ts +565 -24
- package/dist/schema.js +61 -32
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +82 -24
- package/dist/{sign-in-options-CU1ND6-y.d.ts → sign-in-options--25uHySG.d.ts} +1 -1
- package/dist/{submission-input-Bi4HipqI.d.ts → submission-input-BEJ9qENg.d.ts} +2 -2
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +10 -13
- package/dist/{transport-BdrcbKi_.d.ts → transport-C2cK-6wO.d.ts} +6411 -72
- package/package.json +1 -1
- package/dist/chunk-2UAVZCMH.js +0 -314
- package/dist/chunk-NPGENI7K.js +0 -37
- package/dist/{profiles-BHMVj0kM.d.ts → profiles-D29SS12z.d.ts} +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { aZ as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a6 as engagementPageQuerySchema } from './groups-
|
|
2
|
-
import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, _ as questExperienceSchema, l as RewardDeliveryAction, F as contentQualificationQuerySchema } from './pages-
|
|
3
|
-
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-
|
|
1
|
+
import { aZ as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a6 as engagementPageQuerySchema } from './groups-jLLG7MML.js';
|
|
2
|
+
import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, _ as questExperienceSchema, l as RewardDeliveryAction, F as contentQualificationQuerySchema } from './pages-1h1387a3.js';
|
|
3
|
+
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-BEJ9qENg.js';
|
|
4
4
|
import { a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, e as createRelayAction, O as OptionalActionId } from './action-DBzILFx9.js';
|
|
5
|
-
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode,
|
|
5
|
+
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, cg as submitSchema, be as contentPerformanceQuerySchema } from './schema-Br3c1GOu.js';
|
|
6
6
|
import { b as ParticipantSession, d as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-DYdUUhw2.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { a as AuthProvider } from './accounts-5ciAkCMP.js';
|
|
9
|
-
import { F as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-
|
|
9
|
+
import { F as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-D29SS12z.js';
|
|
10
10
|
import { y as walletAddressInputSchema, I as walletSignatureSchema, L as LinkedWallet, f as WalletSigner } from './wallet-CDyo-U4n.js';
|
|
11
11
|
|
|
12
12
|
/** What happened, as in every Domino client error (see `RequestError`). */
|
|
@@ -313,6 +313,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
313
313
|
} | {
|
|
314
314
|
kind: "automatic";
|
|
315
315
|
};
|
|
316
|
+
badge?: string | undefined;
|
|
316
317
|
};
|
|
317
318
|
tier: string;
|
|
318
319
|
};
|
|
@@ -367,6 +368,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
367
368
|
} | {
|
|
368
369
|
kind: "automatic";
|
|
369
370
|
};
|
|
371
|
+
badge?: string | undefined;
|
|
370
372
|
};
|
|
371
373
|
tier: string;
|
|
372
374
|
};
|
|
@@ -403,6 +405,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
403
405
|
} | {
|
|
404
406
|
kind: "automatic";
|
|
405
407
|
};
|
|
408
|
+
badge?: string | undefined;
|
|
406
409
|
};
|
|
407
410
|
tier: string;
|
|
408
411
|
};
|
|
@@ -442,6 +445,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
442
445
|
} | {
|
|
443
446
|
kind: "automatic";
|
|
444
447
|
};
|
|
448
|
+
badge?: string | undefined;
|
|
445
449
|
};
|
|
446
450
|
tier: string;
|
|
447
451
|
} | {
|
|
@@ -466,6 +470,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
466
470
|
} | {
|
|
467
471
|
kind: "automatic";
|
|
468
472
|
};
|
|
473
|
+
badge?: string | undefined;
|
|
469
474
|
};
|
|
470
475
|
tier: string;
|
|
471
476
|
} | {
|
|
@@ -494,6 +499,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
494
499
|
} | {
|
|
495
500
|
kind: "automatic";
|
|
496
501
|
};
|
|
502
|
+
badge?: string | undefined;
|
|
497
503
|
};
|
|
498
504
|
tier: string;
|
|
499
505
|
} | {
|
|
@@ -548,6 +554,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
548
554
|
} | {
|
|
549
555
|
kind: "automatic";
|
|
550
556
|
};
|
|
557
|
+
badge?: string | undefined;
|
|
551
558
|
};
|
|
552
559
|
tier: string;
|
|
553
560
|
} | {
|
|
@@ -572,6 +579,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
572
579
|
} | {
|
|
573
580
|
kind: "automatic";
|
|
574
581
|
};
|
|
582
|
+
badge?: string | undefined;
|
|
575
583
|
};
|
|
576
584
|
tier: string;
|
|
577
585
|
} | {
|
|
@@ -600,6 +608,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
600
608
|
} | {
|
|
601
609
|
kind: "automatic";
|
|
602
610
|
};
|
|
611
|
+
badge?: string | undefined;
|
|
603
612
|
};
|
|
604
613
|
tier: string;
|
|
605
614
|
} | {
|
|
@@ -1028,6 +1037,15 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1028
1037
|
key: string | null;
|
|
1029
1038
|
}[]>;
|
|
1030
1039
|
};
|
|
1040
|
+
badges: {
|
|
1041
|
+
list: (options?: RelayRequestOptions) => Promise<{
|
|
1042
|
+
name: string;
|
|
1043
|
+
description: string;
|
|
1044
|
+
image: string;
|
|
1045
|
+
id: string;
|
|
1046
|
+
key: string | null;
|
|
1047
|
+
}[]>;
|
|
1048
|
+
};
|
|
1031
1049
|
pointLedgers: {
|
|
1032
1050
|
/**
|
|
1033
1051
|
* The project's point ledgers with their keys and names. Reads return
|
|
@@ -1103,6 +1121,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1103
1121
|
} | {
|
|
1104
1122
|
kind: "automatic";
|
|
1105
1123
|
};
|
|
1124
|
+
badge?: string | undefined;
|
|
1106
1125
|
};
|
|
1107
1126
|
tier: string;
|
|
1108
1127
|
} | {
|
|
@@ -1220,6 +1239,18 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1220
1239
|
* `@domino-sdk/relay/avatar`.
|
|
1221
1240
|
*/
|
|
1222
1241
|
profiles: {
|
|
1242
|
+
badges: (profile: string, options?: RelayRequestOptions) => Promise<{
|
|
1243
|
+
items: {
|
|
1244
|
+
badge: {
|
|
1245
|
+
name: string;
|
|
1246
|
+
description: string;
|
|
1247
|
+
image: string;
|
|
1248
|
+
id: string;
|
|
1249
|
+
key: string | null;
|
|
1250
|
+
};
|
|
1251
|
+
awardedAt: number;
|
|
1252
|
+
}[];
|
|
1253
|
+
}>;
|
|
1223
1254
|
/** The signed-in member's own profile, whatever the project shows to others. */
|
|
1224
1255
|
mine: (requestOptions?: RelayRequestOptions) => Promise<{
|
|
1225
1256
|
id: string;
|
|
@@ -1376,6 +1407,24 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1376
1407
|
quest: string;
|
|
1377
1408
|
title: string;
|
|
1378
1409
|
presentation: {
|
|
1410
|
+
steps?: {
|
|
1411
|
+
title: string;
|
|
1412
|
+
description?: string | undefined;
|
|
1413
|
+
action?: {
|
|
1414
|
+
kind: "link";
|
|
1415
|
+
url: string;
|
|
1416
|
+
label: string;
|
|
1417
|
+
} | undefined;
|
|
1418
|
+
}[] | undefined;
|
|
1419
|
+
image?: string | undefined;
|
|
1420
|
+
imageAlt?: string | undefined;
|
|
1421
|
+
requirements?: ({
|
|
1422
|
+
kind: "account";
|
|
1423
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
1424
|
+
} | {
|
|
1425
|
+
kind: "wallet";
|
|
1426
|
+
chain?: "solana" | "eip155" | "cosmos" | undefined;
|
|
1427
|
+
})[] | undefined;
|
|
1379
1428
|
quiz?: {
|
|
1380
1429
|
id: string;
|
|
1381
1430
|
prompt: string;
|
|
@@ -1621,6 +1670,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1621
1670
|
} | {
|
|
1622
1671
|
kind: "automatic";
|
|
1623
1672
|
};
|
|
1673
|
+
badge?: string | undefined;
|
|
1624
1674
|
};
|
|
1625
1675
|
tier: string;
|
|
1626
1676
|
} | {
|
|
@@ -1678,6 +1728,13 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1678
1728
|
id: string;
|
|
1679
1729
|
key: string | null;
|
|
1680
1730
|
title: string;
|
|
1731
|
+
badge?: {
|
|
1732
|
+
name: string;
|
|
1733
|
+
description: string;
|
|
1734
|
+
image: string;
|
|
1735
|
+
id: string;
|
|
1736
|
+
key: string | null;
|
|
1737
|
+
} | undefined;
|
|
1681
1738
|
};
|
|
1682
1739
|
tier: string;
|
|
1683
1740
|
} | {
|
|
@@ -1832,6 +1889,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1832
1889
|
} | {
|
|
1833
1890
|
kind: "automatic";
|
|
1834
1891
|
};
|
|
1892
|
+
badge?: string | undefined;
|
|
1835
1893
|
};
|
|
1836
1894
|
tier: string;
|
|
1837
1895
|
} | {
|
|
@@ -2029,6 +2087,24 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2029
2087
|
quest: string;
|
|
2030
2088
|
title: string;
|
|
2031
2089
|
presentation: {
|
|
2090
|
+
steps?: {
|
|
2091
|
+
title: string;
|
|
2092
|
+
description?: string | undefined;
|
|
2093
|
+
action?: {
|
|
2094
|
+
kind: "link";
|
|
2095
|
+
url: string;
|
|
2096
|
+
label: string;
|
|
2097
|
+
} | undefined;
|
|
2098
|
+
}[] | undefined;
|
|
2099
|
+
image?: string | undefined;
|
|
2100
|
+
imageAlt?: string | undefined;
|
|
2101
|
+
requirements?: ({
|
|
2102
|
+
kind: "account";
|
|
2103
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
2104
|
+
} | {
|
|
2105
|
+
kind: "wallet";
|
|
2106
|
+
chain?: "solana" | "eip155" | "cosmos" | undefined;
|
|
2107
|
+
})[] | undefined;
|
|
2032
2108
|
quiz?: {
|
|
2033
2109
|
id: string;
|
|
2034
2110
|
prompt: string;
|
|
@@ -2274,6 +2350,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2274
2350
|
} | {
|
|
2275
2351
|
kind: "automatic";
|
|
2276
2352
|
};
|
|
2353
|
+
badge?: string | undefined;
|
|
2277
2354
|
};
|
|
2278
2355
|
tier: string;
|
|
2279
2356
|
} | {
|
|
@@ -2331,6 +2408,13 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2331
2408
|
id: string;
|
|
2332
2409
|
key: string | null;
|
|
2333
2410
|
title: string;
|
|
2411
|
+
badge?: {
|
|
2412
|
+
name: string;
|
|
2413
|
+
description: string;
|
|
2414
|
+
image: string;
|
|
2415
|
+
id: string;
|
|
2416
|
+
key: string | null;
|
|
2417
|
+
} | undefined;
|
|
2334
2418
|
};
|
|
2335
2419
|
tier: string;
|
|
2336
2420
|
} | {
|
|
@@ -2410,6 +2494,24 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2410
2494
|
quest: string;
|
|
2411
2495
|
title: string;
|
|
2412
2496
|
presentation: {
|
|
2497
|
+
steps?: {
|
|
2498
|
+
title: string;
|
|
2499
|
+
description?: string | undefined;
|
|
2500
|
+
action?: {
|
|
2501
|
+
kind: "link";
|
|
2502
|
+
url: string;
|
|
2503
|
+
label: string;
|
|
2504
|
+
} | undefined;
|
|
2505
|
+
}[] | undefined;
|
|
2506
|
+
image?: string | undefined;
|
|
2507
|
+
imageAlt?: string | undefined;
|
|
2508
|
+
requirements?: ({
|
|
2509
|
+
kind: "account";
|
|
2510
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
2511
|
+
} | {
|
|
2512
|
+
kind: "wallet";
|
|
2513
|
+
chain?: "solana" | "eip155" | "cosmos" | undefined;
|
|
2514
|
+
})[] | undefined;
|
|
2413
2515
|
quiz?: {
|
|
2414
2516
|
id: string;
|
|
2415
2517
|
prompt: string;
|
|
@@ -2655,6 +2757,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2655
2757
|
} | {
|
|
2656
2758
|
kind: "automatic";
|
|
2657
2759
|
};
|
|
2760
|
+
badge?: string | undefined;
|
|
2658
2761
|
};
|
|
2659
2762
|
tier: string;
|
|
2660
2763
|
} | {
|
|
@@ -2712,6 +2815,13 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2712
2815
|
id: string;
|
|
2713
2816
|
key: string | null;
|
|
2714
2817
|
title: string;
|
|
2818
|
+
badge?: {
|
|
2819
|
+
name: string;
|
|
2820
|
+
description: string;
|
|
2821
|
+
image: string;
|
|
2822
|
+
id: string;
|
|
2823
|
+
key: string | null;
|
|
2824
|
+
} | undefined;
|
|
2715
2825
|
};
|
|
2716
2826
|
tier: string;
|
|
2717
2827
|
} | {
|
|
@@ -2785,6 +2895,9 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2785
2895
|
} | null | undefined;
|
|
2786
2896
|
}[];
|
|
2787
2897
|
key?: string | undefined;
|
|
2898
|
+
description?: string | undefined;
|
|
2899
|
+
image?: string | undefined;
|
|
2900
|
+
imageAlt?: string | undefined;
|
|
2788
2901
|
}[];
|
|
2789
2902
|
}>;
|
|
2790
2903
|
collection: (id: string, requestOptions?: RelayRequestOptions) => Promise<{
|
|
@@ -2794,6 +2907,24 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2794
2907
|
quest: string;
|
|
2795
2908
|
title: string;
|
|
2796
2909
|
presentation: {
|
|
2910
|
+
steps?: {
|
|
2911
|
+
title: string;
|
|
2912
|
+
description?: string | undefined;
|
|
2913
|
+
action?: {
|
|
2914
|
+
kind: "link";
|
|
2915
|
+
url: string;
|
|
2916
|
+
label: string;
|
|
2917
|
+
} | undefined;
|
|
2918
|
+
}[] | undefined;
|
|
2919
|
+
image?: string | undefined;
|
|
2920
|
+
imageAlt?: string | undefined;
|
|
2921
|
+
requirements?: ({
|
|
2922
|
+
kind: "account";
|
|
2923
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
2924
|
+
} | {
|
|
2925
|
+
kind: "wallet";
|
|
2926
|
+
chain?: "solana" | "eip155" | "cosmos" | undefined;
|
|
2927
|
+
})[] | undefined;
|
|
2797
2928
|
quiz?: {
|
|
2798
2929
|
id: string;
|
|
2799
2930
|
prompt: string;
|
|
@@ -3039,6 +3170,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3039
3170
|
} | {
|
|
3040
3171
|
kind: "automatic";
|
|
3041
3172
|
};
|
|
3173
|
+
badge?: string | undefined;
|
|
3042
3174
|
};
|
|
3043
3175
|
tier: string;
|
|
3044
3176
|
} | {
|
|
@@ -3096,6 +3228,13 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3096
3228
|
id: string;
|
|
3097
3229
|
key: string | null;
|
|
3098
3230
|
title: string;
|
|
3231
|
+
badge?: {
|
|
3232
|
+
name: string;
|
|
3233
|
+
description: string;
|
|
3234
|
+
image: string;
|
|
3235
|
+
id: string;
|
|
3236
|
+
key: string | null;
|
|
3237
|
+
} | undefined;
|
|
3099
3238
|
};
|
|
3100
3239
|
tier: string;
|
|
3101
3240
|
} | {
|
|
@@ -3169,6 +3308,9 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3169
3308
|
} | null | undefined;
|
|
3170
3309
|
}[];
|
|
3171
3310
|
key?: string | undefined;
|
|
3311
|
+
description?: string | undefined;
|
|
3312
|
+
image?: string | undefined;
|
|
3313
|
+
imageAlt?: string | undefined;
|
|
3172
3314
|
}>;
|
|
3173
3315
|
open: (view: QuestView) => Promise<QuestController>;
|
|
3174
3316
|
observe: (listener: (value: ProgressObservation<z.infer<typeof questExperienceSchema>>) => void, observeOptions?: {
|
|
@@ -3391,6 +3533,18 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3391
3533
|
}>;
|
|
3392
3534
|
};
|
|
3393
3535
|
me: {
|
|
3536
|
+
badges: (options?: RelayRequestOptions) => Promise<{
|
|
3537
|
+
items: {
|
|
3538
|
+
badge: {
|
|
3539
|
+
name: string;
|
|
3540
|
+
description: string;
|
|
3541
|
+
image: string;
|
|
3542
|
+
id: string;
|
|
3543
|
+
key: string | null;
|
|
3544
|
+
};
|
|
3545
|
+
awardedAt: number;
|
|
3546
|
+
}[];
|
|
3547
|
+
}>;
|
|
3394
3548
|
activity: {
|
|
3395
3549
|
list: (query?: {
|
|
3396
3550
|
cursor?: string;
|
|
@@ -3496,13 +3650,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3496
3650
|
}): Promise<PhotoSubmission>;
|
|
3497
3651
|
(quest: string, options: {
|
|
3498
3652
|
input: "quiz";
|
|
3499
|
-
release
|
|
3500
|
-
/**
|
|
3501
|
-
* Options every participant client method takes as its last argument.
|
|
3502
|
-
*
|
|
3503
|
-
* @compat input
|
|
3504
|
-
*/
|
|
3505
|
-
?: string;
|
|
3653
|
+
release?: string;
|
|
3506
3654
|
recoverPrevious?: boolean;
|
|
3507
3655
|
repeatable?: boolean;
|
|
3508
3656
|
}): Promise<QuizSubmission>;
|
|
@@ -3530,6 +3678,24 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3530
3678
|
quest: string;
|
|
3531
3679
|
title: string;
|
|
3532
3680
|
presentation: {
|
|
3681
|
+
steps?: {
|
|
3682
|
+
title: string;
|
|
3683
|
+
description?: string | undefined;
|
|
3684
|
+
action?: {
|
|
3685
|
+
kind: "link";
|
|
3686
|
+
url: string;
|
|
3687
|
+
label: string;
|
|
3688
|
+
} | undefined;
|
|
3689
|
+
}[] | undefined;
|
|
3690
|
+
image?: string | undefined;
|
|
3691
|
+
imageAlt?: string | undefined;
|
|
3692
|
+
requirements?: ({
|
|
3693
|
+
kind: "account";
|
|
3694
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
3695
|
+
} | {
|
|
3696
|
+
kind: "wallet";
|
|
3697
|
+
chain?: "solana" | "eip155" | "cosmos" | undefined;
|
|
3698
|
+
})[] | undefined;
|
|
3533
3699
|
quiz?: {
|
|
3534
3700
|
id: string;
|
|
3535
3701
|
prompt: string;
|
|
@@ -3775,6 +3941,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3775
3941
|
} | {
|
|
3776
3942
|
kind: "automatic";
|
|
3777
3943
|
};
|
|
3944
|
+
badge?: string | undefined;
|
|
3778
3945
|
};
|
|
3779
3946
|
tier: string;
|
|
3780
3947
|
} | {
|
|
@@ -4140,6 +4307,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4140
4307
|
} | {
|
|
4141
4308
|
kind: "automatic";
|
|
4142
4309
|
};
|
|
4310
|
+
badge?: string | undefined;
|
|
4143
4311
|
};
|
|
4144
4312
|
tier: string;
|
|
4145
4313
|
} | {
|
|
@@ -4311,7 +4479,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4311
4479
|
reward: {
|
|
4312
4480
|
attempt: string | null;
|
|
4313
4481
|
completion: string | null;
|
|
4314
|
-
state: "
|
|
4482
|
+
state: "awarded" | "excluded" | "unresolved";
|
|
4315
4483
|
};
|
|
4316
4484
|
};
|
|
4317
4485
|
items: {
|
|
@@ -4340,7 +4508,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4340
4508
|
reward: {
|
|
4341
4509
|
attempt: string | null;
|
|
4342
4510
|
completion: string | null;
|
|
4343
|
-
state: "
|
|
4511
|
+
state: "awarded" | "excluded" | "unresolved";
|
|
4344
4512
|
};
|
|
4345
4513
|
}[];
|
|
4346
4514
|
nextCursor: string | null;
|