@domino-sdk/relay 1.67.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 (81) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/dist/{accounts-C2O8mpB8.d.ts → accounts-DD4gAOCe.d.ts} +232 -3
  3. package/dist/{action-9Xl0StBg.d.ts → action-BDFKqGlH.d.ts} +3 -2
  4. package/dist/{attempt-captures-ClHAoo_n.d.ts → attempt-captures-CbuCmthd.d.ts} +11 -2
  5. package/dist/authoring.d.ts +534 -48
  6. package/dist/authoring.js +192 -29
  7. package/dist/{automatic-outcomes-BEnPn4Uh.d.ts → automatic-outcomes-DE3vfi8g.d.ts} +11 -3
  8. package/dist/avatar.d.ts +2 -1
  9. package/dist/browser.d.ts +15 -13
  10. package/dist/browser.js +12 -13
  11. package/dist/{capability-error-CuI_F7yM.d.ts → capability-error-db7kO8-P.d.ts} +2 -1
  12. package/dist/{catalog-CbiftcxQ.d.ts → catalog-Cf3fHDNn.d.ts} +69 -3
  13. package/dist/{chunk-5DZNMLDM.js → chunk-2A3BJ262.js} +2 -2
  14. package/dist/{chunk-BQXRCJ3N.js → chunk-5RLIPTL7.js} +1 -1
  15. package/dist/{chunk-MVQQDPQX.js → chunk-AZDZEQFK.js} +14 -2
  16. package/dist/{chunk-JK3XV2CR.js → chunk-BRROI4CH.js} +50 -8
  17. package/dist/{chunk-P33ZAJMS.js → chunk-CQVKOD3B.js} +1266 -677
  18. package/dist/{chunk-QYC3CZVD.js → chunk-CZ23KRVK.js} +2 -2
  19. package/dist/{chunk-X3FMVRMM.js → chunk-DIXYVGXO.js} +1 -1
  20. package/dist/{chunk-RDUSFUXX.js → chunk-GEVARKEV.js} +9 -1
  21. package/dist/{chunk-2HHZV7U3.js → chunk-LDO5GP7G.js} +1 -1
  22. package/dist/{chunk-Z2Z5DBNW.js → chunk-LGGD7S5T.js} +45 -9
  23. package/dist/{chunk-U66GUVSG.js → chunk-LZXDYSUH.js} +2 -0
  24. package/dist/{chunk-NRMQVK2W.js → chunk-ME2KUAVJ.js} +1 -1
  25. package/dist/{chunk-KUNPCDN6.js → chunk-ODJGTFPY.js} +16 -9
  26. package/dist/{chunk-DSJ46QLB.js → chunk-PO2ZDY27.js} +1 -1
  27. package/dist/{chunk-RWR2LOPA.js → chunk-RKTMSTT7.js} +2 -2
  28. package/dist/{chunk-5SBA6X5X.js → chunk-SWLW4VN3.js} +2 -2
  29. package/dist/{chunk-BMJHFWVT.js → chunk-TCREFRPK.js} +10 -43
  30. package/dist/{chunk-Q5QVAF7R.js → chunk-UGM6DUB2.js} +42 -25
  31. package/dist/chunk-VAGGGB6B.js +87 -0
  32. package/dist/{chunk-FGXLXENM.js → chunk-VNEJH4NT.js} +47 -3
  33. package/dist/chunk-WNEQEDMU.js +427 -0
  34. package/dist/{chunk-Q6KTTVOI.js → chunk-WVK3G2J2.js} +1 -1
  35. package/dist/{client-CZPewB9h.d.ts → client-6eSYOl8h.d.ts} +159 -11
  36. package/dist/{dashboards-jGPM3AxF.d.ts → dashboards-DCOAXL54.d.ts} +6 -5
  37. package/dist/{deployments-BVFd7ddA.d.ts → deployments-BIfdCMd5.d.ts} +911 -309
  38. package/dist/{host-environment-FN4zg3hw.d.ts → host-environment-DUw5-Cvj.d.ts} +2 -1
  39. package/dist/{identity-integration-W1Vo3Ql9.d.ts → identity-integration-BlfOn8rc.d.ts} +3 -2
  40. package/dist/index.d.ts +16 -15
  41. package/dist/index.js +10 -10
  42. package/dist/internal.d.ts +155 -17
  43. package/dist/internal.js +266 -19
  44. package/dist/{limits-C4RzrOV4.d.ts → limits-Ctaeq23J.d.ts} +8 -2
  45. package/dist/{offers-BpYenB9i.d.ts → offers-COqHGbHm.d.ts} +4 -3
  46. package/dist/{participant-activity-DXRq4s6K.d.ts → participant-activity-BznrcePT.d.ts} +2 -1
  47. package/dist/{participant-rewards-BcWkBRn_.d.ts → participant-rewards-s5Gn23qb.d.ts} +23 -1
  48. package/dist/portal-proxy.d.ts +7 -4
  49. package/dist/portal-proxy.js +14 -18
  50. package/dist/profiles-CLDKZVFx.d.ts +370 -0
  51. package/dist/react/index.d.ts +71 -30
  52. package/dist/react/index.js +12 -13
  53. package/dist/{request-error-D_dUPLwo.d.ts → request-error-C24SY7n9.d.ts} +2 -1
  54. package/dist/{reward-deliveries-BOWpMytr.d.ts → reward-deliveries-DFhYGJdx.d.ts} +3 -2
  55. package/dist/runtime/authoring.js +1 -1
  56. package/dist/runtime/chunks/HKAI5OQA.js +1 -0
  57. package/dist/runtime/manifest.json +3 -3
  58. package/dist/runtime/schema.js +1 -1
  59. package/dist/schema.d.ts +556 -180
  60. package/dist/schema.js +70 -8
  61. package/dist/server/index.d.ts +15 -14
  62. package/dist/server/index.js +2053 -893
  63. package/dist/{sign-in-providers-BRYVOSlG.d.ts → sign-in-providers-C97mRNbG.d.ts} +4 -3
  64. package/dist/solana.d.ts +287 -0
  65. package/dist/solana.js +699 -0
  66. package/dist/{streaks-0YuipsUQ.d.ts → streaks-MAqKHbHC.d.ts} +2 -1
  67. package/dist/{submission-input-C152xIdn.d.ts → submission-input-BD7nORuh.d.ts} +4 -3
  68. package/dist/{telegram-browser-657QqiQl.d.ts → telegram-browser-gRMgGs7B.d.ts} +8 -109
  69. package/dist/telegram.d.ts +14 -12
  70. package/dist/telegram.js +2 -2
  71. package/dist/testing.d.ts +99 -18
  72. package/dist/testing.js +101 -11
  73. package/dist/{tracker-data-BqY-9Vu-.d.ts → tracker-data-DQgX3FIc.d.ts} +493 -1
  74. package/dist/{transport-CthYgZXK.d.ts → transport-BLU8jrhg.d.ts} +7340 -2134
  75. package/dist/vite.d.ts +2 -1
  76. package/dist/{wallet-Btng186v.d.ts → wallet-CPAjrW4k.d.ts} +339 -308
  77. package/dist/wallet-browser-BzPt_Qb5.d.ts +107 -0
  78. package/package.json +21 -3
  79. package/dist/chunk-UWUS4OOV.js +0 -59
  80. package/dist/chunk-UYVJZR33.js +0 -34
  81. package/dist/runtime/chunks/C2MGLQXC.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-BqY-9Vu-.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-BpYenB9i.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-CZPewB9h.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-C2O8mpB8.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-BOWpMytr.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-C152xIdn.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-CbiftcxQ.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-BEnPn4Uh.js';
12
- export { K as KnownSkipEnrollment, a as KnownTrackerSkipCode, S as SkipEnrollment, T as TrackerSkipCode } from './tracker-data-BqY-9Vu-.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 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-Btng186v.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-BRYVOSlG.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-Z2Z5DBNW.js";
8
+ } from "./chunk-LGGD7S5T.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-BQXRCJ3N.js";
12
- import "./chunk-2HHZV7U3.js";
13
- import "./chunk-Q6KTTVOI.js";
14
- import "./chunk-5SBA6X5X.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-NRMQVK2W.js";
17
+ } from "./chunk-ME2KUAVJ.js";
18
18
  import {
19
19
  sessionMember
20
- } from "./chunk-DSJ46QLB.js";
21
- import "./chunk-5DZNMLDM.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-P33ZAJMS.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-FGXLXENM.js";
33
+ } from "./chunk-VNEJH4NT.js";
34
34
  export {
35
35
  AttemptStatus,
36
36
  PointEntryKind,
@@ -1,20 +1,24 @@
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-CthYgZXK.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-W1Vo3Ql9.js';
3
- export { E as Extracted } from './limits-C4RzrOV4.js';
4
- export { p as evmWalletOn } from './wallet-Btng186v.js';
5
- import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
6
- 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-BqY-9Vu-.js';
7
- export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-FN4zg3hw.js';
8
- export { c as compatibleSettingKinds, d as dashboardIssue, i as isBoundSetting, n as normalizeDashboard } from './dashboards-jGPM3AxF.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';
9
13
  import 'zod';
10
- import './accounts-C2O8mpB8.js';
11
- import './reward-deliveries-BOWpMytr.js';
12
- import './action-9Xl0StBg.js';
13
- import './automatic-outcomes-BEnPn4Uh.js';
14
- import './deployments-BVFd7ddA.js';
15
- import './offers-BpYenB9i.js';
16
- import './catalog-CbiftcxQ.js';
17
- import './attempt-captures-ClHAoo_n.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';
18
22
 
19
23
  /** The hosts a developer machine serves over plain HTTP: browser tests, `vite` dev and the local stack. */
20
24
  declare const loopbackHosts: readonly string[];
@@ -47,6 +51,139 @@ declare function walletSignatureValid(input: {
47
51
  signature: string;
48
52
  }): Promise<boolean>;
49
53
 
54
+ /**
55
+ * The Solana Pay link a station's QR code encodes: `solana:` and the URL-encoded app URL that
56
+ * serves the quest with `defineStationAction`, with `?station=<key>` added.
57
+ */
58
+ declare function stationPayLink(url: string | URL, station: string): string;
59
+ /**
60
+ * An SVG of `link`'s QR code, black modules on white with the four-module quiet zone scanners
61
+ * need, and `label` centred under it.
62
+ */
63
+ declare function stationQrSvg(link: string, label: string): Promise<string>;
64
+
65
+ type Window = {
66
+ from?: number;
67
+ until?: number;
68
+ };
69
+ /** Whether `time` falls in the window: `from <= time < until`, with a missing bound open. */
70
+ declare const inWindow: (window: Window, time: number) => boolean;
71
+
72
+ /** Base58 (Bitcoin alphabet), the encoding Solana uses for addresses and signatures. */
73
+ declare function base58(bytes: Uint8Array): string;
74
+
75
+ /**
76
+ * The Wallet Standard wallets registered with `target`, the page's window: wallets loaded before
77
+ * this call answer `wallet-standard:app-ready`, and wallets loading during it dispatch
78
+ * `wallet-standard:register-wallet`.
79
+ */
80
+ declare function registeredWallets(target: EventTarget): StandardWallet[];
81
+ /**
82
+ * Connects a Wallet Standard wallet and returns the account it shares on Solana, or its first
83
+ * account. Throws when the wallet lacks `standard:connect` or shares no account.
84
+ */
85
+ declare function connectSolanaAccount(wallet: StandardWallet): Promise<StandardWalletAccount>;
86
+
87
+ /** Each cluster's public JSON-RPC endpoint, which Console sends payout batches through. */
88
+ declare const solanaPublicEndpoints: Record<SolanaNetwork, string>;
89
+ /** Calls `method` on a Solana JSON-RPC endpoint; a node's error rejects with its message. */
90
+ declare function solanaRpc<T>(url: string, method: string, params: unknown[]): Promise<T>;
91
+ /**
92
+ * Waits until `signature` is confirmed through `url`. Resolves false when it failed, or when the
93
+ * cluster passed `lastValidBlockHeight` without it.
94
+ */
95
+ declare function confirmedSignature(url: string, signature: string, lastValidBlockHeight: number): Promise<boolean>;
96
+
97
+ /** The largest program IDL Relay stores, as JSON. */
98
+ declare const maxAnchorIdlBytes: number;
99
+ /** Whether `idl`, as minified JSON, is larger than Relay stores. */
100
+ declare const idlTooLarge: (idl: unknown) => boolean;
101
+ /**
102
+ * Whether an IDL account type is zero-copy, which Relay doesn't decode: only a 0.30+ IDL marks
103
+ * one, with a `serialization` other than `borsh` on the account or on the type of its name.
104
+ */
105
+ declare const zeroCopyAccount: (account: {
106
+ serialization?: unknown;
107
+ }, declared?: {
108
+ serialization?: unknown;
109
+ }) => boolean;
110
+ /**
111
+ * `value` as an integer of `bits` bits, or why it is not one: not a safe integer number or decimal
112
+ * string, or out of the type's range.
113
+ */
114
+ declare function checkedInteger(value: unknown, signed: boolean, bits: number): bigint | "not-an-integer" | {
115
+ min: bigint;
116
+ max: bigint;
117
+ };
118
+ /** `value` as `bits / 8` little-endian bytes, two's complement when negative, as `to_le_bytes()`. */
119
+ declare function littleEndianBytes(value: bigint, bits: number): Uint8Array;
120
+ /**
121
+ * A program-account seed's bytes, `"wallet"` where each wallet's address goes, or why the seed
122
+ * doesn't fit: text over 32 bytes, no Solana address, or an integer out of its type's range.
123
+ * Relay's program-account reader and `domino quests from-idl --account` check seeds alike.
124
+ */
125
+ declare function solanaSeedBytes(seed: SolanaSeed, position: number): Uint8Array | "wallet" | {
126
+ problem: string;
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
+ };
140
+ /** How an on-chain IDL account compresses the IDL's JSON. */
141
+ type IdlCompression = "none" | "gzip" | "zlib";
142
+ /** Node's `gunzipSync` and `inflateSync`, or decompressors that take the same output limit. */
143
+ type IdlDecompressors = Record<"gunzip" | "inflate", (bytes: Uint8Array, options: {
144
+ maxOutputLength: number;
145
+ }) => Uint8Array>;
146
+ /**
147
+ * The JSON value `bytes` hold, decompressed and parsed as UTF-8, or null when they hold none:
148
+ * corrupt data, data that decompresses past four times the stored limit, or text that is not JSON.
149
+ */
150
+ declare function storedIdlJson(bytes: Uint8Array, compression: IdlCompression, decompress: IdlDecompressors): unknown;
151
+ /** The 32 bytes of a base58 Solana address; throws for anything else. */
152
+ declare function solanaAddressBytes(address: string): Uint8Array;
153
+ /** Solana's `find_program_address`: the first off-curve address from bump seed 255 down. */
154
+ declare function solanaProgramAddress(seeds: Uint8Array[], program: string): string;
155
+ /**
156
+ * The address of `program`'s Anchor IDL account: `create_with_seed` from the program's signer
157
+ * address (`find_program_address([], program)`) with seed `"anchor:idl"`, owned by the program.
158
+ */
159
+ declare function anchorIdlAddress(program: string): string;
160
+ /**
161
+ * The zlib-compressed IDL JSON in an Anchor IDL account's data: an 8-byte discriminator, the 32-byte
162
+ * authority, a u32 length, then that many bytes. Null when the data holds none.
163
+ */
164
+ declare function anchorIdlAccountBytes(data: Uint8Array): Uint8Array | null;
165
+ /** The Program Metadata Program, where Anchor 1.0 and later and Codama publish a program's IDL. */
166
+ declare const programMetadataProgram = "ProgM6JCCvbYkfKqJYHePx4xxSUSqJp7rh8Lyv7nk7S";
167
+ /**
168
+ * The address of `program`'s canonical IDL metadata account, the one its upgrade authority wrote:
169
+ * `find_program_address([program, "idl" padded to 16 bytes], ProgM6…)`. A third party's metadata
170
+ * account for the program also derives from its authority, and is not read.
171
+ */
172
+ declare function programMetadataIdlAddress(program: string): string;
173
+ /**
174
+ * The IDL bytes in a canonical Program Metadata `idl` account's data, and how they are compressed.
175
+ * The 96-byte header holds the discriminator, the program, the authority, the mutable and canonical
176
+ * flags, the seed, the data's encoding, compression, format and source, then a u32 data length at
177
+ * byte 87. Only data stored in the account itself, as UTF-8 JSON, is read: Anchor writes it that
178
+ * way, and a URL or another account as the source would let the IDL change without the account
179
+ * changing. A format of none reads as JSON too, as Codama's own IDL and some Anchor ones are
180
+ * written. Null when the account holds no IDL for `program` this way.
181
+ */
182
+ declare function programMetadataIdlBytes(data: Uint8Array, program: string): {
183
+ bytes: Uint8Array;
184
+ compression: IdlCompression;
185
+ } | null;
186
+
50
187
  /** The management client's and the CLI's default deadline per call. */
51
188
  declare const MANAGEMENT_TIMEOUT = 30000;
52
189
  /** One call's deadline and the caller's signal, shared by every attempt and the body read. */
@@ -92,4 +229,5 @@ type Rules = {
92
229
  */
93
230
  declare function retrying<T>(life: Lifetime, rules: Rules, attempt: () => Promise<T>): Promise<T>;
94
231
 
95
- export { type AttemptFailure, type Lifetime, MANAGEMENT_TIMEOUT, bareOrigin, canonicalWalletAddress, lifetime, loopbackHosts, retryAfter, retrying, secureOrLoopbackOrigin, walletSignatureValid };
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 };