@domino-sdk/relay 1.60.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 (57) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{integrations-CmIkP1Gi.d.ts → announcements-CHx3-HBw.d.ts} +4 -43
  3. package/dist/{attempt-captures-W2dgzGqE.d.ts → attempt-captures-DYnJVkfg.d.ts} +1 -1
  4. package/dist/authoring.d.ts +14 -14
  5. package/dist/authoring.js +38 -27
  6. package/dist/{automatic-outcomes-Cmou89IS.d.ts → automatic-outcomes-If88LR9f.d.ts} +1 -1
  7. package/dist/avatar.d.ts +1 -1
  8. package/dist/browser.d.ts +7 -7
  9. package/dist/browser.js +10 -10
  10. package/dist/{chunk-2FHNY52R.js → chunk-24I4R732.js} +33 -2
  11. package/dist/{chunk-MJEJQH5A.js → chunk-3Y3L2F54.js} +23 -3
  12. package/dist/{chunk-KUPVQXUJ.js → chunk-5I54XBK2.js} +2 -2
  13. package/dist/{chunk-OTEUP2SG.js → chunk-7A4J67ZL.js} +1 -1
  14. package/dist/{chunk-KWFY7L7X.js → chunk-DHXDBAJF.js} +4 -4
  15. package/dist/{chunk-N3LJ6GFK.js → chunk-DYXDZFKA.js} +5 -2
  16. package/dist/{chunk-N7YOS4ZU.js → chunk-EN3M5Z4J.js} +1 -1
  17. package/dist/{chunk-YOAPPIWN.js → chunk-L77O64I4.js} +1 -1
  18. package/dist/{chunk-422J3QRW.js → chunk-PPB7HALD.js} +1 -1
  19. package/dist/{chunk-4OFH4BNX.js → chunk-QEAS4ZGS.js} +1 -1
  20. package/dist/{chunk-XQKUJL7H.js → chunk-QNUHWK7R.js} +3 -3
  21. package/dist/{chunk-VWMIA2TT.js → chunk-RHBS5FJL.js} +1 -1
  22. package/dist/{chunk-YNW2ZUUP.js → chunk-SE4PFJPT.js} +1 -1
  23. package/dist/{chunk-VVRQQRMQ.js → chunk-SKGTNTLF.js} +8 -8
  24. package/dist/{chunk-Y2IGFLD2.js → chunk-VURRFVNP.js} +7 -7
  25. package/dist/{chunk-6ZG7WNYX.js → chunk-XBV2CK2H.js} +1 -1
  26. package/dist/{chunk-GBSDAD3N.js → chunk-ZDJLPN4L.js} +4 -0
  27. package/dist/{client-Cw1pB5sv.d.ts → client-C51w7fMb.d.ts} +5 -5
  28. package/dist/{deployments-DI-W7fBq.d.ts → deployments-kWoHFaqj.d.ts} +2 -2
  29. package/dist/{groups-9Jm3peq3.d.ts → groups-CqcA2Ycs.d.ts} +1 -1
  30. package/dist/index.d.ts +8 -8
  31. package/dist/index.js +9 -9
  32. package/dist/{analytics-URV-mxjH.d.ts → integrations-B3y36OaB.d.ts} +55 -1
  33. package/dist/internal.d.ts +11 -11
  34. package/dist/internal.js +8 -8
  35. package/dist/{offers-CqXfMIxq.d.ts → offers-BoV4ryUc.d.ts} +2 -2
  36. package/dist/{pages-Bti7g5mX.d.ts → pages-K7-KjSXw.d.ts} +2 -2
  37. package/dist/portal-proxy.js +3 -3
  38. package/dist/react/index.d.ts +15 -11
  39. package/dist/react/index.js +143 -14
  40. package/dist/runtime/authoring.js +1 -1
  41. package/dist/runtime/chunks/5QVFB4TU.js +1 -0
  42. package/dist/runtime/manifest.json +3 -3
  43. package/dist/runtime/schema.js +1 -1
  44. package/dist/{schema-CwbRkmlr.d.ts → schema-CZ6Rj0ZF.d.ts} +1 -1
  45. package/dist/schema.d.ts +14 -14
  46. package/dist/schema.js +10 -8
  47. package/dist/server/index.d.ts +11 -11
  48. package/dist/server/index.js +69 -15
  49. package/dist/{submission-input-D9EGH_yb.d.ts → submission-input-C54Q8yAD.d.ts} +2 -2
  50. package/dist/{telegram-browser-CTJh4Ro_.d.ts → telegram-browser-BUceZIGZ.d.ts} +5 -2
  51. package/dist/testing.d.ts +4 -4
  52. package/dist/testing.js +5 -5
  53. package/dist/{transport-B8Ss5lcz.d.ts → transport-BrX9pIGN.d.ts} +109 -10
  54. package/dist/{wallet-DZWL7lJH.d.ts → wallet-CIqFoxdm.d.ts} +7 -0
  55. package/dist/{x-KFJD2x8y.d.ts → x-D1PGi8Sq.d.ts} +1 -1
  56. package/package.json +1 -1
  57. package/dist/runtime/chunks/ADUMK6CR.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createRelayAction,
3
3
  withActionId
4
- } from "./chunk-4OFH4BNX.js";
4
+ } from "./chunk-QEAS4ZGS.js";
5
5
  import {
6
6
  collectionPassSchema,
7
7
  creatorAccountProviderSchema,
@@ -19,7 +19,7 @@ import {
19
19
  questOutcomeSchema,
20
20
  rewardDeliveriesSchema,
21
21
  rewardDeliveryQuerySchema
22
- } from "./chunk-XQKUJL7H.js";
22
+ } from "./chunk-QNUHWK7R.js";
23
23
  import {
24
24
  badgeSchema,
25
25
  engagementBoundaryPageSchema,
@@ -38,7 +38,7 @@ import {
38
38
  referralDefinitionSchema,
39
39
  referralHistorySchema,
40
40
  referralSummarySchema
41
- } from "./chunk-MJEJQH5A.js";
41
+ } from "./chunk-3Y3L2F54.js";
42
42
  import {
43
43
  AVATAR_UPLOAD_LIMIT,
44
44
  avatarUploadTypes,
@@ -52,24 +52,24 @@ import {
52
52
  profileReferralSchema,
53
53
  profileSummarySchema,
54
54
  profileUpdateSchema
55
- } from "./chunk-YNW2ZUUP.js";
55
+ } from "./chunk-SE4PFJPT.js";
56
56
  import {
57
57
  PARTICIPANT_TIMEOUT,
58
58
  lifetime,
59
59
  retryAfter,
60
60
  retrying,
61
61
  validTimeout
62
- } from "./chunk-6ZG7WNYX.js";
62
+ } from "./chunk-XBV2CK2H.js";
63
63
  import {
64
64
  clientIdentity
65
- } from "./chunk-N7YOS4ZU.js";
65
+ } from "./chunk-EN3M5Z4J.js";
66
66
  import {
67
67
  exchangeResultSchema,
68
68
  exchangeSchema,
69
69
  memberSummarySchema,
70
70
  participantSessionSchema,
71
71
  sessionMember
72
- } from "./chunk-422J3QRW.js";
72
+ } from "./chunk-PPB7HALD.js";
73
73
  import {
74
74
  RelayError,
75
75
  RelayErrorCode,
@@ -111,7 +111,7 @@ import {
111
111
  walletSignInNetworksSchema,
112
112
  walletSignatureSchema,
113
113
  walletUnlinkInputSchema
114
- } from "./chunk-GBSDAD3N.js";
114
+ } from "./chunk-ZDJLPN4L.js";
115
115
 
116
116
  // src/legacy-submissions.ts
117
117
  import * as z from "zod";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  dashboardArtifactSchema,
3
3
  dashboardPreviewSchema
4
- } from "./chunk-N3LJ6GFK.js";
4
+ } from "./chunk-DYXDZFKA.js";
5
5
  import {
6
6
  imageAssetArtifactSchema,
7
7
  imageComparisonSchema,
@@ -10,7 +10,7 @@ import {
10
10
  imageSightingsSchema,
11
11
  imageUploadsSchema,
12
12
  publishedImageSchema
13
- } from "./chunk-YOAPPIWN.js";
13
+ } from "./chunk-L77O64I4.js";
14
14
  import {
15
15
  catalogDeploymentSchema,
16
16
  collectionPassSchema,
@@ -29,7 +29,7 @@ import {
29
29
  questTypeVersionSchema,
30
30
  questViewSchema,
31
31
  rewardDeliveriesSchema
32
- } from "./chunk-XQKUJL7H.js";
32
+ } from "./chunk-QNUHWK7R.js";
33
33
  import {
34
34
  badgeArtifactSchema,
35
35
  badgeSchema,
@@ -54,7 +54,7 @@ import {
54
54
  referralDefinitionSchema,
55
55
  referralHistorySchema,
56
56
  referralSummarySchema
57
- } from "./chunk-MJEJQH5A.js";
57
+ } from "./chunk-3Y3L2F54.js";
58
58
  import {
59
59
  ownProfileSchema,
60
60
  pointBalancesSchema,
@@ -65,12 +65,12 @@ import {
65
65
  profileCompletionPageSchema,
66
66
  profileReferralSchema,
67
67
  profileSummarySchema
68
- } from "./chunk-YNW2ZUUP.js";
68
+ } from "./chunk-SE4PFJPT.js";
69
69
  import {
70
70
  exchangeResultSchema,
71
71
  memberSummarySchema,
72
72
  participantSessionSchema
73
- } from "./chunk-422J3QRW.js";
73
+ } from "./chunk-PPB7HALD.js";
74
74
  import {
75
75
  accountConnectionSchema,
76
76
  attemptSchema,
@@ -109,7 +109,7 @@ import {
109
109
  walletNftsSchema,
110
110
  walletSignInNetworksSchema,
111
111
  walletTransactionsSchema
112
- } from "./chunk-GBSDAD3N.js";
112
+ } from "./chunk-ZDJLPN4L.js";
113
113
 
114
114
  // src/deployments.ts
115
115
  import * as z from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isRequestError
3
- } from "./chunk-GBSDAD3N.js";
3
+ } from "./chunk-ZDJLPN4L.js";
4
4
 
5
5
  // src/request-lifetime.ts
6
6
  var PARTICIPANT_TIMEOUT = 15e3;
@@ -2372,6 +2372,9 @@ var projectIntegrationSchema = z19.object({
2372
2372
  issue: z19.string().nullable(),
2373
2373
  connectedAt: z19.number().default(0)
2374
2374
  });
2375
+ var organizationDiscordServersSchema = z19.object({
2376
+ servers: z19.array(discordServerSchema)
2377
+ });
2375
2378
 
2376
2379
  // src/announcement-template.ts
2377
2380
  var announcementPlaceholders = [
@@ -4599,6 +4602,7 @@ export {
4599
4602
  integrationProviderSchema,
4600
4603
  discordServerSchema,
4601
4604
  projectIntegrationSchema,
4605
+ organizationDiscordServersSchema,
4602
4606
  announcementPlaceholders,
4603
4607
  parseAnnouncementTemplate,
4604
4608
  telegramSignInMethodsSchema,
@@ -1,12 +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-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';
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-CZ6Rj0ZF.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-K7-KjSXw.js';
3
+ import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-C54Q8yAD.js';
4
4
  import { a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, e as createRelayAction, O as OptionalActionId } from './action-DBzILFx9.js';
5
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
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';
8
+ import { p as referralAcceptSchema, i as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, f as LeaderboardHistoryQuery, q as engagementPageQuerySchema } from './groups-CqcA2Ycs.js';
9
+ import { ag as profileUpdateSchema, d as ProfileCompletionQuery, ah as walletAddressInputSchema, ai as walletSignatureSchema, L as LinkedWallet, m as WalletSigner } from './wallet-CIqFoxdm.js';
10
10
 
11
11
  /** What happened, as in every Domino client error (see `RequestError`). */
12
12
  type RelayErrorKind = RequestErrorKind;
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { af as SolanaIdlSource } from './wallet-DZWL7lJH.js';
3
- import { O as OpenIdentityKind, Z as TrackerDataSchema } from './schema-CwbRkmlr.js';
2
+ import { af as SolanaIdlSource } from './wallet-CIqFoxdm.js';
3
+ import { O as OpenIdentityKind, Z as TrackerDataSchema } from './schema-CZ6Rj0ZF.js';
4
4
 
5
5
  /** Shared with participant activity. Types remain open to future event kinds. */
6
6
  declare const activityTypes: {
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { g as PointEntryKind, y as ResourceHandle, G as GroupHandle } from './schema-CwbRkmlr.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;
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-CqXfMIxq.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-Cw1pB5sv.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-CwbRkmlr.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-Bti7g5mX.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
7
  export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-DoabriBX.js';
8
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-9Jm3peq3.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-Cmou89IS.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-D9EGH_yb.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-DZWL7lJH.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-VVRQQRMQ.js";
8
+ } from "./chunk-SKGTNTLF.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-4OFH4BNX.js";
11
+ } from "./chunk-QEAS4ZGS.js";
12
12
  import {
13
13
  QuestOutcomeState
14
- } from "./chunk-XQKUJL7H.js";
15
- import "./chunk-MJEJQH5A.js";
14
+ } from "./chunk-QNUHWK7R.js";
15
+ import "./chunk-3Y3L2F54.js";
16
16
  import {
17
17
  PointEntryKind
18
- } from "./chunk-YNW2ZUUP.js";
19
- import "./chunk-6ZG7WNYX.js";
20
- import "./chunk-N7YOS4ZU.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-422J3QRW.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-GBSDAD3N.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-B8Ss5lcz.js';
2
- export { E as Extracted } from './x-KFJD2x8y.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-CwbRkmlr.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-Bti7g5mX.js';
8
- import './wallet-DZWL7lJH.js';
9
- import './offers-CqXfMIxq.js';
10
- import './groups-9Jm3peq3.js';
11
- import './automatic-outcomes-Cmou89IS.js';
12
- import './attempt-captures-W2dgzGqE.js';
13
- import './analytics-URV-mxjH.js';
14
- import './deployments-DI-W7fBq.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-KWFY7L7X.js";
12
+ } from "./chunk-DHXDBAJF.js";
13
13
  import {
14
14
  parseImageExtraction,
15
15
  parseImageResult
16
- } from "./chunk-KUPVQXUJ.js";
17
- import "./chunk-YOAPPIWN.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-VWMIA2TT.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-6ZG7WNYX.js";
39
- import "./chunk-N7YOS4ZU.js";
40
- import "./chunk-422J3QRW.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-GBSDAD3N.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-CwbRkmlr.js';
3
- import { l as AuthoringIdentity } from './groups-9Jm3peq3.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;
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { a as AttemptStatus, aq as questDescriptionSchema, o as TrackerSkipCode } from './schema-CwbRkmlr.js';
3
- import { af as SolanaIdlSource } from './wallet-DZWL7lJH.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
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-MHPKEVEW.js";
4
4
  import {
5
5
  clientIdentity
6
- } from "./chunk-N7YOS4ZU.js";
6
+ } from "./chunk-EN3M5Z4J.js";
7
7
  import {
8
8
  exchangeResultSchema,
9
9
  participantPrincipalSchema,
10
10
  sessionMember
11
- } from "./chunk-422J3QRW.js";
12
- import "./chunk-GBSDAD3N.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-CqXfMIxq.js';
1
+ import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-BoV4ryUc.js';
2
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-Cw1pB5sv.js';
4
- import { P as Page, H as collectionViewSchema, l as QuestView, a as CreatorAccountProvider, i as QuestOutcomeQuery, g as QuestOutcome } from '../pages-Bti7g5mX.js';
5
- export { C as CreatorAccount, b as CreatorAccounts } from '../pages-Bti7g5mX.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-CwbRkmlr.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
11
  import { a as AuthProvider, A as AccountConnection } from '../accounts-DoabriBX.js';
12
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-CTJh4Ro_.js';
14
- export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-CTJh4Ro_.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-DZWL7lJH.js';
16
- import { h as LeaderboardPlacement, b2 as referralSummarySchema, g as LeaderboardPage } from '../groups-9Jm3peq3.js';
17
- import '../submission-input-D9EGH_yb.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
  /**
@@ -1866,7 +1866,11 @@ declare function useSignIn(): {
1866
1866
  verifyCode: (code: string) => Promise<void>;
1867
1867
  startOver: () => void;
1868
1868
  withProvider: (provider: OAuthProvider) => Promise<void>;
1869
- /** 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
+ */
1870
1874
  withWallet: (signer: WalletSigner) => Promise<void>;
1871
1875
  /** Leaves for Telegram Login, where the platform configured it. */
1872
1876
  withTelegram: () => Promise<void>;