@domino-sdk/relay 0.30.0 → 0.31.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.
@@ -1,5 +1,5 @@
1
- import { A as AdmittedContent, O as Observation, T as TrackerTriggerContext, a as TrackerReader, X as XReader, I as ImageReader, D as DiscordMember, b as DiscordMessage, W as WalletConnection, S as SolanaBalance, L as LinkedWallet, c as WalletBalanceQuery, d as WalletBalance, o as observationTriggerSchema, e as TrackerDefinition, f as TrackerBeneficiary, g as TrackerTriggerPolicy, B as Budget, h as AuthoringIdentity, C as ContentMetric, i as IntegrationProvider, j as StreakPolicy, k as TextEvidence, U as UrlEvidence, l as TextOptions, m as UrlOptions } from './submission-input-B6f27BHm.js';
2
- export { E as EvmChainId, n as content, p as customSource, q as defineEngagementReward, r as defineLeaderboard, s as defineReferral, t as defineTracker, u as discord, v as formatUnits, w as isEvmChainId, x as parseUnits, y as perContent, z as pointLedgers, F as settings, G as streak, H as trackerTriggerContextSchema, J as x } from './submission-input-B6f27BHm.js';
1
+ import { A as AdmittedContent, O as Observation, T as TrackerTriggerContext, a as TrackerReader, X as XReader, I as ImageReader, D as DiscordMember, b as DiscordMessage, W as WalletConnection, S as SolanaBalance, L as LinkedWallet, c as WalletBalanceQuery, d as WalletBalance, e as TrackerDefinition, f as TrackerTriggerMode, g as TrackerWhere, o as observationTriggerSchema, h as TrackerTriggerPolicy, B as Budget, i as AuthoringIdentity, C as ContentMetric, j as IntegrationProvider, k as StreakPolicy, l as TextEvidence, U as UrlEvidence, m as TextOptions, n as UrlOptions } from './submission-input-JDwq3EVK.js';
2
+ export { E as EvmChainId, p as content, q as customSource, r as defineEngagementReward, s as defineLeaderboard, t as defineReferral, u as defineTracker, v as discord, w as formatUnits, x as isEvmChainId, y as parseUnits, z as perContent, F as pointLedgers, G as settings, H as streak, J as trackerTriggerContextSchema, K as x } from './submission-input-JDwq3EVK.js';
3
3
  import { z } from 'zod';
4
4
  import { TextReviewInput, TextResult, PhotoResult, rewardSchema, triggerSchema, QuestPresentation, QuestProfile, QuizEvidence, Decision, TieredRewardDefinition } from './schema.js';
5
5
 
@@ -58,11 +58,32 @@ declare function manual(options: {
58
58
  input: "none";
59
59
  actor: "staff";
60
60
  };
61
+ /** A tracker trigger: which observations of which tracker run the quest, and for whom. */
62
+ type TrackerTriggerInput = {
63
+ tracker: TrackerDefinition;
64
+ /**
65
+ * Which observations fire. `"new-record"`: each record's first observation (the default for X
66
+ * trackers, where it means each newly collected post). `"new-observation"`: each observation
67
+ * that becomes its record's current one (the default for custom trackers). `"data-changed"`: a
68
+ * new record, or a current observation whose `data` differs from the previous one.
69
+ */
70
+ on?: TrackerTriggerMode;
71
+ /**
72
+ * Admit only observations whose `data` matches, such as `{ path: "amount", gte: 1000 }` or
73
+ * `{ path: "amount", gte: { setting: "threshold" } }`. Others record no outcome.
74
+ */
75
+ where?: TrackerWhere;
76
+ /**
77
+ * The record account whose member the quest pays: `"author"` (the default), `"inReplyTo"` on
78
+ * an X tracker, or a named account a custom source declares in `accounts`. Skipped when that
79
+ * account is the record's author account or belongs to the author's member.
80
+ */
81
+ beneficiary?: string;
82
+ };
61
83
  /**
62
84
  * An automatic quest. With no argument it runs once its prerequisites are complete; with an
63
- * observation it runs for each matching observation; with a tracker it runs for each new record
64
- * observation (each newly discovered post, for an X tracker), for the member Relay attributes the
65
- * record to.
85
+ * observation it runs for each matching observation; with a tracker it runs for each observation
86
+ * its firing mode and filter admit, for the member Relay attributes the beneficiary account to.
66
87
  */
67
88
  declare function automatic(): {
68
89
  kind: "automatic";
@@ -71,15 +92,7 @@ declare function automatic(observation: z.infer<typeof observationTriggerSchema>
71
92
  kind: "automatic";
72
93
  observation: z.infer<typeof observationTriggerSchema>;
73
94
  };
74
- declare function automatic(input: {
75
- tracker: TrackerDefinition;
76
- /**
77
- * Whose quest each record is. `"author"` (the default): the member who verified the record
78
- * author's wallet (custom trackers) or X account (X trackers). `"replied-to"`: the member whose
79
- * verified X account an X post replies to.
80
- */
81
- beneficiary?: TrackerBeneficiary;
82
- }): {
95
+ declare function automatic(input: TrackerTriggerInput): {
83
96
  kind: "automatic";
84
97
  tracker: TrackerTriggerPolicy;
85
98
  };
@@ -445,7 +458,26 @@ declare function defineQuest<T extends Record<string, z.ZodType>, const G extend
445
458
  tracker?: {
446
459
  tracker: string;
447
460
  source: "custom" | "x-search";
448
- beneficiary: "author" | "replied-to";
461
+ beneficiary: string;
462
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
463
+ where?: {
464
+ path: string;
465
+ gt?: number | {
466
+ setting: string;
467
+ } | undefined;
468
+ gte?: number | {
469
+ setting: string;
470
+ } | undefined;
471
+ lt?: number | {
472
+ setting: string;
473
+ } | undefined;
474
+ lte?: number | {
475
+ setting: string;
476
+ } | undefined;
477
+ } | {
478
+ path: string;
479
+ equals: string | number | boolean;
480
+ } | undefined;
449
481
  } | undefined;
450
482
  } | {
451
483
  kind: "manual";
@@ -510,4 +542,4 @@ declare function defineQuest<T extends Record<string, z.ZodType>, const G extend
510
542
  * Console instances receive independent quest identities and pinned versions. */
511
543
  declare const defineQuestType: typeof defineQuest;
512
544
 
513
- export { type EvaluationContext, TrackerTriggerContext, WalletBalance, WalletBalanceQuery, automatic, budget, completed, decision, defineQuest, defineQuestType, defineTieredReward, discordRole, evaluators, evidence, keyed, manual, once, points, staffHandover, untracked };
545
+ export { type EvaluationContext, TrackerTriggerContext, type TrackerTriggerInput, WalletBalance, WalletBalanceQuery, automatic, budget, completed, decision, defineQuest, defineQuestType, defineTieredReward, discordRole, evaluators, evidence, keyed, manual, once, points, staffHandover, untracked };
package/dist/authoring.js CHANGED
@@ -5,10 +5,10 @@ import {
5
5
  defineReferral,
6
6
  formatUnits,
7
7
  parseUnits
8
- } from "./chunk-HINZLW46.js";
8
+ } from "./chunk-QEN4GHL7.js";
9
9
  import {
10
10
  isEvmChainId
11
- } from "./chunk-CWIJDQDT.js";
11
+ } from "./chunk-UI4N4XRZ.js";
12
12
  import {
13
13
  admittedContentSchema,
14
14
  budgetSchema,
@@ -17,6 +17,7 @@ import {
17
17
  contentPerformanceSnapshotSchema,
18
18
  customSource,
19
19
  decisionSchema,
20
+ defaultTriggerMode,
20
21
  defineTracker,
21
22
  discord,
22
23
  integrationRewardSchema,
@@ -29,6 +30,7 @@ import {
29
30
  rewardBundleSchema,
30
31
  settingFieldSchema,
31
32
  settings,
33
+ sourceIdentities,
32
34
  streak,
33
35
  textOptionsSchema,
34
36
  tierRewardSchema,
@@ -36,8 +38,9 @@ import {
36
38
  trackerTriggerContextSchema,
37
39
  trackerTriggerPolicySchema,
38
40
  urlOptionsSchema,
39
- x
40
- } from "./chunk-BE5V6RFD.js";
41
+ x,
42
+ xAccountRoles
43
+ } from "./chunk-UPWID5KS.js";
41
44
 
42
45
  // src/authoring.ts
43
46
  import { z } from "zod";
@@ -75,20 +78,32 @@ function automatic(input) {
75
78
  return { kind: "automatic" };
76
79
  }
77
80
  if ("tracker" in input) {
78
- const { tracker, beneficiary = "author" } = input;
79
- if (beneficiary === "replied-to" && tracker.source.kind !== "x-search") {
80
- throw new Error('"replied-to" requires an X tracker');
81
+ const { tracker, beneficiary = "author", on, where } = input;
82
+ const { source } = tracker;
83
+ if (source.kind === "x-search" && !xAccountRoles.includes(beneficiary)) {
84
+ throw new Error(
85
+ `X trackers pay "author" or "inReplyTo", not "${beneficiary}"`
86
+ );
87
+ }
88
+ if (!sourceIdentities(source)) {
89
+ throw new Error(
90
+ 'Tracker triggers need attributable records: declare customSource(namespace, { identities: ["wallet"] }) or other identity kinds'
91
+ );
81
92
  }
82
- if (tracker.source.kind === "custom" && tracker.source.authors !== "wallet") {
93
+ if (source.kind === "custom" && beneficiary !== "author" && !source.accounts?.includes(beneficiary)) {
83
94
  throw new Error(
84
- 'Tracker triggers need attributable authors: use customSource(namespace, { authors: "wallet" })'
95
+ `Tracker "${tracker.key}" has no "${beneficiary}" account: declare it in customSource(namespace, { accounts: ["${beneficiary}"] })`
85
96
  );
86
97
  }
87
98
  return {
88
99
  kind: "automatic",
89
100
  tracker: trackerTriggerPolicySchema.parse({
90
101
  tracker: tracker.key,
91
- source: tracker.source.kind,
102
+ source: source.kind,
103
+ // The source's default mode is left out, so default quests keep the policy shape
104
+ // earlier SDKs and servers read.
105
+ ...on && on !== defaultTriggerMode(source.kind) ? { on } : {},
106
+ ...where ? { where } : {},
92
107
  beneficiary
93
108
  })
94
109
  };
@@ -184,6 +199,14 @@ function defineQuest(definition) {
184
199
  settingFieldSchema.parse(schema.meta())
185
200
  ])
186
201
  );
202
+ const where = definition.trigger.kind === "automatic" ? definition.trigger.tracker?.where : void 0;
203
+ for (const bound of where && !("equals" in where) ? [where.gt, where.gte, where.lt, where.lte] : []) {
204
+ if (typeof bound === "object" && fields[bound.setting]?.kind !== "integer") {
205
+ throw new Error(
206
+ `The tracker filter compares with setting "${bound.setting}", which is not an integer setting`
207
+ );
208
+ }
209
+ }
187
210
  function describe(input) {
188
211
  const settings2 = definition.settings.parse(input);
189
212
  const values = parseSettings(fields, settings2);
package/dist/browser.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a7 as CosmosChain, a8 as CosmosNetwork, Q as WalletSigner, a4 as WalletSignInNetwork, Y as AuthProvider, K as referralAcceptSchema, M as LeaderboardQuery, N as WalletAddressInput, P as walletSignatureSchema, L as LinkedWallet, R as walletChallengeInputSchema, V as walletProofSchema, Z as WalletSignature, _ as engagementPageQuerySchema, $ as contentQualificationQuerySchema, a0 as contentAdmissionQuerySchema, a1 as contentEnrollmentInputSchema, a2 as contentReleaseInputSchema } from './submission-input-B6f27BHm.js';
1
+ import { a8 as CosmosChain, a9 as CosmosNetwork, R as WalletSigner, a5 as WalletSignInNetwork, Z as AuthProvider, M as referralAcceptSchema, N as LeaderboardQuery, P as WalletAddressInput, Q as walletSignatureSchema, L as LinkedWallet, V as walletChallengeInputSchema, Y as walletProofSchema, _ as WalletSignature, $ as engagementPageQuerySchema, a0 as contentQualificationQuerySchema, a1 as contentAdmissionQuerySchema, a2 as contentEnrollmentInputSchema, a3 as contentReleaseInputSchema } from './submission-input-JDwq3EVK.js';
2
2
  import { SubmitInput, ReleaseInput, beginHandoverSchema, contentPerformanceQuerySchema } from './schema.js';
3
3
  import { createRelayClient, SubmissionStore, ProfileUpdate, ProfileCompletionQuery, QuestView, QuestController, ProgressObservation, questExperienceSchema, ProgressObserver, ExchangeInput, PhotoSubmission, QuizSubmission, ClaimSubmission, ValueSubmission } from './index.js';
4
4
  import * as zod from 'zod';
@@ -759,7 +759,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
759
759
  tracker?: {
760
760
  tracker: string;
761
761
  source: "custom" | "x-search";
762
- beneficiary: "author" | "replied-to";
762
+ beneficiary: string;
763
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
764
+ where?: {
765
+ path: string;
766
+ gt?: number | {
767
+ setting: string;
768
+ } | undefined;
769
+ gte?: number | {
770
+ setting: string;
771
+ } | undefined;
772
+ lt?: number | {
773
+ setting: string;
774
+ } | undefined;
775
+ lte?: number | {
776
+ setting: string;
777
+ } | undefined;
778
+ } | {
779
+ path: string;
780
+ equals: string | number | boolean;
781
+ } | undefined;
763
782
  } | undefined;
764
783
  } | {
765
784
  kind: "manual";
@@ -1036,7 +1055,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1036
1055
  tracker?: {
1037
1056
  tracker: string;
1038
1057
  source: "custom" | "x-search";
1039
- beneficiary: "author" | "replied-to";
1058
+ beneficiary: string;
1059
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
1060
+ where?: {
1061
+ path: string;
1062
+ gt?: number | {
1063
+ setting: string;
1064
+ } | undefined;
1065
+ gte?: number | {
1066
+ setting: string;
1067
+ } | undefined;
1068
+ lt?: number | {
1069
+ setting: string;
1070
+ } | undefined;
1071
+ lte?: number | {
1072
+ setting: string;
1073
+ } | undefined;
1074
+ } | {
1075
+ path: string;
1076
+ equals: string | number | boolean;
1077
+ } | undefined;
1040
1078
  } | undefined;
1041
1079
  } | {
1042
1080
  kind: "manual";
@@ -1261,7 +1299,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1261
1299
  tracker?: {
1262
1300
  tracker: string;
1263
1301
  source: "custom" | "x-search";
1264
- beneficiary: "author" | "replied-to";
1302
+ beneficiary: string;
1303
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
1304
+ where?: {
1305
+ path: string;
1306
+ gt?: number | {
1307
+ setting: string;
1308
+ } | undefined;
1309
+ gte?: number | {
1310
+ setting: string;
1311
+ } | undefined;
1312
+ lt?: number | {
1313
+ setting: string;
1314
+ } | undefined;
1315
+ lte?: number | {
1316
+ setting: string;
1317
+ } | undefined;
1318
+ } | {
1319
+ path: string;
1320
+ equals: string | number | boolean;
1321
+ } | undefined;
1265
1322
  } | undefined;
1266
1323
  } | {
1267
1324
  kind: "manual";
@@ -1489,7 +1546,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1489
1546
  tracker?: {
1490
1547
  tracker: string;
1491
1548
  source: "custom" | "x-search";
1492
- beneficiary: "author" | "replied-to";
1549
+ beneficiary: string;
1550
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
1551
+ where?: {
1552
+ path: string;
1553
+ gt?: number | {
1554
+ setting: string;
1555
+ } | undefined;
1556
+ gte?: number | {
1557
+ setting: string;
1558
+ } | undefined;
1559
+ lt?: number | {
1560
+ setting: string;
1561
+ } | undefined;
1562
+ lte?: number | {
1563
+ setting: string;
1564
+ } | undefined;
1565
+ } | {
1566
+ path: string;
1567
+ equals: string | number | boolean;
1568
+ } | undefined;
1493
1569
  } | undefined;
1494
1570
  } | {
1495
1571
  kind: "manual";
@@ -2007,7 +2083,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2007
2083
  tracker?: {
2008
2084
  tracker: string;
2009
2085
  source: "custom" | "x-search";
2010
- beneficiary: "author" | "replied-to";
2086
+ beneficiary: string;
2087
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
2088
+ where?: {
2089
+ path: string;
2090
+ gt?: number | {
2091
+ setting: string;
2092
+ } | undefined;
2093
+ gte?: number | {
2094
+ setting: string;
2095
+ } | undefined;
2096
+ lt?: number | {
2097
+ setting: string;
2098
+ } | undefined;
2099
+ lte?: number | {
2100
+ setting: string;
2101
+ } | undefined;
2102
+ } | {
2103
+ path: string;
2104
+ equals: string | number | boolean;
2105
+ } | undefined;
2011
2106
  } | undefined;
2012
2107
  } | {
2013
2108
  kind: "manual";
@@ -2477,7 +2572,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2477
2572
  tracker?: {
2478
2573
  tracker: string;
2479
2574
  source: "custom" | "x-search";
2480
- beneficiary: "author" | "replied-to";
2575
+ beneficiary: string;
2576
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
2577
+ where?: {
2578
+ path: string;
2579
+ gt?: number | {
2580
+ setting: string;
2581
+ } | undefined;
2582
+ gte?: number | {
2583
+ setting: string;
2584
+ } | undefined;
2585
+ lt?: number | {
2586
+ setting: string;
2587
+ } | undefined;
2588
+ lte?: number | {
2589
+ setting: string;
2590
+ } | undefined;
2591
+ } | {
2592
+ path: string;
2593
+ equals: string | number | boolean;
2594
+ } | undefined;
2481
2595
  } | undefined;
2482
2596
  } | {
2483
2597
  kind: "manual";
@@ -2683,7 +2797,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2683
2797
  tracker?: {
2684
2798
  tracker: string;
2685
2799
  source: "custom" | "x-search";
2686
- beneficiary: "author" | "replied-to";
2800
+ beneficiary: string;
2801
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
2802
+ where?: {
2803
+ path: string;
2804
+ gt?: number | {
2805
+ setting: string;
2806
+ } | undefined;
2807
+ gte?: number | {
2808
+ setting: string;
2809
+ } | undefined;
2810
+ lt?: number | {
2811
+ setting: string;
2812
+ } | undefined;
2813
+ lte?: number | {
2814
+ setting: string;
2815
+ } | undefined;
2816
+ } | {
2817
+ path: string;
2818
+ equals: string | number | boolean;
2819
+ } | undefined;
2687
2820
  } | undefined;
2688
2821
  } | {
2689
2822
  kind: "manual";
@@ -2888,7 +3021,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2888
3021
  tracker?: {
2889
3022
  tracker: string;
2890
3023
  source: "custom" | "x-search";
2891
- beneficiary: "author" | "replied-to";
3024
+ beneficiary: string;
3025
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
3026
+ where?: {
3027
+ path: string;
3028
+ gt?: number | {
3029
+ setting: string;
3030
+ } | undefined;
3031
+ gte?: number | {
3032
+ setting: string;
3033
+ } | undefined;
3034
+ lt?: number | {
3035
+ setting: string;
3036
+ } | undefined;
3037
+ lte?: number | {
3038
+ setting: string;
3039
+ } | undefined;
3040
+ } | {
3041
+ path: string;
3042
+ equals: string | number | boolean;
3043
+ } | undefined;
2892
3044
  } | undefined;
2893
3045
  } | {
2894
3046
  kind: "manual";
@@ -3274,7 +3426,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3274
3426
  tracker?: {
3275
3427
  tracker: string;
3276
3428
  source: "custom" | "x-search";
3277
- beneficiary: "author" | "replied-to";
3429
+ beneficiary: string;
3430
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
3431
+ where?: {
3432
+ path: string;
3433
+ gt?: number | {
3434
+ setting: string;
3435
+ } | undefined;
3436
+ gte?: number | {
3437
+ setting: string;
3438
+ } | undefined;
3439
+ lt?: number | {
3440
+ setting: string;
3441
+ } | undefined;
3442
+ lte?: number | {
3443
+ setting: string;
3444
+ } | undefined;
3445
+ } | {
3446
+ path: string;
3447
+ equals: string | number | boolean;
3448
+ } | undefined;
3278
3449
  } | undefined;
3279
3450
  } | {
3280
3451
  kind: "manual";
@@ -3508,7 +3679,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3508
3679
  tracker?: {
3509
3680
  tracker: string;
3510
3681
  source: "custom" | "x-search";
3511
- beneficiary: "author" | "replied-to";
3682
+ beneficiary: string;
3683
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
3684
+ where?: {
3685
+ path: string;
3686
+ gt?: number | {
3687
+ setting: string;
3688
+ } | undefined;
3689
+ gte?: number | {
3690
+ setting: string;
3691
+ } | undefined;
3692
+ lt?: number | {
3693
+ setting: string;
3694
+ } | undefined;
3695
+ lte?: number | {
3696
+ setting: string;
3697
+ } | undefined;
3698
+ } | {
3699
+ path: string;
3700
+ equals: string | number | boolean;
3701
+ } | undefined;
3512
3702
  } | undefined;
3513
3703
  } | {
3514
3704
  kind: "manual";
@@ -3639,7 +3829,26 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3639
3829
  tracker?: {
3640
3830
  tracker: string;
3641
3831
  source: "custom" | "x-search";
3642
- beneficiary: "author" | "replied-to";
3832
+ beneficiary: string;
3833
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
3834
+ where?: {
3835
+ path: string;
3836
+ gt?: number | {
3837
+ setting: string;
3838
+ } | undefined;
3839
+ gte?: number | {
3840
+ setting: string;
3841
+ } | undefined;
3842
+ lt?: number | {
3843
+ setting: string;
3844
+ } | undefined;
3845
+ lte?: number | {
3846
+ setting: string;
3847
+ } | undefined;
3848
+ } | {
3849
+ path: string;
3850
+ equals: string | number | boolean;
3851
+ } | undefined;
3643
3852
  } | undefined;
3644
3853
  } | {
3645
3854
  kind: "manual";
package/dist/browser.js CHANGED
@@ -11,12 +11,12 @@ import {
11
11
  signInOptions,
12
12
  solanaSigner,
13
13
  walletStandardSolanaSigner
14
- } from "./chunk-UMKGCDBX.js";
15
- import "./chunk-CB7RKKDX.js";
16
- import "./chunk-HINZLW46.js";
17
- import "./chunk-TYYGYDYX.js";
18
- import "./chunk-CWIJDQDT.js";
19
- import "./chunk-BE5V6RFD.js";
14
+ } from "./chunk-BGN3CQC6.js";
15
+ import "./chunk-IZYXEXUO.js";
16
+ import "./chunk-QEN4GHL7.js";
17
+ import "./chunk-OQ4ZNOC7.js";
18
+ import "./chunk-UI4N4XRZ.js";
19
+ import "./chunk-UPWID5KS.js";
20
20
  export {
21
21
  browserSubmissionStore,
22
22
  cosmosChainList,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createRelayClient
3
- } from "./chunk-CB7RKKDX.js";
3
+ } from "./chunk-IZYXEXUO.js";
4
4
  import {
5
5
  cosmosChain
6
- } from "./chunk-CWIJDQDT.js";
6
+ } from "./chunk-UI4N4XRZ.js";
7
7
 
8
8
  // src/base58.ts
9
9
  var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
@@ -19,13 +19,13 @@ import {
19
19
  referralHistorySchema,
20
20
  referralSummarySchema,
21
21
  validateAuthoringIdentity
22
- } from "./chunk-HINZLW46.js";
22
+ } from "./chunk-QEN4GHL7.js";
23
23
  import {
24
24
  authScopeSchema,
25
25
  exchangeResultSchema,
26
26
  memberSummarySchema,
27
27
  sessionSchema
28
- } from "./chunk-TYYGYDYX.js";
28
+ } from "./chunk-OQ4ZNOC7.js";
29
29
  import {
30
30
  AVATAR_UPLOAD_LIMIT,
31
31
  avatarUploadTypes,
@@ -46,7 +46,7 @@ import {
46
46
  walletSignInNetworksSchema,
47
47
  walletSignatureSchema,
48
48
  walletUnlinkInputSchema
49
- } from "./chunk-CWIJDQDT.js";
49
+ } from "./chunk-UI4N4XRZ.js";
50
50
  import {
51
51
  accountConnectionSchema,
52
52
  attemptSchema,
@@ -85,7 +85,7 @@ import {
85
85
  validateSubmissionValue,
86
86
  valueEvidenceSchema,
87
87
  xTweetSchema
88
- } from "./chunk-BE5V6RFD.js";
88
+ } from "./chunk-UPWID5KS.js";
89
89
 
90
90
  // src/point-ledgers.ts
91
91
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  identifier
3
- } from "./chunk-BE5V6RFD.js";
3
+ } from "./chunk-UPWID5KS.js";
4
4
 
5
5
  // src/auth.ts
6
6
  import { z } from "zod";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  profileSummarySchema
3
- } from "./chunk-CWIJDQDT.js";
3
+ } from "./chunk-UI4N4XRZ.js";
4
4
  import {
5
5
  contentMetricSchema,
6
6
  contentMetricsSchema,
7
7
  identifier,
8
8
  pointsRewardSchema,
9
9
  tierRewardSchema
10
- } from "./chunk-BE5V6RFD.js";
10
+ } from "./chunk-UPWID5KS.js";
11
11
 
12
12
  // src/engagement.ts
13
13
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  identifier
3
- } from "./chunk-BE5V6RFD.js";
3
+ } from "./chunk-UPWID5KS.js";
4
4
 
5
5
  // src/profiles.ts
6
6
  import { z } from "zod";