@domino-sdk/relay 1.63.0 → 1.65.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 (69) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/{accounts-nz3mzfRQ.d.ts → accounts-_lNsiR2k.d.ts} +22 -2
  3. package/dist/{attempt-captures-DMi8oR9T.d.ts → attempt-captures-BqPggxTU.d.ts} +1 -1
  4. package/dist/authoring.d.ts +11 -11
  5. package/dist/authoring.js +15 -20
  6. package/dist/{automatic-outcomes-C_LLQU1p.d.ts → automatic-outcomes-BzAvfcpd.d.ts} +2 -2
  7. package/dist/browser.d.ts +9 -9
  8. package/dist/browser.js +11 -14
  9. package/dist/{catalog-BaTOKpNw.d.ts → catalog-ByZMRS7I.d.ts} +1 -1
  10. package/dist/{chunk-VWQGWGCH.js → chunk-4NIV4NPV.js} +1 -1
  11. package/dist/{chunk-ICXZZNPS.js → chunk-7H4MRVQF.js} +1 -1
  12. package/dist/{chunk-NQDEWJWE.js → chunk-CVQZ2YP7.js} +6 -232
  13. package/dist/{chunk-3RFP6GT5.js → chunk-DLABJSBO.js} +2 -2
  14. package/dist/{chunk-AQOL3SK5.js → chunk-E22XSC4L.js} +1 -1
  15. package/dist/{chunk-N4LNEGQX.js → chunk-EDNKKVGU.js} +2 -2
  16. package/dist/{chunk-GLH6MEI2.js → chunk-EOUEAOWJ.js} +28 -2
  17. package/dist/{chunk-MTKRIQEU.js → chunk-EUEW2APU.js} +1 -1
  18. package/dist/{chunk-ID3BZXFZ.js → chunk-HNR6G3GV.js} +1939 -1211
  19. package/dist/{chunk-5XLZ34PV.js → chunk-KCUUHT2V.js} +3 -3
  20. package/dist/{chunk-EHUSD3O2.js → chunk-MPTE7EIV.js} +2 -4
  21. package/dist/{chunk-QR6HH4DI.js → chunk-NG4GZ54I.js} +4 -4
  22. package/dist/chunk-R2KZFX6E.js +405 -0
  23. package/dist/{chunk-4GQW43UU.js → chunk-RD3XJ4DH.js} +26 -30
  24. package/dist/{chunk-7Z4SZ6YM.js → chunk-SE7XHQFP.js} +1 -1
  25. package/dist/{chunk-LZWXCBUB.js → chunk-VBYOAT46.js} +41 -45
  26. package/dist/{chunk-7X67QLPB.js → chunk-XVZ4YOF2.js} +1 -1
  27. package/dist/{chunk-FU5CGNTR.js → chunk-ZQ3IPCI6.js} +44 -5
  28. package/dist/chunk-ZXGBDLVB.js +1510 -0
  29. package/dist/{client-DHmG7rn6.d.ts → client-D7IiwEq2.d.ts} +12 -7
  30. package/dist/{dashboards-CLemT6kj.d.ts → dashboards-pVfclkyh.d.ts} +2 -2
  31. package/dist/{deployments-DTULi7dF.d.ts → deployments-Cr1tfqrr.d.ts} +2 -2
  32. package/dist/{identity-integration-DOeNZaxF.d.ts → identity-integration-Ci2vGKtX.d.ts} +37 -2
  33. package/dist/index.d.ts +10 -10
  34. package/dist/index.js +11 -15
  35. package/dist/internal.d.ts +12 -12
  36. package/dist/internal.js +21 -16
  37. package/dist/{limits-kNzYdZ00.d.ts → limits-pE04y9O2.d.ts} +8 -1
  38. package/dist/{offers-CYeN_I0Y.d.ts → offers-Hw2P6tcK.d.ts} +2 -2
  39. package/dist/{participant-activity-D-Drp24G.d.ts → participant-activity-DXRq4s6K.d.ts} +1 -0
  40. package/dist/portal-proxy.d.ts +4 -2
  41. package/dist/portal-proxy.js +13 -5
  42. package/dist/react/index.d.ts +20 -13
  43. package/dist/react/index.js +11 -14
  44. package/dist/{reward-deliveries-drp-x1G-.d.ts → reward-deliveries-BCV8hznc.d.ts} +1 -1
  45. package/dist/runtime/authoring.js +1 -1
  46. package/dist/runtime/chunks/6EBN6IZU.js +1 -0
  47. package/dist/runtime/manifest.json +3 -3
  48. package/dist/runtime/schema.js +1 -1
  49. package/dist/schema.d.ts +19 -16
  50. package/dist/schema.js +109 -112
  51. package/dist/server/index.d.ts +11 -11
  52. package/dist/server/index.js +775 -1037
  53. package/dist/{sign-in-providers-B1Q9eDRm.d.ts → sign-in-providers-BAkGjSXo.d.ts} +2 -2
  54. package/dist/{submission-input-DZCbjQUH.d.ts → submission-input-ChL1aYNH.d.ts} +2 -2
  55. package/dist/{telegram-browser-NL0Asmsi.d.ts → telegram-browser-K27t4TwM.d.ts} +4 -4
  56. package/dist/telegram.d.ts +8 -8
  57. package/dist/telegram.js +2 -2
  58. package/dist/testing.d.ts +10 -10
  59. package/dist/testing.js +19 -23
  60. package/dist/{tracker-data-esm3WG8R.d.ts → tracker-data-Bl-qPIvZ.d.ts} +3 -1
  61. package/dist/{transport-Czht_irp.d.ts → transport-DC1m73Tp.d.ts} +1065 -14
  62. package/package.json +1 -1
  63. package/dist/chunk-4NOFSGAL.js +0 -320
  64. package/dist/chunk-FO2LCZTL.js +0 -19
  65. package/dist/chunk-KP2MCX3R.js +0 -587
  66. package/dist/chunk-N4BDKS6Y.js +0 -87
  67. package/dist/chunk-TLSQETTY.js +0 -41
  68. package/dist/chunk-W7YSMSGC.js +0 -725
  69. package/dist/runtime/chunks/UGDV5W4N.js +0 -1
@@ -1,13 +1,13 @@
1
- import { G as QuizEvidence, a as Attempt, s as MemberProgress, ak as referralAcceptSchema, q as LeaderboardQuery, b as AttemptStatus, V as AttemptCodeSource, f as CampaignEnrollmentInput, h as CampaignWithdrawalInput, J as SignInProvider, c as AuthProvider, I as SignInAccountStatus, x as PointHistoryQuery, v as PointEntryKind, n as LeaderboardHistoryQuery, al as submitSchema, am as engagementPageQuerySchema, an as contentPerformanceQuerySchema } from './accounts-nz3mzfRQ.js';
2
- import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-DZCbjQUH.js';
1
+ import { G as QuizEvidence, a as Attempt, s as MemberProgress, ak as referralAcceptSchema, q as LeaderboardQuery, b as AttemptStatus, V as AttemptCodeSource, f as CampaignEnrollmentInput, h as CampaignWithdrawalInput, J as SignInProvider, c as AuthProvider, I as SignInAccountStatus, x as PointHistoryQuery, v as PointEntryKind, n as LeaderboardHistoryQuery, al as submitSchema, am as engagementPageQuerySchema, an as contentPerformanceQuerySchema } from './accounts-_lNsiR2k.js';
2
+ import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-ChL1aYNH.js';
3
3
  import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-D_dUPLwo.js';
4
- import { q as ResponseSchema, i as PageQuery, k as QuestEnrollmentInput, Q as QuestClaimInput, n as QuestOutcomeQuery, M as MemberConsent, a as ConsentInput, e as CreatorAccountProvider, r as RewardDeliveryQuery, s as RewardDeliveryPage, t as contentQualificationQuerySchema } from './reward-deliveries-drp-x1G-.js';
5
- import { b as QuestView, q as questExperienceSchema } from './catalog-BaTOKpNw.js';
6
- import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-esm3WG8R.js';
7
- import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from './participant-activity-D-Drp24G.js';
4
+ import { q as ResponseSchema, i as PageQuery, k as QuestEnrollmentInput, Q as QuestClaimInput, n as QuestOutcomeQuery, M as MemberConsent, a as ConsentInput, e as CreatorAccountProvider, r as RewardDeliveryQuery, s as RewardDeliveryPage, t as contentQualificationQuerySchema } from './reward-deliveries-BCV8hznc.js';
5
+ import { b as QuestView, q as questExperienceSchema } from './catalog-ByZMRS7I.js';
6
+ import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-Bl-qPIvZ.js';
7
+ import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from './participant-activity-DXRq4s6K.js';
8
8
  import * as z from 'zod';
9
9
  import { c as createRelayAction, O as OptionalActionId } from './action-9Xl0StBg.js';
10
- import { A as AuthProviders } from './sign-in-providers-B1Q9eDRm.js';
10
+ import { A as AuthProviders } from './sign-in-providers-BAkGjSXo.js';
11
11
  import { ag as profileUpdateSchema, d as ProfileCompletionQuery, ah as walletAddressInputSchema, ai as walletSignatureSchema, L as LinkedWallet, m as WalletSigner } from './wallet-B7e06v4m.js';
12
12
 
13
13
  /** What happened, as in every Domino client error (see `RequestError`). */
@@ -106,6 +106,11 @@ declare const RelayErrorCode: {
106
106
  readonly QuestClosed: "quest-closed";
107
107
  /** An operator paused the quest. */
108
108
  readonly QuestPaused: "quest-paused";
109
+ /**
110
+ * The member is banned from the project, so their attempts, completions and invitations are
111
+ * refused. Relay gives no reason; `me()` answers `eligible: false`.
112
+ */
113
+ readonly MemberBanned: "member-banned";
109
114
  /** An operator locked the member's profile; hiding it is still allowed. */
110
115
  readonly ProfileLocked: "profile-locked";
111
116
  /** No member in the project has the invitation code the member accepted. */
@@ -1,7 +1,7 @@
1
1
  import * as z from 'zod';
2
2
  import { o as WalletBalanceQuery } from './wallet-B7e06v4m.js';
3
- import { R as ResourceHandle } from './tracker-data-esm3WG8R.js';
4
- import { A as AnalyticsMetricId, a as analyticsCatalog } from './limits-kNzYdZ00.js';
3
+ import { R as ResourceHandle } from './tracker-data-Bl-qPIvZ.js';
4
+ import { A as AnalyticsMetricId, a as analyticsCatalog } from './limits-pE04y9O2.js';
5
5
 
6
6
  declare const settingFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
7
  kind: z.ZodLiteral<"point-ledger">;
@@ -1,7 +1,7 @@
1
1
  import * as z from 'zod';
2
2
  import { S as SolanaIdlSource } from './wallet-B7e06v4m.js';
3
- import { W as IntegrationModuleProvider, X as RewardType } from './accounts-nz3mzfRQ.js';
4
- import { O as OpenIdentityKind, i as TrackerDataSchema } from './tracker-data-esm3WG8R.js';
3
+ import { W as IntegrationModuleProvider, X as RewardType } from './accounts-_lNsiR2k.js';
4
+ import { O as OpenIdentityKind, i as TrackerDataSchema } from './tracker-data-Bl-qPIvZ.js';
5
5
 
6
6
  /** Shared with participant activity. Types remain open to future event kinds. */
7
7
  declare const activityTypes: {
@@ -1,4 +1,4 @@
1
- import { O as OpenIdentityKind } from './tracker-data-esm3WG8R.js';
1
+ import { O as OpenIdentityKind } from './tracker-data-Bl-qPIvZ.js';
2
2
  import * as z from 'zod';
3
3
 
4
4
  /**
@@ -576,6 +576,8 @@ declare const MemberImportRefusalCode: {
576
576
  readonly AccountLinkedElsewhere: "account-linked-elsewhere";
577
577
  /** An operator unlinked the row's app identity. */
578
578
  readonly IdentityUnlinked: "identity-unlinked";
579
+ /** The row's identity names a member an operator banned (`members.ban`). */
580
+ readonly MemberBanned: "member-banned";
579
581
  /** An earlier row of the import names the same account. */
580
582
  readonly DuplicateAccount: "duplicate-account";
581
583
  /** The row names two X accounts, or the member already has another X account selected. */
@@ -1062,6 +1064,39 @@ declare const identityIntegrationSecretSchema: z.ZodObject<{
1062
1064
  }>;
1063
1065
  token: z.ZodString;
1064
1066
  }, z.core.$strip>;
1067
+ /**
1068
+ * An integration whose new secret was stored as a hosted app secret (`appSecret`) instead of
1069
+ * answered: no response ever carries that secret.
1070
+ */
1071
+ declare const identityIntegrationAppSecretSchema: z.ZodObject<{
1072
+ id: z.ZodString;
1073
+ name: z.ZodString;
1074
+ origin: z.ZodString;
1075
+ expiresAt: z.ZodNumber;
1076
+ secrets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1077
+ id: z.ZodString;
1078
+ hint: z.ZodNullable<z.ZodString>;
1079
+ createdAt: z.ZodNumber;
1080
+ expiresAt: z.ZodNullable<z.ZodNumber>;
1081
+ lastUsedAt: z.ZodNullable<z.ZodNumber>;
1082
+ }, z.core.$strip>>>;
1083
+ lastUsedAt: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1084
+ identityKind: z.ZodDefault<z.ZodNullable<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
1085
+ vouchesAccounts: z.ZodDefault<z.ZodBoolean>;
1086
+ organization: z.ZodString;
1087
+ project: z.ZodString;
1088
+ environment: z.ZodEnum<{
1089
+ test: "test";
1090
+ live: "live";
1091
+ }>;
1092
+ appSecret: z.ZodObject<{
1093
+ name: z.ZodString;
1094
+ updatedAt: z.ZodNumber;
1095
+ updatedBy: z.ZodString;
1096
+ }, z.core.$strip>;
1097
+ }, z.core.$strip>;
1098
+ /** An identity integration whose new secret was stored as a hosted app secret. */
1099
+ type IdentityIntegrationAppSecret = z.infer<typeof identityIntegrationAppSecretSchema>;
1065
1100
  /**
1066
1101
  * An `app:<name>` kind claimed in the project and environment, and the integration that owns its
1067
1102
  * identities: the live one, or the disconnected one a new integration would adopt them from.
@@ -1268,4 +1303,4 @@ declare const accountVouchedBySchema: z.ZodObject<{
1268
1303
  /** The app login whose server vouched for an account when it signed the member in. */
1269
1304
  type AccountVouchedBy = z.infer<typeof accountVouchedBySchema>;
1270
1305
 
1271
- export { memberImportFullRowSchema as $, type AccountVouchedBy as A, type MemberImport as B, type MemberImportAccount as C, type MemberImportCommandInput as D, type MemberImportConsent as E, type MemberImportFullRow as F, type MemberImportFullRowsInput as G, type MemberImportIdentity as H, type IdentityIntegrationKey as I, type MemberImportReferral as J, type KnownIdentityIntegrationEnvironment as K, type MemberImportRefusal as L, type MemberImportVouchedAccount as M, type MemberImportRevert as N, type MemberImportRevertOutcome as O, type ParticipantExchangeAccountResult as P, type MemberImportRow as Q, type MemberImportRowInput as R, type MemberImportRowResult as S, type MemberImportRowsInput as T, type MemberImportSummary as U, identityReferenceSchema as V, memberImportAccountSchema as W, memberImportActionSchema as X, memberImportCommandSchema as Y, memberImportConsentSchema as Z, memberImportCreateSchema as _, type ParticipantExchangeResult as a, memberImportFullRowsInputSchema as a0, memberImportIdentitySchema as a1, memberImportListQuerySchema as a2, memberImportPageSchema as a3, memberImportReferralSchema as a4, memberImportRefusalSchema as a5, memberImportRevertInputSchema as a6, memberImportRevertOutcomeSchema as a7, memberImportRevertSchema as a8, memberImportRowPageSchema as a9, memberImportRowQuerySchema as aa, memberImportRowResultSchema as ab, memberImportRowSchema as ac, memberImportRowsInputSchema as ad, memberImportSchema as ae, memberImportSummarySchema as af, memberImportVouchedAccountSchema as ag, type IdentityIntegration as b, type IdentityIntegrationAccountVouchingInput as c, type IdentityKindClaim as d, type ParticipantExchangeInput as e, accountVouchedBySchema as f, identityIntegrationInputSchema as g, identityIntegrationKeySchema as h, identityIntegrationAccountVouchingInputSchema as i, identityIntegrationSchema as j, identityIntegrationSecretSchema as k, identityKindClaimSchema as l, participantExchangeAccountsSchema as m, participantExchangeResultSchema as n, participantExchangeSchema as o, participantExchangeAccountResultSchema as p, type MemberImportCreateInput as q, MemberImportRefusalCode as r, MemberImportState as s, type MemberImportListQuery as t, type MemberImportRowQuery as u, type MemberImportFullRowInput as v, type MemberImportRevertInput as w, type IdentityReference as x, type KnownMemberImportRefusalCode as y, type KnownMemberImportState as z };
1306
+ export { memberImportConsentSchema as $, type AccountVouchedBy as A, type KnownMemberImportRefusalCode as B, type KnownMemberImportState as C, type MemberImport as D, type MemberImportAccount as E, type MemberImportCommandInput as F, type MemberImportConsent as G, type MemberImportFullRow as H, type IdentityIntegrationKey as I, type MemberImportFullRowsInput as J, type KnownIdentityIntegrationEnvironment as K, type MemberImportIdentity as L, type MemberImportVouchedAccount as M, type MemberImportReferral as N, type MemberImportRefusal as O, type ParticipantExchangeAccountResult as P, type MemberImportRevert as Q, type MemberImportRevertOutcome as R, type MemberImportRow as S, type MemberImportRowInput as T, type MemberImportRowResult as U, type MemberImportRowsInput as V, type MemberImportSummary as W, identityReferenceSchema as X, memberImportAccountSchema as Y, memberImportActionSchema as Z, memberImportCommandSchema as _, type ParticipantExchangeResult as a, memberImportCreateSchema as a0, memberImportFullRowSchema as a1, memberImportFullRowsInputSchema as a2, memberImportIdentitySchema as a3, memberImportListQuerySchema as a4, memberImportPageSchema as a5, memberImportReferralSchema as a6, memberImportRefusalSchema as a7, memberImportRevertInputSchema as a8, memberImportRevertOutcomeSchema as a9, memberImportRevertSchema as aa, memberImportRowPageSchema as ab, memberImportRowQuerySchema as ac, memberImportRowResultSchema as ad, memberImportRowSchema as ae, memberImportRowsInputSchema as af, memberImportSchema as ag, memberImportSummarySchema as ah, memberImportVouchedAccountSchema as ai, type IdentityIntegration as b, type IdentityIntegrationAccountVouchingInput as c, type IdentityIntegrationAppSecret as d, type IdentityKindClaim as e, type ParticipantExchangeInput as f, accountVouchedBySchema as g, identityIntegrationAppSecretSchema as h, identityIntegrationAccountVouchingInputSchema as i, identityIntegrationInputSchema as j, identityIntegrationKeySchema as k, identityIntegrationSchema as l, identityIntegrationSecretSchema as m, identityKindClaimSchema as n, participantExchangeAccountsSchema as o, participantExchangeAccountResultSchema as p, participantExchangeResultSchema as q, participantExchangeSchema as r, type MemberImportCreateInput as s, MemberImportRefusalCode as t, MemberImportState as u, type MemberImportListQuery as v, type MemberImportRowQuery as w, type MemberImportFullRowInput as x, type MemberImportRevertInput as y, type IdentityReference as z };
package/dist/index.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- export { B as Badge, a as BadgeCatalog, M as ManagedBadge, b as MemberBadge, c as MemberBadges, O as Offer, d as OfferDefinition, e as OfferPrice, R as RedeemOfferInput, f as Redemption } from './offers-CYeN_I0Y.js';
1
+ export { B as Badge, a as BadgeCatalog, M as ManagedBadge, b as MemberBadge, c as MemberBadges, O as Offer, d as OfferDefinition, e as OfferPrice, R as RedeemOfferInput, f as Redemption } from './offers-Hw2P6tcK.js';
2
2
  export { R as RelayAction, c as createRelayAction } from './action-9Xl0StBg.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-DHmG7rn6.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-D7IiwEq2.js';
4
4
  export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-D_dUPLwo.js';
5
- export { A as AccountConnection, a as Attempt, b as AttemptStatus, c as AuthProvider, d as AvailabilityWindow, C as CampaignDefinition, e as CampaignEnrollment, f as CampaignEnrollmentInput, g as CampaignView, h as CampaignWithdrawalInput, E as Entitlement, i as EvaluatorProgress, K as KnownAttemptStatus, j as KnownPointEntryKind, k as KnownSignInAccountStatus, l as KnownSignInProvider, L as LeaderboardDefinition, m as LeaderboardHistoryPage, n as LeaderboardHistoryQuery, o as LeaderboardPage, p as LeaderboardPlacement, q as LeaderboardQuery, M as MemberCampaignEnrollmentInput, r as MemberCampaignWithdrawalInput, s as MemberProgress, P as PointBalance, t as PointBalances, u as PointEntry, v as PointEntryKind, w as PointHistoryPage, x as PointHistoryQuery, y as PointLedgerReference, z as ProjectGroup, B as ProjectGroupReference, Q as QuestBudgetView, D as QuestPresentation, F as QuestProfile, G as QuizEvidence, R as ReferralDefinition, H as Reward, S as SignInAccount, I as SignInAccountStatus, J as SignInProvider, N as SignInProviderOption, O as SubmissionEvidence, T as SubmitInput, U as TieredRewardReference } from './accounts-nz3mzfRQ.js';
5
+ export { A as AccountConnection, a as Attempt, b as AttemptStatus, c as AuthProvider, d as AvailabilityWindow, C as CampaignDefinition, e as CampaignEnrollment, f as CampaignEnrollmentInput, g as CampaignView, h as CampaignWithdrawalInput, E as Entitlement, i as EvaluatorProgress, K as KnownAttemptStatus, j as KnownPointEntryKind, k as KnownSignInAccountStatus, l as KnownSignInProvider, L as LeaderboardDefinition, m as LeaderboardHistoryPage, n as LeaderboardHistoryQuery, o as LeaderboardPage, p as LeaderboardPlacement, q as LeaderboardQuery, M as MemberCampaignEnrollmentInput, r as MemberCampaignWithdrawalInput, s as MemberProgress, P as PointBalance, t as PointBalances, u as PointEntry, v as PointEntryKind, w as PointHistoryPage, x as PointHistoryQuery, y as PointLedgerReference, z as ProjectGroup, B as ProjectGroupReference, Q as QuestBudgetView, D as QuestPresentation, F as QuestProfile, G as QuizEvidence, R as ReferralDefinition, H as Reward, S as SignInAccount, I as SignInAccountStatus, J as SignInProvider, N as SignInProviderOption, O as SubmissionEvidence, T as SubmitInput, U as TieredRewardReference } from './accounts-_lNsiR2k.js';
6
6
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
7
- export { C as ConsentChannel, a as ConsentInput, b as ConsentSource, c as ConsentState, d as CreatorAccount, e as CreatorAccountProvider, f as CreatorAccounts, K as KnownConsentChannel, g as KnownConsentSource, h as KnownConsentState, M as MemberConsent, P as Page, i as PageQuery, Q as QuestClaimInput, j as QuestEnrollment, k as QuestEnrollmentInput, l as QuestOutcome, m as QuestOutcomePage, n as QuestOutcomeQuery, o as QuestOutcomeState, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './reward-deliveries-drp-x1G-.js';
8
- export { M as MissingPrerequisite, P as Prerequisite, T as TelegramAccountConnection, a as TelegramSignInMethods, b as TextEvidence, c as TextOptions, U as UrlEvidence, d as UrlOptions, V as ValueEvidence } from './submission-input-DZCbjQUH.js';
9
- 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-D-Drp24G.js';
10
- export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog-BaTOKpNw.js';
11
- 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-C_LLQU1p.js';
12
- export { K as KnownSkipEnrollment, a as KnownTrackerSkipCode, S as SkipEnrollment, T as TrackerSkipCode } from './tracker-data-esm3WG8R.js';
7
+ export { C as ConsentChannel, a as ConsentInput, b as ConsentSource, c as ConsentState, d as CreatorAccount, e as CreatorAccountProvider, f as CreatorAccounts, K as KnownConsentChannel, g as KnownConsentSource, h as KnownConsentState, M as MemberConsent, P as Page, i as PageQuery, Q as QuestClaimInput, j as QuestEnrollment, k as QuestEnrollmentInput, l as QuestOutcome, m as QuestOutcomePage, n as QuestOutcomeQuery, o as QuestOutcomeState, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './reward-deliveries-BCV8hznc.js';
8
+ export { M as MissingPrerequisite, P as Prerequisite, T as TelegramAccountConnection, a as TelegramSignInMethods, b as TextEvidence, c as TextOptions, U as UrlEvidence, d as UrlOptions, V as ValueEvidence } from './submission-input-ChL1aYNH.js';
9
+ 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-DXRq4s6K.js';
10
+ export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog-ByZMRS7I.js';
11
+ 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-BzAvfcpd.js';
12
+ export { K as KnownSkipEnrollment, a as KnownTrackerSkipCode, S as SkipEnrollment, T as TrackerSkipCode } from './tracker-data-Bl-qPIvZ.js';
13
13
  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-B7e06v4m.js';
14
14
  export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
15
15
  export { P as ParticipantDelivery } from './participant-rewards-BcWkBRn_.js';
16
16
  import 'zod';
17
- import './sign-in-providers-B1Q9eDRm.js';
17
+ import './sign-in-providers-BAkGjSXo.js';
package/dist/index.js CHANGED
@@ -5,36 +5,32 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-LZWXCBUB.js";
8
+ } from "./chunk-VBYOAT46.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-AQOL3SK5.js";
12
- import "./chunk-MTKRIQEU.js";
11
+ } from "./chunk-E22XSC4L.js";
12
+ import "./chunk-EUEW2APU.js";
13
+ import "./chunk-7H4MRVQF.js";
14
+ import "./chunk-DLABJSBO.js";
13
15
  import {
14
16
  QuestOutcomeState
15
- } from "./chunk-EHUSD3O2.js";
16
- import "./chunk-4NOFSGAL.js";
17
- import "./chunk-QR6HH4DI.js";
18
- import {
19
- PointEntryKind
20
- } from "./chunk-W7YSMSGC.js";
21
- import "./chunk-ICXZZNPS.js";
22
- import "./chunk-FO2LCZTL.js";
23
- import "./chunk-3RFP6GT5.js";
17
+ } from "./chunk-MPTE7EIV.js";
24
18
  import {
25
19
  sessionMember
26
- } from "./chunk-N4BDKS6Y.js";
20
+ } from "./chunk-R2KZFX6E.js";
21
+ import "./chunk-NG4GZ54I.js";
27
22
  import {
28
23
  AttemptStatus,
24
+ PointEntryKind,
29
25
  paginate
30
- } from "./chunk-ID3BZXFZ.js";
26
+ } from "./chunk-HNR6G3GV.js";
31
27
  import {
32
28
  RelayError,
33
29
  RelayErrorCode,
34
30
  RequestError,
35
31
  isRelayError,
36
32
  isRequestError
37
- } from "./chunk-GLH6MEI2.js";
33
+ } from "./chunk-EOUEAOWJ.js";
38
34
  export {
39
35
  AttemptStatus,
40
36
  PointEntryKind,
@@ -1,20 +1,20 @@
1
- export { M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as isIntegrationParticipantPath, a as isParticipantRoute, m as managementTransport, n as nextScheduleRun, p as parseImageExtraction, b as parseImageResult, d as participantRoutePattern, e as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, f as sourceDataSchema, g as sourceRoles, v as validateQuestShape } from './transport-Czht_irp.js';
2
- export { A as AccountVouchedBy, b as IdentityIntegration, c as IdentityIntegrationAccountVouchingInput, I as IdentityIntegrationKey, d as IdentityKindClaim, K as KnownIdentityIntegrationEnvironment, P as ParticipantExchangeAccountResult, e as ParticipantExchangeInput, a as ParticipantExchangeResult, f as accountVouchedBySchema, i as identityIntegrationAccountVouchingInputSchema, g as identityIntegrationInputSchema, h as identityIntegrationKeySchema, j as identityIntegrationSchema, k as identityIntegrationSecretSchema, l as identityKindClaimSchema, p as participantExchangeAccountResultSchema, m as participantExchangeAccountsSchema, n as participantExchangeResultSchema, o as participantExchangeSchema } from './identity-integration-DOeNZaxF.js';
3
- export { E as Extracted } from './limits-kNzYdZ00.js';
1
+ export { M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as isIntegrationParticipantPath, a as isParticipantRoute, m as managementTransport, n as nextScheduleRun, p as parseImageExtraction, b as parseImageResult, d as participantRoutePattern, e as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, f as sourceDataSchema, g as sourceRoles, v as validateQuestShape } from './transport-DC1m73Tp.js';
2
+ export { A as AccountVouchedBy, b as IdentityIntegration, c as IdentityIntegrationAccountVouchingInput, d as IdentityIntegrationAppSecret, I as IdentityIntegrationKey, e as IdentityKindClaim, K as KnownIdentityIntegrationEnvironment, P as ParticipantExchangeAccountResult, f as ParticipantExchangeInput, a as ParticipantExchangeResult, g as accountVouchedBySchema, i as identityIntegrationAccountVouchingInputSchema, h as identityIntegrationAppSecretSchema, j as identityIntegrationInputSchema, k as identityIntegrationKeySchema, l as identityIntegrationSchema, m as identityIntegrationSecretSchema, n as identityKindClaimSchema, p as participantExchangeAccountResultSchema, o as participantExchangeAccountsSchema, q as participantExchangeResultSchema, r as participantExchangeSchema } from './identity-integration-Ci2vGKtX.js';
3
+ export { E as Extracted } from './limits-pE04y9O2.js';
4
4
  import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
5
- export { b as TrackerDataBudget, s as schemaCheckedReader, c as sourceContent, t as trackerDataBatchSteps, d as trackerDataIssue, e as trackerDataIssues, f as trackerDataPathTypes, g as trackerDataRecordSteps, w as whereSchemaIssue, h as whereSettings } from './tracker-data-esm3WG8R.js';
5
+ export { b as TrackerDataBudget, s as schemaCheckedReader, c as sourceContent, t as trackerDataBatchSteps, d as trackerDataIssue, e as trackerDataIssues, f as trackerDataPathTypes, g as trackerDataRecordSteps, w as whereSchemaIssue, h as whereSettings } from './tracker-data-Bl-qPIvZ.js';
6
6
  export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-FN4zg3hw.js';
7
- export { c as compatibleSettingKinds, d as dashboardIssue, i as isBoundSetting, n as normalizeDashboard } from './dashboards-CLemT6kj.js';
7
+ export { c as compatibleSettingKinds, d as dashboardIssue, i as isBoundSetting, n as normalizeDashboard } from './dashboards-pVfclkyh.js';
8
8
  import 'zod';
9
- import './accounts-nz3mzfRQ.js';
9
+ import './accounts-_lNsiR2k.js';
10
10
  import './wallet-B7e06v4m.js';
11
- import './reward-deliveries-drp-x1G-.js';
11
+ import './reward-deliveries-BCV8hznc.js';
12
12
  import './action-9Xl0StBg.js';
13
- import './automatic-outcomes-C_LLQU1p.js';
14
- import './deployments-DTULi7dF.js';
15
- import './offers-CYeN_I0Y.js';
16
- import './catalog-BaTOKpNw.js';
17
- import './attempt-captures-DMi8oR9T.js';
13
+ import './automatic-outcomes-BzAvfcpd.js';
14
+ import './deployments-Cr1tfqrr.js';
15
+ import './offers-Hw2P6tcK.js';
16
+ import './catalog-ByZMRS7I.js';
17
+ import './attempt-captures-BqPggxTU.js';
18
18
 
19
19
  /** The hosts a developer machine serves over plain HTTP: browser tests, `vite` dev and the local stack. */
20
20
  declare const loopbackHosts: readonly string[];
package/dist/internal.js CHANGED
@@ -2,24 +2,18 @@ import {
2
2
  REFERRAL_INTEGRATION_REWARD_ERROR,
3
3
  containsReferralIntegrationReward,
4
4
  managementTransport,
5
- nextScheduleRun,
6
5
  questConfiguration,
7
6
  sequenceCursorSchema
8
- } from "./chunk-NQDEWJWE.js";
7
+ } from "./chunk-CVQZ2YP7.js";
9
8
  import {
10
9
  parseImageExtraction,
11
10
  parseImageResult
12
- } from "./chunk-N4LNEGQX.js";
13
- import "./chunk-7X67QLPB.js";
11
+ } from "./chunk-EDNKKVGU.js";
14
12
  import {
15
13
  sourceDataSchema,
16
14
  sourceRoles,
17
15
  validateQuestShape
18
- } from "./chunk-7Z4SZ6YM.js";
19
- import {
20
- dashboardIssue,
21
- normalizeDashboard
22
- } from "./chunk-FU5CGNTR.js";
16
+ } from "./chunk-SE7XHQFP.js";
23
17
  import {
24
18
  bareOrigin,
25
19
  loopbackHosts,
@@ -28,35 +22,45 @@ import {
28
22
  import {
29
23
  accountVouchedBySchema,
30
24
  identityIntegrationAccountVouchingInputSchema,
25
+ identityIntegrationAppSecretSchema,
31
26
  identityIntegrationInputSchema,
32
27
  identityIntegrationKeySchema,
33
28
  identityIntegrationSchema,
34
29
  identityIntegrationSecretSchema,
35
30
  identityKindClaimSchema,
31
+ nextScheduleRun,
36
32
  participantExchangeAccountResultSchema,
37
33
  participantExchangeAccountsSchema,
38
34
  participantExchangeResultSchema,
39
35
  participantExchangeSchema
40
- } from "./chunk-KP2MCX3R.js";
36
+ } from "./chunk-ZXGBDLVB.js";
41
37
  import {
42
38
  isIntegrationParticipantPath,
43
39
  isParticipantRoute,
44
40
  participantRoutePattern,
45
41
  participantRoutes
46
42
  } from "./chunk-U66GUVSG.js";
43
+ import "./chunk-RD3XJ4DH.js";
44
+ import "./chunk-XVZ4YOF2.js";
45
+ import {
46
+ dashboardIssue,
47
+ normalizeDashboard
48
+ } from "./chunk-ZQ3IPCI6.js";
49
+ import "./chunk-MWMCQLCG.js";
47
50
  import {
48
51
  hostEnvironmentPath,
49
52
  hostEnvironmentSchema
50
53
  } from "./chunk-UYVJZR33.js";
51
- import "./chunk-ICXZZNPS.js";
52
- import "./chunk-FO2LCZTL.js";
54
+ import "./chunk-7H4MRVQF.js";
53
55
  import {
54
56
  MANAGEMENT_TIMEOUT,
55
57
  lifetime,
56
58
  retryAfter,
57
59
  retrying
58
- } from "./chunk-3RFP6GT5.js";
59
- import "./chunk-N4BDKS6Y.js";
60
+ } from "./chunk-DLABJSBO.js";
61
+ import "./chunk-MPTE7EIV.js";
62
+ import "./chunk-R2KZFX6E.js";
63
+ import "./chunk-NG4GZ54I.js";
60
64
  import {
61
65
  compatibleSettingKinds,
62
66
  isBoundSetting,
@@ -69,8 +73,8 @@ import {
69
73
  trackerDataRecordSteps,
70
74
  whereSchemaIssue,
71
75
  whereSettings
72
- } from "./chunk-ID3BZXFZ.js";
73
- import "./chunk-GLH6MEI2.js";
76
+ } from "./chunk-HNR6G3GV.js";
77
+ import "./chunk-EOUEAOWJ.js";
74
78
  export {
75
79
  MANAGEMENT_TIMEOUT,
76
80
  REFERRAL_INTEGRATION_REWARD_ERROR,
@@ -82,6 +86,7 @@ export {
82
86
  hostEnvironmentPath,
83
87
  hostEnvironmentSchema,
84
88
  identityIntegrationAccountVouchingInputSchema,
89
+ identityIntegrationAppSecretSchema,
85
90
  identityIntegrationInputSchema,
86
91
  identityIntegrationKeySchema,
87
92
  identityIntegrationSchema,
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { aa as PhotoResult, V as AttemptCodeSource } from './accounts-nz3mzfRQ.js';
2
+ import { aa as PhotoResult, V as AttemptCodeSource } from './accounts-_lNsiR2k.js';
3
3
 
4
4
  /**
5
5
  * Quest code names an image; the platform fetches, decodes and pins it. No bytes or URLs cross the
@@ -893,6 +893,13 @@ type Limits = {
893
893
  readonly storagePreviewCharacters: number;
894
894
  /** Characters a full SQL value read returns per page. */
895
895
  readonly storageCellCharacters: number;
896
+ /**
897
+ * KV keys one test storage clear deletes before answering `complete: false`: one Cloudflare
898
+ * bulk delete, which takes at most 10,000 keys.
899
+ */
900
+ readonly storageClearKeys: number;
901
+ /** KV keys a test storage clear's dry run counts before answering `complete: false`. */
902
+ readonly storageClearCountKeys: number;
896
903
  /** Schedules one app declares. */
897
904
  readonly schedules: number;
898
905
  /** The shortest interval between two runs of one schedule, in milliseconds. */
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { R as ResourceHandle } from './tracker-data-esm3WG8R.js';
3
- import { Z as AuthoringIdentity } from './accounts-nz3mzfRQ.js';
2
+ import { R as ResourceHandle } from './tracker-data-Bl-qPIvZ.js';
3
+ import { Z as AuthoringIdentity } from './accounts-_lNsiR2k.js';
4
4
 
5
5
  declare const badgePropertiesSchema: z.ZodObject<{
6
6
  name: z.ZodString;
@@ -94,6 +94,7 @@ declare const memberSummarySchema: z.ZodObject<{
94
94
  avatarSeed: z.ZodString;
95
95
  email: z.ZodDefault<z.ZodNullable<z.ZodString>>;
96
96
  emails: z.ZodDefault<z.ZodArray<z.ZodString>>;
97
+ eligible: z.ZodDefault<z.ZodBoolean>;
97
98
  clock: z.ZodOptional<z.ZodObject<{
98
99
  now: z.ZodNumber;
99
100
  offsetMs: z.ZodNumber;
@@ -1,6 +1,6 @@
1
- import { M as MemberImportVouchedAccount, P as ParticipantExchangeAccountResult, a as ParticipantExchangeResult, I as IdentityIntegrationKey } from './identity-integration-DOeNZaxF.js';
1
+ import { M as MemberImportVouchedAccount, P as ParticipantExchangeAccountResult, a as ParticipantExchangeResult, I as IdentityIntegrationKey } from './identity-integration-Ci2vGKtX.js';
2
2
  import { R as RequestError } from './request-error-D_dUPLwo.js';
3
- import './tracker-data-esm3WG8R.js';
3
+ import './tracker-data-Bl-qPIvZ.js';
4
4
  import 'zod';
5
5
 
6
6
  /**
@@ -84,6 +84,8 @@ declare function inspectIntegrationKey(options: {
84
84
  * `onExchangeError` receives each refused exchange as Domino answered it (status, code, message and
85
85
  * `retryAfter`) before the browser gets its answer, so the server can log why sign-in failed. The
86
86
  * browser's answer does not change, and a callback that throws does not change it either.
87
+ * The browser does not see the app's own sign-in or logout: under `RelayProvider`, call
88
+ * `useSession().refresh()` after each.
87
89
  */
88
90
  declare function createParticipantBackend(options: {
89
91
  baseUrl: string;
@@ -5,23 +5,29 @@ import {
5
5
  identityIntegrationKeySchema,
6
6
  participantExchangeAccountsSchema,
7
7
  participantExchangeResultSchema
8
- } from "./chunk-KP2MCX3R.js";
8
+ } from "./chunk-ZXGBDLVB.js";
9
9
  import {
10
10
  isParticipantRoute
11
11
  } from "./chunk-U66GUVSG.js";
12
+ import "./chunk-RD3XJ4DH.js";
13
+ import "./chunk-XVZ4YOF2.js";
14
+ import "./chunk-ZQ3IPCI6.js";
15
+ import "./chunk-MWMCQLCG.js";
12
16
  import {
13
17
  clientIdentity,
14
18
  retryAfter
15
- } from "./chunk-3RFP6GT5.js";
19
+ } from "./chunk-DLABJSBO.js";
20
+ import "./chunk-MPTE7EIV.js";
16
21
  import {
17
22
  participantPrincipalSchema,
18
23
  sessionMember
19
- } from "./chunk-N4BDKS6Y.js";
20
- import "./chunk-ID3BZXFZ.js";
24
+ } from "./chunk-R2KZFX6E.js";
25
+ import "./chunk-NG4GZ54I.js";
26
+ import "./chunk-HNR6G3GV.js";
21
27
  import {
22
28
  RequestError,
23
29
  isRequestError
24
- } from "./chunk-GLH6MEI2.js";
30
+ } from "./chunk-EOUEAOWJ.js";
25
31
 
26
32
  // src/portal-proxy.ts
27
33
  import * as z from "zod";
@@ -270,6 +276,8 @@ function createParticipantBackend(options) {
270
276
  }
271
277
  const response = await proxyParticipant(request, {
272
278
  baseUrl: options.baseUrl,
279
+ // The integration key selects the scope; an app origin would ask for the staging pass.
280
+ hosted: false,
273
281
  fetch: async (target, init) => {
274
282
  const headers2 = new Headers(init?.headers);
275
283
  headers2.delete("Cookie");
@@ -1,23 +1,23 @@
1
- import { B as Badge, c as MemberBadges, O as Offer, f as Redemption } from '../offers-CYeN_I0Y.js';
2
- import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-D-Drp24G.js';
3
- import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-DHmG7rn6.js';
4
- import { P as Page, u as RewardDeliveryAction, e as CreatorAccountProvider, K as KnownConsentChannel, M as MemberConsent, n as QuestOutcomeQuery, l as QuestOutcome } from '../reward-deliveries-drp-x1G-.js';
5
- export { C as ConsentChannel, b as ConsentSource, c as ConsentState, d as CreatorAccount, f as CreatorAccounts, g as KnownConsentSource, h as KnownConsentState } from '../reward-deliveries-drp-x1G-.js';
1
+ import { B as Badge, c as MemberBadges, O as Offer, f as Redemption } from '../offers-Hw2P6tcK.js';
2
+ import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-DXRq4s6K.js';
3
+ import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-D7IiwEq2.js';
4
+ import { P as Page, u as RewardDeliveryAction, e as CreatorAccountProvider, K as KnownConsentChannel, M as MemberConsent, n as QuestOutcomeQuery, l as QuestOutcome } from '../reward-deliveries-BCV8hznc.js';
5
+ export { C as ConsentChannel, b as ConsentSource, c as ConsentState, d as CreatorAccount, f as CreatorAccounts, g as KnownConsentSource, h as KnownConsentState } from '../reward-deliveries-BCV8hznc.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 { l as collectionViewSchema, b as QuestView } from '../catalog-BaTOKpNw.js';
11
- import { E as Entitlement, b as AttemptStatus, V as AttemptCodeSource, c as AuthProvider, J as SignInProvider, A as AccountConnection, I as SignInAccountStatus, p as LeaderboardPlacement, dL as referralSummarySchema, o as LeaderboardPage, u as PointEntry, t as PointBalances, y as PointLedgerReference, U as TieredRewardReference } from '../accounts-nz3mzfRQ.js';
12
- export { S as SignInAccount, N as SignInProviderOption } from '../accounts-nz3mzfRQ.js';
13
- import { c as SignInMethods, C as CosmosChains, d as SignInOption, P as ProviderSignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-NL0Asmsi.js';
14
- export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-NL0Asmsi.js';
10
+ import { l as collectionViewSchema, b as QuestView } from '../catalog-ByZMRS7I.js';
11
+ import { E as Entitlement, b as AttemptStatus, V as AttemptCodeSource, c as AuthProvider, J as SignInProvider, A as AccountConnection, I as SignInAccountStatus, p as LeaderboardPlacement, dN as referralSummarySchema, o as LeaderboardPage, u as PointEntry, t as PointBalances, y as PointLedgerReference, U as TieredRewardReference } from '../accounts-_lNsiR2k.js';
12
+ export { S as SignInAccount, N as SignInProviderOption } from '../accounts-_lNsiR2k.js';
13
+ import { c as SignInMethods, C as CosmosChains, d as SignInOption, P as ProviderSignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-K27t4TwM.js';
14
+ export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-K27t4TwM.js';
15
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-B7e06v4m.js';
16
- export { T as TelegramAccountConnection, a as TelegramSignInMethods } from '../submission-input-DZCbjQUH.js';
17
- import '../tracker-data-esm3WG8R.js';
16
+ export { T as TelegramAccountConnection, a as TelegramSignInMethods } from '../submission-input-ChL1aYNH.js';
17
+ import '../tracker-data-Bl-qPIvZ.js';
18
18
  import '../request-error-D_dUPLwo.js';
19
19
  import '../action-9Xl0StBg.js';
20
- import '../sign-in-providers-B1Q9eDRm.js';
20
+ import '../sign-in-providers-BAkGjSXo.js';
21
21
 
22
22
  /**
23
23
  * A query's identity: plain JSON values, outermost group first, such as
@@ -190,6 +190,13 @@ declare function useSetQueryData(): <T>(key: QueryKey, update: T | ((current: T
190
190
  * Independent of the quest experience: a failing experience read signs nobody out.
191
191
  */
192
192
  declare function useSession(): Query<ParticipantSession | null> & {
193
+ /**
194
+ * Reads the session again now; never rejects. With app login (`createParticipantBackend`), call
195
+ * it after the app's own sign-in route succeeds, before showing member pages, and after its
196
+ * logout route clears the app session: the provider keeps the session it read until it reads
197
+ * again. Sign out through the app, not `useSignOut()`, which the app session would undo.
198
+ */
199
+ refresh(): Promise<void>;
193
200
  /** The signed-in member's ID, or null. */
194
201
  member: string | null;
195
202
  };
@@ -8,27 +8,24 @@ import {
8
8
  discoverSolanaWallets,
9
9
  readSignInMethods,
10
10
  signInOptionsFrom
11
- } from "../chunk-5XLZ34PV.js";
11
+ } from "../chunk-KCUUHT2V.js";
12
12
  import {
13
13
  telegramMiniAppInitData
14
14
  } from "../chunk-FWLQ5XCS.js";
15
- import "../chunk-LZWXCBUB.js";
15
+ import "../chunk-VBYOAT46.js";
16
16
  import {
17
17
  createRelayAction
18
- } from "../chunk-AQOL3SK5.js";
19
- import "../chunk-MTKRIQEU.js";
20
- import "../chunk-EHUSD3O2.js";
21
- import "../chunk-4NOFSGAL.js";
22
- import "../chunk-QR6HH4DI.js";
23
- import "../chunk-W7YSMSGC.js";
18
+ } from "../chunk-E22XSC4L.js";
19
+ import "../chunk-EUEW2APU.js";
24
20
  import "../chunk-UYVJZR33.js";
25
- import "../chunk-ICXZZNPS.js";
26
- import "../chunk-FO2LCZTL.js";
27
- import "../chunk-3RFP6GT5.js";
21
+ import "../chunk-7H4MRVQF.js";
22
+ import "../chunk-DLABJSBO.js";
23
+ import "../chunk-MPTE7EIV.js";
28
24
  import {
29
25
  sessionMember
30
- } from "../chunk-N4BDKS6Y.js";
31
- import "../chunk-ID3BZXFZ.js";
26
+ } from "../chunk-R2KZFX6E.js";
27
+ import "../chunk-NG4GZ54I.js";
28
+ import "../chunk-HNR6G3GV.js";
32
29
  import {
33
30
  RelayError,
34
31
  RelayErrorCode,
@@ -36,7 +33,7 @@ import {
36
33
  clientError,
37
34
  isRelayError,
38
35
  isRequestError
39
- } from "../chunk-GLH6MEI2.js";
36
+ } from "../chunk-EOUEAOWJ.js";
40
37
 
41
38
  // src/react/context.ts
42
39
  import { createContext, useContext } from "react";
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-esm3WG8R.js';
2
+ import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-Bl-qPIvZ.js';
3
3
 
4
4
  /**
5
5
  * The longest wording Relay stores: a checkbox label with a link to the policy fits.