@domino-sdk/relay 1.59.0 → 1.61.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.
Files changed (61) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/{accounts-CVonEkdb.d.ts → accounts-DoabriBX.d.ts} +4 -1
  3. package/dist/{integrations-DrbKQSTD.d.ts → announcements-CHx3-HBw.d.ts} +48 -42
  4. package/dist/{attempt-captures-DBj-rxak.d.ts → attempt-captures-DYnJVkfg.d.ts} +1 -1
  5. package/dist/authoring.d.ts +161 -29
  6. package/dist/authoring.js +116 -36
  7. package/dist/{automatic-outcomes-FS9okvBP.d.ts → automatic-outcomes-If88LR9f.d.ts} +1 -1
  8. package/dist/avatar.d.ts +1 -1
  9. package/dist/browser.d.ts +19 -10
  10. package/dist/browser.js +12 -10
  11. package/dist/{capability-error-DDJl0LY-.d.ts → capability-error-DufwG3G0.d.ts} +21 -1
  12. package/dist/{chunk-2LKGAL63.js → chunk-24I4R732.js} +39 -2
  13. package/dist/{chunk-UEMLYPKJ.js → chunk-3Y3L2F54.js} +34 -5
  14. package/dist/{chunk-YRSU2X2P.js → chunk-5I54XBK2.js} +2 -2
  15. package/dist/{chunk-KBCTII6C.js → chunk-7A4J67ZL.js} +1 -1
  16. package/dist/{chunk-LDLOB2UZ.js → chunk-DHXDBAJF.js} +4 -4
  17. package/dist/{chunk-W42KMMH5.js → chunk-DYXDZFKA.js} +5 -2
  18. package/dist/{chunk-TZJT5CRF.js → chunk-EN3M5Z4J.js} +1 -1
  19. package/dist/{chunk-IBROKMFV.js → chunk-L77O64I4.js} +1 -1
  20. package/dist/{chunk-EQF4ID47.js → chunk-PPB7HALD.js} +12 -2
  21. package/dist/{chunk-KYUQEZZA.js → chunk-QEAS4ZGS.js} +1 -1
  22. package/dist/{chunk-6U5WWH3W.js → chunk-QNUHWK7R.js} +9 -4
  23. package/dist/{chunk-YMWRLAAP.js → chunk-RHBS5FJL.js} +8 -2
  24. package/dist/chunk-SE4PFJPT.js +247 -0
  25. package/dist/{chunk-577DG2IT.js → chunk-SKGTNTLF.js} +12 -12
  26. package/dist/{chunk-M2JQPDUX.js → chunk-VURRFVNP.js} +9 -9
  27. package/dist/{chunk-R4S6BFOH.js → chunk-XBV2CK2H.js} +1 -1
  28. package/dist/{chunk-AWWCEP7F.js → chunk-ZDJLPN4L.js} +815 -592
  29. package/dist/{client-3b9HjSzZ.d.ts → client-C51w7fMb.d.ts} +12 -7
  30. package/dist/{deployments-BydFVj4Q.d.ts → deployments-kWoHFaqj.d.ts} +786 -2
  31. package/dist/{groups-CFuTfFqG.d.ts → groups-CqcA2Ycs.d.ts} +4 -1
  32. package/dist/index.d.ts +10 -10
  33. package/dist/index.js +9 -9
  34. package/dist/{analytics-URV-mxjH.d.ts → integrations-B3y36OaB.d.ts} +55 -1
  35. package/dist/internal.d.ts +11 -11
  36. package/dist/internal.js +8 -8
  37. package/dist/{offers-DAfe1O3_.d.ts → offers-BoV4ryUc.d.ts} +3 -2
  38. package/dist/{pages-ChDVLrgR.d.ts → pages-K7-KjSXw.d.ts} +147 -2
  39. package/dist/{participant-activity-iciCEs_8.d.ts → participant-activity-DHL8QYks.d.ts} +4 -0
  40. package/dist/portal-proxy.js +3 -3
  41. package/dist/react/index.d.ts +20 -15
  42. package/dist/react/index.js +143 -14
  43. package/dist/runtime/authoring.js +1 -1
  44. package/dist/runtime/chunks/5QVFB4TU.js +1 -0
  45. package/dist/runtime/manifest.json +3 -3
  46. package/dist/runtime/schema.js +1 -1
  47. package/dist/{schema-BA0nRRlt.d.ts → schema-CZ6Rj0ZF.d.ts} +142 -2
  48. package/dist/schema.d.ts +113 -18
  49. package/dist/schema.js +37 -21
  50. package/dist/server/index.d.ts +11 -11
  51. package/dist/server/index.js +346 -41
  52. package/dist/{submission-input-DxQ6RnKo.d.ts → submission-input-C54Q8yAD.d.ts} +2 -2
  53. package/dist/{telegram-browser-o3OIxGrJ.d.ts → telegram-browser-BUceZIGZ.d.ts} +7 -4
  54. package/dist/testing.d.ts +7 -7
  55. package/dist/testing.js +8 -8
  56. package/dist/{transport-D_Eqf78J.d.ts → transport-BrX9pIGN.d.ts} +5374 -62
  57. package/dist/{wallet-B06zvDXp.d.ts → wallet-CIqFoxdm.d.ts} +8 -1
  58. package/dist/{x-C28SNifw.d.ts → x-D1PGi8Sq.d.ts} +2 -2
  59. package/package.json +1 -1
  60. package/dist/chunk-XGXDINGM.js +0 -357
  61. package/dist/runtime/chunks/BG43KQ2T.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { g as PointEntryKind, y as ResourceHandle, G as GroupHandle } from './schema-BA0nRRlt.js';
2
+ import { g as PointEntryKind, y as ResourceHandle, G as GroupHandle } from './schema-CZ6Rj0ZF.js';
3
3
 
4
4
  type AuthoringIdentity = {
5
5
  key: string;
@@ -2412,6 +2412,7 @@ declare const referralRelationshipSchema: z.ZodObject<{
2412
2412
  inviter: z.ZodString;
2413
2413
  acceptedAt: z.ZodNumber;
2414
2414
  suspended: z.ZodBoolean;
2415
+ import: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2415
2416
  }, z.core.$strip>;
2416
2417
  declare const referralAccountSchema: z.ZodObject<{
2417
2418
  id: z.ZodString;
@@ -2581,12 +2582,14 @@ declare const referralManagementSchema: z.ZodObject<{
2581
2582
  inviter: z.ZodString;
2582
2583
  acceptedAt: z.ZodNumber;
2583
2584
  suspended: z.ZodBoolean;
2585
+ import: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2584
2586
  }, z.core.$strip>>;
2585
2587
  qualifications: z.ZodArray<z.ZodObject<{
2586
2588
  member: z.ZodString;
2587
2589
  program: z.ZodString;
2588
2590
  qualified: z.ZodBoolean;
2589
2591
  qualifiedAt: z.ZodNumber;
2592
+ import: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2590
2593
  }, z.core.$strip>>;
2591
2594
  accounts: z.ZodArray<z.ZodObject<{
2592
2595
  id: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
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-DAfe1O3_.js';
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-BoV4ryUc.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-3b9HjSzZ.js';
4
- export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownPointEntryKind, d as KnownTrackerSkipCode, M as MemberProgress, P as PointBalance, e as PointBalances, f as PointEntry, g as PointEntryKind, h as PointHistoryPage, i as PointHistoryQuery, j as PointLedgerReference, Q as QuestBudgetView, k as QuestPresentation, l as QuestProfile, m as QuizEvidence, R as Reward, S as SubmissionEvidence, n as SubmitInput, T as TieredRewardReference, o as TrackerSkipCode } from './schema-BA0nRRlt.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-C51w7fMb.js';
4
+ export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownPointEntryKind, d as KnownTrackerSkipCode, M as MemberProgress, P as PointBalance, e as PointBalances, f as PointEntry, g as PointEntryKind, h as PointHistoryPage, i as PointHistoryQuery, j as PointLedgerReference, Q as QuestBudgetView, k as QuestPresentation, l as QuestProfile, m as QuizEvidence, R as Reward, S as SubmissionEvidence, n as SubmitInput, T as TieredRewardReference, o as TrackerSkipCode } from './schema-CZ6Rj0ZF.js';
5
5
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
6
- export { C as CreatorAccount, a as CreatorAccountProvider, b as CreatorAccounts, P as Page, c as PageQuery, Q as QuestClaimInput, d as QuestEnrollment, e as QuestEnrollmentInput, f as QuestInteraction, g as QuestOutcome, h as QuestOutcomePage, i as QuestOutcomeQuery, j as QuestOutcomeState, k as QuestRewardView, l as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-ChDVLrgR.js';
7
- export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-CVonEkdb.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-iciCEs_8.js';
9
- export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, L as LeaderboardDefinition, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as ProjectGroup, k as ProjectGroupReference, R as ReferralDefinition } from './groups-CFuTfFqG.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-FS9okvBP.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-DxQ6RnKo.js';
12
- export { A as AvatarProvider, C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, O as OwnProfile, P as ProfileAvatar, b as ProfileCompletion, c as ProfileCompletionPage, d as ProfileCompletionQuery, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility, W as WalletAddressInput, i as WalletChain, j as WalletMessageChallenge, k as WalletSignInNetwork, l as WalletSignature, m as WalletSigner, n as WalletUnlinkInput } from './wallet-B06zvDXp.js';
6
+ export { C as CreatorAccount, a as CreatorAccountProvider, b as CreatorAccounts, P as Page, c as PageQuery, Q as QuestClaimInput, d as QuestEnrollment, e as QuestEnrollmentInput, f as QuestInteraction, g as QuestOutcome, h as QuestOutcomePage, i as QuestOutcomeQuery, j as QuestOutcomeState, k as QuestRewardView, l as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-K7-KjSXw.js';
7
+ export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-DoabriBX.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-DHL8QYks.js';
9
+ export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, L as LeaderboardDefinition, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as ProjectGroup, k as ProjectGroupReference, R as ReferralDefinition } from './groups-CqcA2Ycs.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-If88LR9f.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-C54Q8yAD.js';
12
+ export { A as AvatarProvider, C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, O as OwnProfile, P as ProfileAvatar, b as ProfileCompletion, c as ProfileCompletionPage, d as ProfileCompletionQuery, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility, W as WalletAddressInput, i as WalletChain, j as WalletMessageChallenge, k as WalletSignInNetwork, l as WalletSignature, m as WalletSigner, n as WalletUnlinkInput } from './wallet-CIqFoxdm.js';
13
13
  export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
14
14
  export { P as ParticipantDelivery } from './participant-rewards-BcWkBRn_.js';
15
15
  import 'zod';
package/dist/index.js CHANGED
@@ -5,22 +5,22 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-577DG2IT.js";
8
+ } from "./chunk-SKGTNTLF.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-KYUQEZZA.js";
11
+ } from "./chunk-QEAS4ZGS.js";
12
12
  import {
13
13
  QuestOutcomeState
14
- } from "./chunk-6U5WWH3W.js";
15
- import "./chunk-UEMLYPKJ.js";
14
+ } from "./chunk-QNUHWK7R.js";
15
+ import "./chunk-3Y3L2F54.js";
16
16
  import {
17
17
  PointEntryKind
18
- } from "./chunk-XGXDINGM.js";
19
- import "./chunk-R4S6BFOH.js";
20
- import "./chunk-TZJT5CRF.js";
18
+ } from "./chunk-SE4PFJPT.js";
19
+ import "./chunk-XBV2CK2H.js";
20
+ import "./chunk-EN3M5Z4J.js";
21
21
  import {
22
22
  sessionMember
23
- } from "./chunk-EQF4ID47.js";
23
+ } from "./chunk-PPB7HALD.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-AWWCEP7F.js";
32
+ } from "./chunk-ZDJLPN4L.js";
33
33
  export {
34
34
  AttemptStatus,
35
35
  PointEntryKind,
@@ -479,4 +479,58 @@ declare const analyticsMetricResultSchema: z.ZodObject<{
479
479
  type AnalyticsMetricResult = z.infer<typeof analyticsMetricResultSchema>;
480
480
  type AnalyticsBreakdownRow = NonNullable<AnalyticsMetricResult["breakdown"]>["rows"][number];
481
481
 
482
- export { type AnalyticsMetricId as A, analyticsCatalog as a, type AnalyticsQuery as b, type AnalyticsRead as c, type AnalyticsCatalog as d, type AnalyticsMetricQuery as e, type AnalyticsMetricResult as f, type AnalyticsBreakdown as g, type AnalyticsBreakdownRow as h, type AnalyticsCatalogEntry as i, type AnalyticsChart as j, type AnalyticsFilter as k, type AnalyticsMetric as l, type AnalyticsMetricKind as m, type AnalyticsQuest as n, type AnalyticsRange as o, analyticsBreakdowns as p, analyticsCatalogSchema as q, analyticsCharts as r, analyticsFilters as s, analyticsMetricIds as t, analyticsMetricQuerySchema as u, analyticsMetricResultSchema as v, analyticsQueryLimit as w, analyticsQuerySchema as x, analyticsRanges as y, analyticsReadSchema as z };
482
+ /** Modules a quest can declare to enable provider readers. Project connections are separate. */
483
+ declare const evaluatorIntegrationProviderSchema: z.ZodEnum<{
484
+ discord: "discord";
485
+ x: "x";
486
+ }>;
487
+ type EvaluatorIntegrationProvider = z.infer<typeof evaluatorIntegrationProviderSchema>;
488
+ type IntegrationModule = {
489
+ readonly provider: EvaluatorIntegrationProvider;
490
+ };
491
+ declare const integrationProviderSchema: z.ZodEnum<{
492
+ discord: "discord";
493
+ }>;
494
+ type IntegrationProvider = z.infer<typeof integrationProviderSchema>;
495
+ declare const discordServerSchema: z.ZodObject<{
496
+ id: z.ZodString;
497
+ name: z.ZodString;
498
+ icon: z.ZodNullable<z.ZodString>;
499
+ }, z.core.$strip>;
500
+ declare const projectIntegrationSchema: z.ZodObject<{
501
+ provider: z.ZodEnum<{
502
+ discord: "discord";
503
+ }>;
504
+ configured: z.ZodBoolean;
505
+ status: z.ZodEnum<{
506
+ disconnected: "disconnected";
507
+ ready: "ready";
508
+ attention: "attention";
509
+ }>;
510
+ revision: z.ZodNumber;
511
+ server: z.ZodNullable<z.ZodObject<{
512
+ id: z.ZodString;
513
+ name: z.ZodString;
514
+ icon: z.ZodNullable<z.ZodString>;
515
+ }, z.core.$strip>>;
516
+ issue: z.ZodNullable<z.ZodString>;
517
+ connectedAt: z.ZodDefault<z.ZodNumber>;
518
+ }, z.core.$strip>;
519
+ type ProjectIntegration = z.infer<typeof projectIntegrationSchema>;
520
+ /**
521
+ * The Discord servers other projects of the organization connected and keep ready in the same
522
+ * environment: the ones `management.discord.connect(server)` can connect without a new
523
+ * installation.
524
+ *
525
+ * @compat output
526
+ */
527
+ declare const organizationDiscordServersSchema: z.ZodObject<{
528
+ servers: z.ZodArray<z.ZodObject<{
529
+ id: z.ZodString;
530
+ name: z.ZodString;
531
+ icon: z.ZodNullable<z.ZodString>;
532
+ }, z.core.$strip>>;
533
+ }, z.core.$strip>;
534
+ type OrganizationDiscordServers = z.infer<typeof organizationDiscordServersSchema>;
535
+
536
+ export { type AnalyticsMetricId as A, analyticsMetricQuerySchema as B, analyticsMetricResultSchema as C, analyticsQueryLimit as D, type EvaluatorIntegrationProvider as E, analyticsQuerySchema as F, analyticsRanges as G, analyticsReadSchema as H, type IntegrationModule as I, type OrganizationDiscordServers as O, type ProjectIntegration as P, analyticsCatalog as a, type IntegrationProvider as b, type AnalyticsQuery as c, discordServerSchema as d, evaluatorIntegrationProviderSchema as e, type AnalyticsRead as f, type AnalyticsCatalog as g, type AnalyticsMetricQuery as h, integrationProviderSchema as i, type AnalyticsMetricResult as j, type AnalyticsBreakdown as k, type AnalyticsBreakdownRow as l, type AnalyticsCatalogEntry as m, type AnalyticsChart as n, organizationDiscordServersSchema as o, projectIntegrationSchema as p, type AnalyticsFilter as q, type AnalyticsMetric as r, type AnalyticsMetricKind as s, type AnalyticsQuest as t, type AnalyticsRange as u, analyticsBreakdowns as v, analyticsCatalogSchema as w, analyticsCharts as x, analyticsFilters as y, analyticsMetricIds as z };
@@ -1,17 +1,17 @@
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-D_Eqf78J.js';
2
- export { E as Extracted } from './x-C28SNifw.js';
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-BrX9pIGN.js';
2
+ export { E as Extracted } from './x-D1PGi8Sq.js';
3
3
  import { c as RequestErrorKind } from './action-DBzILFx9.js';
4
- export { p as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, q as trackerDataIssue, r as trackerDataIssues, u as trackerDataPathTypes, v as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-BA0nRRlt.js';
4
+ export { p as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, q as trackerDataIssue, r as trackerDataIssues, u as trackerDataPathTypes, v as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-CZ6Rj0ZF.js';
5
5
  export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-FN4zg3hw.js';
6
6
  import 'zod';
7
- import './pages-ChDVLrgR.js';
8
- import './wallet-B06zvDXp.js';
9
- import './offers-DAfe1O3_.js';
10
- import './groups-CFuTfFqG.js';
11
- import './automatic-outcomes-FS9okvBP.js';
12
- import './attempt-captures-DBj-rxak.js';
13
- import './analytics-URV-mxjH.js';
14
- import './deployments-BydFVj4Q.js';
7
+ import './pages-K7-KjSXw.js';
8
+ import './wallet-CIqFoxdm.js';
9
+ import './offers-BoV4ryUc.js';
10
+ import './groups-CqcA2Ycs.js';
11
+ import './automatic-outcomes-If88LR9f.js';
12
+ import './integrations-B3y36OaB.js';
13
+ import './attempt-captures-DYnJVkfg.js';
14
+ import './deployments-kWoHFaqj.js';
15
15
 
16
16
  /** The management client's and the CLI's default deadline per call. */
17
17
  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-LDLOB2UZ.js";
12
+ } from "./chunk-DHXDBAJF.js";
13
13
  import {
14
14
  parseImageExtraction,
15
15
  parseImageResult
16
- } from "./chunk-YRSU2X2P.js";
17
- import "./chunk-IBROKMFV.js";
16
+ } from "./chunk-5I54XBK2.js";
17
+ import "./chunk-L77O64I4.js";
18
18
  import {
19
19
  sourceDataSchema,
20
20
  sourceRoles,
21
21
  validateQuestShape
22
- } from "./chunk-YMWRLAAP.js";
22
+ } from "./chunk-RHBS5FJL.js";
23
23
  import {
24
24
  isIntegrationParticipantPath,
25
25
  isParticipantRoute,
@@ -35,9 +35,9 @@ import {
35
35
  lifetime,
36
36
  retryAfter,
37
37
  retrying
38
- } from "./chunk-R4S6BFOH.js";
39
- import "./chunk-TZJT5CRF.js";
40
- import "./chunk-EQF4ID47.js";
38
+ } from "./chunk-XBV2CK2H.js";
39
+ import "./chunk-EN3M5Z4J.js";
40
+ import "./chunk-PPB7HALD.js";
41
41
  import {
42
42
  schemaCheckedReader,
43
43
  trackerDataBatchSteps,
@@ -46,7 +46,7 @@ import {
46
46
  trackerDataPathTypes,
47
47
  trackerDataRecordSteps,
48
48
  whereSchemaIssue
49
- } from "./chunk-AWWCEP7F.js";
49
+ } from "./chunk-ZDJLPN4L.js";
50
50
  export {
51
51
  MANAGEMENT_TIMEOUT,
52
52
  REFERRAL_INTEGRATION_REWARD_ERROR,
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { y as ResourceHandle } from './schema-BA0nRRlt.js';
3
- import { l as AuthoringIdentity } from './groups-CFuTfFqG.js';
2
+ import { y as ResourceHandle } from './schema-CZ6Rj0ZF.js';
3
+ import { l as AuthoringIdentity } from './groups-CqcA2Ycs.js';
4
4
 
5
5
  declare const badgePropertiesSchema: z.ZodObject<{
6
6
  name: z.ZodString;
@@ -561,6 +561,7 @@ declare const offerSchema: z.ZodObject<{
561
561
  }, z.core.$strict>, z.ZodObject<{
562
562
  kind: z.ZodLiteral<"paused">;
563
563
  }, z.core.$strict>], "kind">;
564
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
564
565
  missing: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
565
566
  kind: z.ZodLiteral<"completion">;
566
567
  quest: z.ZodString;
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { a as AttemptStatus, cu as questDescriptionSchema, o as TrackerSkipCode } from './schema-BA0nRRlt.js';
3
- import { af as SolanaIdlSource } from './wallet-B06zvDXp.js';
2
+ import { a as AttemptStatus, aq as questDescriptionSchema, o as TrackerSkipCode } from './schema-CZ6Rj0ZF.js';
3
+ import { af as SolanaIdlSource } from './wallet-CIqFoxdm.js';
4
4
 
5
5
  /**
6
6
  * The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
@@ -9,6 +9,11 @@ import { af as SolanaIdlSource } from './wallet-B06zvDXp.js';
9
9
  declare const RewardDeliveryAction: {
10
10
  /** Delivers a quest's Discord role reward. */
11
11
  readonly GrantRole: "grant-role";
12
+ /**
13
+ * Posts a quest's announcement in a Telegram chat or Discord channel. Its `provider` is
14
+ * `telegram` or `discord`, and its `roleId` is empty.
15
+ */
16
+ readonly PostMessage: "post-message";
12
17
  };
13
18
  /** A known action, or one a newer Relay sends. */
14
19
  type RewardDeliveryAction = (typeof RewardDeliveryAction)[keyof typeof RewardDeliveryAction] | (string & {});
@@ -331,6 +336,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
331
336
  text: "text";
332
337
  announcement: "announcement";
333
338
  }>>;
339
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
334
340
  }, z.core.$strict>, z.ZodObject<{
335
341
  provider: z.ZodLiteral<"discord">;
336
342
  resource: z.ZodLiteral<"role">;
@@ -420,6 +426,19 @@ declare const questTypeVersionSchema: z.ZodObject<{
420
426
  action: z.ZodLiteral<"grant-role">;
421
427
  roleId: z.ZodString;
422
428
  }, z.core.$strict>]>>;
429
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
430
+ action: z.ZodLiteral<"post-message">;
431
+ text: z.ZodString;
432
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
433
+ provider: z.ZodLiteral<"telegram">;
434
+ chat: z.ZodString;
435
+ }, z.core.$strict>, z.ZodObject<{
436
+ action: z.ZodLiteral<"post-message">;
437
+ text: z.ZodString;
438
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
439
+ provider: z.ZodLiteral<"discord">;
440
+ channel: z.ZodString;
441
+ }, z.core.$strict>], "provider">>>;
423
442
  humanReview: z.ZodBoolean;
424
443
  trigger: z.ZodUnion<readonly [z.ZodObject<{
425
444
  kind: z.ZodLiteral<"manual">;
@@ -584,6 +603,20 @@ declare const questTypeVersionSchema: z.ZodObject<{
584
603
  balance: z.ZodString;
585
604
  }, z.core.$strict>]>;
586
605
  }, z.core.$strict>>>;
606
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
607
+ id: z.ZodString;
608
+ period: z.ZodEnum<{
609
+ lifetime: "lifetime";
610
+ day: "day";
611
+ week: "week";
612
+ month: "month";
613
+ }>;
614
+ limit: z.ZodNumber;
615
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
616
+ balance: z.ZodString;
617
+ }, z.core.$strict>]>;
618
+ scope: z.ZodLiteral<"author">;
619
+ }, z.core.$strict>>>;
587
620
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
588
621
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
589
622
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1084,6 +1117,7 @@ declare const questCatalogSchema: z.ZodObject<{
1084
1117
  text: "text";
1085
1118
  announcement: "announcement";
1086
1119
  }>>;
1120
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
1087
1121
  }, z.core.$strict>, z.ZodObject<{
1088
1122
  provider: z.ZodLiteral<"discord">;
1089
1123
  resource: z.ZodLiteral<"role">;
@@ -1173,6 +1207,19 @@ declare const questCatalogSchema: z.ZodObject<{
1173
1207
  action: z.ZodLiteral<"grant-role">;
1174
1208
  roleId: z.ZodString;
1175
1209
  }, z.core.$strict>]>>;
1210
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1211
+ action: z.ZodLiteral<"post-message">;
1212
+ text: z.ZodString;
1213
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
1214
+ provider: z.ZodLiteral<"telegram">;
1215
+ chat: z.ZodString;
1216
+ }, z.core.$strict>, z.ZodObject<{
1217
+ action: z.ZodLiteral<"post-message">;
1218
+ text: z.ZodString;
1219
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
1220
+ provider: z.ZodLiteral<"discord">;
1221
+ channel: z.ZodString;
1222
+ }, z.core.$strict>], "provider">>>;
1176
1223
  humanReview: z.ZodBoolean;
1177
1224
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1178
1225
  kind: z.ZodLiteral<"manual">;
@@ -1337,6 +1384,20 @@ declare const questCatalogSchema: z.ZodObject<{
1337
1384
  balance: z.ZodString;
1338
1385
  }, z.core.$strict>]>;
1339
1386
  }, z.core.$strict>>>;
1387
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1388
+ id: z.ZodString;
1389
+ period: z.ZodEnum<{
1390
+ lifetime: "lifetime";
1391
+ day: "day";
1392
+ week: "week";
1393
+ month: "month";
1394
+ }>;
1395
+ limit: z.ZodNumber;
1396
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1397
+ balance: z.ZodString;
1398
+ }, z.core.$strict>]>;
1399
+ scope: z.ZodLiteral<"author">;
1400
+ }, z.core.$strict>>>;
1340
1401
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
1341
1402
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
1342
1403
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1724,6 +1785,7 @@ declare const questCatalogSchema: z.ZodObject<{
1724
1785
  text: "text";
1725
1786
  announcement: "announcement";
1726
1787
  }>>;
1788
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
1727
1789
  }, z.core.$strict>, z.ZodObject<{
1728
1790
  provider: z.ZodLiteral<"discord">;
1729
1791
  resource: z.ZodLiteral<"role">;
@@ -1813,6 +1875,19 @@ declare const questCatalogSchema: z.ZodObject<{
1813
1875
  action: z.ZodLiteral<"grant-role">;
1814
1876
  roleId: z.ZodString;
1815
1877
  }, z.core.$strict>]>>;
1878
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1879
+ action: z.ZodLiteral<"post-message">;
1880
+ text: z.ZodString;
1881
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
1882
+ provider: z.ZodLiteral<"telegram">;
1883
+ chat: z.ZodString;
1884
+ }, z.core.$strict>, z.ZodObject<{
1885
+ action: z.ZodLiteral<"post-message">;
1886
+ text: z.ZodString;
1887
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
1888
+ provider: z.ZodLiteral<"discord">;
1889
+ channel: z.ZodString;
1890
+ }, z.core.$strict>], "provider">>>;
1816
1891
  humanReview: z.ZodBoolean;
1817
1892
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1818
1893
  kind: z.ZodLiteral<"manual">;
@@ -1977,6 +2052,20 @@ declare const questCatalogSchema: z.ZodObject<{
1977
2052
  balance: z.ZodString;
1978
2053
  }, z.core.$strict>]>;
1979
2054
  }, z.core.$strict>>>;
2055
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2056
+ id: z.ZodString;
2057
+ period: z.ZodEnum<{
2058
+ lifetime: "lifetime";
2059
+ day: "day";
2060
+ week: "week";
2061
+ month: "month";
2062
+ }>;
2063
+ limit: z.ZodNumber;
2064
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2065
+ balance: z.ZodString;
2066
+ }, z.core.$strict>]>;
2067
+ scope: z.ZodLiteral<"author">;
2068
+ }, z.core.$strict>>>;
1980
2069
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
1981
2070
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
1982
2071
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2248,6 +2337,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2248
2337
  text: "text";
2249
2338
  announcement: "announcement";
2250
2339
  }>>;
2340
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
2251
2341
  }, z.core.$strict>, z.ZodObject<{
2252
2342
  provider: z.ZodLiteral<"discord">;
2253
2343
  resource: z.ZodLiteral<"role">;
@@ -2337,6 +2427,19 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2337
2427
  action: z.ZodLiteral<"grant-role">;
2338
2428
  roleId: z.ZodString;
2339
2429
  }, z.core.$strict>]>>;
2430
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2431
+ action: z.ZodLiteral<"post-message">;
2432
+ text: z.ZodString;
2433
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
2434
+ provider: z.ZodLiteral<"telegram">;
2435
+ chat: z.ZodString;
2436
+ }, z.core.$strict>, z.ZodObject<{
2437
+ action: z.ZodLiteral<"post-message">;
2438
+ text: z.ZodString;
2439
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
2440
+ provider: z.ZodLiteral<"discord">;
2441
+ channel: z.ZodString;
2442
+ }, z.core.$strict>], "provider">>>;
2340
2443
  humanReview: z.ZodBoolean;
2341
2444
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2342
2445
  kind: z.ZodLiteral<"manual">;
@@ -2501,6 +2604,20 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2501
2604
  balance: z.ZodString;
2502
2605
  }, z.core.$strict>]>;
2503
2606
  }, z.core.$strict>>>;
2607
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2608
+ id: z.ZodString;
2609
+ period: z.ZodEnum<{
2610
+ lifetime: "lifetime";
2611
+ day: "day";
2612
+ week: "week";
2613
+ month: "month";
2614
+ }>;
2615
+ limit: z.ZodNumber;
2616
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2617
+ balance: z.ZodString;
2618
+ }, z.core.$strict>]>;
2619
+ scope: z.ZodLiteral<"author">;
2620
+ }, z.core.$strict>>>;
2504
2621
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
2505
2622
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
2506
2623
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5212,6 +5329,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5212
5329
  text: "text";
5213
5330
  announcement: "announcement";
5214
5331
  }>>;
5332
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
5215
5333
  }, z.core.$strict>, z.ZodObject<{
5216
5334
  provider: z.ZodLiteral<"discord">;
5217
5335
  resource: z.ZodLiteral<"role">;
@@ -5301,6 +5419,19 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5301
5419
  action: z.ZodLiteral<"grant-role">;
5302
5420
  roleId: z.ZodString;
5303
5421
  }, z.core.$strict>]>>;
5422
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5423
+ action: z.ZodLiteral<"post-message">;
5424
+ text: z.ZodString;
5425
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
5426
+ provider: z.ZodLiteral<"telegram">;
5427
+ chat: z.ZodString;
5428
+ }, z.core.$strict>, z.ZodObject<{
5429
+ action: z.ZodLiteral<"post-message">;
5430
+ text: z.ZodString;
5431
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
5432
+ provider: z.ZodLiteral<"discord">;
5433
+ channel: z.ZodString;
5434
+ }, z.core.$strict>], "provider">>>;
5304
5435
  humanReview: z.ZodBoolean;
5305
5436
  trigger: z.ZodUnion<readonly [z.ZodObject<{
5306
5437
  kind: z.ZodLiteral<"manual">;
@@ -5465,6 +5596,20 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5465
5596
  balance: z.ZodString;
5466
5597
  }, z.core.$strict>]>;
5467
5598
  }, z.core.$strict>>>;
5599
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
5600
+ id: z.ZodString;
5601
+ period: z.ZodEnum<{
5602
+ lifetime: "lifetime";
5603
+ day: "day";
5604
+ week: "week";
5605
+ month: "month";
5606
+ }>;
5607
+ limit: z.ZodNumber;
5608
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
5609
+ balance: z.ZodString;
5610
+ }, z.core.$strict>]>;
5611
+ scope: z.ZodLiteral<"author">;
5612
+ }, z.core.$strict>>>;
5468
5613
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
5469
5614
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
5470
5615
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -94,6 +94,10 @@ declare const memberSummarySchema: z.ZodObject<{
94
94
  avatarSeed: z.ZodString;
95
95
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
96
  emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
+ clock: z.ZodOptional<z.ZodObject<{
98
+ now: z.ZodNumber;
99
+ offsetMs: z.ZodNumber;
100
+ }, z.core.$strip>>;
97
101
  }, z.core.$strip>;
98
102
  type MemberSummary = z.infer<typeof memberSummarySchema>;
99
103
  declare const exchangeSchema: z.ZodObject<{
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-MHPKEVEW.js";
4
4
  import {
5
5
  clientIdentity
6
- } from "./chunk-TZJT5CRF.js";
6
+ } from "./chunk-EN3M5Z4J.js";
7
7
  import {
8
8
  exchangeResultSchema,
9
9
  participantPrincipalSchema,
10
10
  sessionMember
11
- } from "./chunk-EQF4ID47.js";
12
- import "./chunk-AWWCEP7F.js";
11
+ } from "./chunk-PPB7HALD.js";
12
+ import "./chunk-ZDJLPN4L.js";
13
13
 
14
14
  // src/portal-proxy.ts
15
15
  import * as z from "zod";
@@ -1,20 +1,20 @@
1
- import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-DAfe1O3_.js';
2
- import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-iciCEs_8.js';
3
- import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-3b9HjSzZ.js';
4
- import { P as Page, H as collectionViewSchema, l as QuestView, a as CreatorAccountProvider, i as QuestOutcomeQuery, g as QuestOutcome } from '../pages-ChDVLrgR.js';
5
- export { C as CreatorAccount, b as CreatorAccounts } from '../pages-ChDVLrgR.js';
1
+ import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-BoV4ryUc.js';
2
+ import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-DHL8QYks.js';
3
+ import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-C51w7fMb.js';
4
+ import { P as Page, H as collectionViewSchema, l as QuestView, a as CreatorAccountProvider, i as QuestOutcomeQuery, g as QuestOutcome } from '../pages-K7-KjSXw.js';
5
+ export { C as CreatorAccount, b as CreatorAccounts } from '../pages-K7-KjSXw.js';
6
6
  import * as react from 'react';
7
7
  import { ReactNode } from 'react';
8
8
  import * as z from 'zod';
9
9
  import { z as z$1 } from 'zod';
10
- import { E as Entitlement, a as AttemptStatus, f as PointEntry, e as PointBalances, j as PointLedgerReference, T as TieredRewardReference } from '../schema-BA0nRRlt.js';
11
- import { a as AuthProvider, A as AccountConnection } from '../accounts-CVonEkdb.js';
12
- export { T as TelegramAccountConnection, b as TelegramSignInMethods } from '../accounts-CVonEkdb.js';
13
- 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-o3OIxGrJ.js';
14
- export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-o3OIxGrJ.js';
15
- import { m as WalletSigner, k as WalletSignInNetwork, L as LinkedWallet, g as ProfileUpdate, f as ProfileSummary, b as ProfileCompletion, e as ProfileReferral } from '../wallet-B06zvDXp.js';
16
- import { h as LeaderboardPlacement, b2 as referralSummarySchema, g as LeaderboardPage } from '../groups-CFuTfFqG.js';
17
- import '../submission-input-DxQ6RnKo.js';
10
+ import { E as Entitlement, a as AttemptStatus, f as PointEntry, e as PointBalances, j as PointLedgerReference, T as TieredRewardReference } from '../schema-CZ6Rj0ZF.js';
11
+ import { a as AuthProvider, A as AccountConnection } from '../accounts-DoabriBX.js';
12
+ export { T as TelegramAccountConnection, b as TelegramSignInMethods } from '../accounts-DoabriBX.js';
13
+ 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-BUceZIGZ.js';
14
+ export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-BUceZIGZ.js';
15
+ import { m as WalletSigner, k as WalletSignInNetwork, L as LinkedWallet, g as ProfileUpdate, f as ProfileSummary, b as ProfileCompletion, e as ProfileReferral } from '../wallet-CIqFoxdm.js';
16
+ import { h as LeaderboardPlacement, b2 as referralSummarySchema, g as LeaderboardPage } from '../groups-CqcA2Ycs.js';
17
+ import '../submission-input-C54Q8yAD.js';
18
18
  import '../action-DBzILFx9.js';
19
19
 
20
20
  /**
@@ -1843,7 +1843,8 @@ declare function useSignInMethods(): Query<SignInMethods>;
1843
1843
  * `<img src={defaultAvatar(me.data.avatarSeed)} />`. The seed is derived from the member and
1844
1844
  * reveals nothing about them; linking wallets or accounts does not change it. `data.email` is the
1845
1845
  * member's own sign-in email address for "signed in as", or null when they have none, and
1846
- * `data.emails` lists every verified address that signs them in.
1846
+ * `data.emails` lists every verified address that signs them in. `data.clock` is the member's
1847
+ * clock: pass `data` to `memberTime()` from `@domino-sdk/relay/browser` for their current time.
1847
1848
  */
1848
1849
  declare function useMe(): MemberQuery<MemberSummary>;
1849
1850
  /**
@@ -1865,7 +1866,11 @@ declare function useSignIn(): {
1865
1866
  verifyCode: (code: string) => Promise<void>;
1866
1867
  startOver: () => void;
1867
1868
  withProvider: (provider: OAuthProvider) => Promise<void>;
1868
- /** Signs in, or signs up, with a wallet; the wallet asks the participant to sign a message. */
1869
+ /**
1870
+ * Signs in, or signs up, with a wallet; the wallet asks the participant to sign a message. A
1871
+ * wallet that can watch its accounts, such as an EVM browser wallet, is followed: switching
1872
+ * to another account in it, or locking it, signs out.
1873
+ */
1869
1874
  withWallet: (signer: WalletSigner) => Promise<void>;
1870
1875
  /** Leaves for Telegram Login, where the platform configured it. */
1871
1876
  withTelegram: () => Promise<void>;