@domino-sdk/relay 1.69.0 → 1.70.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 (64) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build.mjs +3 -0
  3. package/dist/{accounts-DD4gAOCe.d.ts → accounts-B49TGZLk.d.ts} +3 -5
  4. package/dist/{attempt-captures-CbuCmthd.d.ts → attempt-captures-Dn-oGE1o.d.ts} +2 -2
  5. package/dist/authoring.d.ts +12 -12
  6. package/dist/authoring.js +7 -5
  7. package/dist/{automatic-outcomes-DE3vfi8g.d.ts → automatic-outcomes-DeRyox-X.d.ts} +2 -2
  8. package/dist/browser.d.ts +9 -9
  9. package/dist/browser.js +8 -8
  10. package/dist/{catalog-Cf3fHDNn.d.ts → catalog-CR_2iacf.d.ts} +2 -2
  11. package/dist/{chunk-UGM6DUB2.js → chunk-25WA4XYZ.js} +4 -3
  12. package/dist/{chunk-PO2ZDY27.js → chunk-2GVGZ7AN.js} +1 -1
  13. package/dist/{chunk-LGGD7S5T.js → chunk-3DUNFRKJ.js} +6 -6
  14. package/dist/{chunk-WVK3G2J2.js → chunk-4BBDHTBF.js} +1 -1
  15. package/dist/{chunk-CQVKOD3B.js → chunk-4VDRNYUG.js} +13 -8
  16. package/dist/{chunk-CZ23KRVK.js → chunk-BJ2W5ZVQ.js} +1 -1
  17. package/dist/{chunk-SWLW4VN3.js → chunk-FHOKCBTJ.js} +1 -1
  18. package/dist/{chunk-DIXYVGXO.js → chunk-HICAGUT5.js} +1 -1
  19. package/dist/{chunk-BRROI4CH.js → chunk-NOQSKRSS.js} +3 -3
  20. package/dist/{chunk-GEVARKEV.js → chunk-OKKZPDCQ.js} +1 -1
  21. package/dist/{chunk-WNEQEDMU.js → chunk-RSZAYW3T.js} +2 -2
  22. package/dist/{chunk-AZDZEQFK.js → chunk-RYUM6X2K.js} +1 -1
  23. package/dist/{chunk-RKTMSTT7.js → chunk-SDWG7CWQ.js} +2 -2
  24. package/dist/{chunk-ME2KUAVJ.js → chunk-SELJYCYY.js} +1 -1
  25. package/dist/{chunk-ODJGTFPY.js → chunk-UKUIE2ND.js} +6 -6
  26. package/dist/{chunk-2A3BJ262.js → chunk-XD6EUA27.js} +1 -1
  27. package/dist/{chunk-TCREFRPK.js → chunk-XZCTCSDG.js} +2 -2
  28. package/dist/{client-6eSYOl8h.d.ts → client-gJEheT2C.d.ts} +7 -7
  29. package/dist/{dashboards-DCOAXL54.d.ts → dashboards-DZaB94sz.d.ts} +3 -3
  30. package/dist/{deployments-BIfdCMd5.d.ts → deployments-QVGxC-fT.d.ts} +3 -3
  31. package/dist/{identity-integration-BlfOn8rc.d.ts → identity-integration-BAJdzbdl.d.ts} +1 -1
  32. package/dist/index.d.ts +10 -10
  33. package/dist/index.js +7 -7
  34. package/dist/internal.d.ts +13 -13
  35. package/dist/internal.js +13 -13
  36. package/dist/{limits-Ctaeq23J.d.ts → limits-UawUbr0S.d.ts} +1 -1
  37. package/dist/{offers-COqHGbHm.d.ts → offers-0hqbnogq.d.ts} +2 -2
  38. package/dist/portal-proxy.d.ts +2 -2
  39. package/dist/portal-proxy.js +10 -9
  40. package/dist/react/index.d.ts +11 -11
  41. package/dist/react/index.js +9 -8
  42. package/dist/{reward-deliveries-DFhYGJdx.d.ts → reward-deliveries-ARvt1UXb.d.ts} +1 -1
  43. package/dist/runtime/authoring.js +1 -1
  44. package/dist/runtime/chunks/447P2VLY.js +1 -0
  45. package/dist/runtime/manifest.json +3 -3
  46. package/dist/runtime/schema.js +1 -1
  47. package/dist/schema.d.ts +16 -16
  48. package/dist/schema.js +9 -7
  49. package/dist/server/index.d.ts +12 -12
  50. package/dist/server/index.js +17 -18
  51. package/dist/{sign-in-providers-C97mRNbG.d.ts → sign-in-providers-DCiufSGG.d.ts} +2 -2
  52. package/dist/solana.d.ts +12 -12
  53. package/dist/solana.js +8 -8
  54. package/dist/{submission-input-BD7nORuh.d.ts → submission-input-C0DLv5Dj.d.ts} +2 -2
  55. package/dist/{telegram-browser-gRMgGs7B.d.ts → telegram-browser-yx9WuNLX.d.ts} +5 -5
  56. package/dist/telegram.d.ts +7 -7
  57. package/dist/testing.d.ts +4 -4
  58. package/dist/testing.js +5 -5
  59. package/dist/{tracker-data-DQgX3FIc.d.ts → tracker-data-CUopgomU.d.ts} +1 -1
  60. package/dist/{transport-BLU8jrhg.d.ts → transport-e0uY1R7z.d.ts} +11 -11
  61. package/dist/{wallet-CPAjrW4k.d.ts → wallet-CJTULM0Q.d.ts} +4 -2
  62. package/dist/{wallet-browser-BzPt_Qb5.d.ts → wallet-browser-DScvrvIj.d.ts} +1 -1
  63. package/package.json +1 -1
  64. package/dist/runtime/chunks/HKAI5OQA.js +0 -1
@@ -6,13 +6,13 @@ import {
6
6
  imageSightingsSchema,
7
7
  imageUploadsSchema,
8
8
  publishedImageSchema
9
- } from "./chunk-DIXYVGXO.js";
9
+ } from "./chunk-HICAGUT5.js";
10
10
  import {
11
11
  dashboardArtifactSchema,
12
12
  dashboardIssue,
13
13
  dashboardPreviewSchema,
14
14
  normalizeDashboard
15
- } from "./chunk-CZ23KRVK.js";
15
+ } from "./chunk-BJ2W5ZVQ.js";
16
16
  import {
17
17
  authProvidersSchema,
18
18
  collectionPassSchema,
@@ -23,7 +23,7 @@ import {
23
23
  questOutcomePageSchema,
24
24
  questOutcomeSchema,
25
25
  rewardDeliveriesSchema
26
- } from "./chunk-ME2KUAVJ.js";
26
+ } from "./chunk-SELJYCYY.js";
27
27
  import {
28
28
  catalogDeploymentSchema,
29
29
  collectionViewSchema,
@@ -37,7 +37,7 @@ import {
37
37
  questExperienceSchema,
38
38
  questTypeVersionSchema,
39
39
  questViewSchema
40
- } from "./chunk-PO2ZDY27.js";
40
+ } from "./chunk-2GVGZ7AN.js";
41
41
  import {
42
42
  engagementArtifactSchema,
43
43
  engagementBoundaryPageSchema,
@@ -52,7 +52,7 @@ import {
52
52
  referralDefinitionSchema,
53
53
  referralHistorySchema,
54
54
  referralSummarySchema
55
- } from "./chunk-2A3BJ262.js";
55
+ } from "./chunk-XD6EUA27.js";
56
56
  import {
57
57
  accountConnectionSchema,
58
58
  attemptSchema,
@@ -120,7 +120,7 @@ import {
120
120
  walletTransactionChallengeSchema,
121
121
  walletTransactionsSchema,
122
122
  whereSettings
123
- } from "./chunk-CQVKOD3B.js";
123
+ } from "./chunk-4VDRNYUG.js";
124
124
 
125
125
  // src/deployments.ts
126
126
  import * as z from "zod";
@@ -12,7 +12,7 @@ import {
12
12
  resourceHandle,
13
13
  responseShape,
14
14
  tierRewardSchema
15
- } from "./chunk-CQVKOD3B.js";
15
+ } from "./chunk-4VDRNYUG.js";
16
16
  import {
17
17
  parseDefinition
18
18
  } from "./chunk-VNEJH4NT.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createRelayClient
3
- } from "./chunk-LGGD7S5T.js";
3
+ } from "./chunk-3DUNFRKJ.js";
4
4
  import {
5
5
  connectSolanaAccount,
6
6
  noAccount,
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  base58,
11
11
  cosmosChain
12
- } from "./chunk-CQVKOD3B.js";
12
+ } from "./chunk-4VDRNYUG.js";
13
13
  import {
14
14
  RelayErrorCode,
15
15
  asRelayError,
@@ -1,14 +1,14 @@
1
- import { G as QuizEvidence, a as Attempt, s as MemberProgress, an as referralAcceptSchema, q as LeaderboardQuery, b as AttemptStatus, W 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, ao as submitSchema, ap as engagementPageQuerySchema, aq as contentPerformanceQuerySchema } from './accounts-DD4gAOCe.js';
2
- import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-BD7nORuh.js';
1
+ import { G as QuizEvidence, a as Attempt, s as MemberProgress, an as referralAcceptSchema, q as LeaderboardQuery, b as AttemptStatus, W 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, ao as submitSchema, ap as engagementPageQuerySchema, aq as contentPerformanceQuerySchema } from './accounts-B49TGZLk.js';
2
+ import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-C0DLv5Dj.js';
3
3
  import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-C24SY7n9.js';
4
- import { d as WalletProofKind, aq as walletAddressInputSchema, ar as walletSignatureSchema, as as walletTransactionProofSchema, L as LinkedWallet, g as WalletSigner } from './wallet-CPAjrW4k.js';
5
- 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-DFhYGJdx.js';
6
- import { b as QuestView, q as questExperienceSchema } from './catalog-Cf3fHDNn.js';
7
- import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-DQgX3FIc.js';
4
+ import { d as WalletProofKind, ar as walletAddressInputSchema, as as walletSignatureSchema, at as walletTransactionProofSchema, L as LinkedWallet, g as WalletSigner } from './wallet-CJTULM0Q.js';
5
+ 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-ARvt1UXb.js';
6
+ import { b as QuestView, q as questExperienceSchema } from './catalog-CR_2iacf.js';
7
+ import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-CUopgomU.js';
8
8
  import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from './participant-activity-BznrcePT.js';
9
9
  import * as z from 'zod';
10
10
  import { c as createRelayAction, O as OptionalActionId } from './action-BDFKqGlH.js';
11
- import { A as AuthProviders } from './sign-in-providers-C97mRNbG.js';
11
+ import { A as AuthProviders } from './sign-in-providers-DCiufSGG.js';
12
12
  import { p as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-CLDKZVFx.js';
13
13
 
14
14
  /** What happened, as in every Domino client error (see `RequestError`). */
@@ -1,7 +1,7 @@
1
1
  import * as z from 'zod';
2
- import { k as WalletBalanceQuery } from './wallet-CPAjrW4k.js';
3
- import { R as ResourceHandle } from './tracker-data-DQgX3FIc.js';
4
- import { A as AnalyticsMetricId, a as analyticsCatalog } from './limits-Ctaeq23J.js';
2
+ import { k as WalletBalanceQuery } from './wallet-CJTULM0Q.js';
3
+ import { R as ResourceHandle } from './tracker-data-CUopgomU.js';
4
+ import { A as AnalyticsMetricId, a as analyticsCatalog } from './limits-UawUbr0S.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
- import { X as IntegrationModuleProvider, Y as RewardType } from './accounts-DD4gAOCe.js';
3
- import { O as OpenIdentityKind, b as TrackerDataSchema } from './tracker-data-DQgX3FIc.js';
4
- import { S as SolanaIdlSource, n as SolanaSeed } from './wallet-CPAjrW4k.js';
2
+ import { X as IntegrationModuleProvider, Y as RewardType } from './accounts-B49TGZLk.js';
3
+ import { O as OpenIdentityKind, b as TrackerDataSchema } from './tracker-data-CUopgomU.js';
4
+ import { S as SolanaIdlSource, n as SolanaSeed } from './wallet-CJTULM0Q.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-DQgX3FIc.js';
1
+ import { O as OpenIdentityKind } from './tracker-data-CUopgomU.js';
2
2
  import * as z from 'zod';
3
3
 
4
4
  /**
package/dist/index.d.ts CHANGED
@@ -1,18 +1,18 @@
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-COqHGbHm.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-0hqbnogq.js';
2
2
  export { R as RelayAction, c as createRelayAction } from './action-BDFKqGlH.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-6eSYOl8h.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-gJEheT2C.js';
4
4
  export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-C24SY7n9.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-DD4gAOCe.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-B49TGZLk.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-DFhYGJdx.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-BD7nORuh.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-ARvt1UXb.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-C0DLv5Dj.js';
9
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-BznrcePT.js';
10
- export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog-Cf3fHDNn.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-DE3vfi8g.js';
12
- export { K as KnownSkipEnrollment, a as KnownTrackerSkipCode, S as SkipEnrollment, T as TrackerSkipCode } from './tracker-data-DQgX3FIc.js';
10
+ export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog-CR_2iacf.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-DeRyox-X.js';
12
+ export { K as KnownSkipEnrollment, a as KnownTrackerSkipCode, S as SkipEnrollment, T as TrackerSkipCode } from './tracker-data-CUopgomU.js';
13
13
  export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileNameSource, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility } from './profiles-CLDKZVFx.js';
14
14
  export { Q as QuizContent, S as StreakProgress } from './streaks-MAqKHbHC.js';
15
- export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletProofKind, e as WalletSignInNetwork, f as WalletSignature, g as WalletSigner, h as WalletTransactionChallenge, i as WalletTransactionProof, j as WalletUnlinkInput } from './wallet-CPAjrW4k.js';
15
+ export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletProofKind, e as WalletSignInNetwork, f as WalletSignature, g as WalletSigner, h as WalletTransactionChallenge, i as WalletTransactionProof, j as WalletUnlinkInput } from './wallet-CJTULM0Q.js';
16
16
  export { P as ParticipantDelivery } from './participant-rewards-s5Gn23qb.js';
17
17
  import 'zod';
18
- import './sign-in-providers-C97mRNbG.js';
18
+ import './sign-in-providers-DCiufSGG.js';
package/dist/index.js CHANGED
@@ -5,25 +5,25 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-LGGD7S5T.js";
8
+ } from "./chunk-3DUNFRKJ.js";
9
9
  import {
10
10
  createRelayAction
11
11
  } from "./chunk-5RLIPTL7.js";
12
12
  import "./chunk-LDO5GP7G.js";
13
- import "./chunk-WVK3G2J2.js";
14
- import "./chunk-SWLW4VN3.js";
13
+ import "./chunk-4BBDHTBF.js";
14
+ import "./chunk-FHOKCBTJ.js";
15
15
  import {
16
16
  QuestOutcomeState
17
- } from "./chunk-ME2KUAVJ.js";
17
+ } from "./chunk-SELJYCYY.js";
18
18
  import {
19
19
  sessionMember
20
- } from "./chunk-PO2ZDY27.js";
21
- import "./chunk-2A3BJ262.js";
20
+ } from "./chunk-2GVGZ7AN.js";
21
+ import "./chunk-XD6EUA27.js";
22
22
  import {
23
23
  AttemptStatus,
24
24
  PointEntryKind,
25
25
  paginate
26
- } from "./chunk-CQVKOD3B.js";
26
+ } from "./chunk-4VDRNYUG.js";
27
27
  import {
28
28
  RelayError,
29
29
  RelayErrorCode,
@@ -1,24 +1,24 @@
1
- export { a as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as isIntegrationParticipantPath, b as isParticipantRoute, m as managementTransport, n as nextScheduleRun, p as parseImageExtraction, d as parseImageResult, e as participantRoutePattern, f as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, g as sourceDataSchema, h as sourceRoles, v as validateQuestShape } from './transport-BLU8jrhg.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, h as appLoginOriginSchema, i as httpsOriginSchema, j as identityIntegrationAccountVouchingInputSchema, k as identityIntegrationAppSecretSchema, l as identityIntegrationInputSchema, m as identityIntegrationKeySchema, n as identityIntegrationSchema, o as identityIntegrationSecretSchema, p as identityKindClaimSchema, q as participantExchangeAccountResultSchema, r as participantExchangeAccountsSchema, s as participantExchangeResultSchema, t as participantExchangeSchema } from './identity-integration-BlfOn8rc.js';
3
- export { E as Extracted } from './limits-Ctaeq23J.js';
4
- export { ar as stationRefusal } from './accounts-DD4gAOCe.js';
1
+ export { a as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as isIntegrationParticipantPath, b as isParticipantRoute, m as managementTransport, n as nextScheduleRun, p as parseImageExtraction, d as parseImageResult, e as participantRoutePattern, f as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, g as sourceDataSchema, h as sourceRoles, v as validateQuestShape } from './transport-e0uY1R7z.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, h as appLoginOriginSchema, i as httpsOriginSchema, j as identityIntegrationAccountVouchingInputSchema, k as identityIntegrationAppSecretSchema, l as identityIntegrationInputSchema, m as identityIntegrationKeySchema, n as identityIntegrationSchema, o as identityIntegrationSecretSchema, p as identityKindClaimSchema, q as participantExchangeAccountResultSchema, r as participantExchangeAccountsSchema, s as participantExchangeResultSchema, t as participantExchangeSchema } from './identity-integration-BAJdzbdl.js';
3
+ export { E as Extracted } from './limits-UawUbr0S.js';
4
+ export { ar as stationRefusal } from './accounts-B49TGZLk.js';
5
5
  import { StandardWallet, StandardWalletAccount } from './browser.js';
6
6
  import { SolanaSeed } from './authoring.js';
7
7
  import { SolanaNetwork } from './schema.js';
8
- export { at as evmWalletOn } from './wallet-CPAjrW4k.js';
8
+ export { au as evmWalletOn } from './wallet-CJTULM0Q.js';
9
9
  import { RequestErrorKind } from './index.js';
10
- export { E as TrackerDataBudget, F as schemaCheckedReader, H as sourceContent, J as trackerDataBatchSteps, N as trackerDataIssue, P as trackerDataIssues, U as trackerDataPathTypes, V as trackerDataRecordSteps, Y as whereSchemaIssue, Z as whereSettings } from './tracker-data-DQgX3FIc.js';
10
+ export { E as TrackerDataBudget, F as schemaCheckedReader, H as sourceContent, J as trackerDataBatchSteps, N as trackerDataIssue, P as trackerDataIssues, U as trackerDataPathTypes, V as trackerDataRecordSteps, Y as whereSchemaIssue, Z as whereSettings } from './tracker-data-CUopgomU.js';
11
11
  export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-DUw5-Cvj.js';
12
- export { c as compatibleSettingKinds, e as dashboardIssue, i as isBoundSetting, n as normalizeDashboard } from './dashboards-DCOAXL54.js';
12
+ export { c as compatibleSettingKinds, e as dashboardIssue, i as isBoundSetting, n as normalizeDashboard } from './dashboards-DZaB94sz.js';
13
13
  import 'zod';
14
- import './reward-deliveries-DFhYGJdx.js';
14
+ import './reward-deliveries-ARvt1UXb.js';
15
15
  import './action-BDFKqGlH.js';
16
- import './automatic-outcomes-DE3vfi8g.js';
16
+ import './automatic-outcomes-DeRyox-X.js';
17
17
  import './profiles-CLDKZVFx.js';
18
- import './deployments-BIfdCMd5.js';
19
- import './offers-COqHGbHm.js';
20
- import './catalog-Cf3fHDNn.js';
21
- import './attempt-captures-CbuCmthd.js';
18
+ import './deployments-QVGxC-fT.js';
19
+ import './offers-0hqbnogq.js';
20
+ import './catalog-CR_2iacf.js';
21
+ import './attempt-captures-Dn-oGE1o.js';
22
22
 
23
23
  /** The hosts a developer machine serves over plain HTTP: browser tests, `vite` dev and the local stack. */
24
24
  declare const loopbackHosts: readonly string[];
package/dist/internal.js CHANGED
@@ -9,16 +9,16 @@ import {
9
9
  solanaPublicEndpoints,
10
10
  solanaRpc,
11
11
  walletSignatureValid
12
- } from "./chunk-BRROI4CH.js";
12
+ } from "./chunk-NOQSKRSS.js";
13
13
  import {
14
14
  parseImageExtraction,
15
15
  parseImageResult
16
- } from "./chunk-RKTMSTT7.js";
16
+ } from "./chunk-SDWG7CWQ.js";
17
17
  import {
18
18
  sourceDataSchema,
19
19
  sourceRoles,
20
20
  validateQuestShape
21
- } from "./chunk-AZDZEQFK.js";
21
+ } from "./chunk-RYUM6X2K.js";
22
22
  import {
23
23
  accountVouchedBySchema,
24
24
  appLoginOriginSchema,
@@ -38,19 +38,19 @@ import {
38
38
  participantExchangeResultSchema,
39
39
  participantExchangeSchema,
40
40
  secureOrLoopbackOrigin
41
- } from "./chunk-UGM6DUB2.js";
41
+ } from "./chunk-25WA4XYZ.js";
42
42
  import {
43
43
  isIntegrationParticipantPath,
44
44
  isParticipantRoute,
45
45
  participantRoutePattern,
46
46
  participantRoutes
47
47
  } from "./chunk-LZXDYSUH.js";
48
- import "./chunk-ODJGTFPY.js";
49
- import "./chunk-DIXYVGXO.js";
48
+ import "./chunk-UKUIE2ND.js";
49
+ import "./chunk-HICAGUT5.js";
50
50
  import {
51
51
  dashboardIssue,
52
52
  normalizeDashboard
53
- } from "./chunk-CZ23KRVK.js";
53
+ } from "./chunk-BJ2W5ZVQ.js";
54
54
  import "./chunk-MWMCQLCG.js";
55
55
  import {
56
56
  connectSolanaAccount,
@@ -58,16 +58,16 @@ import {
58
58
  hostEnvironmentSchema,
59
59
  registeredWallets
60
60
  } from "./chunk-VAGGGB6B.js";
61
- import "./chunk-WVK3G2J2.js";
61
+ import "./chunk-4BBDHTBF.js";
62
62
  import {
63
63
  MANAGEMENT_TIMEOUT,
64
64
  lifetime,
65
65
  retryAfter,
66
66
  retrying
67
- } from "./chunk-SWLW4VN3.js";
68
- import "./chunk-ME2KUAVJ.js";
69
- import "./chunk-PO2ZDY27.js";
70
- import "./chunk-2A3BJ262.js";
67
+ } from "./chunk-FHOKCBTJ.js";
68
+ import "./chunk-SELJYCYY.js";
69
+ import "./chunk-2GVGZ7AN.js";
70
+ import "./chunk-XD6EUA27.js";
71
71
  import {
72
72
  base58,
73
73
  base58Bytes,
@@ -85,7 +85,7 @@ import {
85
85
  trackerDataRecordSteps,
86
86
  whereSchemaIssue,
87
87
  whereSettings
88
- } from "./chunk-CQVKOD3B.js";
88
+ } from "./chunk-4VDRNYUG.js";
89
89
  import "./chunk-VNEJH4NT.js";
90
90
 
91
91
  // src/station-qr.ts
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { ac as PhotoResult, W as AttemptCodeSource } from './accounts-DD4gAOCe.js';
2
+ import { ac as PhotoResult, W as AttemptCodeSource } from './accounts-B49TGZLk.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
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { R as ResourceHandle } from './tracker-data-DQgX3FIc.js';
3
- import { _ as AuthoringIdentity } from './accounts-DD4gAOCe.js';
2
+ import { R as ResourceHandle } from './tracker-data-CUopgomU.js';
3
+ import { _ as AuthoringIdentity } from './accounts-B49TGZLk.js';
4
4
 
5
5
  declare const badgePropertiesSchema: z.ZodObject<{
6
6
  name: z.ZodString;
@@ -1,9 +1,9 @@
1
1
  import { ParticipantExchangeAccountResult, ParticipantExchangeResult, IdentityIntegrationKey } from './internal.js';
2
2
  import { MemberImportVouchedAccount } from './server/index.js';
3
3
  import { RequestError } from './index.js';
4
- import './tracker-data-DQgX3FIc.js';
4
+ import './tracker-data-CUopgomU.js';
5
5
  import 'zod';
6
- import './wallet-CPAjrW4k.js';
6
+ import './wallet-CJTULM0Q.js';
7
7
 
8
8
  /**
9
9
  * Server-only proxy: browser cookies stay on the participant origin.
@@ -3,25 +3,25 @@ import {
3
3
  participantExchangeAccountsSchema,
4
4
  participantExchangeResultSchema,
5
5
  secureOrLoopbackOrigin
6
- } from "./chunk-UGM6DUB2.js";
6
+ } from "./chunk-25WA4XYZ.js";
7
7
  import {
8
8
  isParticipantRoute
9
9
  } from "./chunk-LZXDYSUH.js";
10
- import "./chunk-ODJGTFPY.js";
11
- import "./chunk-DIXYVGXO.js";
12
- import "./chunk-CZ23KRVK.js";
10
+ import "./chunk-UKUIE2ND.js";
11
+ import "./chunk-HICAGUT5.js";
12
+ import "./chunk-BJ2W5ZVQ.js";
13
13
  import "./chunk-MWMCQLCG.js";
14
14
  import {
15
15
  clientIdentity,
16
16
  retryAfter
17
- } from "./chunk-SWLW4VN3.js";
18
- import "./chunk-ME2KUAVJ.js";
17
+ } from "./chunk-FHOKCBTJ.js";
18
+ import "./chunk-SELJYCYY.js";
19
19
  import {
20
20
  participantPrincipalSchema,
21
21
  sessionMember
22
- } from "./chunk-PO2ZDY27.js";
23
- import "./chunk-2A3BJ262.js";
24
- import "./chunk-CQVKOD3B.js";
22
+ } from "./chunk-2GVGZ7AN.js";
23
+ import "./chunk-XD6EUA27.js";
24
+ import "./chunk-4VDRNYUG.js";
25
25
  import {
26
26
  RequestError,
27
27
  isRequestError
@@ -359,6 +359,7 @@ async function signedInMember(request, env, options) {
359
359
  return null;
360
360
  }
361
361
  const session = signedInSessionSchema.safeParse(
362
+ // A session that isn't JSON fails the schema and reads as signed out.
362
363
  await response.json().catch(() => void 0)
363
364
  );
364
365
  return session.success ? sessionMember(session.data) : null;
@@ -1,32 +1,32 @@
1
1
  import { Badge, MemberBadges, Offer, Redemption } from '../index.js';
2
2
  import { ParticipantSession, RelayEvent, ParticipantActivity, MemberSummary } from '../index.js';
3
- import { R as RelayClient } from '../client-6eSYOl8h.js';
3
+ import { R as RelayClient } from '../client-gJEheT2C.js';
4
4
  import { RelayError, SubmissionDraft } from '../index.js';
5
- import { P as Page, e as CreatorAccountProvider, K as KnownConsentChannel, M as MemberConsent } from '../reward-deliveries-DFhYGJdx.js';
5
+ import { P as Page, e as CreatorAccountProvider, K as KnownConsentChannel, M as MemberConsent } from '../reward-deliveries-ARvt1UXb.js';
6
6
  import { QuestOutcomeQuery, QuestOutcome } from '../index.js';
7
7
  import { RewardDeliveryAction } from '../schema.js';
8
- 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-DFhYGJdx.js';
8
+ 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-ARvt1UXb.js';
9
9
  import * as react from 'react';
10
10
  import { ReactNode } from 'react';
11
11
  import * as z from 'zod';
12
12
  import { z as z$1 } from 'zod';
13
13
  import { QuestView } from '../index.js';
14
14
  import { collectionViewSchema } from '../schema.js';
15
- import { J as SignInProvider } from '../accounts-DD4gAOCe.js';
15
+ import { J as SignInProvider } from '../accounts-B49TGZLk.js';
16
16
  import { Entitlement, AttemptStatus, AuthProvider, AccountConnection, SignInAccountStatus, LeaderboardPlacement, LeaderboardPage, PointEntry, PointBalances, PointLedgerReference, TieredRewardReference } from '../index.js';
17
17
  import { AttemptCodeSource, referralSummarySchema } from '../schema.js';
18
- export { S as SignInAccount, N as SignInProviderOption } from '../accounts-DD4gAOCe.js';
19
- import { b as SignInMethods, c as SignInOption, P as ProviderSignInOption, e as SignInUnavailable, T as TelegramSignInOption } from '../telegram-browser-gRMgGs7B.js';
20
- export { E as EmailSignInOption, O as OAuthSignInOption, a as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-gRMgGs7B.js';
18
+ export { S as SignInAccount, N as SignInProviderOption } from '../accounts-B49TGZLk.js';
19
+ import { b as SignInMethods, c as SignInOption, P as ProviderSignInOption, e as SignInUnavailable, T as TelegramSignInOption } from '../telegram-browser-yx9WuNLX.js';
20
+ export { E as EmailSignInOption, O as OAuthSignInOption, a as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-yx9WuNLX.js';
21
21
  import { WalletSigner, WalletSignInNetwork, LinkedWallet, WalletProofKind } from '../index.js';
22
- import { C as CosmosChains, S as SignInWallet, D as DiscoveredWallet } from '../wallet-browser-BzPt_Qb5.js';
23
- export { T as TelegramAccountConnection, a as TelegramSignInMethods } from '../submission-input-BD7nORuh.js';
22
+ import { C as CosmosChains, S as SignInWallet, D as DiscoveredWallet } from '../wallet-browser-DScvrvIj.js';
23
+ export { T as TelegramAccountConnection, a as TelegramSignInMethods } from '../submission-input-C0DLv5Dj.js';
24
24
  import { ProfileReferral } from '../authoring.js';
25
25
  import { ProfileUpdate, ProfileSummary, ProfileCompletion } from '../index.js';
26
- import '../tracker-data-DQgX3FIc.js';
26
+ import '../tracker-data-CUopgomU.js';
27
27
  import '../request-error-C24SY7n9.js';
28
28
  import '../action-BDFKqGlH.js';
29
- import '../sign-in-providers-C97mRNbG.js';
29
+ import '../sign-in-providers-DCiufSGG.js';
30
30
 
31
31
  /**
32
32
  * A query's identity: plain JSON values, outermost group first, such as
@@ -8,24 +8,24 @@ import {
8
8
  discoverSolanaWallets,
9
9
  readSignInMethods,
10
10
  signInOptionsFrom
11
- } from "../chunk-TCREFRPK.js";
11
+ } from "../chunk-XZCTCSDG.js";
12
12
  import {
13
13
  telegramMiniAppInitData
14
14
  } from "../chunk-FWLQ5XCS.js";
15
- import "../chunk-LGGD7S5T.js";
15
+ import "../chunk-3DUNFRKJ.js";
16
16
  import {
17
17
  createRelayAction
18
18
  } from "../chunk-5RLIPTL7.js";
19
19
  import "../chunk-LDO5GP7G.js";
20
20
  import "../chunk-VAGGGB6B.js";
21
- import "../chunk-WVK3G2J2.js";
22
- import "../chunk-SWLW4VN3.js";
23
- import "../chunk-ME2KUAVJ.js";
21
+ import "../chunk-4BBDHTBF.js";
22
+ import "../chunk-FHOKCBTJ.js";
23
+ import "../chunk-SELJYCYY.js";
24
24
  import {
25
25
  sessionMember
26
- } from "../chunk-PO2ZDY27.js";
27
- import "../chunk-2A3BJ262.js";
28
- import "../chunk-CQVKOD3B.js";
26
+ } from "../chunk-2GVGZ7AN.js";
27
+ import "../chunk-XD6EUA27.js";
28
+ import "../chunk-4VDRNYUG.js";
29
29
  import {
30
30
  RelayError,
31
31
  RelayErrorCode,
@@ -3387,6 +3387,7 @@ function useRedeemOffer() {
3387
3387
  );
3388
3388
  const { mutateAsync } = mutation;
3389
3389
  const redeem = useCallback10(
3390
+ // The mutation's error state carries the failure; redeem answers null for it.
3390
3391
  (offer) => mutateAsync(offer).catch(() => null),
3391
3392
  [mutateAsync]
3392
3393
  );
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-DQgX3FIc.js';
2
+ import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-CUopgomU.js';
3
3
 
4
4
  /**
5
5
  * The longest wording Relay stores: a checkbox label with a link to the policy fits.