@domino-sdk/relay 1.34.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 +47 -47
- 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-XOHMDXSQ.js → chunk-K7PUCZJY.js} +12 -9
- package/dist/{chunk-5C5AZTKA.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-OEDG75KH.js → chunk-R5NQEW5J.js} +2 -2
- package/dist/{chunk-OW22TOV7.js → chunk-RIMESZ4X.js} +29 -1
- package/dist/{chunk-Q2PUNIPL.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-DMVpPnGX.d.ts → deployments-DTaJPDsl.d.ts} +213 -213
- 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 +327 -321
- 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-DpI_Hhng.d.ts → transport-4QyqeZLU.d.ts} +3179 -3053
- package/dist/{x-58jkoblN.d.ts → x-imfTy_I1.d.ts} +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-
|
|
1
|
+
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-DFJ4dmR3.js';
|
|
2
2
|
export { R as RelayAction, a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, d as RequestRecovery, e as createRelayAction, i as isRequestError } from './action-DBzILFx9.js';
|
|
3
|
-
export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-
|
|
4
|
-
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema
|
|
3
|
+
export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-CraOIr8b.js';
|
|
4
|
+
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema--jNn3OfJ.js';
|
|
5
5
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
6
|
-
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-
|
|
6
|
+
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-B5agdH0f.js';
|
|
7
7
|
export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-DRPENuZe.js';
|
|
8
|
-
export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-
|
|
9
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-
|
|
10
|
-
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-
|
|
11
|
-
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
8
|
+
export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-CoB2F30C.js';
|
|
9
|
+
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-DTsvf0Z2.js';
|
|
10
|
+
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-BiarOoiy.js';
|
|
11
|
+
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-BHzSin84.js';
|
|
12
12
|
export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileReferral, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility } from './profiles-BHuQdzsW.js';
|
|
13
13
|
export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
|
|
14
14
|
export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput } from './wallet-t7uNDg9p.js';
|
package/dist/index.js
CHANGED
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-K7PUCZJY.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JXFRKZGL.js";
|
|
12
12
|
import {
|
|
13
13
|
QuestOutcomeState
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GI6RO43K.js";
|
|
15
15
|
import {
|
|
16
16
|
PointEntryKind
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-2A4LCKTU.js";
|
|
18
|
+
import "./chunk-FTB7F5IP.js";
|
|
19
|
+
import "./chunk-U735N4KB.js";
|
|
20
|
+
import "./chunk-S37JPI5O.js";
|
|
21
21
|
import {
|
|
22
22
|
sessionMember
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SB3ODDGR.js";
|
|
24
24
|
import {
|
|
25
25
|
AttemptStatus,
|
|
26
26
|
RelayError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
isRelayError,
|
|
30
30
|
isRequestError,
|
|
31
31
|
paginate
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RIMESZ4X.js";
|
|
33
33
|
export {
|
|
34
34
|
AttemptStatus,
|
|
35
35
|
PointEntryKind,
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-
|
|
2
|
-
export { E as Extracted } from './x-
|
|
1
|
+
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-4QyqeZLU.js';
|
|
2
|
+
export { E as Extracted } from './x-imfTy_I1.js';
|
|
3
3
|
import { c as RequestErrorKind } from './action-DBzILFx9.js';
|
|
4
|
-
export { i as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, j as trackerDataIssue, k as trackerDataIssues, l as trackerDataPathTypes, m as trackerDataRecordSteps, w as whereSchemaIssue } from './schema
|
|
4
|
+
export { i as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, j as trackerDataIssue, k as trackerDataIssues, l as trackerDataPathTypes, m as trackerDataRecordSteps, w as whereSchemaIssue } from './schema--jNn3OfJ.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './pages-
|
|
7
|
-
import './offers-
|
|
8
|
-
import './groups-
|
|
6
|
+
import './pages-B5agdH0f.js';
|
|
7
|
+
import './offers-DFJ4dmR3.js';
|
|
8
|
+
import './groups-DTsvf0Z2.js';
|
|
9
9
|
import './profiles-BHuQdzsW.js';
|
|
10
|
-
import './automatic-outcomes-
|
|
11
|
-
import './attempt-captures-
|
|
12
|
-
import './deployments-
|
|
10
|
+
import './automatic-outcomes-BiarOoiy.js';
|
|
11
|
+
import './attempt-captures-B2Clh9Df.js';
|
|
12
|
+
import './deployments-DTaJPDsl.js';
|
|
13
13
|
|
|
14
14
|
/** The management client's and the CLI's default deadline per call. */
|
|
15
15
|
declare const MANAGEMENT_TIMEOUT = 30000;
|
package/dist/internal.js
CHANGED
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
participantExchangeSchema,
|
|
10
10
|
questConfiguration,
|
|
11
11
|
sequenceCursorSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-L33BQLNF.js";
|
|
13
13
|
import {
|
|
14
14
|
parseImageExtraction,
|
|
15
15
|
parseImageResult
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-LNPV4J53.js";
|
|
17
|
+
import "./chunk-Z2EN4ERZ.js";
|
|
18
18
|
import {
|
|
19
19
|
sourceDataSchema,
|
|
20
20
|
sourceRoles,
|
|
21
21
|
validateQuestShape
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NQDZX3D2.js";
|
|
23
23
|
import {
|
|
24
24
|
isIntegrationParticipantPath,
|
|
25
25
|
isParticipantRoute,
|
|
@@ -31,9 +31,9 @@ import {
|
|
|
31
31
|
lifetime,
|
|
32
32
|
retryAfter,
|
|
33
33
|
retrying
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-U735N4KB.js";
|
|
35
|
+
import "./chunk-S37JPI5O.js";
|
|
36
|
+
import "./chunk-SB3ODDGR.js";
|
|
37
37
|
import {
|
|
38
38
|
schemaCheckedReader,
|
|
39
39
|
trackerDataBatchSteps,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
trackerDataPathTypes,
|
|
43
43
|
trackerDataRecordSteps,
|
|
44
44
|
whereSchemaIssue
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-RIMESZ4X.js";
|
|
46
46
|
export {
|
|
47
47
|
MANAGEMENT_TIMEOUT,
|
|
48
48
|
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { q as ResourceHandle } from './schema
|
|
3
|
-
import { r as AuthoringIdentity } from './groups-
|
|
2
|
+
import { q as ResourceHandle } from './schema--jNn3OfJ.js';
|
|
3
|
+
import { r as AuthoringIdentity } from './groups-DTsvf0Z2.js';
|
|
4
4
|
|
|
5
5
|
declare const badgePropertiesSchema: z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { a as AttemptStatus,
|
|
2
|
+
import { a as AttemptStatus, bY as questDescriptionSchema, h as TrackerSkipCode } from './schema--jNn3OfJ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
|
|
@@ -92,6 +92,8 @@ declare function sessionMember(session: {
|
|
|
92
92
|
declare const memberSummarySchema: z.ZodObject<{
|
|
93
93
|
member: z.ZodString;
|
|
94
94
|
avatarSeed: z.ZodString;
|
|
95
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
96
|
+
emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
95
97
|
}, z.core.$strip>;
|
|
96
98
|
type MemberSummary = z.infer<typeof memberSummarySchema>;
|
|
97
99
|
declare const exchangeSchema: z.ZodObject<{
|
package/dist/portal-proxy.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-DP4YWFMY.js";
|
|
4
4
|
import {
|
|
5
5
|
clientIdentity
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S37JPI5O.js";
|
|
7
7
|
import {
|
|
8
8
|
exchangeResultSchema
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-SB3ODDGR.js";
|
|
10
|
+
import "./chunk-RIMESZ4X.js";
|
|
11
11
|
|
|
12
12
|
// src/portal-proxy.ts
|
|
13
13
|
var statusCode = (status) => ({
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-
|
|
2
|
-
import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-
|
|
3
|
-
import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-
|
|
4
|
-
import { P as Page, A as collectionViewSchema, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-
|
|
1
|
+
import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-DFJ4dmR3.js';
|
|
2
|
+
import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-CoB2F30C.js';
|
|
3
|
+
import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-CraOIr8b.js';
|
|
4
|
+
import { P as Page, A as collectionViewSchema, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-B5agdH0f.js';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { ReactNode } from 'react';
|
|
7
7
|
import { J as JSONType } from '../util.d-w9f9t3ua.js';
|
|
8
8
|
import { z } from 'zod';
|
|
9
|
-
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema
|
|
9
|
+
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema--jNn3OfJ.js';
|
|
10
10
|
import { a as AuthProvider, A as AccountConnection } from '../accounts-DRPENuZe.js';
|
|
11
11
|
export { T as TelegramAccountConnection, b as TelegramSignInMethods } from '../accounts-DRPENuZe.js';
|
|
12
|
-
import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-
|
|
13
|
-
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-
|
|
12
|
+
import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-B1LFWF_v.js';
|
|
13
|
+
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-B1LFWF_v.js';
|
|
14
14
|
import { f as WalletSigner, d as WalletSignInNetwork, L as LinkedWallet } from '../wallet-t7uNDg9p.js';
|
|
15
|
-
import { f as LeaderboardPlacement, ba as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-
|
|
15
|
+
import { f as LeaderboardPlacement, ba as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-DTsvf0Z2.js';
|
|
16
16
|
import { f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-BHuQdzsW.js';
|
|
17
|
-
import '../submission-input-
|
|
17
|
+
import '../submission-input-BHzSin84.js';
|
|
18
18
|
import '../action-DBzILFx9.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -1348,7 +1348,9 @@ declare function useSignInMethods(): Query<SignInMethods>;
|
|
|
1348
1348
|
/**
|
|
1349
1349
|
* The signed-in member and the seed of their generated avatar, in `data`:
|
|
1350
1350
|
* `<img src={defaultAvatar(me.data.avatarSeed)} />`. The seed is derived from the member and
|
|
1351
|
-
* reveals nothing about them; linking wallets or accounts does not change it.
|
|
1351
|
+
* reveals nothing about them; linking wallets or accounts does not change it. `data.email` is the
|
|
1352
|
+
* member's own sign-in email address for "signed in as", or null when they have none, and
|
|
1353
|
+
* `data.emails` lists every verified address that signs them in.
|
|
1352
1354
|
*/
|
|
1353
1355
|
declare function useMe(): MemberQuery<MemberSummary>;
|
|
1354
1356
|
/**
|
package/dist/react/index.js
CHANGED
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
readSignInMethods,
|
|
10
10
|
signInOptionsFrom,
|
|
11
11
|
telegramMiniAppInitData
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-R5NQEW5J.js";
|
|
13
|
+
import "../chunk-K7PUCZJY.js";
|
|
14
14
|
import {
|
|
15
15
|
createRelayAction
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-JXFRKZGL.js";
|
|
17
|
+
import "../chunk-GI6RO43K.js";
|
|
18
|
+
import "../chunk-2A4LCKTU.js";
|
|
19
|
+
import "../chunk-FTB7F5IP.js";
|
|
20
|
+
import "../chunk-U735N4KB.js";
|
|
21
|
+
import "../chunk-S37JPI5O.js";
|
|
22
22
|
import {
|
|
23
23
|
sessionMember
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-SB3ODDGR.js";
|
|
25
25
|
import {
|
|
26
26
|
RelayError,
|
|
27
27
|
RelayErrorCode,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
clientError,
|
|
30
30
|
isRelayError,
|
|
31
31
|
isRequestError
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-RIMESZ4X.js";
|
|
33
33
|
|
|
34
34
|
// src/react/context.ts
|
|
35
35
|
import { createContext, useContext } from "react";
|
|
@@ -547,8 +547,53 @@ declare const trackerStatusSchema: z.ZodObject<{
|
|
|
547
547
|
}>;
|
|
548
548
|
error: z.ZodNullable<z.ZodString>;
|
|
549
549
|
records: z.ZodNumber;
|
|
550
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
551
|
+
code: "code";
|
|
552
|
+
data: "data";
|
|
553
|
+
}>>;
|
|
550
554
|
}, z.core.$strip>;
|
|
551
555
|
type TrackerStatus = z.infer<typeof trackerStatusSchema>;
|
|
556
|
+
/** The parts of an X search tracker that `management.trackers.update` can change. */
|
|
557
|
+
declare const trackerPropertiesSchema: z.ZodObject<{
|
|
558
|
+
title: z.ZodString;
|
|
559
|
+
query: z.ZodString;
|
|
560
|
+
window: z.ZodObject<{
|
|
561
|
+
start: z.ZodNumber;
|
|
562
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
563
|
+
}, z.core.$strict>;
|
|
564
|
+
refreshSeconds: z.ZodNumber;
|
|
565
|
+
maxPages: z.ZodNumber;
|
|
566
|
+
}, z.core.$strict>;
|
|
567
|
+
/**
|
|
568
|
+
* An X search tracker created as data in test (`management.trackers.create`). Its key is its
|
|
569
|
+
* authoring key, which a promotion carries to live; validation matches `defineTracker`.
|
|
570
|
+
*/
|
|
571
|
+
declare const trackerCreateSchema: z.ZodObject<{
|
|
572
|
+
title: z.ZodString;
|
|
573
|
+
query: z.ZodString;
|
|
574
|
+
window: z.ZodObject<{
|
|
575
|
+
start: z.ZodNumber;
|
|
576
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
577
|
+
}, z.core.$strict>;
|
|
578
|
+
key: z.ZodString;
|
|
579
|
+
refreshSeconds: z.ZodDefault<z.ZodNumber>;
|
|
580
|
+
maxPages: z.ZodDefault<z.ZodNumber>;
|
|
581
|
+
actionId: z.ZodString;
|
|
582
|
+
}, z.core.$strict>;
|
|
583
|
+
type TrackerCreateInput = z.input<typeof trackerCreateSchema>;
|
|
584
|
+
/** Changes to a tracker created as data. Fields left out keep their value; the key never changes. */
|
|
585
|
+
declare const trackerUpdateSchema: z.ZodObject<{
|
|
586
|
+
title: z.ZodOptional<z.ZodString>;
|
|
587
|
+
query: z.ZodOptional<z.ZodString>;
|
|
588
|
+
window: z.ZodOptional<z.ZodObject<{
|
|
589
|
+
start: z.ZodNumber;
|
|
590
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
591
|
+
}, z.core.$strict>>;
|
|
592
|
+
refreshSeconds: z.ZodOptional<z.ZodNumber>;
|
|
593
|
+
maxPages: z.ZodOptional<z.ZodNumber>;
|
|
594
|
+
actionId: z.ZodString;
|
|
595
|
+
}, z.core.$strict>;
|
|
596
|
+
type TrackerUpdateInput = z.input<typeof trackerUpdateSchema>;
|
|
552
597
|
declare const trackerControlSchema: z.ZodObject<{
|
|
553
598
|
actionId: z.ZodString;
|
|
554
599
|
action: z.ZodEnum<{
|
|
@@ -953,6 +998,10 @@ declare const trackerPageSchema: z.ZodObject<{
|
|
|
953
998
|
}>;
|
|
954
999
|
error: z.ZodNullable<z.ZodString>;
|
|
955
1000
|
records: z.ZodNumber;
|
|
1001
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1002
|
+
code: "code";
|
|
1003
|
+
data: "data";
|
|
1004
|
+
}>>;
|
|
956
1005
|
}, z.core.$strip>;
|
|
957
1006
|
}, z.core.$strip>;
|
|
958
1007
|
declare const trackerSummarySchema: z.ZodObject<{
|
|
@@ -1022,6 +1071,10 @@ declare const trackerSummarySchema: z.ZodObject<{
|
|
|
1022
1071
|
}>;
|
|
1023
1072
|
error: z.ZodNullable<z.ZodString>;
|
|
1024
1073
|
records: z.ZodNumber;
|
|
1074
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1075
|
+
code: "code";
|
|
1076
|
+
data: "data";
|
|
1077
|
+
}>>;
|
|
1025
1078
|
}, z.core.$strip>;
|
|
1026
1079
|
}, z.core.$strip>;
|
|
1027
1080
|
/** A record whose `data` has type `D`; untyped records keep JSON object data. */
|
|
@@ -6399,4 +6452,4 @@ declare const contentPerformancePageSchema: z.ZodObject<{
|
|
|
6399
6452
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
6400
6453
|
}, z.core.$strict>;
|
|
6401
6454
|
|
|
6402
|
-
export { type Decision as $, type Attempt as A, type SourceRoles as B, type LedgerHandle as C, type TrackerDataSchema as D, type Entitlement as E, xSearchSourceSchema as F, type GroupHandle as G, type XContentMetric as H, type IdentityKind as I, type TrackerTriggerPolicy as J, type KnownAttemptStatus as K, type LedgerReference as L, type MemberProgress as M, type Where as N, type OpenIdentityKind as O, type MemberIdentity as P, type QuestBudgetView as Q, type Reward as R, type SubmissionEvidence as S, type TieredRewardReference as T, type TrackerTriggerContext as U, type TrackerReader as V, type WithRecordData as W, type XTweet as X, type TextReviewInput as Y, type TextResult as Z, type PhotoResult as _, AttemptStatus as a, type
|
|
6455
|
+
export { type Decision as $, type Attempt as A, type SourceRoles as B, type LedgerHandle as C, type TrackerDataSchema as D, type Entitlement as E, xSearchSourceSchema as F, type GroupHandle as G, type XContentMetric as H, type IdentityKind as I, type TrackerTriggerPolicy as J, type KnownAttemptStatus as K, type LedgerReference as L, type MemberProgress as M, type Where as N, type OpenIdentityKind as O, type MemberIdentity as P, type QuestBudgetView as Q, type Reward as R, type SubmissionEvidence as S, type TieredRewardReference as T, type TrackerTriggerContext as U, type TrackerReader as V, type WithRecordData as W, type XTweet as X, type TextReviewInput as Y, type TextResult as Z, type PhotoResult as _, AttemptStatus as a, type TrackerTriggerOutcomeQuery as a$, rewardSchema as a0, type TrackerTriggerMode as a1, type RoleOf as a2, type WhereSetting as a3, type ContentBody as a4, type BadgeHandle as a5, type ContentMetricName as a6, triggerSchema as a7, type TieredRewardDefinition as a8, type LedgerSetting as a9, type QuestSubmission as aA, type QuestSubmissionResult as aB, QuestSubmissionStatus as aC, type QuestSubmissionUpdate as aD, type ReleaseInput as aE, type ReviewPage as aF, type Snapshot as aG, type TrackerAccount as aH, type TrackerAttribution as aI, type TrackerBound as aJ, type TrackerCondition as aK, type TrackerContent as aL, type TrackerContentQuery as aM, type TrackerCreateInput as aN, type TrackerDataIssue as aO, type TrackerDefinition as aP, type TrackerDefinitionResponse as aQ, type TrackerOutcome as aR, type TrackerOutcomeQuery as aS, type TrackerPreview as aT, type TrackerPreviewInput as aU, type TrackerQuery as aV, type TrackerRecord as aW, type TrackerSourceKind as aX, type TrackerSourceResponse as aY, type TrackerStatus as aZ, type TrackerTriggerOutcomePage as a_, type TrackerPage as aa, type TrackerReadQuery as ab, trackerDataSchema as ac, trackerTriggerContextSchema as ad, type AccountRole as ae, type AppIdentityKind as af, type Bound as ag, type CompletionSource as ah, CompletionSourceKind as ai, type Condition as aj, type ContentPerformanceSnapshot as ak, type DataLeaves as al, type EntitlementCorrection as am, type EntitlementState as an, type KnownCompletionSourceKind as ao, type KnownIdentityKind as ap, type KnownQuestSubmissionStatus as aq, type MemberPage as ar, type PickupAvailability as as, type PublishedRelease as at, type QuestAvailability as au, type QuestDescription as av, type QuestPresentationContent as aw, type QuestSettingsInput as ax, type QuestStep as ay, type QuestStepAction as az, type EvaluatorProgress as b, questPresentationSchema as b$, type TrackerUpdateInput as b0, type TrackerWhere as b1, type TriggerEnrollment as b2, type TriggerHistorical as b3, type TriggerSince as b4, type TypedTrackerRecord as b5, accountRoleSchema as b6, appIdentityKindSchema as b7, artifactSchema as b8, attemptSchema as b9, eventSchema as bA, evidenceSchema as bB, identityKindSchema as bC, integrationRewardSchema as bD, isAppIdentityKind as bE, isKnownTrackerSource as bF, knownIdentityKinds as bG, mediaUrlSchema as bH, memberIdentitySchema as bI, memberListSchema as bJ, memberPageSchema as bK, memberProgressSchema as bL, openIdentityKindSchema as bM, photoResultSchema as bN, pickupAllocationSchema as bO, pickupAvailabilitySchema as bP, pickupCatalogSchema as bQ, pickupPolicySchema as bR, pickupSelectionSchema as bS, pointsRewardSchema as bT, publishedReleaseSchema as bU, publishedTrackerSchema as bV, questAvailabilitySchema as bW, questBudgetViewSchema as bX, questDescriptionSchema as bY, questPresentationContentSchema as bZ, questPresentationRequirementSchema as b_, badgeReward as ba, badgeRewardSchema as bb, batchReleaseSchema as bc, beginHandoverSchema as bd, beneficiaryRole as be, completionRecordSchema as bf, completionSourceSchema as bg, configurePickupSchema as bh, confirmHandoverSchema as bi, contentMetricNameSchema as bj, contentPerformancePageSchema as bk, contentPerformanceQuerySchema as bl, contentPerformanceSnapshotSchema as bm, createStockItemSchema as bn, customContentSchema as bo, decisionSchema as bp, defaultTriggerMode as bq, deferPolicy as br, entitlementCorrectionSchema as bs, entitlementRecoverySchema as bt, entitlementSchema as bu, entitlementStateSchema as bv, errorSchema as bw, evaluatorProgressSchema as bx, evaluatorProtocol as by, evaluatorProtocolSchema as bz, type KnownTrackerSkipCode as c, trackerRecordSchema as c$, questProfileSchema as c0, questSettingsInputSchema as c1, questStepActionSchema as c2, questStepSchema as c3, questSubmissionResultSchema as c4, questSubmissionSchema as c5, questSubmissionUpdateSchema as c6, quizAnswersSchema as c7, quizEvidenceSchema as c8, releaseSchema as c9, trackerBoundSchema as cA, trackerConditionSchema as cB, trackerContentQuerySchema as cC, trackerContentReadSchema as cD, trackerContentSchema as cE, trackerContentStageSchema as cF, trackerControlSchema as cG, trackerCreateSchema as cH, trackerDataMaxBranches as cI, trackerDataMaxEntries as cJ, trackerDataSchemaSchema as cK, trackerDefinitionResponseSchema as cL, trackerEvidenceSchema as cM, trackerIngestResultSchema as cN, trackerIngestSchema as cO, trackerOutcomePageSchema as cP, trackerOutcomeQuerySchema as cQ, trackerOutcomeRetrySchema as cR, trackerOutcomeSchema as cS, trackerPageSchema as cT, trackerPreviewInputSchema as cU, trackerPreviewLimits as cV, trackerPreviewSchema as cW, trackerPropertiesSchema as cX, trackerQuerySchema as cY, trackerRecordAccountSchema as cZ, trackerRecordInputSchema as c_, reservationSchema as ca, reviewItemSchema as cb, reviewListSchema as cc, reviewModeSchema as cd, reviewPageSchema as ce, rewardBundleSchema as cf, rewardKey as cg, snapshotSchema as ch, sourceContent as ci, sourceIdentities as cj, staffDecisionSchema as ck, stockItemSchema as cl, stockSchema as cm, storedQuestDescriptionSchema as cn, storedReviewModeSchema as co, submissionEvidenceSchema as cp, submitSchema as cq, templateSchema as cr, textResultSchema as cs, textReviewInputSchema as ct, tierRewardSchema as cu, tieredRewardDefinitionSchema as cv, tieredRewardReferenceSchema as cw, trackerAccountSchema as cx, trackerArtifactSchema as cy, trackerAttributionSchema as cz, type QuestPresentation as d, trackerSkipCodes as d0, trackerSourceKinds as d1, trackerSourceResponseSchema as d2, trackerSourceSchema as d3, trackerStatusSchema as d4, trackerSummarySchema as d5, trackerTriggerModeSchema as d6, trackerTriggerOutcomePageSchema as d7, trackerTriggerOutcomeQuerySchema as d8, trackerTriggerPolicySchema as d9, trackerTriggerRecordSchema as da, trackerUpdateSchema as db, trackerWhereSchema as dc, triggerAdmission as dd, triggerEnrollmentSchema as de, triggerHistoricalSchema as df, triggerMode as dg, triggerSinceSchema as dh, whereConditions as di, whereSettings as dj, xAccountRoles as dk, xContentMetrics as dl, xTweetSchema as dm, type QuestProfile as e, type QuizEvidence as f, type SubmitInput as g, type TrackerSkipCode as h, type TrackerDataBudget as i, trackerDataIssue as j, trackerDataIssues as k, trackerDataPathTypes as l, trackerDataRecordSteps as m, customSourceSchema as n, type WithContent as o, type WithAccountRoles as p, type ResourceHandle as q, type QuestHandle as r, schemaCheckedReader as s, trackerDataBatchSteps as t, type TrackerSource as u, trackerDefinitionSchema as v, whereSchemaIssue as w, xContentBodySchema as x, type Tracker as y, type TrackerData as z };
|