@domino-sdk/relay 1.56.0 → 1.60.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/CHANGELOG.md +100 -0
- package/dist/{accounts-DRPENuZe.d.ts → accounts-DoabriBX.d.ts} +21 -7
- package/dist/{attempt-captures-CxxO7DeD.d.ts → attempt-captures-W2dgzGqE.d.ts} +1 -1
- package/dist/authoring.d.ts +323 -39
- package/dist/authoring.js +312 -18
- package/dist/{automatic-outcomes-DxW_v5Wc.d.ts → automatic-outcomes-Cmou89IS.d.ts} +1 -1
- package/dist/avatar.d.ts +1 -2
- package/dist/browser.d.ts +19 -11
- package/dist/browser.js +12 -10
- package/dist/{capability-error-DSd8EMQC.d.ts → capability-error-DufwG3G0.d.ts} +21 -7
- package/dist/{chunk-OTITLABX.js → chunk-2FHNY52R.js} +8 -2
- package/dist/{chunk-QNQNKIAA.js → chunk-422J3QRW.js} +12 -2
- package/dist/{chunk-INSWI2VZ.js → chunk-4OFH4BNX.js} +1 -1
- package/dist/{chunk-KBVH4XZC.js → chunk-6ZG7WNYX.js} +1 -1
- package/dist/{chunk-BHHUSBSD.js → chunk-GBSDAD3N.js} +1627 -887
- package/dist/{chunk-W5U2WXG3.js → chunk-KUPVQXUJ.js} +2 -2
- package/dist/{chunk-G6XVBYH7.js → chunk-KWFY7L7X.js} +4 -4
- package/dist/{chunk-BJYMTCWG.js → chunk-MJEJQH5A.js} +18 -6
- package/dist/{chunk-ULQU7KC4.js → chunk-N3LJ6GFK.js} +1 -5
- package/dist/{chunk-ABJ4G47X.js → chunk-N7YOS4ZU.js} +1 -1
- package/dist/{chunk-MNU6UPXY.js → chunk-OTEUP2SG.js} +1 -1
- package/dist/{chunk-NK6EER33.js → chunk-VVRQQRMQ.js} +12 -12
- package/dist/{chunk-H2MD6E7Z.js → chunk-VWMIA2TT.js} +8 -2
- package/dist/{chunk-RBPMT53S.js → chunk-XQKUJL7H.js} +25 -5
- package/dist/{chunk-CXKXPB7K.js → chunk-Y2IGFLD2.js} +36 -11
- package/dist/{chunk-VSHV7FEA.js → chunk-YNW2ZUUP.js} +56 -153
- package/dist/{chunk-CK7HO32Z.js → chunk-YOAPPIWN.js} +2 -2
- package/dist/{client-bX3oTpRu.d.ts → client-Cw1pB5sv.d.ts} +121 -117
- package/dist/{deployments-D3lxfQMB.d.ts → deployments-DI-W7fBq.d.ts} +1105 -182
- package/dist/{groups-DPE004_V.d.ts → groups-9Jm3peq3.d.ts} +14 -7
- package/dist/index.d.ts +10 -11
- package/dist/index.js +9 -9
- package/dist/{integrations-CcD5NPEA.d.ts → integrations-CmIkP1Gi.d.ts} +48 -32
- package/dist/internal.d.ts +10 -10
- package/dist/internal.js +8 -8
- package/dist/{offers-CtzMeB7O.d.ts → offers-CqXfMIxq.d.ts} +7 -2
- package/dist/{pages-BlLqB8ZQ.d.ts → pages-Bti7g5mX.d.ts} +184 -10
- package/dist/{participant-activity-iciCEs_8.d.ts → participant-activity-DHL8QYks.d.ts} +4 -0
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +74 -74
- package/dist/react/index.js +10 -10
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/ADUMK6CR.js +1 -0
- package/dist/runtime/chunks/EWU4OKSY.js +62 -0
- package/dist/runtime/manifest.json +5 -5
- package/dist/runtime/schema.js +1 -1
- package/dist/runtime/zod.js +1 -1
- package/dist/{schema-C4m9RhCR.d.ts → schema-CwbRkmlr.d.ts} +324 -35
- package/dist/schema.d.ts +854 -437
- package/dist/schema.js +103 -25
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +711 -81
- package/dist/{submission-input-wTiYGdgA.d.ts → submission-input-D9EGH_yb.d.ts} +2 -2
- package/dist/{telegram-browser-Bh3i0HiH.d.ts → telegram-browser-CTJh4Ro_.d.ts} +4 -4
- package/dist/testing.d.ts +89 -9
- package/dist/testing.js +218 -13
- package/dist/{transport-CnKA-_RL.d.ts → transport-B8Ss5lcz.d.ts} +9189 -2009
- package/dist/wallet-DZWL7lJH.d.ts +972 -0
- package/dist/{x-1czZFVUW.d.ts → x-KFJD2x8y.d.ts} +3 -3
- package/package.json +2 -2
- package/dist/profiles-BoOK03cR.d.ts +0 -299
- package/dist/runtime/chunks/IDOMZWRY.js +0 -40
- package/dist/runtime/chunks/NDB42VFF.js +0 -1
- package/dist/util.d-w9f9t3ua.d.ts +0 -5
- package/dist/wallet-Ac7OFpOr.d.ts +0 -228
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { m as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, o as TrackerSkipCode, i as PointHistoryQuery, g as PointEntryKind, ao as submitSchema, ap as contentPerformanceQuerySchema } from './schema-
|
|
2
|
-
import { l as QuestView, m as ResponseSchema, c as PageQuery, e as QuestEnrollmentInput, Q as QuestClaimInput, i as QuestOutcomeQuery, q as questExperienceSchema, a as CreatorAccountProvider, n as RewardDeliveryQuery, o as RewardDeliveryAction, r as contentQualificationQuerySchema } from './pages-
|
|
3
|
-
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-
|
|
1
|
+
import { m as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, o as TrackerSkipCode, i as PointHistoryQuery, g as PointEntryKind, ao as submitSchema, ap as contentPerformanceQuerySchema } from './schema-CwbRkmlr.js';
|
|
2
|
+
import { l as QuestView, m as ResponseSchema, c as PageQuery, e as QuestEnrollmentInput, Q as QuestClaimInput, i as QuestOutcomeQuery, q as questExperienceSchema, a as CreatorAccountProvider, n as RewardDeliveryQuery, o as RewardDeliveryAction, r as contentQualificationQuerySchema } from './pages-Bti7g5mX.js';
|
|
3
|
+
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-D9EGH_yb.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 { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-
|
|
5
|
+
import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-DHL8QYks.js';
|
|
6
6
|
import * as z from 'zod';
|
|
7
|
-
import { a as AuthProvider } from './accounts-
|
|
8
|
-
import { p as referralAcceptSchema, i as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, f as LeaderboardHistoryQuery, q as engagementPageQuerySchema } from './groups-
|
|
9
|
-
import {
|
|
10
|
-
import { w as walletAddressInputSchema, o as walletSignatureSchema, L as LinkedWallet, f as WalletSigner } from './wallet-Ac7OFpOr.js';
|
|
7
|
+
import { a as AuthProvider } from './accounts-DoabriBX.js';
|
|
8
|
+
import { p as referralAcceptSchema, i as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, f as LeaderboardHistoryQuery, q as engagementPageQuerySchema } from './groups-9Jm3peq3.js';
|
|
9
|
+
import { ag as profileUpdateSchema, d as ProfileCompletionQuery, ah as walletAddressInputSchema, ai as walletSignatureSchema, L as LinkedWallet, m as WalletSigner } from './wallet-DZWL7lJH.js';
|
|
11
10
|
|
|
12
11
|
/** What happened, as in every Domino client error (see `RequestError`). */
|
|
13
12
|
type RelayErrorKind = RequestErrorKind;
|
|
@@ -465,6 +464,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
465
464
|
group: string;
|
|
466
465
|
title: string;
|
|
467
466
|
})[] | undefined;
|
|
467
|
+
archivedAt?: number | null | undefined;
|
|
468
468
|
}[]>;
|
|
469
469
|
/** Redeems one offer. Persist `actionId` to retry after an uncertain result. */
|
|
470
470
|
redeem: (offer: string, value?: {
|
|
@@ -803,8 +803,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
803
803
|
/** The signed-in member's earned rewards, including pickup allocation and collection state. */
|
|
804
804
|
entitlements: (options?: RelayRequestOptions) => Promise<{
|
|
805
805
|
items: ({
|
|
806
|
-
|
|
807
|
-
|
|
806
|
+
status: "unsupported";
|
|
807
|
+
reportedStatus: string;
|
|
808
808
|
id: string;
|
|
809
809
|
member: string;
|
|
810
810
|
reward: {
|
|
@@ -830,9 +830,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
830
830
|
revision: number;
|
|
831
831
|
} | {
|
|
832
832
|
[x: string]: unknown;
|
|
833
|
-
status: "
|
|
834
|
-
handover: string;
|
|
835
|
-
startedAt: number;
|
|
833
|
+
status: "available";
|
|
836
834
|
id: string;
|
|
837
835
|
member: string;
|
|
838
836
|
reward: {
|
|
@@ -856,17 +854,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
856
854
|
earnedTier: string;
|
|
857
855
|
tier: string;
|
|
858
856
|
revision: number;
|
|
859
|
-
allocation?: {
|
|
860
|
-
[x: string]: unknown;
|
|
861
|
-
item: string;
|
|
862
|
-
label: string;
|
|
863
|
-
} | undefined;
|
|
864
857
|
} | {
|
|
865
858
|
[x: string]: unknown;
|
|
866
|
-
status: "
|
|
859
|
+
status: "handing-over";
|
|
867
860
|
handover: string;
|
|
868
861
|
startedAt: number;
|
|
869
|
-
collectedAt: number;
|
|
870
862
|
id: string;
|
|
871
863
|
member: string;
|
|
872
864
|
reward: {
|
|
@@ -895,16 +887,12 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
895
887
|
item: string;
|
|
896
888
|
label: string;
|
|
897
889
|
} | undefined;
|
|
898
|
-
recovery?: {
|
|
899
|
-
completion: string;
|
|
900
|
-
reason: string;
|
|
901
|
-
flaggedAt: number;
|
|
902
|
-
remainingTier: string | null;
|
|
903
|
-
} | undefined;
|
|
904
890
|
} | {
|
|
905
891
|
[x: string]: unknown;
|
|
906
|
-
status: "
|
|
907
|
-
|
|
892
|
+
status: "collected";
|
|
893
|
+
handover: string;
|
|
894
|
+
startedAt: number;
|
|
895
|
+
collectedAt: number;
|
|
908
896
|
id: string;
|
|
909
897
|
member: string;
|
|
910
898
|
reward: {
|
|
@@ -928,9 +916,21 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
928
916
|
earnedTier: string;
|
|
929
917
|
tier: string;
|
|
930
918
|
revision: number;
|
|
919
|
+
allocation?: {
|
|
920
|
+
[x: string]: unknown;
|
|
921
|
+
item: string;
|
|
922
|
+
label: string;
|
|
923
|
+
} | undefined;
|
|
924
|
+
recovery?: {
|
|
925
|
+
completion: string;
|
|
926
|
+
reason: string;
|
|
927
|
+
flaggedAt: number;
|
|
928
|
+
remainingTier: string | null;
|
|
929
|
+
} | undefined;
|
|
931
930
|
} | {
|
|
932
|
-
|
|
933
|
-
|
|
931
|
+
[x: string]: unknown;
|
|
932
|
+
status: "void";
|
|
933
|
+
voidedAt: number;
|
|
934
934
|
id: string;
|
|
935
935
|
member: string;
|
|
936
936
|
reward: {
|
|
@@ -959,6 +959,14 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
959
959
|
/** Point awards, current tier entitlements, and integration delivery states. */
|
|
960
960
|
deliveries: (options?: RelayRequestOptions) => Promise<{
|
|
961
961
|
items: ({
|
|
962
|
+
kind: "unknown";
|
|
963
|
+
reportedKind: string;
|
|
964
|
+
id: string;
|
|
965
|
+
status: string;
|
|
966
|
+
at: number | null;
|
|
967
|
+
quest: string | null;
|
|
968
|
+
completion: string | null;
|
|
969
|
+
} | {
|
|
962
970
|
[x: string]: z.core.util.JSONType;
|
|
963
971
|
kind: "points";
|
|
964
972
|
ledger: {
|
|
@@ -977,8 +985,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
977
985
|
[x: string]: unknown;
|
|
978
986
|
kind: "tier";
|
|
979
987
|
entitlement: {
|
|
980
|
-
|
|
981
|
-
|
|
988
|
+
status: "unsupported";
|
|
989
|
+
reportedStatus: string;
|
|
982
990
|
id: string;
|
|
983
991
|
member: string;
|
|
984
992
|
reward: {
|
|
@@ -1004,9 +1012,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1004
1012
|
revision: number;
|
|
1005
1013
|
} | {
|
|
1006
1014
|
[x: string]: unknown;
|
|
1007
|
-
status: "
|
|
1008
|
-
handover: string;
|
|
1009
|
-
startedAt: number;
|
|
1015
|
+
status: "available";
|
|
1010
1016
|
id: string;
|
|
1011
1017
|
member: string;
|
|
1012
1018
|
reward: {
|
|
@@ -1030,17 +1036,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1030
1036
|
earnedTier: string;
|
|
1031
1037
|
tier: string;
|
|
1032
1038
|
revision: number;
|
|
1033
|
-
allocation?: {
|
|
1034
|
-
[x: string]: unknown;
|
|
1035
|
-
item: string;
|
|
1036
|
-
label: string;
|
|
1037
|
-
} | undefined;
|
|
1038
1039
|
} | {
|
|
1039
1040
|
[x: string]: unknown;
|
|
1040
|
-
status: "
|
|
1041
|
+
status: "handing-over";
|
|
1041
1042
|
handover: string;
|
|
1042
1043
|
startedAt: number;
|
|
1043
|
-
collectedAt: number;
|
|
1044
1044
|
id: string;
|
|
1045
1045
|
member: string;
|
|
1046
1046
|
reward: {
|
|
@@ -1069,16 +1069,12 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1069
1069
|
item: string;
|
|
1070
1070
|
label: string;
|
|
1071
1071
|
} | undefined;
|
|
1072
|
-
recovery?: {
|
|
1073
|
-
completion: string;
|
|
1074
|
-
reason: string;
|
|
1075
|
-
flaggedAt: number;
|
|
1076
|
-
remainingTier: string | null;
|
|
1077
|
-
} | undefined;
|
|
1078
1072
|
} | {
|
|
1079
1073
|
[x: string]: unknown;
|
|
1080
|
-
status: "
|
|
1081
|
-
|
|
1074
|
+
status: "collected";
|
|
1075
|
+
handover: string;
|
|
1076
|
+
startedAt: number;
|
|
1077
|
+
collectedAt: number;
|
|
1082
1078
|
id: string;
|
|
1083
1079
|
member: string;
|
|
1084
1080
|
reward: {
|
|
@@ -1102,9 +1098,21 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1102
1098
|
earnedTier: string;
|
|
1103
1099
|
tier: string;
|
|
1104
1100
|
revision: number;
|
|
1101
|
+
allocation?: {
|
|
1102
|
+
[x: string]: unknown;
|
|
1103
|
+
item: string;
|
|
1104
|
+
label: string;
|
|
1105
|
+
} | undefined;
|
|
1106
|
+
recovery?: {
|
|
1107
|
+
completion: string;
|
|
1108
|
+
reason: string;
|
|
1109
|
+
flaggedAt: number;
|
|
1110
|
+
remainingTier: string | null;
|
|
1111
|
+
} | undefined;
|
|
1105
1112
|
} | {
|
|
1106
|
-
|
|
1107
|
-
|
|
1113
|
+
[x: string]: unknown;
|
|
1114
|
+
status: "void";
|
|
1115
|
+
voidedAt: number;
|
|
1108
1116
|
id: string;
|
|
1109
1117
|
member: string;
|
|
1110
1118
|
reward: {
|
|
@@ -1153,14 +1161,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1153
1161
|
quest: string | null;
|
|
1154
1162
|
completion: string | null;
|
|
1155
1163
|
roleId?: string | undefined;
|
|
1156
|
-
} | {
|
|
1157
|
-
kind: "unknown";
|
|
1158
|
-
reportedKind: string;
|
|
1159
|
-
id: string;
|
|
1160
|
-
status: string;
|
|
1161
|
-
at: number | null;
|
|
1162
|
-
quest: string | null;
|
|
1163
|
-
completion: string | null;
|
|
1164
1164
|
})[];
|
|
1165
1165
|
}>;
|
|
1166
1166
|
};
|
|
@@ -2089,8 +2089,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2089
2089
|
}>;
|
|
2090
2090
|
experience: (requestOptions?: RelayRequestOptions) => Promise<{
|
|
2091
2091
|
entitlements: ({
|
|
2092
|
-
|
|
2093
|
-
|
|
2092
|
+
status: "unsupported";
|
|
2093
|
+
reportedStatus: string;
|
|
2094
2094
|
id: string;
|
|
2095
2095
|
member: string;
|
|
2096
2096
|
reward: {
|
|
@@ -2116,9 +2116,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2116
2116
|
revision: number;
|
|
2117
2117
|
} | {
|
|
2118
2118
|
[x: string]: unknown;
|
|
2119
|
-
status: "
|
|
2120
|
-
handover: string;
|
|
2121
|
-
startedAt: number;
|
|
2119
|
+
status: "available";
|
|
2122
2120
|
id: string;
|
|
2123
2121
|
member: string;
|
|
2124
2122
|
reward: {
|
|
@@ -2142,17 +2140,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2142
2140
|
earnedTier: string;
|
|
2143
2141
|
tier: string;
|
|
2144
2142
|
revision: number;
|
|
2145
|
-
allocation?: {
|
|
2146
|
-
[x: string]: unknown;
|
|
2147
|
-
item: string;
|
|
2148
|
-
label: string;
|
|
2149
|
-
} | undefined;
|
|
2150
2143
|
} | {
|
|
2151
2144
|
[x: string]: unknown;
|
|
2152
|
-
status: "
|
|
2145
|
+
status: "handing-over";
|
|
2153
2146
|
handover: string;
|
|
2154
2147
|
startedAt: number;
|
|
2155
|
-
collectedAt: number;
|
|
2156
2148
|
id: string;
|
|
2157
2149
|
member: string;
|
|
2158
2150
|
reward: {
|
|
@@ -2181,16 +2173,12 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2181
2173
|
item: string;
|
|
2182
2174
|
label: string;
|
|
2183
2175
|
} | undefined;
|
|
2184
|
-
recovery?: {
|
|
2185
|
-
completion: string;
|
|
2186
|
-
reason: string;
|
|
2187
|
-
flaggedAt: number;
|
|
2188
|
-
remainingTier: string | null;
|
|
2189
|
-
} | undefined;
|
|
2190
2176
|
} | {
|
|
2191
2177
|
[x: string]: unknown;
|
|
2192
|
-
status: "
|
|
2193
|
-
|
|
2178
|
+
status: "collected";
|
|
2179
|
+
handover: string;
|
|
2180
|
+
startedAt: number;
|
|
2181
|
+
collectedAt: number;
|
|
2194
2182
|
id: string;
|
|
2195
2183
|
member: string;
|
|
2196
2184
|
reward: {
|
|
@@ -2214,9 +2202,21 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2214
2202
|
earnedTier: string;
|
|
2215
2203
|
tier: string;
|
|
2216
2204
|
revision: number;
|
|
2205
|
+
allocation?: {
|
|
2206
|
+
[x: string]: unknown;
|
|
2207
|
+
item: string;
|
|
2208
|
+
label: string;
|
|
2209
|
+
} | undefined;
|
|
2210
|
+
recovery?: {
|
|
2211
|
+
completion: string;
|
|
2212
|
+
reason: string;
|
|
2213
|
+
flaggedAt: number;
|
|
2214
|
+
remainingTier: string | null;
|
|
2215
|
+
} | undefined;
|
|
2217
2216
|
} | {
|
|
2218
|
-
|
|
2219
|
-
|
|
2217
|
+
[x: string]: unknown;
|
|
2218
|
+
status: "void";
|
|
2219
|
+
voidedAt: number;
|
|
2220
2220
|
id: string;
|
|
2221
2221
|
member: string;
|
|
2222
2222
|
reward: {
|
|
@@ -3611,6 +3611,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3611
3611
|
verify: (proof: z.input<typeof walletSignatureSchema>, requestOptions?: RelayRequestOptions) => Promise<{
|
|
3612
3612
|
id: string;
|
|
3613
3613
|
principal: {
|
|
3614
|
+
kind: string;
|
|
3615
|
+
} | {
|
|
3614
3616
|
kind: "member";
|
|
3615
3617
|
member: string;
|
|
3616
3618
|
} | {
|
|
@@ -3619,8 +3621,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3619
3621
|
} | {
|
|
3620
3622
|
kind: "operator";
|
|
3621
3623
|
subject: string;
|
|
3622
|
-
} | {
|
|
3623
|
-
kind: string;
|
|
3624
3624
|
};
|
|
3625
3625
|
expiresAt: number;
|
|
3626
3626
|
organization: string;
|
|
@@ -3634,6 +3634,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3634
3634
|
signIn: (signer: WalletSigner, requestOptions?: RelayRequestOptions) => Promise<{
|
|
3635
3635
|
id: string;
|
|
3636
3636
|
principal: {
|
|
3637
|
+
kind: string;
|
|
3638
|
+
} | {
|
|
3637
3639
|
kind: "member";
|
|
3638
3640
|
member: string;
|
|
3639
3641
|
} | {
|
|
@@ -3642,8 +3644,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3642
3644
|
} | {
|
|
3643
3645
|
kind: "operator";
|
|
3644
3646
|
subject: string;
|
|
3645
|
-
} | {
|
|
3646
|
-
kind: string;
|
|
3647
3647
|
};
|
|
3648
3648
|
expiresAt: number;
|
|
3649
3649
|
organization: string;
|
|
@@ -3686,6 +3686,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3686
3686
|
signIn: (initData: string, requestOptions?: RelayRequestOptions) => Promise<{
|
|
3687
3687
|
id: string;
|
|
3688
3688
|
principal: {
|
|
3689
|
+
kind: string;
|
|
3690
|
+
} | {
|
|
3689
3691
|
kind: "member";
|
|
3690
3692
|
member: string;
|
|
3691
3693
|
} | {
|
|
@@ -3694,8 +3696,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3694
3696
|
} | {
|
|
3695
3697
|
kind: "operator";
|
|
3696
3698
|
subject: string;
|
|
3697
|
-
} | {
|
|
3698
|
-
kind: string;
|
|
3699
3699
|
};
|
|
3700
3700
|
expiresAt: number;
|
|
3701
3701
|
organization: string;
|
|
@@ -3756,6 +3756,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3756
3756
|
session: (requestOptions?: RelayRequestOptions) => Promise<{
|
|
3757
3757
|
id: string;
|
|
3758
3758
|
principal: {
|
|
3759
|
+
kind: string;
|
|
3760
|
+
} | {
|
|
3759
3761
|
kind: "member";
|
|
3760
3762
|
member: string;
|
|
3761
3763
|
} | {
|
|
@@ -3764,8 +3766,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3764
3766
|
} | {
|
|
3765
3767
|
kind: "operator";
|
|
3766
3768
|
subject: string;
|
|
3767
|
-
} | {
|
|
3768
|
-
kind: string;
|
|
3769
3769
|
};
|
|
3770
3770
|
expiresAt: number;
|
|
3771
3771
|
organization: string;
|
|
@@ -3818,6 +3818,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3818
3818
|
}, options?: RelayRequestOptions) => Promise<{
|
|
3819
3819
|
member: string;
|
|
3820
3820
|
items: ({
|
|
3821
|
+
kind: "unknown";
|
|
3822
|
+
reportedKind: string;
|
|
3823
|
+
id: string;
|
|
3824
|
+
at: number;
|
|
3825
|
+
} | {
|
|
3821
3826
|
kind: "attempt.accepted";
|
|
3822
3827
|
quest: string;
|
|
3823
3828
|
attempt: string;
|
|
@@ -3872,11 +3877,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3872
3877
|
program: string;
|
|
3873
3878
|
id: string;
|
|
3874
3879
|
at: number;
|
|
3875
|
-
} | {
|
|
3876
|
-
kind: "unknown";
|
|
3877
|
-
reportedKind: string;
|
|
3878
|
-
id: string;
|
|
3879
|
-
at: number;
|
|
3880
3880
|
})[];
|
|
3881
3881
|
nextCursor: string;
|
|
3882
3882
|
}>;
|
|
@@ -3904,6 +3904,10 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3904
3904
|
avatarSeed: string;
|
|
3905
3905
|
email?: string | null | undefined;
|
|
3906
3906
|
emails?: string[] | undefined;
|
|
3907
|
+
clock?: {
|
|
3908
|
+
now: number;
|
|
3909
|
+
offsetMs: number;
|
|
3910
|
+
} | undefined;
|
|
3907
3911
|
}>;
|
|
3908
3912
|
observeProgress: (listener: (value: ProgressObservation) => void, observeOptions?: {
|
|
3909
3913
|
intervalMs?: number;
|
|
@@ -4329,8 +4333,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4329
4333
|
nextAvailableAt?: number | undefined;
|
|
4330
4334
|
}[];
|
|
4331
4335
|
entitlements: ({
|
|
4332
|
-
|
|
4333
|
-
|
|
4336
|
+
status: "unsupported";
|
|
4337
|
+
reportedStatus: string;
|
|
4334
4338
|
id: string;
|
|
4335
4339
|
member: string;
|
|
4336
4340
|
reward: {
|
|
@@ -4356,9 +4360,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4356
4360
|
revision: number;
|
|
4357
4361
|
} | {
|
|
4358
4362
|
[x: string]: unknown;
|
|
4359
|
-
status: "
|
|
4360
|
-
handover: string;
|
|
4361
|
-
startedAt: number;
|
|
4363
|
+
status: "available";
|
|
4362
4364
|
id: string;
|
|
4363
4365
|
member: string;
|
|
4364
4366
|
reward: {
|
|
@@ -4382,17 +4384,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4382
4384
|
earnedTier: string;
|
|
4383
4385
|
tier: string;
|
|
4384
4386
|
revision: number;
|
|
4385
|
-
allocation?: {
|
|
4386
|
-
[x: string]: unknown;
|
|
4387
|
-
item: string;
|
|
4388
|
-
label: string;
|
|
4389
|
-
} | undefined;
|
|
4390
4387
|
} | {
|
|
4391
4388
|
[x: string]: unknown;
|
|
4392
|
-
status: "
|
|
4389
|
+
status: "handing-over";
|
|
4393
4390
|
handover: string;
|
|
4394
4391
|
startedAt: number;
|
|
4395
|
-
collectedAt: number;
|
|
4396
4392
|
id: string;
|
|
4397
4393
|
member: string;
|
|
4398
4394
|
reward: {
|
|
@@ -4421,16 +4417,12 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4421
4417
|
item: string;
|
|
4422
4418
|
label: string;
|
|
4423
4419
|
} | undefined;
|
|
4424
|
-
recovery?: {
|
|
4425
|
-
completion: string;
|
|
4426
|
-
reason: string;
|
|
4427
|
-
flaggedAt: number;
|
|
4428
|
-
remainingTier: string | null;
|
|
4429
|
-
} | undefined;
|
|
4430
4420
|
} | {
|
|
4431
4421
|
[x: string]: unknown;
|
|
4432
|
-
status: "
|
|
4433
|
-
|
|
4422
|
+
status: "collected";
|
|
4423
|
+
handover: string;
|
|
4424
|
+
startedAt: number;
|
|
4425
|
+
collectedAt: number;
|
|
4434
4426
|
id: string;
|
|
4435
4427
|
member: string;
|
|
4436
4428
|
reward: {
|
|
@@ -4454,9 +4446,21 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4454
4446
|
earnedTier: string;
|
|
4455
4447
|
tier: string;
|
|
4456
4448
|
revision: number;
|
|
4449
|
+
allocation?: {
|
|
4450
|
+
[x: string]: unknown;
|
|
4451
|
+
item: string;
|
|
4452
|
+
label: string;
|
|
4453
|
+
} | undefined;
|
|
4454
|
+
recovery?: {
|
|
4455
|
+
completion: string;
|
|
4456
|
+
reason: string;
|
|
4457
|
+
flaggedAt: number;
|
|
4458
|
+
remainingTier: string | null;
|
|
4459
|
+
} | undefined;
|
|
4457
4460
|
} | {
|
|
4458
|
-
|
|
4459
|
-
|
|
4461
|
+
[x: string]: unknown;
|
|
4462
|
+
status: "void";
|
|
4463
|
+
voidedAt: number;
|
|
4460
4464
|
id: string;
|
|
4461
4465
|
member: string;
|
|
4462
4466
|
reward: {
|