@domino-sdk/relay 1.63.0 → 1.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/{accounts-nz3mzfRQ.d.ts → accounts-_lNsiR2k.d.ts} +22 -2
  3. package/dist/{attempt-captures-DMi8oR9T.d.ts → attempt-captures-BqPggxTU.d.ts} +1 -1
  4. package/dist/authoring.d.ts +11 -11
  5. package/dist/authoring.js +15 -20
  6. package/dist/{automatic-outcomes-C_LLQU1p.d.ts → automatic-outcomes-BzAvfcpd.d.ts} +2 -2
  7. package/dist/browser.d.ts +9 -9
  8. package/dist/browser.js +11 -14
  9. package/dist/{catalog-BaTOKpNw.d.ts → catalog-ByZMRS7I.d.ts} +1 -1
  10. package/dist/{chunk-VWQGWGCH.js → chunk-4NIV4NPV.js} +1 -1
  11. package/dist/{chunk-ICXZZNPS.js → chunk-7H4MRVQF.js} +1 -1
  12. package/dist/{chunk-NQDEWJWE.js → chunk-CVQZ2YP7.js} +6 -232
  13. package/dist/{chunk-3RFP6GT5.js → chunk-DLABJSBO.js} +2 -2
  14. package/dist/{chunk-AQOL3SK5.js → chunk-E22XSC4L.js} +1 -1
  15. package/dist/{chunk-N4LNEGQX.js → chunk-EDNKKVGU.js} +2 -2
  16. package/dist/{chunk-GLH6MEI2.js → chunk-EOUEAOWJ.js} +28 -2
  17. package/dist/{chunk-MTKRIQEU.js → chunk-EUEW2APU.js} +1 -1
  18. package/dist/{chunk-ID3BZXFZ.js → chunk-HNR6G3GV.js} +1939 -1211
  19. package/dist/{chunk-5XLZ34PV.js → chunk-KCUUHT2V.js} +3 -3
  20. package/dist/{chunk-EHUSD3O2.js → chunk-MPTE7EIV.js} +2 -4
  21. package/dist/{chunk-QR6HH4DI.js → chunk-NG4GZ54I.js} +4 -4
  22. package/dist/chunk-R2KZFX6E.js +405 -0
  23. package/dist/{chunk-4GQW43UU.js → chunk-RD3XJ4DH.js} +26 -30
  24. package/dist/{chunk-7Z4SZ6YM.js → chunk-SE7XHQFP.js} +1 -1
  25. package/dist/{chunk-LZWXCBUB.js → chunk-VBYOAT46.js} +41 -45
  26. package/dist/{chunk-7X67QLPB.js → chunk-XVZ4YOF2.js} +1 -1
  27. package/dist/{chunk-FU5CGNTR.js → chunk-ZQ3IPCI6.js} +44 -5
  28. package/dist/chunk-ZXGBDLVB.js +1510 -0
  29. package/dist/{client-DHmG7rn6.d.ts → client-D7IiwEq2.d.ts} +12 -7
  30. package/dist/{dashboards-CLemT6kj.d.ts → dashboards-pVfclkyh.d.ts} +2 -2
  31. package/dist/{deployments-DTULi7dF.d.ts → deployments-Cr1tfqrr.d.ts} +2 -2
  32. package/dist/{identity-integration-DOeNZaxF.d.ts → identity-integration-Ci2vGKtX.d.ts} +37 -2
  33. package/dist/index.d.ts +10 -10
  34. package/dist/index.js +11 -15
  35. package/dist/internal.d.ts +12 -12
  36. package/dist/internal.js +21 -16
  37. package/dist/{limits-kNzYdZ00.d.ts → limits-pE04y9O2.d.ts} +8 -1
  38. package/dist/{offers-CYeN_I0Y.d.ts → offers-Hw2P6tcK.d.ts} +2 -2
  39. package/dist/{participant-activity-D-Drp24G.d.ts → participant-activity-DXRq4s6K.d.ts} +1 -0
  40. package/dist/portal-proxy.d.ts +4 -2
  41. package/dist/portal-proxy.js +13 -5
  42. package/dist/react/index.d.ts +20 -13
  43. package/dist/react/index.js +11 -14
  44. package/dist/{reward-deliveries-drp-x1G-.d.ts → reward-deliveries-BCV8hznc.d.ts} +1 -1
  45. package/dist/runtime/authoring.js +1 -1
  46. package/dist/runtime/chunks/6EBN6IZU.js +1 -0
  47. package/dist/runtime/manifest.json +3 -3
  48. package/dist/runtime/schema.js +1 -1
  49. package/dist/schema.d.ts +19 -16
  50. package/dist/schema.js +109 -112
  51. package/dist/server/index.d.ts +11 -11
  52. package/dist/server/index.js +775 -1037
  53. package/dist/{sign-in-providers-B1Q9eDRm.d.ts → sign-in-providers-BAkGjSXo.d.ts} +2 -2
  54. package/dist/{submission-input-DZCbjQUH.d.ts → submission-input-ChL1aYNH.d.ts} +2 -2
  55. package/dist/{telegram-browser-NL0Asmsi.d.ts → telegram-browser-K27t4TwM.d.ts} +4 -4
  56. package/dist/telegram.d.ts +8 -8
  57. package/dist/telegram.js +2 -2
  58. package/dist/testing.d.ts +10 -10
  59. package/dist/testing.js +19 -23
  60. package/dist/{tracker-data-esm3WG8R.d.ts → tracker-data-Bl-qPIvZ.d.ts} +3 -1
  61. package/dist/{transport-Czht_irp.d.ts → transport-DC1m73Tp.d.ts} +1065 -14
  62. package/package.json +1 -1
  63. package/dist/chunk-4NOFSGAL.js +0 -320
  64. package/dist/chunk-FO2LCZTL.js +0 -19
  65. package/dist/chunk-KP2MCX3R.js +0 -587
  66. package/dist/chunk-N4BDKS6Y.js +0 -87
  67. package/dist/chunk-TLSQETTY.js +0 -41
  68. package/dist/chunk-W7YSMSGC.js +0 -725
  69. package/dist/runtime/chunks/UGDV5W4N.js +0 -1
@@ -1,6 +1,6 @@
1
- import { J as SignInProvider } from './accounts-nz3mzfRQ.js';
1
+ import { J as SignInProvider } from './accounts-_lNsiR2k.js';
2
2
  import * as z from 'zod';
3
- import { a as TelegramSignInMethods } from './submission-input-DZCbjQUH.js';
3
+ import { a as TelegramSignInMethods } from './submission-input-ChL1aYNH.js';
4
4
 
5
5
  /**
6
6
  * `GET /v1/auth/providers`, as `relay.auth.providers()` reads it. Exported as a schema only, for the
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { L as LedgerReference, Q as QuestHandle } from './tracker-data-esm3WG8R.js';
3
- import { B as ProjectGroupReference } from './accounts-nz3mzfRQ.js';
2
+ import { L as LedgerReference, Q as QuestHandle } from './tracker-data-Bl-qPIvZ.js';
3
+ import { B as ProjectGroupReference } from './accounts-_lNsiR2k.js';
4
4
 
5
5
  declare const completionPrerequisiteSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6
6
  kind: z.ZodLiteral<"completion">;
@@ -1,7 +1,7 @@
1
- import { c as AuthProvider, J as SignInProvider } from './accounts-nz3mzfRQ.js';
2
- import { p as createRelayClient, k as RelayRequestOptions, g as RelayError } from './client-DHmG7rn6.js';
3
- import { a as TelegramSignInMethods } from './submission-input-DZCbjQUH.js';
4
- import { b as ParticipantSession } from './participant-activity-D-Drp24G.js';
1
+ import { c as AuthProvider, J as SignInProvider } from './accounts-_lNsiR2k.js';
2
+ import { p as createRelayClient, k as RelayRequestOptions, g as RelayError } from './client-D7IiwEq2.js';
3
+ import { a as TelegramSignInMethods } from './submission-input-ChL1aYNH.js';
4
+ import { b as ParticipantSession } from './participant-activity-DXRq4s6K.js';
5
5
  import { C as CosmosChain, a as CosmosNetwork, m as WalletSigner, k as WalletSignInNetwork } from './wallet-B7e06v4m.js';
6
6
 
7
7
  /** An EIP-1193 provider, such as `window.ethereum` or an EIP-6963 announcement's provider. */
@@ -1,15 +1,15 @@
1
- import { k as RelayRequestOptions, R as RelayClient } from './client-DHmG7rn6.js';
2
- import { b as ParticipantSession } from './participant-activity-D-Drp24G.js';
3
- import './accounts-nz3mzfRQ.js';
1
+ import { k as RelayRequestOptions, R as RelayClient } from './client-D7IiwEq2.js';
2
+ import { b as ParticipantSession } from './participant-activity-DXRq4s6K.js';
3
+ import './accounts-_lNsiR2k.js';
4
4
  import 'zod';
5
- import './tracker-data-esm3WG8R.js';
5
+ import './tracker-data-Bl-qPIvZ.js';
6
6
  import './wallet-B7e06v4m.js';
7
- import './submission-input-DZCbjQUH.js';
7
+ import './submission-input-ChL1aYNH.js';
8
8
  import './request-error-D_dUPLwo.js';
9
- import './reward-deliveries-drp-x1G-.js';
10
- import './catalog-BaTOKpNw.js';
9
+ import './reward-deliveries-BCV8hznc.js';
10
+ import './catalog-ByZMRS7I.js';
11
11
  import './action-9Xl0StBg.js';
12
- import './sign-in-providers-B1Q9eDRm.js';
12
+ import './sign-in-providers-BAkGjSXo.js';
13
13
 
14
14
  /**
15
15
  * A plugin's own sign-in method, such as Telegram's Mini App sign-in: the app passes the vendor's
package/dist/telegram.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  } from "./chunk-FWLQ5XCS.js";
4
4
  import {
5
5
  withPluginNamespace
6
- } from "./chunk-MTKRIQEU.js";
7
- import "./chunk-GLH6MEI2.js";
6
+ } from "./chunk-EUEW2APU.js";
7
+ import "./chunk-EOUEAOWJ.js";
8
8
 
9
9
  // src/plugins/telegram.generated.ts
10
10
  function withTelegram(relay) {
package/dist/testing.d.ts CHANGED
@@ -1,19 +1,19 @@
1
- import { d3 as pointBalanceSchema, bD as discordMemberSchema, bG as discordMessageSchema, cZ as photoResultSchema, a8 as TextReviewInput, H as Reward, ac as Decision, P as PointBalance, y as PointLedgerReference, u as PointEntry, o as LeaderboardPage } from './accounts-nz3mzfRQ.js';
1
+ import { d5 as pointBalanceSchema, bD as discordMemberSchema, bG as discordMessageSchema, c$ as photoResultSchema, a8 as TextReviewInput, H as Reward, ac as Decision, P as PointBalance, y as PointLedgerReference, u as PointEntry, o as LeaderboardPage } from './accounts-_lNsiR2k.js';
2
2
  import * as z from 'zod';
3
3
  import { N as NftCollection, aO as profileReferralSchema, aE as linkedWalletSchema, aY as walletBalanceSchema, b2 as walletNftsSchema, M as WalletCallArgument, aZ as walletCallSchema, a$ as walletDelegationsSchema, U as WalletEventCondition, b0 as walletEventsSchema, b7 as walletTransactionsSchema, v as WalletReader } from './wallet-B7e06v4m.js';
4
4
  import { f as CapabilityFailure, q as memberCompletionSchema } from './capability-error-CuI_F7yM.js';
5
5
  export { C as CapabilityError } from './capability-error-CuI_F7yM.js';
6
- import { C as xConnectionSchema, G as xProfileSchema, F as xPostSchema, g as ImageReference, u as imageInspectionSchema, q as imageComparisonSchema, x as imageSightingsSchema } from './limits-kNzYdZ00.js';
7
- export { L as Limits, l as limits } from './limits-kNzYdZ00.js';
8
- import { aM as memberIdentitySchema, bf as trackerQuerySchema, ba as trackerPageSchema, bo as trackerSummarySchema, ac as TrackerContentQuery, aX as trackerContentSchema, a8 as TrackerAttribution, o as Tracker, p as TrackerData, H as ContentBody, B as TrackerTriggerContext, U as TrackerPage } from './tracker-data-esm3WG8R.js';
9
- import { C as telegramConnectionSchema, y as telegramChatMemberSchema, e as TelegramReader } from './submission-input-DZCbjQUH.js';
6
+ import { C as xConnectionSchema, G as xProfileSchema, F as xPostSchema, g as ImageReference, u as imageInspectionSchema, q as imageComparisonSchema, x as imageSightingsSchema } from './limits-pE04y9O2.js';
7
+ export { L as Limits, l as limits } from './limits-pE04y9O2.js';
8
+ import { aM as memberIdentitySchema, bf as trackerQuerySchema, ba as trackerPageSchema, bo as trackerSummarySchema, ac as TrackerContentQuery, aX as trackerContentSchema, a8 as TrackerAttribution, o as Tracker, p as TrackerData, H as ContentBody, B as TrackerTriggerContext, U as TrackerPage } from './tracker-data-Bl-qPIvZ.js';
9
+ import { C as telegramConnectionSchema, y as telegramChatMemberSchema, e as TelegramReader } from './submission-input-ChL1aYNH.js';
10
10
  import { EvaluationMember } from './authoring.js';
11
- export { A as AttemptCapture, C as CapturedFact } from './attempt-captures-DMi8oR9T.js';
12
- import { b as ParticipantSession, R as RelayEvent } from './participant-activity-D-Drp24G.js';
13
- import { B as Badge } from './offers-CYeN_I0Y.js';
14
- import { b as QuestView, q as questExperienceSchema } from './catalog-BaTOKpNw.js';
11
+ export { A as AttemptCapture, C as CapturedFact } from './attempt-captures-BqPggxTU.js';
12
+ import { b as ParticipantSession, R as RelayEvent } from './participant-activity-DXRq4s6K.js';
13
+ import { B as Badge } from './offers-Hw2P6tcK.js';
14
+ import { b as QuestView, q as questExperienceSchema } from './catalog-ByZMRS7I.js';
15
15
  import './streaks-0YuipsUQ.js';
16
- import './dashboards-CLemT6kj.js';
16
+ import './dashboards-pVfclkyh.js';
17
17
  import './units-CwgsPB_r.js';
18
18
 
19
19
  /** One project time-zone change: from `effectiveAt` on, days are counted in `timeZone`. */
package/dist/testing.js CHANGED
@@ -1,41 +1,31 @@
1
1
  import {
2
2
  attemptCaptureSchema
3
- } from "./chunk-VWQGWGCH.js";
4
- import {
5
- CapabilityError
6
- } from "./chunk-MWMCQLCG.js";
3
+ } from "./chunk-4NIV4NPV.js";
7
4
  import {
8
5
  parseImageResult
9
- } from "./chunk-N4LNEGQX.js";
6
+ } from "./chunk-EDNKKVGU.js";
7
+ import {
8
+ isParticipantRoute
9
+ } from "./chunk-U66GUVSG.js";
10
10
  import {
11
11
  imageRequestSchema,
12
12
  xConnectionSchema,
13
13
  xPostSchema,
14
14
  xProfileSchema,
15
15
  xRequestSchema
16
- } from "./chunk-7X67QLPB.js";
16
+ } from "./chunk-XVZ4YOF2.js";
17
17
  import {
18
- isParticipantRoute
19
- } from "./chunk-U66GUVSG.js";
18
+ CapabilityError
19
+ } from "./chunk-MWMCQLCG.js";
20
20
  import {
21
+ exchangeResultSchema,
21
22
  participantActivitySchema,
23
+ participantSessionSchema,
22
24
  questExperienceSchema
23
- } from "./chunk-4NOFSGAL.js";
25
+ } from "./chunk-R2KZFX6E.js";
24
26
  import {
25
27
  badgeCatalogSchema,
26
28
  badgeSchema,
27
- leaderboardPageSchema,
28
- pointBalanceSchema,
29
- pointBalancesSchema,
30
- pointHistoryPageSchema,
31
- pointLedgerReferenceSchema,
32
- profileReferralSchema
33
- } from "./chunk-W7YSMSGC.js";
34
- import {
35
- exchangeResultSchema,
36
- participantSessionSchema
37
- } from "./chunk-N4BDKS6Y.js";
38
- import {
39
29
  contentPerformanceSnapshotSchema,
40
30
  cosmosAddressSchema,
41
31
  cosmosNetworkSchema,
@@ -50,11 +40,17 @@ import {
50
40
  isNftCollection,
51
41
  isSolanaProgram,
52
42
  knownResponse,
43
+ leaderboardPageSchema,
53
44
  limits,
54
45
  linkedWalletSchema,
55
46
  memberCompletionSchema,
56
47
  memberIdentitySchema,
57
48
  photoResultSchema,
49
+ pointBalanceSchema,
50
+ pointBalancesSchema,
51
+ pointHistoryPageSchema,
52
+ pointLedgerReferenceSchema,
53
+ profileReferralSchema,
58
54
  quizEvidenceSchema,
59
55
  rewardKey,
60
56
  solanaAddressSchema,
@@ -81,10 +77,10 @@ import {
81
77
  walletEventsSchema,
82
78
  walletNftsSchema,
83
79
  walletTransactionsSchema
84
- } from "./chunk-ID3BZXFZ.js";
80
+ } from "./chunk-HNR6G3GV.js";
85
81
  import {
86
82
  RelayErrorCode
87
- } from "./chunk-GLH6MEI2.js";
83
+ } from "./chunk-EOUEAOWJ.js";
88
84
 
89
85
  // src/testing/run.ts
90
86
  import * as z3 from "zod";
@@ -887,8 +887,10 @@ declare const trackerIngestResultSchema: z.ZodObject<{
887
887
  * is removed, `not-joined` when the member joins, `not-enrolled` when the member enrolls. Every
888
888
  * other skip is final unless a reviewer retries it, or, for `historical` under
889
889
  * `historical: "claim"`, the member claims it.
890
+ *
891
+ * @compat open
890
892
  */
891
- declare const trackerSkipCodes: readonly ["quest-paused", "before-activation", "outside-window", "future-record", "record-removed", "invalid-record-data", "content-unavailable", "no-account", "beneficiary-is-author", "unlinked-account", "ambiguous-account", "not-joined", "already-completed", "not-enrolled", "before-enrollment", "historical", "prerequisites-incomplete"];
893
+ declare const trackerSkipCodes: readonly ["quest-paused", "before-activation", "outside-window", "future-record", "record-removed", "invalid-record-data", "content-unavailable", "no-account", "beneficiary-is-author", "unlinked-account", "ambiguous-account", "not-joined", "member-banned", "already-completed", "not-enrolled", "before-enrollment", "historical", "prerequisites-incomplete"];
892
894
  /**
893
895
  * A skip code this SDK knows.
894
896
  *