@domino-sdk/relay 1.68.0 → 1.69.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 (77) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{accounts-DnpKoJCo.d.ts → accounts-DD4gAOCe.d.ts} +25 -3
  3. package/dist/{action-9Xl0StBg.d.ts → action-BDFKqGlH.d.ts} +3 -2
  4. package/dist/{attempt-captures-DMNFMYFb.d.ts → attempt-captures-CbuCmthd.d.ts} +4 -3
  5. package/dist/authoring.d.ts +218 -43
  6. package/dist/authoring.js +73 -17
  7. package/dist/{automatic-outcomes-CQ3vpiQl.d.ts → automatic-outcomes-DE3vfi8g.d.ts} +11 -3
  8. package/dist/avatar.d.ts +2 -1
  9. package/dist/browser.d.ts +15 -14
  10. package/dist/browser.js +11 -11
  11. package/dist/{capability-error-CuI_F7yM.d.ts → capability-error-db7kO8-P.d.ts} +2 -1
  12. package/dist/{catalog-BLGie8Lh.d.ts → catalog-Cf3fHDNn.d.ts} +11 -3
  13. package/dist/{chunk-55WJVFWC.js → chunk-2A3BJ262.js} +2 -2
  14. package/dist/{chunk-P4TPW4SY.js → chunk-5RLIPTL7.js} +1 -1
  15. package/dist/{chunk-HXTKI34N.js → chunk-AZDZEQFK.js} +1 -1
  16. package/dist/{chunk-TYZFVL73.js → chunk-BRROI4CH.js} +4 -4
  17. package/dist/{chunk-6YTSRWRB.js → chunk-CQVKOD3B.js} +71 -4
  18. package/dist/{chunk-MEUAJIVO.js → chunk-CZ23KRVK.js} +2 -2
  19. package/dist/{chunk-DDJN2T5A.js → chunk-DIXYVGXO.js} +1 -1
  20. package/dist/{chunk-75KF633N.js → chunk-GEVARKEV.js} +1 -1
  21. package/dist/{chunk-VRZZB7CQ.js → chunk-LDO5GP7G.js} +1 -1
  22. package/dist/{chunk-SD74HD75.js → chunk-LGGD7S5T.js} +9 -9
  23. package/dist/{chunk-R3MNZKNJ.js → chunk-ME2KUAVJ.js} +1 -1
  24. package/dist/{chunk-DNPDR4Z7.js → chunk-ODJGTFPY.js} +6 -6
  25. package/dist/{chunk-6UBFSMCM.js → chunk-PO2ZDY27.js} +1 -1
  26. package/dist/{chunk-EXZVWQOQ.js → chunk-RKTMSTT7.js} +2 -2
  27. package/dist/{chunk-KKHENO57.js → chunk-SWLW4VN3.js} +2 -2
  28. package/dist/{chunk-CZ7NQ7W7.js → chunk-TCREFRPK.js} +3 -3
  29. package/dist/{chunk-5AKD4ZF3.js → chunk-UGM6DUB2.js} +8 -3
  30. package/dist/{chunk-IW46TW3A.js → chunk-VNEJH4NT.js} +26 -2
  31. package/dist/{chunk-4JSPMFO2.js → chunk-WNEQEDMU.js} +2 -2
  32. package/dist/{chunk-7YSVZA7A.js → chunk-WVK3G2J2.js} +1 -1
  33. package/dist/{client-BMif22WQ.d.ts → client-6eSYOl8h.d.ts} +33 -11
  34. package/dist/{dashboards-DMk-vL1q.d.ts → dashboards-DCOAXL54.d.ts} +6 -5
  35. package/dist/{deployments-BCr418BX.d.ts → deployments-BIfdCMd5.d.ts} +530 -337
  36. package/dist/{host-environment-FN4zg3hw.d.ts → host-environment-DUw5-Cvj.d.ts} +2 -1
  37. package/dist/{identity-integration-r76xaAax.d.ts → identity-integration-BlfOn8rc.d.ts} +3 -2
  38. package/dist/index.d.ts +16 -15
  39. package/dist/index.js +10 -10
  40. package/dist/internal.d.ts +34 -19
  41. package/dist/internal.js +40 -14
  42. package/dist/{limits-ByVRQePO.d.ts → limits-Ctaeq23J.d.ts} +3 -2
  43. package/dist/{offers-xcPbYaEv.d.ts → offers-COqHGbHm.d.ts} +4 -3
  44. package/dist/{participant-activity-DXRq4s6K.d.ts → participant-activity-BznrcePT.d.ts} +2 -1
  45. package/dist/{participant-rewards-BcWkBRn_.d.ts → participant-rewards-s5Gn23qb.d.ts} +23 -1
  46. package/dist/portal-proxy.d.ts +7 -4
  47. package/dist/portal-proxy.js +13 -17
  48. package/dist/profiles-CLDKZVFx.d.ts +370 -0
  49. package/dist/react/index.d.ts +50 -31
  50. package/dist/react/index.js +11 -11
  51. package/dist/{request-error-D_dUPLwo.d.ts → request-error-C24SY7n9.d.ts} +2 -1
  52. package/dist/{reward-deliveries-0VvT6LMj.d.ts → reward-deliveries-DFhYGJdx.d.ts} +3 -2
  53. package/dist/runtime/authoring.js +1 -1
  54. package/dist/runtime/chunks/HKAI5OQA.js +1 -0
  55. package/dist/runtime/manifest.json +3 -3
  56. package/dist/runtime/schema.js +1 -1
  57. package/dist/schema.d.ts +258 -176
  58. package/dist/schema.js +16 -8
  59. package/dist/server/index.d.ts +15 -14
  60. package/dist/server/index.js +45 -45
  61. package/dist/{sign-in-providers-C5_753DZ.d.ts → sign-in-providers-C97mRNbG.d.ts} +4 -3
  62. package/dist/solana.d.ts +142 -26
  63. package/dist/solana.js +449 -114
  64. package/dist/{streaks-0YuipsUQ.d.ts → streaks-MAqKHbHC.d.ts} +2 -1
  65. package/dist/{submission-input-CaL8drIh.d.ts → submission-input-BD7nORuh.d.ts} +4 -3
  66. package/dist/{telegram-browser-DLtHPRBI.d.ts → telegram-browser-gRMgGs7B.d.ts} +8 -7
  67. package/dist/telegram.d.ts +14 -12
  68. package/dist/telegram.js +2 -2
  69. package/dist/testing.d.ts +24 -15
  70. package/dist/testing.js +6 -6
  71. package/dist/{tracker-data-CAK942sx.d.ts → tracker-data-DQgX3FIc.d.ts} +198 -3
  72. package/dist/{transport-CkidqTOk.d.ts → transport-BLU8jrhg.d.ts} +3415 -2233
  73. package/dist/vite.d.ts +2 -1
  74. package/dist/{wallet-DQtJelQQ.d.ts → wallet-CPAjrW4k.d.ts} +52 -375
  75. package/dist/{wallet-browser-dpmr22Xv.d.ts → wallet-browser-BzPt_Qb5.d.ts} +3 -2
  76. package/package.json +6 -3
  77. package/dist/runtime/chunks/2UDZ6TPL.js +0 -1
@@ -27,4 +27,5 @@ type HostEnvironment = z.infer<typeof hostEnvironmentSchema>;
27
27
  */
28
28
  declare function getHostEnvironment(): Promise<HostEnvironment | null>;
29
29
 
30
- export { type HostEnvironment as H, hostEnvironmentSchema as a, getHostEnvironment as g, hostEnvironmentPath as h };
30
+ export { hostEnvironmentSchema as a, getHostEnvironment as g, hostEnvironmentPath as h };
31
+ export type { HostEnvironment as H };
@@ -1,4 +1,4 @@
1
- import { O as OpenIdentityKind } from './tracker-data-CAK942sx.js';
1
+ import { O as OpenIdentityKind } from './tracker-data-DQgX3FIc.js';
2
2
  import * as z from 'zod';
3
3
 
4
4
  /**
@@ -1311,4 +1311,5 @@ declare const accountVouchedBySchema: z.ZodObject<{
1311
1311
  /** The app login whose server vouched for an account when it signed the member in. */
1312
1312
  type AccountVouchedBy = z.infer<typeof accountVouchedBySchema>;
1313
1313
 
1314
- export { memberImportActionSchema as $, type AccountVouchedBy as A, type MemberImportRevertInput as B, type IdentityReference as C, type KnownMemberImportRefusalCode as D, type KnownMemberImportState as E, type MemberImport as F, type MemberImportAccount as G, type MemberImportCommandInput as H, type IdentityIntegrationKey as I, type MemberImportConsent as J, type KnownIdentityIntegrationEnvironment as K, type MemberImportFullRow as L, type MemberImportVouchedAccount as M, type MemberImportFullRowsInput as N, type MemberImportIdentity as O, type ParticipantExchangeAccountResult as P, type MemberImportReferral as Q, type MemberImportRefusal as R, type MemberImportRevert as S, type MemberImportRevertOutcome as T, type MemberImportRow as U, type MemberImportRowInput as V, type MemberImportRowResult as W, type MemberImportRowsInput as X, type MemberImportSummary as Y, identityReferenceSchema as Z, memberImportAccountSchema as _, type ParticipantExchangeResult as a, memberImportCommandSchema as a0, memberImportConsentSchema as a1, memberImportCreateSchema as a2, memberImportFullRowSchema as a3, memberImportFullRowsInputSchema as a4, memberImportIdentitySchema as a5, memberImportListQuerySchema as a6, memberImportPageSchema as a7, memberImportReferralSchema as a8, memberImportRefusalSchema as a9, memberImportRevertInputSchema as aa, memberImportRevertOutcomeSchema as ab, memberImportRevertSchema as ac, memberImportRowPageSchema as ad, memberImportRowQuerySchema as ae, memberImportRowResultSchema as af, memberImportRowSchema as ag, memberImportRowsInputSchema as ah, memberImportSchema as ai, memberImportSummarySchema as aj, memberImportVouchedAccountSchema as ak, type IdentityIntegration as b, type IdentityIntegrationAccountVouchingInput as c, type IdentityIntegrationAppSecret as d, type IdentityKindClaim as e, type ParticipantExchangeInput as f, accountVouchedBySchema as g, appLoginOriginSchema as h, httpsOriginSchema as i, identityIntegrationAccountVouchingInputSchema as j, identityIntegrationAppSecretSchema as k, identityIntegrationInputSchema as l, identityIntegrationKeySchema as m, identityIntegrationSchema as n, identityIntegrationSecretSchema as o, identityKindClaimSchema as p, participantExchangeAccountResultSchema as q, participantExchangeAccountsSchema as r, participantExchangeResultSchema as s, participantExchangeSchema as t, type MemberImportCreateInput as u, MemberImportRefusalCode as v, MemberImportState as w, type MemberImportListQuery as x, type MemberImportRowQuery as y, type MemberImportFullRowInput as z };
1314
+ export { memberImportActionSchema as $, identityReferenceSchema as Z, memberImportAccountSchema as _, memberImportCommandSchema as a0, memberImportConsentSchema as a1, memberImportCreateSchema as a2, memberImportFullRowSchema as a3, memberImportFullRowsInputSchema as a4, memberImportIdentitySchema as a5, memberImportListQuerySchema as a6, memberImportPageSchema as a7, memberImportReferralSchema as a8, memberImportRefusalSchema as a9, memberImportRevertInputSchema as aa, memberImportRevertOutcomeSchema as ab, memberImportRevertSchema as ac, memberImportRowPageSchema as ad, memberImportRowQuerySchema as ae, memberImportRowResultSchema as af, memberImportRowSchema as ag, memberImportRowsInputSchema as ah, memberImportSchema as ai, memberImportSummarySchema as aj, memberImportVouchedAccountSchema as ak, accountVouchedBySchema as g, appLoginOriginSchema as h, httpsOriginSchema as i, identityIntegrationAccountVouchingInputSchema as j, identityIntegrationAppSecretSchema as k, identityIntegrationInputSchema as l, identityIntegrationKeySchema as m, identityIntegrationSchema as n, identityIntegrationSecretSchema as o, identityKindClaimSchema as p, participantExchangeAccountResultSchema as q, participantExchangeAccountsSchema as r, participantExchangeResultSchema as s, participantExchangeSchema as t, MemberImportRefusalCode as v, MemberImportState as w };
1315
+ export type { AccountVouchedBy as A, MemberImportRevertInput as B, IdentityReference as C, KnownMemberImportRefusalCode as D, KnownMemberImportState as E, MemberImport as F, MemberImportAccount as G, MemberImportCommandInput as H, IdentityIntegrationKey as I, MemberImportConsent as J, KnownIdentityIntegrationEnvironment as K, MemberImportFullRow as L, MemberImportVouchedAccount as M, MemberImportFullRowsInput as N, MemberImportIdentity as O, ParticipantExchangeAccountResult as P, MemberImportReferral as Q, MemberImportRefusal as R, MemberImportRevert as S, MemberImportRevertOutcome as T, MemberImportRow as U, MemberImportRowInput as V, MemberImportRowResult as W, MemberImportRowsInput as X, MemberImportSummary as Y, ParticipantExchangeResult as a, IdentityIntegration as b, IdentityIntegrationAccountVouchingInput as c, IdentityIntegrationAppSecret as d, IdentityKindClaim as e, ParticipantExchangeInput as f, MemberImportCreateInput as u, MemberImportListQuery as x, MemberImportRowQuery as y, MemberImportFullRowInput as z };
package/dist/index.d.ts CHANGED
@@ -1,17 +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-xcPbYaEv.js';
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-BMif22WQ.js';
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-DnpKoJCo.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-COqHGbHm.js';
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';
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';
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-0VvT6LMj.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-CaL8drIh.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-BLGie8Lh.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-CQ3vpiQl.js';
12
- export { K as KnownSkipEnrollment, a as KnownTrackerSkipCode, S as SkipEnrollment, T as TrackerSkipCode } from './tracker-data-CAK942sx.js';
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 ProfileNameSource, f as ProfileReferral, g as ProfileSummary, h as ProfileUpdate, i as ProfileVisibility, W as WalletAddressInput, j as WalletChain, k as WalletMessageChallenge, l as WalletProofKind, m as WalletSignInNetwork, n as WalletSignature, o as WalletSigner, p as WalletTransactionChallenge, q as WalletTransactionProof, r as WalletUnlinkInput } from './wallet-DQtJelQQ.js';
14
- export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
15
- export { P as ParticipantDelivery } from './participant-rewards-BcWkBRn_.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';
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';
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
+ 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';
16
+ export { P as ParticipantDelivery } from './participant-rewards-s5Gn23qb.js';
16
17
  import 'zod';
17
- import './sign-in-providers-C5_753DZ.js';
18
+ import './sign-in-providers-C97mRNbG.js';
package/dist/index.js CHANGED
@@ -5,32 +5,32 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-SD74HD75.js";
8
+ } from "./chunk-LGGD7S5T.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-P4TPW4SY.js";
12
- import "./chunk-VRZZB7CQ.js";
13
- import "./chunk-7YSVZA7A.js";
14
- import "./chunk-KKHENO57.js";
11
+ } from "./chunk-5RLIPTL7.js";
12
+ import "./chunk-LDO5GP7G.js";
13
+ import "./chunk-WVK3G2J2.js";
14
+ import "./chunk-SWLW4VN3.js";
15
15
  import {
16
16
  QuestOutcomeState
17
- } from "./chunk-R3MNZKNJ.js";
17
+ } from "./chunk-ME2KUAVJ.js";
18
18
  import {
19
19
  sessionMember
20
- } from "./chunk-6UBFSMCM.js";
21
- import "./chunk-55WJVFWC.js";
20
+ } from "./chunk-PO2ZDY27.js";
21
+ import "./chunk-2A3BJ262.js";
22
22
  import {
23
23
  AttemptStatus,
24
24
  PointEntryKind,
25
25
  paginate
26
- } from "./chunk-6YTSRWRB.js";
26
+ } from "./chunk-CQVKOD3B.js";
27
27
  import {
28
28
  RelayError,
29
29
  RelayErrorCode,
30
30
  RequestError,
31
31
  isRelayError,
32
32
  isRequestError
33
- } from "./chunk-IW46TW3A.js";
33
+ } from "./chunk-VNEJH4NT.js";
34
34
  export {
35
35
  AttemptStatus,
36
36
  PointEntryKind,
@@ -1,22 +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-CkidqTOk.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-r76xaAax.js';
3
- export { E as Extracted } from './limits-ByVRQePO.js';
4
- export { ar as stationRefusal } from './accounts-DnpKoJCo.js';
5
- import { b as StandardWallet, c as StandardWalletAccount } from './wallet-browser-dpmr22Xv.js';
6
- import { S as SolanaNetwork, X as SolanaSeed } from './wallet-DQtJelQQ.js';
7
- export { aD as evmWalletOn } from './wallet-DQtJelQQ.js';
8
- import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
9
- 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-CAK942sx.js';
10
- export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-FN4zg3hw.js';
11
- export { c as compatibleSettingKinds, e as dashboardIssue, i as isBoundSetting, n as normalizeDashboard } from './dashboards-DMk-vL1q.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-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';
5
+ import { StandardWallet, StandardWalletAccount } from './browser.js';
6
+ import { SolanaSeed } from './authoring.js';
7
+ import { SolanaNetwork } from './schema.js';
8
+ export { at as evmWalletOn } from './wallet-CPAjrW4k.js';
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';
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
13
  import 'zod';
13
- import './reward-deliveries-0VvT6LMj.js';
14
- import './action-9Xl0StBg.js';
15
- import './automatic-outcomes-CQ3vpiQl.js';
16
- import './deployments-BCr418BX.js';
17
- import './offers-xcPbYaEv.js';
18
- import './catalog-BLGie8Lh.js';
19
- import './attempt-captures-DMNFMYFb.js';
14
+ import './reward-deliveries-DFhYGJdx.js';
15
+ import './action-BDFKqGlH.js';
16
+ import './automatic-outcomes-DE3vfi8g.js';
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';
20
22
 
21
23
  /** The hosts a developer machine serves over plain HTTP: browser tests, `vite` dev and the local stack. */
22
24
  declare const loopbackHosts: readonly string[];
@@ -123,6 +125,18 @@ declare function littleEndianBytes(value: bigint, bits: number): Uint8Array;
123
125
  declare function solanaSeedBytes(seed: SolanaSeed, position: number): Uint8Array | "wallet" | {
124
126
  problem: string;
125
127
  };
128
+ /**
129
+ * The seeds `text` lists, in order and comma-separated, as `domino quests from-idl --seeds`,
130
+ * `domino trackers create --seeds` and Console take them: `wallet` where each wallet's address
131
+ * goes, `pubkey:<address>`, `<u8…i128>:<integer>`, `string:<text>`, or any other text for its UTF-8
132
+ * bytes; spaces around an entry are left out. Each seed is checked as `solanaSeedBytes` checks it,
133
+ * at most `maxSeeds` of them, with `wallet` at least once; otherwise the first problem.
134
+ */
135
+ declare function parseSolanaSeeds(text: string, maxSeeds: number): {
136
+ seeds: SolanaSeed[];
137
+ } | {
138
+ problem: string;
139
+ };
126
140
  /** How an on-chain IDL account compresses the IDL's JSON. */
127
141
  type IdlCompression = "none" | "gzip" | "zlib";
128
142
  /** Node's `gunzipSync` and `inflateSync`, or decompressors that take the same output limit. */
@@ -215,4 +229,5 @@ type Rules = {
215
229
  */
216
230
  declare function retrying<T>(life: Lifetime, rules: Rules, attempt: () => Promise<T>): Promise<T>;
217
231
 
218
- export { type AttemptFailure, type IdlCompression, type IdlDecompressors, type Lifetime, MANAGEMENT_TIMEOUT, anchorIdlAccountBytes, anchorIdlAddress, bareOrigin, base58, canonicalWalletAddress, checkedInteger, confirmedSignature, connectSolanaAccount, idlTooLarge, inWindow, lifetime, littleEndianBytes, loopbackHosts, maxAnchorIdlBytes, programMetadataIdlAddress, programMetadataIdlBytes, programMetadataProgram, registeredWallets, retryAfter, retrying, secureOrLoopbackOrigin, solanaAddressBytes, solanaProgramAddress, solanaPublicEndpoints, solanaRpc, solanaSeedBytes, stationPayLink, stationQrSvg, storedIdlJson, walletSignatureValid, zeroCopyAccount };
232
+ export { MANAGEMENT_TIMEOUT, anchorIdlAccountBytes, anchorIdlAddress, bareOrigin, base58, canonicalWalletAddress, checkedInteger, confirmedSignature, connectSolanaAccount, idlTooLarge, inWindow, lifetime, littleEndianBytes, loopbackHosts, maxAnchorIdlBytes, parseSolanaSeeds, programMetadataIdlAddress, programMetadataIdlBytes, programMetadataProgram, registeredWallets, retryAfter, retrying, secureOrLoopbackOrigin, solanaAddressBytes, solanaProgramAddress, solanaPublicEndpoints, solanaRpc, solanaSeedBytes, stationPayLink, stationQrSvg, storedIdlJson, walletSignatureValid, zeroCopyAccount };
233
+ export type { AttemptFailure, IdlCompression, IdlDecompressors, Lifetime };
package/dist/internal.js CHANGED
@@ -9,16 +9,16 @@ import {
9
9
  solanaPublicEndpoints,
10
10
  solanaRpc,
11
11
  walletSignatureValid
12
- } from "./chunk-TYZFVL73.js";
12
+ } from "./chunk-BRROI4CH.js";
13
13
  import {
14
14
  parseImageExtraction,
15
15
  parseImageResult
16
- } from "./chunk-EXZVWQOQ.js";
16
+ } from "./chunk-RKTMSTT7.js";
17
17
  import {
18
18
  sourceDataSchema,
19
19
  sourceRoles,
20
20
  validateQuestShape
21
- } from "./chunk-HXTKI34N.js";
21
+ } from "./chunk-AZDZEQFK.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-5AKD4ZF3.js";
41
+ } from "./chunk-UGM6DUB2.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-DNPDR4Z7.js";
49
- import "./chunk-DDJN2T5A.js";
48
+ import "./chunk-ODJGTFPY.js";
49
+ import "./chunk-DIXYVGXO.js";
50
50
  import {
51
51
  dashboardIssue,
52
52
  normalizeDashboard
53
- } from "./chunk-MEUAJIVO.js";
53
+ } from "./chunk-CZ23KRVK.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-7YSVZA7A.js";
61
+ import "./chunk-WVK3G2J2.js";
62
62
  import {
63
63
  MANAGEMENT_TIMEOUT,
64
64
  lifetime,
65
65
  retryAfter,
66
66
  retrying
67
- } from "./chunk-KKHENO57.js";
68
- import "./chunk-R3MNZKNJ.js";
69
- import "./chunk-6UBFSMCM.js";
70
- import "./chunk-55WJVFWC.js";
67
+ } from "./chunk-SWLW4VN3.js";
68
+ import "./chunk-ME2KUAVJ.js";
69
+ import "./chunk-PO2ZDY27.js";
70
+ import "./chunk-2A3BJ262.js";
71
71
  import {
72
72
  base58,
73
73
  base58Bytes,
@@ -85,8 +85,8 @@ import {
85
85
  trackerDataRecordSteps,
86
86
  whereSchemaIssue,
87
87
  whereSettings
88
- } from "./chunk-6YTSRWRB.js";
89
- import "./chunk-IW46TW3A.js";
88
+ } from "./chunk-CQVKOD3B.js";
89
+ import "./chunk-VNEJH4NT.js";
90
90
 
91
91
  // src/station-qr.ts
92
92
  function stationPayLink(url, station) {
@@ -170,6 +170,31 @@ function solanaSeedBytes(seed, position) {
170
170
  problem: `Seed ${position} must be a ${type}: a safe integer number or a decimal string${typeof checked === "object" ? ` from ${checked.min} to ${checked.max}` : ""}`
171
171
  };
172
172
  }
173
+ function parseSolanaSeeds(text, maxSeeds) {
174
+ const entries = text.split(",").map((entry) => entry.trim());
175
+ if (entries.length > maxSeeds) {
176
+ return { problem: `A Solana address takes at most ${maxSeeds} seeds` };
177
+ }
178
+ const seeds = [];
179
+ for (const [index, entry] of entries.entries()) {
180
+ const position = index + 1;
181
+ const colon = entry.indexOf(":");
182
+ const prefix = colon < 0 ? "" : entry.slice(0, colon);
183
+ const value = entry.slice(colon + 1);
184
+ const seed = entry === "wallet" ? { wallet: true } : prefix === "pubkey" ? { pubkey: value } : /^[ui](8|16|32|64|128)$/.test(prefix) ? { [prefix]: value } : prefix === "string" ? value : entry;
185
+ if (seed === "") {
186
+ return { problem: `Seed ${position} is empty` };
187
+ }
188
+ const checked = solanaSeedBytes(seed, position);
189
+ if (typeof checked === "object" && "problem" in checked) {
190
+ return checked;
191
+ }
192
+ seeds.push(seed);
193
+ }
194
+ return seeds.some((seed) => typeof seed === "object" && "wallet" in seed) ? { seeds } : {
195
+ problem: "The seeds must include wallet: Relay reads only accounts derived from a member's linked wallets"
196
+ };
197
+ }
173
198
  function storedIdlJson(bytes, compression, decompress) {
174
199
  const limit = { maxOutputLength: maxAnchorIdlBytes * 4 };
175
200
  try {
@@ -317,6 +342,7 @@ export {
317
342
  normalizeDashboard,
318
343
  parseImageExtraction,
319
344
  parseImageResult,
345
+ parseSolanaSeeds,
320
346
  participantExchangeAccountResultSchema,
321
347
  participantExchangeAccountsSchema,
322
348
  participantExchangeResultSchema,
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { ac as PhotoResult, W as AttemptCodeSource } from './accounts-DnpKoJCo.js';
2
+ import { ac as PhotoResult, W as AttemptCodeSource } from './accounts-DD4gAOCe.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
@@ -956,4 +956,5 @@ type Limits = {
956
956
  /** Relay's platform limits. A 1.x release can raise them, so read them here at run time. */
957
957
  declare const limits: Limits;
958
958
 
959
- export { type AnalyticsQuest as $, type AnalyticsMetricId as A, publishedImageSchema as B, xConnectionSchema as C, xIdSchema as D, type Extracted as E, xPostSchema as F, xProfileSchema as G, xRequestSchema as H, type ImageReader as I, xUserLookupInputSchema as J, xUserSchema as K, type Limits as L, xUsernameSchema as M, type AnalyticsQuery as N, type AnalyticsRead as O, type PublishedImage as P, type AnalyticsCatalog as Q, type AnalyticsMetricQuery as R, type AnalyticsMetricResult as S, type AnalyticsBreakdown as T, type AnalyticsBreakdownRow as U, type AnalyticsCatalogEntry as V, type AnalyticsChart as W, type XReader as X, type AnalyticsFilter as Y, type AnalyticsMetric as Z, type AnalyticsMetricKind as _, analyticsCatalog as a, type AnalyticsRange as a0, analyticsBreakdowns as a1, analyticsCatalogSchema as a2, analyticsCharts as a3, analyticsFilters as a4, analyticsMetricIds as a5, analyticsMetricQuerySchema as a6, analyticsMetricResultSchema as a7, analyticsQueryLimit as a8, analyticsQuerySchema as a9, analyticsRanges as aa, analyticsReadSchema as ab, type ImageAssetArtifact as b, type ImageComparison as c, type ImageExtraction as d, type ImageFields as e, type ImageInspection as f, type ImageReference as g, type ImageRequest as h, type ImageSightings as i, type XConnection as j, type XPost as k, limits as l, type XProfile as m, type XUser as n, type XUserLookupInput as o, imageAssetArtifactSchema as p, imageComparisonSchema as q, imageExtractionSchema as r, imageFieldSchema as s, imageFieldsSchema as t, imageInspectionSchema as u, imageReferenceSchema as v, imageRequestSchema as w, imageSightingsSchema as x, imageUploadRequestSchema as y, imageUploadsSchema as z };
959
+ export { publishedImageSchema as B, xConnectionSchema as C, xIdSchema as D, xPostSchema as F, xProfileSchema as G, xRequestSchema as H, xUserLookupInputSchema as J, xUserSchema as K, xUsernameSchema as M, analyticsCatalog as a, analyticsBreakdowns as a1, analyticsCatalogSchema as a2, analyticsCharts as a3, analyticsFilters as a4, analyticsMetricIds as a5, analyticsMetricQuerySchema as a6, analyticsMetricResultSchema as a7, analyticsQueryLimit as a8, analyticsQuerySchema as a9, analyticsRanges as aa, analyticsReadSchema as ab, limits as l, imageAssetArtifactSchema as p, imageComparisonSchema as q, imageExtractionSchema as r, imageFieldSchema as s, imageFieldsSchema as t, imageInspectionSchema as u, imageReferenceSchema as v, imageRequestSchema as w, imageSightingsSchema as x, imageUploadRequestSchema as y, imageUploadsSchema as z };
960
+ export type { AnalyticsQuest as $, AnalyticsMetricId as A, Extracted as E, ImageReader as I, Limits as L, AnalyticsQuery as N, AnalyticsRead as O, PublishedImage as P, AnalyticsCatalog as Q, AnalyticsMetricQuery as R, AnalyticsMetricResult as S, AnalyticsBreakdown as T, AnalyticsBreakdownRow as U, AnalyticsCatalogEntry as V, AnalyticsChart as W, XReader as X, AnalyticsFilter as Y, AnalyticsMetric as Z, AnalyticsMetricKind as _, AnalyticsRange as a0, ImageAssetArtifact as b, ImageComparison as c, ImageExtraction as d, ImageFields as e, ImageInspection as f, ImageReference as g, ImageRequest as h, ImageSightings as i, XConnection as j, XPost as k, XProfile as m, XUser as n, XUserLookupInput as o };
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { R as ResourceHandle } from './tracker-data-CAK942sx.js';
3
- import { _ as AuthoringIdentity } from './accounts-DnpKoJCo.js';
2
+ import { R as ResourceHandle } from './tracker-data-DQgX3FIc.js';
3
+ import { _ as AuthoringIdentity } from './accounts-DD4gAOCe.js';
4
4
 
5
5
  declare const badgePropertiesSchema: z.ZodObject<{
6
6
  name: z.ZodString;
@@ -848,4 +848,5 @@ declare function defineOffer(input: OfferAuthoring & AuthoringIdentity): {
848
848
  })[] | undefined;
849
849
  } & ResourceHandle<"offer">;
850
850
 
851
- export { offerLimitSchema as A, type Badge as B, offerPriceSchema as C, offerSchema as D, redeemOfferSchema as E, redemptionCancellationSchema as F, redemptionPageSchema as G, redemptionQuerySchema as H, redemptionSchema as I, type ManagedBadge as M, type Offer as O, type RedeemOfferInput as R, type BadgeCatalog as a, type MemberBadge as b, type MemberBadges as c, type OfferDefinition as d, type OfferPrice as e, type Redemption as f, badgeDeclarationSchema as g, type OfferAuthoring as h, type RedemptionPage as i, type RedemptionQuery as j, badgeArtifactSchema as k, badgeCatalogSchema as l, badgeMutationResultSchema as m, badgeMutationSchema as n, badgePropertiesSchema as o, badgeSchema as p, createBadgeSchema as q, defineOffer as r, managedBadgeSchema as s, memberBadgeSchema as t, memberBadgesSchema as u, offerArtifactSchema as v, offerAuthoringSchema as w, offerAvailabilitySchema as x, offerControlSchema as y, offerDefinitionSchema as z };
851
+ export { offerLimitSchema as A, offerPriceSchema as C, offerSchema as D, redeemOfferSchema as E, redemptionCancellationSchema as F, redemptionPageSchema as G, redemptionQuerySchema as H, redemptionSchema as I, badgeDeclarationSchema as g, badgeArtifactSchema as k, badgeCatalogSchema as l, badgeMutationResultSchema as m, badgeMutationSchema as n, badgePropertiesSchema as o, badgeSchema as p, createBadgeSchema as q, defineOffer as r, managedBadgeSchema as s, memberBadgeSchema as t, memberBadgesSchema as u, offerArtifactSchema as v, offerAuthoringSchema as w, offerAvailabilitySchema as x, offerControlSchema as y, offerDefinitionSchema as z };
852
+ export type { Badge as B, ManagedBadge as M, Offer as O, RedeemOfferInput as R, BadgeCatalog as a, MemberBadge as b, MemberBadges as c, OfferDefinition as d, OfferPrice as e, Redemption as f, OfferAuthoring as h, RedemptionPage as i, RedemptionQuery as j };
@@ -364,4 +364,5 @@ declare const participantActivitySchema: z.ZodObject<{
364
364
  type RelayEvent = z.infer<typeof relayEventSchema>;
365
365
  type ParticipantActivity = z.infer<typeof participantActivitySchema>;
366
366
 
367
- export { type ExchangeInput as E, type MemberSummary as M, type ParticipantActivity as P, type RelayEvent as R, type Session as S, type ParticipantPrincipal as a, type ParticipantSession as b, authScopeSchema as c, exchangeResultSchema as d, exchangeSchema as e, participantActivitySchema as f, participantPrincipalSchema as g, participantSessionSchema as h, principalSchema as i, sessionSchema as j, knownRelayEventSchema as k, memberSummarySchema as m, participantActivityQuerySchema as p, relayEventSchema as r, sessionMember as s };
367
+ export { authScopeSchema as c, exchangeResultSchema as d, exchangeSchema as e, participantActivitySchema as f, participantPrincipalSchema as g, participantSessionSchema as h, principalSchema as i, sessionSchema as j, knownRelayEventSchema as k, memberSummarySchema as m, participantActivityQuerySchema as p, relayEventSchema as r, sessionMember as s };
368
+ export type { ExchangeInput as E, MemberSummary as M, ParticipantActivity as P, RelayEvent as R, Session as S, ParticipantPrincipal as a, ParticipantSession as b };
@@ -18,6 +18,7 @@ declare const participantEntitlementsSchema: z.ZodObject<{
18
18
  fulfillment: z.ZodObject<{
19
19
  kind: z.ZodString;
20
20
  }, z.core.$loose>;
21
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
22
  }, z.core.$loose>;
22
23
  earnedTier: z.ZodString;
23
24
  tier: z.ZodString;
@@ -45,6 +46,7 @@ declare const participantEntitlementsSchema: z.ZodObject<{
45
46
  fulfillment: z.ZodObject<{
46
47
  kind: z.ZodString;
47
48
  }, z.core.$loose>;
49
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
50
  }, z.core.$loose>;
49
51
  earnedTier: z.ZodString;
50
52
  tier: z.ZodString;
@@ -79,6 +81,7 @@ declare const participantEntitlementsSchema: z.ZodObject<{
79
81
  fulfillment: z.ZodObject<{
80
82
  kind: z.ZodString;
81
83
  }, z.core.$loose>;
84
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
85
  }, z.core.$loose>;
83
86
  earnedTier: z.ZodString;
84
87
  tier: z.ZodString;
@@ -101,6 +104,7 @@ declare const participantEntitlementsSchema: z.ZodObject<{
101
104
  fulfillment: z.ZodObject<{
102
105
  kind: z.ZodString;
103
106
  }, z.core.$loose>;
107
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
108
  }, z.core.$loose>;
105
109
  earnedTier: z.ZodString;
106
110
  tier: z.ZodString;
@@ -122,6 +126,7 @@ declare const participantEntitlementsSchema: z.ZodObject<{
122
126
  fulfillment: z.ZodObject<{
123
127
  kind: z.ZodString;
124
128
  }, z.core.$loose>;
129
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
130
  }, z.core.$loose>;
126
131
  earnedTier: z.ZodString;
127
132
  tier: z.ZodString;
@@ -148,6 +153,7 @@ declare const participantEntitlementsSchema: z.ZodObject<{
148
153
  [x: string]: unknown;
149
154
  kind: string;
150
155
  };
156
+ key?: string | null | undefined;
151
157
  };
152
158
  earnedTier: string;
153
159
  tier: string;
@@ -174,6 +180,7 @@ declare const participantEntitlementsSchema: z.ZodObject<{
174
180
  [x: string]: unknown;
175
181
  kind: string;
176
182
  };
183
+ key?: string | null | undefined;
177
184
  };
178
185
  earnedTier: string;
179
186
  tier: string;
@@ -214,6 +221,7 @@ declare const participantDeliverySchema: z.ZodUnion<readonly [z.ZodDiscriminated
214
221
  fulfillment: z.ZodObject<{
215
222
  kind: z.ZodString;
216
223
  }, z.core.$loose>;
224
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
225
  }, z.core.$loose>;
218
226
  earnedTier: z.ZodString;
219
227
  tier: z.ZodString;
@@ -241,6 +249,7 @@ declare const participantDeliverySchema: z.ZodUnion<readonly [z.ZodDiscriminated
241
249
  fulfillment: z.ZodObject<{
242
250
  kind: z.ZodString;
243
251
  }, z.core.$loose>;
252
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
253
  }, z.core.$loose>;
245
254
  earnedTier: z.ZodString;
246
255
  tier: z.ZodString;
@@ -275,6 +284,7 @@ declare const participantDeliverySchema: z.ZodUnion<readonly [z.ZodDiscriminated
275
284
  fulfillment: z.ZodObject<{
276
285
  kind: z.ZodString;
277
286
  }, z.core.$loose>;
287
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
288
  }, z.core.$loose>;
279
289
  earnedTier: z.ZodString;
280
290
  tier: z.ZodString;
@@ -297,6 +307,7 @@ declare const participantDeliverySchema: z.ZodUnion<readonly [z.ZodDiscriminated
297
307
  fulfillment: z.ZodObject<{
298
308
  kind: z.ZodString;
299
309
  }, z.core.$loose>;
310
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
300
311
  }, z.core.$loose>;
301
312
  earnedTier: z.ZodString;
302
313
  tier: z.ZodString;
@@ -318,6 +329,7 @@ declare const participantDeliverySchema: z.ZodUnion<readonly [z.ZodDiscriminated
318
329
  fulfillment: z.ZodObject<{
319
330
  kind: z.ZodString;
320
331
  }, z.core.$loose>;
332
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
333
  }, z.core.$loose>;
322
334
  earnedTier: z.ZodString;
323
335
  tier: z.ZodString;
@@ -344,6 +356,7 @@ declare const participantDeliverySchema: z.ZodUnion<readonly [z.ZodDiscriminated
344
356
  [x: string]: unknown;
345
357
  kind: string;
346
358
  };
359
+ key?: string | null | undefined;
347
360
  };
348
361
  earnedTier: string;
349
362
  tier: string;
@@ -370,6 +383,7 @@ declare const participantDeliverySchema: z.ZodUnion<readonly [z.ZodDiscriminated
370
383
  [x: string]: unknown;
371
384
  kind: string;
372
385
  };
386
+ key?: string | null | undefined;
373
387
  };
374
388
  earnedTier: string;
375
389
  tier: string;
@@ -455,6 +469,7 @@ declare const participantDeliveriesSchema: z.ZodObject<{
455
469
  fulfillment: z.ZodObject<{
456
470
  kind: z.ZodString;
457
471
  }, z.core.$loose>;
472
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
458
473
  }, z.core.$loose>;
459
474
  earnedTier: z.ZodString;
460
475
  tier: z.ZodString;
@@ -482,6 +497,7 @@ declare const participantDeliveriesSchema: z.ZodObject<{
482
497
  fulfillment: z.ZodObject<{
483
498
  kind: z.ZodString;
484
499
  }, z.core.$loose>;
500
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
485
501
  }, z.core.$loose>;
486
502
  earnedTier: z.ZodString;
487
503
  tier: z.ZodString;
@@ -516,6 +532,7 @@ declare const participantDeliveriesSchema: z.ZodObject<{
516
532
  fulfillment: z.ZodObject<{
517
533
  kind: z.ZodString;
518
534
  }, z.core.$loose>;
535
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
519
536
  }, z.core.$loose>;
520
537
  earnedTier: z.ZodString;
521
538
  tier: z.ZodString;
@@ -538,6 +555,7 @@ declare const participantDeliveriesSchema: z.ZodObject<{
538
555
  fulfillment: z.ZodObject<{
539
556
  kind: z.ZodString;
540
557
  }, z.core.$loose>;
558
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
559
  }, z.core.$loose>;
542
560
  earnedTier: z.ZodString;
543
561
  tier: z.ZodString;
@@ -559,6 +577,7 @@ declare const participantDeliveriesSchema: z.ZodObject<{
559
577
  fulfillment: z.ZodObject<{
560
578
  kind: z.ZodString;
561
579
  }, z.core.$loose>;
580
+ key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
562
581
  }, z.core.$loose>;
563
582
  earnedTier: z.ZodString;
564
583
  tier: z.ZodString;
@@ -585,6 +604,7 @@ declare const participantDeliveriesSchema: z.ZodObject<{
585
604
  [x: string]: unknown;
586
605
  kind: string;
587
606
  };
607
+ key?: string | null | undefined;
588
608
  };
589
609
  earnedTier: string;
590
610
  tier: string;
@@ -611,6 +631,7 @@ declare const participantDeliveriesSchema: z.ZodObject<{
611
631
  [x: string]: unknown;
612
632
  kind: string;
613
633
  };
634
+ key?: string | null | undefined;
614
635
  };
615
636
  earnedTier: string;
616
637
  tier: string;
@@ -665,4 +686,5 @@ declare const participantDeliveriesSchema: z.ZodObject<{
665
686
  }, z.core.$strip>;
666
687
  type ParticipantDelivery = z.infer<typeof participantDeliverySchema>;
667
688
 
668
- export { type ParticipantDelivery as P, participantDeliverySchema as a, participantEntitlementsSchema as b, participantDeliveriesSchema as p };
689
+ export { participantDeliverySchema as a, participantEntitlementsSchema as b, participantDeliveriesSchema as p };
690
+ export type { ParticipantDelivery as P };
@@ -1,7 +1,9 @@
1
- import { M as MemberImportVouchedAccount, P as ParticipantExchangeAccountResult, a as ParticipantExchangeResult, I as IdentityIntegrationKey } from './identity-integration-r76xaAax.js';
2
- import { R as RequestError } from './request-error-D_dUPLwo.js';
3
- import './tracker-data-CAK942sx.js';
1
+ import { ParticipantExchangeAccountResult, ParticipantExchangeResult, IdentityIntegrationKey } from './internal.js';
2
+ import { MemberImportVouchedAccount } from './server/index.js';
3
+ import { RequestError } from './index.js';
4
+ import './tracker-data-DQgX3FIc.js';
4
5
  import 'zod';
6
+ import './wallet-CPAjrW4k.js';
5
7
 
6
8
  /**
7
9
  * Server-only proxy: browser cookies stay on the participant origin.
@@ -135,4 +137,5 @@ declare function signedInMember(request: Request, env: HostedAppEnv, options: {
135
137
  fetch?: typeof fetch;
136
138
  }): Promise<string | null>;
137
139
 
138
- export { type HostedAppEnv, ParticipantExchangeError, createParticipantBackend, exchangeParticipant, handleHostedApp, hostedAppRequest, inspectIntegrationKey, isParticipantExchangeError, proxyParticipant, signedInMember };
140
+ export { ParticipantExchangeError, createParticipantBackend, exchangeParticipant, handleHostedApp, hostedAppRequest, inspectIntegrationKey, isParticipantExchangeError, proxyParticipant, signedInMember };
141
+ export type { HostedAppEnv };
@@ -3,29 +3,29 @@ import {
3
3
  participantExchangeAccountsSchema,
4
4
  participantExchangeResultSchema,
5
5
  secureOrLoopbackOrigin
6
- } from "./chunk-5AKD4ZF3.js";
6
+ } from "./chunk-UGM6DUB2.js";
7
7
  import {
8
8
  isParticipantRoute
9
9
  } from "./chunk-LZXDYSUH.js";
10
- import "./chunk-DNPDR4Z7.js";
11
- import "./chunk-DDJN2T5A.js";
12
- import "./chunk-MEUAJIVO.js";
10
+ import "./chunk-ODJGTFPY.js";
11
+ import "./chunk-DIXYVGXO.js";
12
+ import "./chunk-CZ23KRVK.js";
13
13
  import "./chunk-MWMCQLCG.js";
14
14
  import {
15
15
  clientIdentity,
16
16
  retryAfter
17
- } from "./chunk-KKHENO57.js";
18
- import "./chunk-R3MNZKNJ.js";
17
+ } from "./chunk-SWLW4VN3.js";
18
+ import "./chunk-ME2KUAVJ.js";
19
19
  import {
20
20
  participantPrincipalSchema,
21
21
  sessionMember
22
- } from "./chunk-6UBFSMCM.js";
23
- import "./chunk-55WJVFWC.js";
24
- import "./chunk-6YTSRWRB.js";
22
+ } from "./chunk-PO2ZDY27.js";
23
+ import "./chunk-2A3BJ262.js";
24
+ import "./chunk-CQVKOD3B.js";
25
25
  import {
26
26
  RequestError,
27
27
  isRequestError
28
- } from "./chunk-IW46TW3A.js";
28
+ } from "./chunk-VNEJH4NT.js";
29
29
 
30
30
  // src/portal-proxy.ts
31
31
  import * as z from "zod";
@@ -302,13 +302,9 @@ function onlyCookie(header, name) {
302
302
  return values.length === 1 ? values[0].slice(name.length + 1) : null;
303
303
  }
304
304
  function oauthReturnBinding(header) {
305
- for (const name of ["__Host-relay_auth_return", "relay_auth_return"]) {
306
- if (header?.split(";").some((value) => value.trim().startsWith(name + "="))) {
307
- const value = onlyCookie(header, name);
308
- return value === null ? null : `${name}=${value}`;
309
- }
310
- }
311
- return null;
305
+ const name = "__Host-relay_auth_return";
306
+ const value = onlyCookie(header, name);
307
+ return value === null ? null : `${name}=${value}`;
312
308
  }
313
309
  function hostedAppRequest(request, env) {
314
310
  if (!env.DOMINO_PREVIEW_ORIGIN) {