@domino-sdk/relay 1.39.1 → 1.43.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 (50) hide show
  1. package/dist/{attempt-captures-CSiN1HKd.d.ts → attempt-captures-p7JPb7Xi.d.ts} +1 -1
  2. package/dist/authoring.d.ts +11 -11
  3. package/dist/authoring.js +4 -4
  4. package/dist/{automatic-outcomes-DDbgRubQ.d.ts → automatic-outcomes-YkGhnxsc.d.ts} +1 -1
  5. package/dist/avatar.d.ts +2 -2
  6. package/dist/browser.d.ts +9 -9
  7. package/dist/browser.js +10 -10
  8. package/dist/{chunk-JIHWQCVW.js → chunk-4XC24SUM.js} +2 -2
  9. package/dist/{chunk-BYX27T2S.js → chunk-HO4FZJSH.js} +2 -2
  10. package/dist/{chunk-VYAANO5L.js → chunk-IIKQH5L6.js} +8 -8
  11. package/dist/{chunk-V7KYVH3Z.js → chunk-ILH73K3H.js} +1 -1
  12. package/dist/{chunk-B65YJ6K4.js → chunk-J7YJHMF7.js} +1 -1
  13. package/dist/{chunk-X7LHRYAO.js → chunk-JISXC5ZB.js} +4 -4
  14. package/dist/{chunk-SBW52XXL.js → chunk-NNGGEUMQ.js} +1 -1
  15. package/dist/{chunk-OEO5OBY5.js → chunk-PMSCHJKX.js} +584 -533
  16. package/dist/{chunk-FTGW72A6.js → chunk-Q5PX3GDA.js} +1 -1
  17. package/dist/{chunk-XZKZJIES.js → chunk-TEPZZXDI.js} +6 -2
  18. package/dist/{chunk-CRX274HO.js → chunk-UOHYYB7V.js} +1 -1
  19. package/dist/{chunk-ZT7FPD7B.js → chunk-W5UBRNDT.js} +1 -1
  20. package/dist/{chunk-RW4XQN4Z.js → chunk-WSOUOG6S.js} +1 -1
  21. package/dist/{chunk-E4CDOF4H.js → chunk-YBMCF54E.js} +13 -7
  22. package/dist/{chunk-4PYFM2YF.js → chunk-YNKJMRA7.js} +1 -1
  23. package/dist/{chunk-YNQPFRQO.js → chunk-ZY4RI4DJ.js} +1 -1
  24. package/dist/{client-CxHKODc4.d.ts → client-CVG_MoXx.d.ts} +7 -7
  25. package/dist/{deployments-DYeuxXYg.d.ts → deployments-BWav9s6t.d.ts} +137 -1
  26. package/dist/{groups-DY5rZssO.d.ts → groups-CMZROR9a.d.ts} +2 -2
  27. package/dist/index.d.ts +10 -10
  28. package/dist/index.js +9 -9
  29. package/dist/internal.d.ts +10 -10
  30. package/dist/internal.js +8 -8
  31. package/dist/{offers-DtYGNKdQ.d.ts → offers-Cvk4uBjo.d.ts} +2 -2
  32. package/dist/{pages-DR2YRvAp.d.ts → pages-BXZP4o-w.d.ts} +26 -2
  33. package/dist/{participant-activity-CoB2F30C.d.ts → participant-activity-iciCEs_8.d.ts} +1 -1
  34. package/dist/portal-proxy.js +3 -3
  35. package/dist/{profiles-BHuQdzsW.d.ts → profiles-Cdv4BSd_.d.ts} +1 -1
  36. package/dist/react/index.d.ts +14 -11
  37. package/dist/react/index.js +17 -10
  38. package/dist/{schema-Cgmj-CbC.d.ts → schema-BgjSnV9D.d.ts} +19 -1
  39. package/dist/schema.d.ts +58 -16
  40. package/dist/schema.js +19 -7
  41. package/dist/server/index.d.ts +10 -10
  42. package/dist/server/index.js +846 -613
  43. package/dist/{submission-input-BkIbBPRU.d.ts → submission-input-CD59rLYk.d.ts} +2 -2
  44. package/dist/{telegram-browser-laDdm730.d.ts → telegram-browser-bnRKW9KG.d.ts} +3 -3
  45. package/dist/testing.d.ts +4 -4
  46. package/dist/testing.js +5 -5
  47. package/dist/{transport-CkTEfXL9.d.ts → transport-xSupcGFD.d.ts} +2189 -11
  48. package/dist/{wallet-t7uNDg9p.d.ts → wallet-Ac7OFpOr.d.ts} +1 -1
  49. package/dist/{x-vVG6gZqi.d.ts → x-B_7RCkOo.d.ts} +1 -1
  50. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { O as OpenIdentityKind } from './schema-Cgmj-CbC.js';
1
+ import { O as OpenIdentityKind } from './schema-BgjSnV9D.js';
2
2
  import * as z from 'zod';
3
3
 
4
4
  /** One capability call of the captured evaluation run, as Relay stored it. */
@@ -1,20 +1,20 @@
1
- import { x as xContentBodySchema, I as IdentityKind, n as customSourceSchema, W as WithRecordData, o as WithContent, p as WithAccountRoles, q as ResourceHandle, r as QuestHandle, L as LedgerReference, G as GroupHandle, u as TrackerSource, v as trackerDefinitionSchema, y as Tracker, z as TrackerData, B as SourceRoles, C as LedgerHandle, D as TrackerDataSchema, F as xSearchSourceSchema, X as XTweet, H as XContentMetric, J as TrackerTriggerPolicy, N as Where, P as MemberIdentity, U as TrackerTriggerContext, V as TrackerReader, Y as TextReviewInput, Z as TextResult, _ as PhotoResult, $ as Decision, a0 as rewardSchema, a1 as TrackerTriggerMode, a2 as RoleOf, a3 as WhereSetting, a4 as ContentBody, a5 as BadgeHandle, a6 as ContentMetricName, a7 as triggerSchema, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, a8 as TieredRewardDefinition } from './schema-Cgmj-CbC.js';
2
- export { a9 as LedgerSetting, aa as TrackerPage, ab as TrackerReadQuery, ac as trackerDataSchema, ad as trackerTriggerContextSchema } from './schema-Cgmj-CbC.js';
1
+ import { x as xContentBodySchema, I as IdentityKind, n as customSourceSchema, W as WithRecordData, o as WithContent, p as WithAccountRoles, q as ResourceHandle, r as QuestHandle, L as LedgerReference, G as GroupHandle, u as TrackerSource, v as trackerDefinitionSchema, y as Tracker, z as TrackerData, B as SourceRoles, C as LedgerHandle, D as TrackerDataSchema, F as xSearchSourceSchema, X as XTweet, H as XContentMetric, J as TrackerTriggerPolicy, N as Where, P as MemberIdentity, U as TrackerTriggerContext, V as TrackerReader, Y as TextReviewInput, Z as TextResult, _ as PhotoResult, $ as Decision, a0 as rewardSchema, a1 as TrackerTriggerMode, a2 as RoleOf, a3 as WhereSetting, a4 as ContentBody, a5 as BadgeHandle, a6 as ContentMetricName, a7 as triggerSchema, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, a8 as TieredRewardDefinition } from './schema-BgjSnV9D.js';
2
+ export { a9 as LedgerSetting, aa as TrackerPage, ab as TrackerReadQuery, ac as trackerDataSchema, ad as trackerTriggerContextSchema } from './schema-BgjSnV9D.js';
3
3
  import * as z from 'zod';
4
4
  export { z } from 'zod';
5
- import { f as badgeDeclarationSchema, B as Badge } from './offers-DtYGNKdQ.js';
6
- export { g as defineOffer } from './offers-DtYGNKdQ.js';
7
- import { E as EngagementBudget, s as leaderboardDefinitionSchema, t as AuthoringIdentity, u as pointLedgerDeclarationSchema, v as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-DY5rZssO.js';
8
- export { w as defineCampaign, x as defineGroup } from './groups-DY5rZssO.js';
5
+ import { f as badgeDeclarationSchema, B as Badge } from './offers-Cvk4uBjo.js';
6
+ export { g as defineOffer } from './offers-Cvk4uBjo.js';
7
+ import { E as EngagementBudget, s as leaderboardDefinitionSchema, t as AuthoringIdentity, u as pointLedgerDeclarationSchema, v as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-CMZROR9a.js';
8
+ export { w as defineCampaign, x as defineGroup } from './groups-CMZROR9a.js';
9
9
  import { d as discordMessagesSourceSchema, D as DiscordMessageData, c as DiscordMessageTextData, e as discordReactionsSourceSchema, f as DiscordReactionData, g as TelegramReader, h as DiscordReader } from './accounts-DRPENuZe.js';
10
10
  export { i as TelegramChatMember, j as TelegramChatMemberStatus, k as TelegramReactionData } from './accounts-DRPENuZe.js';
11
11
  import { Q as QuizContent, a as StreakPolicy } from './streaks-0YuipsUQ.js';
12
12
  import { R as ResourceSource, S as Setting, I as IntegrationModule, B as Budget, a as IntegerSettings } from './integrations-CllF-kWg.js';
13
- import { P as Prerequisite, T as TextEvidence, U as UrlEvidence, a as TextOptions, b as UrlOptions } from './submission-input-BkIbBPRU.js';
14
- export { c as balanceAtLeast, d as completed, i as inGroup } from './submission-input-BkIbBPRU.js';
15
- import { I as ImageReader, X as XReader } from './x-vVG6gZqi.js';
16
- import { h as WalletReader } from './wallet-t7uNDg9p.js';
17
- export { i as CosmosDenom, a as CosmosNetwork, E as EvmChainId, j as WalletBalance, k as WalletBalanceQuery, l as cosmosDenomSchema, m as cosmosNetworkSchema, n as isEvmChainId } from './wallet-t7uNDg9p.js';
13
+ import { P as Prerequisite, T as TextEvidence, U as UrlEvidence, a as TextOptions, b as UrlOptions } from './submission-input-CD59rLYk.js';
14
+ export { c as balanceAtLeast, d as completed, i as inGroup } from './submission-input-CD59rLYk.js';
15
+ import { I as ImageReader, X as XReader } from './x-B_7RCkOo.js';
16
+ import { h as WalletReader } from './wallet-Ac7OFpOr.js';
17
+ export { i as CosmosDenom, a as CosmosNetwork, E as EvmChainId, j as WalletBalance, k as WalletBalanceQuery, l as cosmosDenomSchema, m as cosmosNetworkSchema, n as isEvmChainId } from './wallet-Ac7OFpOr.js';
18
18
  export { C as CapabilityError, a as CapabilityErrorCode, c as capabilityErrorCodes } from './capability-error-FQGGb5xS.js';
19
19
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
20
20
 
package/dist/authoring.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  sourceDataSchema,
11
11
  sourceRoles,
12
12
  validateQuestShape
13
- } from "./chunk-YNQPFRQO.js";
13
+ } from "./chunk-ZY4RI4DJ.js";
14
14
  import {
15
15
  badgeDeclarationSchema,
16
16
  defineOffer,
@@ -20,11 +20,11 @@ import {
20
20
  leaderboardAuthoringSchema,
21
21
  pointLedgerDeclarationSchema,
22
22
  referralAuthoringSchema
23
- } from "./chunk-RW4XQN4Z.js";
23
+ } from "./chunk-WSOUOG6S.js";
24
24
  import {
25
25
  telegramReactionDataSchema,
26
26
  telegramReactionsNamespace
27
- } from "./chunk-B65YJ6K4.js";
27
+ } from "./chunk-J7YJHMF7.js";
28
28
  import {
29
29
  authoringKey,
30
30
  badgeReward,
@@ -82,7 +82,7 @@ import {
82
82
  whereSchemaIssue,
83
83
  whereSettings,
84
84
  xSearchSourceSchema
85
- } from "./chunk-OEO5OBY5.js";
85
+ } from "./chunk-PMSCHJKX.js";
86
86
 
87
87
  // src/builders.ts
88
88
  import * as z from "zod";
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { a as AttemptStatus } from './schema-Cgmj-CbC.js';
2
+ import { a as AttemptStatus } from './schema-BgjSnV9D.js';
3
3
 
4
4
  declare const collectionCodeSchema: z.ZodString;
5
5
  declare const collectionPassSchema: z.ZodObject<{
package/dist/avatar.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { L as LinkedWallet } from './wallet-t7uNDg9p.js';
2
- import { P as ProfileAvatar } from './profiles-BHuQdzsW.js';
1
+ import { L as LinkedWallet } from './wallet-Ac7OFpOr.js';
2
+ import { P as ProfileAvatar } from './profiles-Cdv4BSd_.js';
3
3
  import 'zod';
4
4
 
5
5
  /**
package/dist/browser.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-CxHKODc4.js';
2
- export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, T as TelegramSignInOption, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, t as telegramMiniAppInitData, w as walletStandardSolanaSigner } from './telegram-browser-laDdm730.js';
3
- import './groups-DY5rZssO.js';
1
+ import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-CVG_MoXx.js';
2
+ export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, T as TelegramSignInOption, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, t as telegramMiniAppInitData, w as walletStandardSolanaSigner } from './telegram-browser-bnRKW9KG.js';
3
+ import './groups-CMZROR9a.js';
4
4
  import 'zod';
5
- import './schema-Cgmj-CbC.js';
6
- import './pages-DR2YRvAp.js';
7
- import './submission-input-BkIbBPRU.js';
5
+ import './schema-BgjSnV9D.js';
6
+ import './pages-BXZP4o-w.js';
7
+ import './submission-input-CD59rLYk.js';
8
8
  import './action-DBzILFx9.js';
9
- import './participant-activity-CoB2F30C.js';
9
+ import './participant-activity-iciCEs_8.js';
10
10
  import './accounts-DRPENuZe.js';
11
- import './profiles-BHuQdzsW.js';
12
- import './wallet-t7uNDg9p.js';
11
+ import './profiles-Cdv4BSd_.js';
12
+ import './wallet-Ac7OFpOr.js';
13
13
 
14
14
  /** Browser client with durable submission recovery; safe to construct during SSR. */
15
15
  declare function createBrowserRelayClient(options: RelayClientOptions): RelayClient;
package/dist/browser.js CHANGED
@@ -12,16 +12,16 @@ import {
12
12
  solanaSigner,
13
13
  telegramMiniAppInitData,
14
14
  walletStandardSolanaSigner
15
- } from "./chunk-JIHWQCVW.js";
16
- import "./chunk-VYAANO5L.js";
17
- import "./chunk-CRX274HO.js";
18
- import "./chunk-XZKZJIES.js";
19
- import "./chunk-RW4XQN4Z.js";
20
- import "./chunk-B65YJ6K4.js";
21
- import "./chunk-SBW52XXL.js";
22
- import "./chunk-4PYFM2YF.js";
23
- import "./chunk-FTGW72A6.js";
24
- import "./chunk-OEO5OBY5.js";
15
+ } from "./chunk-4XC24SUM.js";
16
+ import "./chunk-IIKQH5L6.js";
17
+ import "./chunk-UOHYYB7V.js";
18
+ import "./chunk-TEPZZXDI.js";
19
+ import "./chunk-WSOUOG6S.js";
20
+ import "./chunk-J7YJHMF7.js";
21
+ import "./chunk-NNGGEUMQ.js";
22
+ import "./chunk-YNKJMRA7.js";
23
+ import "./chunk-Q5PX3GDA.js";
24
+ import "./chunk-PMSCHJKX.js";
25
25
  export {
26
26
  browserSubmissionStore,
27
27
  cosmosChainList,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createRelayClient
3
- } from "./chunk-VYAANO5L.js";
3
+ } from "./chunk-IIKQH5L6.js";
4
4
  import {
5
5
  RelayErrorCode,
6
6
  asRelayError,
7
7
  clientError,
8
8
  cosmosChain
9
- } from "./chunk-OEO5OBY5.js";
9
+ } from "./chunk-PMSCHJKX.js";
10
10
 
11
11
  // src/base58.ts
12
12
  var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
@@ -4,10 +4,10 @@ import {
4
4
  imageFieldsSchema,
5
5
  imageInspectionSchema,
6
6
  imageSightingsSchema
7
- } from "./chunk-V7KYVH3Z.js";
7
+ } from "./chunk-ILH73K3H.js";
8
8
  import {
9
9
  photoResultSchema
10
- } from "./chunk-OEO5OBY5.js";
10
+ } from "./chunk-PMSCHJKX.js";
11
11
 
12
12
  // src/image-results.ts
13
13
  import * as z from "zod";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createRelayAction,
3
3
  withActionId
4
- } from "./chunk-CRX274HO.js";
4
+ } from "./chunk-UOHYYB7V.js";
5
5
  import {
6
6
  collectionPassSchema,
7
7
  participantActivityQuerySchema,
@@ -17,7 +17,7 @@ import {
17
17
  questOutcomeSchema,
18
18
  rewardDeliveriesSchema,
19
19
  rewardDeliveryQuerySchema
20
- } from "./chunk-XZKZJIES.js";
20
+ } from "./chunk-TEPZZXDI.js";
21
21
  import {
22
22
  AVATAR_UPLOAD_LIMIT,
23
23
  avatarUploadTypes,
@@ -48,29 +48,29 @@ import {
48
48
  referralDefinitionSchema,
49
49
  referralHistorySchema,
50
50
  referralSummarySchema
51
- } from "./chunk-RW4XQN4Z.js";
51
+ } from "./chunk-WSOUOG6S.js";
52
52
  import {
53
53
  telegramAccountConnectionSchema,
54
54
  telegramMiniAppSignInSchema,
55
55
  telegramSignInMethodsSchema
56
- } from "./chunk-B65YJ6K4.js";
56
+ } from "./chunk-J7YJHMF7.js";
57
57
  import {
58
58
  PARTICIPANT_TIMEOUT,
59
59
  lifetime,
60
60
  retryAfter,
61
61
  retrying,
62
62
  validTimeout
63
- } from "./chunk-SBW52XXL.js";
63
+ } from "./chunk-NNGGEUMQ.js";
64
64
  import {
65
65
  clientIdentity
66
- } from "./chunk-4PYFM2YF.js";
66
+ } from "./chunk-YNKJMRA7.js";
67
67
  import {
68
68
  exchangeResultSchema,
69
69
  exchangeSchema,
70
70
  memberSummarySchema,
71
71
  participantSessionSchema,
72
72
  sessionMember
73
- } from "./chunk-FTGW72A6.js";
73
+ } from "./chunk-Q5PX3GDA.js";
74
74
  import {
75
75
  RelayError,
76
76
  RelayErrorCode,
@@ -109,7 +109,7 @@ import {
109
109
  walletSignInNetworksSchema,
110
110
  walletSignatureSchema,
111
111
  walletUnlinkInputSchema
112
- } from "./chunk-OEO5OBY5.js";
112
+ } from "./chunk-PMSCHJKX.js";
113
113
 
114
114
  // src/legacy-submissions.ts
115
115
  import * as z from "zod";
@@ -2,7 +2,7 @@ import {
2
2
  identifier,
3
3
  responseShape,
4
4
  xTweetSchema
5
- } from "./chunk-OEO5OBY5.js";
5
+ } from "./chunk-PMSCHJKX.js";
6
6
 
7
7
  // src/x.ts
8
8
  import * as z from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  accountConnectionSchema
3
- } from "./chunk-OEO5OBY5.js";
3
+ } from "./chunk-PMSCHJKX.js";
4
4
 
5
5
  // src/telegram.ts
6
6
  import * as z from "zod";
@@ -4,20 +4,20 @@ import {
4
4
  retryAfter,
5
5
  retrying,
6
6
  validTimeout
7
- } from "./chunk-SBW52XXL.js";
7
+ } from "./chunk-NNGGEUMQ.js";
8
8
  import {
9
9
  clientIdentity
10
- } from "./chunk-4PYFM2YF.js";
10
+ } from "./chunk-YNKJMRA7.js";
11
11
  import {
12
12
  authScopeSchema
13
- } from "./chunk-FTGW72A6.js";
13
+ } from "./chunk-Q5PX3GDA.js";
14
14
  import {
15
15
  RequestError,
16
16
  appIdentityKindSchema,
17
17
  isRequestError,
18
18
  knownResponse,
19
19
  openIdentityKindSchema
20
- } from "./chunk-OEO5OBY5.js";
20
+ } from "./chunk-PMSCHJKX.js";
21
21
 
22
22
  // src/configuration.ts
23
23
  function questConfiguration(release) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isRequestError
3
- } from "./chunk-OEO5OBY5.js";
3
+ } from "./chunk-PMSCHJKX.js";
4
4
 
5
5
  // src/request-lifetime.ts
6
6
  var PARTICIPANT_TIMEOUT = 15e3;