@domino-sdk/relay 1.33.0 → 1.36.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-nMDnKGdI.d.ts → attempt-captures-B2Clh9Df.d.ts} +1 -1
- package/dist/authoring.d.ts +49 -49
- package/dist/authoring.js +4 -4
- package/dist/{automatic-outcomes-CHiFP_U-.d.ts → automatic-outcomes-BiarOoiy.d.ts} +1 -1
- package/dist/browser.d.ts +7 -7
- package/dist/browser.js +10 -10
- package/dist/{chunk-ON7RDKQ3.js → chunk-2A4LCKTU.js} +1 -1
- package/dist/{chunk-32UPB7Q3.js → chunk-3KCKA2XH.js} +1 -1
- package/dist/{chunk-BUHGXKPY.js → chunk-FTB7F5IP.js} +1 -1
- package/dist/{chunk-BDWZ2BZP.js → chunk-GI6RO43K.js} +2 -2
- package/dist/{chunk-2SL7K42N.js → chunk-JHHTQ73D.js} +6 -6
- package/dist/{chunk-IJT4EKFY.js → chunk-JXFRKZGL.js} +1 -1
- package/dist/{chunk-E5OYFYO3.js → chunk-K7PUCZJY.js} +12 -9
- package/dist/{chunk-PM3265GG.js → chunk-L33BQLNF.js} +4 -4
- package/dist/{chunk-V36CPSZW.js → chunk-LNPV4J53.js} +2 -2
- package/dist/{chunk-3WJBL74Q.js → chunk-NQDZX3D2.js} +1 -1
- package/dist/{chunk-KWNSYWVH.js → chunk-R5NQEW5J.js} +2 -2
- package/dist/{chunk-OW22TOV7.js → chunk-RIMESZ4X.js} +29 -1
- package/dist/{chunk-YPI5SGXB.js → chunk-S37JPI5O.js} +1 -1
- package/dist/{chunk-466IRAJP.js → chunk-SB3ODDGR.js} +15 -2
- package/dist/{chunk-V7K7XXFB.js → chunk-U735N4KB.js} +1 -1
- package/dist/{chunk-KUZXNKHL.js → chunk-Z2EN4ERZ.js} +1 -1
- package/dist/{client-Bkc7gOmF.d.ts → client-CraOIr8b.d.ts} +11 -6
- package/dist/{deployments-BZuI2lWF.d.ts → deployments-DTaJPDsl.d.ts} +241 -241
- package/dist/{groups-C06mpYOs.d.ts → groups-DTsvf0Z2.d.ts} +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +9 -9
- package/dist/internal.js +8 -8
- package/dist/{offers-BbQ9O-5J.d.ts → offers-DFJ4dmR3.d.ts} +2 -2
- package/dist/{pages-C1tNuRoB.d.ts → pages-B5agdH0f.d.ts} +1 -1
- package/dist/{participant-activity-BPZiW7m7.d.ts → participant-activity-CoB2F30C.d.ts} +2 -0
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +12 -10
- package/dist/react/index.js +10 -10
- package/dist/{schema-DquhoBae.d.ts → schema--jNn3OfJ.d.ts} +54 -1
- package/dist/schema.d.ts +349 -343
- package/dist/schema.js +13 -7
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +40 -14
- package/dist/{submission-input-DUmt6Wyx.d.ts → submission-input-BHzSin84.d.ts} +2 -2
- package/dist/{telegram-browser-DWFPGBgU.d.ts → telegram-browser-B1LFWF_v.d.ts} +2 -2
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +5 -5
- package/dist/{transport-DVdbwmrB.d.ts → transport-4QyqeZLU.d.ts} +3387 -3254
- package/dist/{x-58jkoblN.d.ts → x-imfTy_I1.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
identifier
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RIMESZ4X.js";
|
|
4
4
|
|
|
5
5
|
// src/auth.ts
|
|
6
6
|
import * as z from "zod";
|
|
@@ -39,7 +39,20 @@ function sessionMember(session) {
|
|
|
39
39
|
}
|
|
40
40
|
var memberSummarySchema = z.object({
|
|
41
41
|
member: identifier,
|
|
42
|
-
avatarSeed: z.string().min(1).max(100)
|
|
42
|
+
avatarSeed: z.string().min(1).max(100),
|
|
43
|
+
/**
|
|
44
|
+
* The member's own email address for "signed in as": the first of `emails`, or null when they
|
|
45
|
+
* have none, such as after wallet-only sign-in. Only the member reads it. Absent from a Relay
|
|
46
|
+
* older than this field.
|
|
47
|
+
*/
|
|
48
|
+
email: z.string().min(1).nullable().optional(),
|
|
49
|
+
/**
|
|
50
|
+
* The verified email addresses that sign the member in: each email-code sign-in address, then
|
|
51
|
+
* the verified email of each Google or Apple account enabled for sign-in. Accounts connected
|
|
52
|
+
* only for activity are left out. Empty when there are none. Absent from a Relay older than
|
|
53
|
+
* this field.
|
|
54
|
+
*/
|
|
55
|
+
emails: z.array(z.string().min(1)).optional()
|
|
43
56
|
});
|
|
44
57
|
var exchangeSchema = authScopeSchema.extend({
|
|
45
58
|
identity: z.object({ issuer: identifier, subject: z.string().min(1).max(200) }).strict(),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b0 as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a7 as engagementPageQuerySchema } from './groups-
|
|
2
|
-
import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, a0 as questExperienceSchema, t as RewardDeliveryQuery, l as RewardDeliveryAction, H as contentQualificationQuerySchema } from './pages-
|
|
3
|
-
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-
|
|
1
|
+
import { b0 as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a7 as engagementPageQuerySchema } from './groups-DTsvf0Z2.js';
|
|
2
|
+
import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, a0 as questExperienceSchema, t as RewardDeliveryQuery, l as RewardDeliveryAction, H as contentQualificationQuerySchema } from './pages-B5agdH0f.js';
|
|
3
|
+
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-BHzSin84.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,
|
|
6
|
-
import { b as ParticipantSession, d as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-
|
|
5
|
+
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, cq as submitSchema, bl as contentPerformanceQuerySchema } from './schema--jNn3OfJ.js';
|
|
6
|
+
import { b as ParticipantSession, d as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-CoB2F30C.js';
|
|
7
7
|
import * as z from 'zod';
|
|
8
8
|
import { a as AuthProvider } from './accounts-DRPENuZe.js';
|
|
9
9
|
import { F as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-BHuQdzsW.js';
|
|
@@ -3748,10 +3748,15 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3748
3748
|
onState?: (state: ProgressObservation<ParticipantActivity>) => void;
|
|
3749
3749
|
}) => ProgressObserver;
|
|
3750
3750
|
};
|
|
3751
|
-
/**
|
|
3751
|
+
/**
|
|
3752
|
+
* The signed-in member, the seed of their generated avatar (`defaultAvatar(avatarSeed)`), and
|
|
3753
|
+
* their own verified sign-in email addresses: `email` (or null) and `emails`.
|
|
3754
|
+
*/
|
|
3752
3755
|
get: (requestOptions?: RelayRequestOptions) => Promise<{
|
|
3753
3756
|
member: string;
|
|
3754
3757
|
avatarSeed: string;
|
|
3758
|
+
email?: string | null | undefined;
|
|
3759
|
+
emails?: string[] | undefined;
|
|
3755
3760
|
}>;
|
|
3756
3761
|
observeProgress: (listener: (value: ProgressObservation) => void, observeOptions?: {
|
|
3757
3762
|
intervalMs?: number;
|