@domino-sdk/relay 1.68.0 → 1.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/build.mjs +3 -0
  3. package/dist/{accounts-DnpKoJCo.d.ts → accounts-B49TGZLk.d.ts} +25 -5
  4. package/dist/{action-9Xl0StBg.d.ts → action-BDFKqGlH.d.ts} +3 -2
  5. package/dist/{attempt-captures-DMNFMYFb.d.ts → attempt-captures-Dn-oGE1o.d.ts} +4 -3
  6. package/dist/authoring.d.ts +218 -43
  7. package/dist/authoring.js +76 -18
  8. package/dist/{automatic-outcomes-CQ3vpiQl.d.ts → automatic-outcomes-DeRyox-X.d.ts} +11 -3
  9. package/dist/avatar.d.ts +2 -1
  10. package/dist/browser.d.ts +15 -14
  11. package/dist/browser.js +11 -11
  12. package/dist/{capability-error-CuI_F7yM.d.ts → capability-error-db7kO8-P.d.ts} +2 -1
  13. package/dist/{catalog-BLGie8Lh.d.ts → catalog-CR_2iacf.d.ts} +11 -3
  14. package/dist/{chunk-5AKD4ZF3.js → chunk-25WA4XYZ.js} +9 -3
  15. package/dist/{chunk-6UBFSMCM.js → chunk-2GVGZ7AN.js} +1 -1
  16. package/dist/{chunk-SD74HD75.js → chunk-3DUNFRKJ.js} +9 -9
  17. package/dist/{chunk-7YSVZA7A.js → chunk-4BBDHTBF.js} +1 -1
  18. package/dist/{chunk-6YTSRWRB.js → chunk-4VDRNYUG.js} +83 -11
  19. package/dist/{chunk-P4TPW4SY.js → chunk-5RLIPTL7.js} +1 -1
  20. package/dist/{chunk-MEUAJIVO.js → chunk-BJ2W5ZVQ.js} +2 -2
  21. package/dist/{chunk-KKHENO57.js → chunk-FHOKCBTJ.js} +2 -2
  22. package/dist/{chunk-DDJN2T5A.js → chunk-HICAGUT5.js} +1 -1
  23. package/dist/{chunk-VRZZB7CQ.js → chunk-LDO5GP7G.js} +1 -1
  24. package/dist/{chunk-TYZFVL73.js → chunk-NOQSKRSS.js} +4 -4
  25. package/dist/{chunk-75KF633N.js → chunk-OKKZPDCQ.js} +1 -1
  26. package/dist/{chunk-4JSPMFO2.js → chunk-RSZAYW3T.js} +2 -2
  27. package/dist/{chunk-HXTKI34N.js → chunk-RYUM6X2K.js} +1 -1
  28. package/dist/{chunk-EXZVWQOQ.js → chunk-SDWG7CWQ.js} +2 -2
  29. package/dist/{chunk-R3MNZKNJ.js → chunk-SELJYCYY.js} +1 -1
  30. package/dist/{chunk-DNPDR4Z7.js → chunk-UKUIE2ND.js} +6 -6
  31. package/dist/{chunk-IW46TW3A.js → chunk-VNEJH4NT.js} +26 -2
  32. package/dist/{chunk-55WJVFWC.js → chunk-XD6EUA27.js} +2 -2
  33. package/dist/{chunk-CZ7NQ7W7.js → chunk-XZCTCSDG.js} +3 -3
  34. package/dist/{client-BMif22WQ.d.ts → client-gJEheT2C.d.ts} +33 -11
  35. package/dist/{dashboards-DMk-vL1q.d.ts → dashboards-DZaB94sz.d.ts} +6 -5
  36. package/dist/{deployments-BCr418BX.d.ts → deployments-QVGxC-fT.d.ts} +530 -337
  37. package/dist/{host-environment-FN4zg3hw.d.ts → host-environment-DUw5-Cvj.d.ts} +2 -1
  38. package/dist/{identity-integration-r76xaAax.d.ts → identity-integration-BAJdzbdl.d.ts} +3 -2
  39. package/dist/index.d.ts +16 -15
  40. package/dist/index.js +10 -10
  41. package/dist/internal.d.ts +34 -19
  42. package/dist/internal.js +40 -14
  43. package/dist/{limits-ByVRQePO.d.ts → limits-UawUbr0S.d.ts} +3 -2
  44. package/dist/{offers-xcPbYaEv.d.ts → offers-0hqbnogq.d.ts} +4 -3
  45. package/dist/{participant-activity-DXRq4s6K.d.ts → participant-activity-BznrcePT.d.ts} +2 -1
  46. package/dist/{participant-rewards-BcWkBRn_.d.ts → participant-rewards-s5Gn23qb.d.ts} +23 -1
  47. package/dist/portal-proxy.d.ts +7 -4
  48. package/dist/portal-proxy.js +14 -17
  49. package/dist/profiles-CLDKZVFx.d.ts +370 -0
  50. package/dist/react/index.d.ts +50 -31
  51. package/dist/react/index.js +12 -11
  52. package/dist/{request-error-D_dUPLwo.d.ts → request-error-C24SY7n9.d.ts} +2 -1
  53. package/dist/{reward-deliveries-0VvT6LMj.d.ts → reward-deliveries-ARvt1UXb.d.ts} +3 -2
  54. package/dist/runtime/authoring.js +1 -1
  55. package/dist/runtime/chunks/447P2VLY.js +1 -0
  56. package/dist/runtime/manifest.json +3 -3
  57. package/dist/runtime/schema.js +1 -1
  58. package/dist/schema.d.ts +258 -176
  59. package/dist/schema.js +18 -8
  60. package/dist/server/index.d.ts +15 -14
  61. package/dist/server/index.js +47 -48
  62. package/dist/{sign-in-providers-C5_753DZ.d.ts → sign-in-providers-DCiufSGG.d.ts} +4 -3
  63. package/dist/solana.d.ts +142 -26
  64. package/dist/solana.js +449 -114
  65. package/dist/{streaks-0YuipsUQ.d.ts → streaks-MAqKHbHC.d.ts} +2 -1
  66. package/dist/{submission-input-CaL8drIh.d.ts → submission-input-C0DLv5Dj.d.ts} +4 -3
  67. package/dist/{telegram-browser-DLtHPRBI.d.ts → telegram-browser-yx9WuNLX.d.ts} +8 -7
  68. package/dist/telegram.d.ts +14 -12
  69. package/dist/telegram.js +2 -2
  70. package/dist/testing.d.ts +24 -15
  71. package/dist/testing.js +6 -6
  72. package/dist/{tracker-data-CAK942sx.d.ts → tracker-data-CUopgomU.d.ts} +198 -3
  73. package/dist/{transport-CkidqTOk.d.ts → transport-e0uY1R7z.d.ts} +3415 -2233
  74. package/dist/vite.d.ts +2 -1
  75. package/dist/{wallet-DQtJelQQ.d.ts → wallet-CJTULM0Q.d.ts} +54 -375
  76. package/dist/{wallet-browser-dpmr22Xv.d.ts → wallet-browser-DScvrvIj.d.ts} +3 -2
  77. package/package.json +6 -3
  78. package/dist/runtime/chunks/2UDZ6TPL.js +0 -1
@@ -1,14 +1,15 @@
1
- import { G as QuizEvidence, a as Attempt, s as MemberProgress, an as referralAcceptSchema, q as LeaderboardQuery, b as AttemptStatus, W as AttemptCodeSource, f as CampaignEnrollmentInput, h as CampaignWithdrawalInput, J as SignInProvider, c as AuthProvider, I as SignInAccountStatus, x as PointHistoryQuery, v as PointEntryKind, n as LeaderboardHistoryQuery, ao as submitSchema, ap as engagementPageQuerySchema, aq as contentPerformanceQuerySchema } from './accounts-DnpKoJCo.js';
2
- import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-CaL8drIh.js';
3
- import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-D_dUPLwo.js';
4
- import { az as profileUpdateSchema, d as ProfileCompletionQuery, l as WalletProofKind, aA as walletAddressInputSchema, aB as walletSignatureSchema, aC as walletTransactionProofSchema, L as LinkedWallet, o as WalletSigner } from './wallet-DQtJelQQ.js';
5
- import { q as ResponseSchema, i as PageQuery, k as QuestEnrollmentInput, Q as QuestClaimInput, n as QuestOutcomeQuery, M as MemberConsent, a as ConsentInput, e as CreatorAccountProvider, r as RewardDeliveryQuery, s as RewardDeliveryPage, t as contentQualificationQuerySchema } from './reward-deliveries-0VvT6LMj.js';
6
- import { b as QuestView, q as questExperienceSchema } from './catalog-BLGie8Lh.js';
7
- import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-CAK942sx.js';
8
- import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from './participant-activity-DXRq4s6K.js';
1
+ import { G as QuizEvidence, a as Attempt, s as MemberProgress, an as referralAcceptSchema, q as LeaderboardQuery, b as AttemptStatus, W as AttemptCodeSource, f as CampaignEnrollmentInput, h as CampaignWithdrawalInput, J as SignInProvider, c as AuthProvider, I as SignInAccountStatus, x as PointHistoryQuery, v as PointEntryKind, n as LeaderboardHistoryQuery, ao as submitSchema, ap as engagementPageQuerySchema, aq as contentPerformanceQuerySchema } from './accounts-B49TGZLk.js';
2
+ import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-C0DLv5Dj.js';
3
+ import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-C24SY7n9.js';
4
+ import { d as WalletProofKind, ar as walletAddressInputSchema, as as walletSignatureSchema, at as walletTransactionProofSchema, L as LinkedWallet, g as WalletSigner } from './wallet-CJTULM0Q.js';
5
+ import { q as ResponseSchema, i as PageQuery, k as QuestEnrollmentInput, Q as QuestClaimInput, n as QuestOutcomeQuery, M as MemberConsent, a as ConsentInput, e as CreatorAccountProvider, r as RewardDeliveryQuery, s as RewardDeliveryPage, t as contentQualificationQuerySchema } from './reward-deliveries-ARvt1UXb.js';
6
+ import { b as QuestView, q as questExperienceSchema } from './catalog-CR_2iacf.js';
7
+ import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-CUopgomU.js';
8
+ import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from './participant-activity-BznrcePT.js';
9
9
  import * as z from 'zod';
10
- import { c as createRelayAction, O as OptionalActionId } from './action-9Xl0StBg.js';
11
- import { A as AuthProviders } from './sign-in-providers-C5_753DZ.js';
10
+ import { c as createRelayAction, O as OptionalActionId } from './action-BDFKqGlH.js';
11
+ import { A as AuthProviders } from './sign-in-providers-DCiufSGG.js';
12
+ import { p as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-CLDKZVFx.js';
12
13
 
13
14
  /** What happened, as in every Domino client error (see `RequestError`). */
14
15
  type RelayErrorKind = RequestErrorKind;
@@ -856,6 +857,7 @@ declare function relayClient(options: RelayClientOptions): {
856
857
  [x: string]: unknown;
857
858
  kind: string;
858
859
  };
860
+ key?: string | null | undefined;
859
861
  };
860
862
  earnedTier: string;
861
863
  tier: string;
@@ -882,6 +884,7 @@ declare function relayClient(options: RelayClientOptions): {
882
884
  [x: string]: unknown;
883
885
  kind: string;
884
886
  };
887
+ key?: string | null | undefined;
885
888
  };
886
889
  earnedTier: string;
887
890
  tier: string;
@@ -910,6 +913,7 @@ declare function relayClient(options: RelayClientOptions): {
910
913
  [x: string]: unknown;
911
914
  kind: string;
912
915
  };
916
+ key?: string | null | undefined;
913
917
  };
914
918
  earnedTier: string;
915
919
  tier: string;
@@ -944,6 +948,7 @@ declare function relayClient(options: RelayClientOptions): {
944
948
  [x: string]: unknown;
945
949
  kind: string;
946
950
  };
951
+ key?: string | null | undefined;
947
952
  };
948
953
  earnedTier: string;
949
954
  tier: string;
@@ -982,6 +987,7 @@ declare function relayClient(options: RelayClientOptions): {
982
987
  [x: string]: unknown;
983
988
  kind: string;
984
989
  };
990
+ key?: string | null | undefined;
985
991
  };
986
992
  earnedTier: string;
987
993
  tier: string;
@@ -1038,6 +1044,7 @@ declare function relayClient(options: RelayClientOptions): {
1038
1044
  [x: string]: unknown;
1039
1045
  kind: string;
1040
1046
  };
1047
+ key?: string | null | undefined;
1041
1048
  };
1042
1049
  earnedTier: string;
1043
1050
  tier: string;
@@ -1064,6 +1071,7 @@ declare function relayClient(options: RelayClientOptions): {
1064
1071
  [x: string]: unknown;
1065
1072
  kind: string;
1066
1073
  };
1074
+ key?: string | null | undefined;
1067
1075
  };
1068
1076
  earnedTier: string;
1069
1077
  tier: string;
@@ -1092,6 +1100,7 @@ declare function relayClient(options: RelayClientOptions): {
1092
1100
  [x: string]: unknown;
1093
1101
  kind: string;
1094
1102
  };
1103
+ key?: string | null | undefined;
1095
1104
  };
1096
1105
  earnedTier: string;
1097
1106
  tier: string;
@@ -1126,6 +1135,7 @@ declare function relayClient(options: RelayClientOptions): {
1126
1135
  [x: string]: unknown;
1127
1136
  kind: string;
1128
1137
  };
1138
+ key?: string | null | undefined;
1129
1139
  };
1130
1140
  earnedTier: string;
1131
1141
  tier: string;
@@ -1164,6 +1174,7 @@ declare function relayClient(options: RelayClientOptions): {
1164
1174
  [x: string]: unknown;
1165
1175
  kind: string;
1166
1176
  };
1177
+ key?: string | null | undefined;
1167
1178
  };
1168
1179
  earnedTier: string;
1169
1180
  tier: string;
@@ -2196,6 +2207,7 @@ declare function relayClient(options: RelayClientOptions): {
2196
2207
  [x: string]: unknown;
2197
2208
  kind: string;
2198
2209
  };
2210
+ key?: string | null | undefined;
2199
2211
  };
2200
2212
  earnedTier: string;
2201
2213
  tier: string;
@@ -2222,6 +2234,7 @@ declare function relayClient(options: RelayClientOptions): {
2222
2234
  [x: string]: unknown;
2223
2235
  kind: string;
2224
2236
  };
2237
+ key?: string | null | undefined;
2225
2238
  };
2226
2239
  earnedTier: string;
2227
2240
  tier: string;
@@ -2250,6 +2263,7 @@ declare function relayClient(options: RelayClientOptions): {
2250
2263
  [x: string]: unknown;
2251
2264
  kind: string;
2252
2265
  };
2266
+ key?: string | null | undefined;
2253
2267
  };
2254
2268
  earnedTier: string;
2255
2269
  tier: string;
@@ -2284,6 +2298,7 @@ declare function relayClient(options: RelayClientOptions): {
2284
2298
  [x: string]: unknown;
2285
2299
  kind: string;
2286
2300
  };
2301
+ key?: string | null | undefined;
2287
2302
  };
2288
2303
  earnedTier: string;
2289
2304
  tier: string;
@@ -2322,6 +2337,7 @@ declare function relayClient(options: RelayClientOptions): {
2322
2337
  [x: string]: unknown;
2323
2338
  kind: string;
2324
2339
  };
2340
+ key?: string | null | undefined;
2325
2341
  };
2326
2342
  earnedTier: string;
2327
2343
  tier: string;
@@ -4557,6 +4573,7 @@ declare function relayClient(options: RelayClientOptions): {
4557
4573
  [x: string]: unknown;
4558
4574
  kind: string;
4559
4575
  };
4576
+ key?: string | null | undefined;
4560
4577
  };
4561
4578
  earnedTier: string;
4562
4579
  tier: string;
@@ -4583,6 +4600,7 @@ declare function relayClient(options: RelayClientOptions): {
4583
4600
  [x: string]: unknown;
4584
4601
  kind: string;
4585
4602
  };
4603
+ key?: string | null | undefined;
4586
4604
  };
4587
4605
  earnedTier: string;
4588
4606
  tier: string;
@@ -4611,6 +4629,7 @@ declare function relayClient(options: RelayClientOptions): {
4611
4629
  [x: string]: unknown;
4612
4630
  kind: string;
4613
4631
  };
4632
+ key?: string | null | undefined;
4614
4633
  };
4615
4634
  earnedTier: string;
4616
4635
  tier: string;
@@ -4645,6 +4664,7 @@ declare function relayClient(options: RelayClientOptions): {
4645
4664
  [x: string]: unknown;
4646
4665
  kind: string;
4647
4666
  };
4667
+ key?: string | null | undefined;
4648
4668
  };
4649
4669
  earnedTier: string;
4650
4670
  tier: string;
@@ -4683,6 +4703,7 @@ declare function relayClient(options: RelayClientOptions): {
4683
4703
  [x: string]: unknown;
4684
4704
  kind: string;
4685
4705
  };
4706
+ key?: string | null | undefined;
4686
4707
  };
4687
4708
  earnedTier: string;
4688
4709
  tier: string;
@@ -5008,4 +5029,5 @@ declare function relayClient(options: RelayClientOptions): {
5008
5029
  interface RelayClient extends ReturnType<typeof relayClient> {
5009
5030
  }
5010
5031
 
5011
- export { type AuthStartInput as A, type ClaimSubmission as C, type EmailVerification as E, type KnownRelayErrorCode as K, type PhotoSubmission as P, type QuestActionResult as Q, type RelayClient as R, type SubmissionCallOptions as S, type ValueSubmission as V, type ProgressObservation as a, type ProgressObserver as b, type QuestController as c, QuestUpdatedError as d, type QuizSubmission as e, type RelayClientOptions as f, RelayError as g, RelayErrorCode as h, type RelayErrorDetails as i, type RelayErrorKind as j, type RelayRequestOptions as k, type RelayResponseOptions as l, type SubmissionDraft as m, type SubmissionStatus as n, type SubmissionStore as o, createRelayClient as p, isRelayError as q };
5032
+ export { QuestUpdatedError as d, RelayError as g, RelayErrorCode as h, createRelayClient as p, isRelayError as q };
5033
+ export type { AuthStartInput as A, ClaimSubmission as C, EmailVerification as E, KnownRelayErrorCode as K, PhotoSubmission as P, QuestActionResult as Q, RelayClient as R, SubmissionCallOptions as S, ValueSubmission as V, ProgressObservation as a, ProgressObserver as b, QuestController as c, QuizSubmission as e, RelayClientOptions as f, RelayErrorDetails as i, RelayErrorKind as j, RelayRequestOptions as k, RelayResponseOptions as l, SubmissionDraft as m, SubmissionStatus as n, SubmissionStore as o };
@@ -1,7 +1,7 @@
1
1
  import * as z from 'zod';
2
- import { v as WalletBalanceQuery } from './wallet-DQtJelQQ.js';
3
- import { R as ResourceHandle } from './tracker-data-CAK942sx.js';
4
- import { A as AnalyticsMetricId, a as analyticsCatalog } from './limits-ByVRQePO.js';
2
+ import { k as WalletBalanceQuery } from './wallet-CJTULM0Q.js';
3
+ import { R as ResourceHandle } from './tracker-data-CUopgomU.js';
4
+ import { A as AnalyticsMetricId, a as analyticsCatalog } from './limits-UawUbr0S.js';
5
5
 
6
6
  declare const settingFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
7
  kind: z.ZodLiteral<"point-ledger">;
@@ -379,9 +379,9 @@ declare const dashboardPreviewSchema: z.ZodObject<{
379
379
  key: z.ZodString;
380
380
  title: z.ZodString;
381
381
  change: z.ZodEnum<{
382
+ unchanged: "unchanged";
382
383
  created: "created";
383
384
  updated: "updated";
384
- unchanged: "unchanged";
385
385
  }>;
386
386
  definition: z.ZodObject<{
387
387
  key: z.ZodString;
@@ -484,4 +484,5 @@ declare function defineDashboard(input: DashboardInput): {
484
484
  position?: number | undefined;
485
485
  } & ResourceHandle<"dashboard">;
486
486
 
487
- export { type AmountSetting as A, type BalanceChain as B, settingFieldSchema as C, type DashboardInput as D, settingsFieldsSchema as E, settingsValuesSchema as F, textSettingSchema as G, type IntegerSettings as I, type Setting as S, type BoundSettings as a, type DashboardPanelInput as b, compatibleSettingKinds as c, defineDashboard as d, dashboardIssue as e, type DashboardAuthoring as f, type DashboardDefinition as g, type DashboardIssue as h, isBoundSetting as i, type DashboardPanel as j, type DashboardPreview as k, type SettingField as l, type SettingsValues as m, normalizeDashboard as n, dashboardArtifactSchema as o, dashboardAuthoringSchema as p, dashboardDefinitionSchema as q, dashboardLimits as r, dashboardPanelAuthoringSchema as s, dashboardPanels as t, dashboardPreviewSchema as u, defaultPanelWidths as v, isAmount as w, isBalanceChain as x, missingResourceSettings as y, parseSettings as z };
487
+ export { settingFieldSchema as C, settingsFieldsSchema as E, settingsValuesSchema as F, textSettingSchema as G, compatibleSettingKinds as c, defineDashboard as d, dashboardIssue as e, isBoundSetting as i, normalizeDashboard as n, dashboardArtifactSchema as o, dashboardAuthoringSchema as p, dashboardDefinitionSchema as q, dashboardLimits as r, dashboardPanelAuthoringSchema as s, dashboardPanels as t, dashboardPreviewSchema as u, defaultPanelWidths as v, isAmount as w, isBalanceChain as x, missingResourceSettings as y, parseSettings as z };
488
+ export type { AmountSetting as A, BalanceChain as B, DashboardInput as D, IntegerSettings as I, Setting as S, BoundSettings as a, DashboardPanelInput as b, DashboardAuthoring as f, DashboardDefinition as g, DashboardIssue as h, DashboardPanel as j, DashboardPreview as k, SettingField as l, SettingsValues as m };