@domino-sdk/relay 1.36.0 → 1.37.1

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 (40) hide show
  1. package/dist/authoring.d.ts +45 -44
  2. package/dist/authoring.js +4 -4
  3. package/dist/browser.d.ts +4 -4
  4. package/dist/browser.js +10 -10
  5. package/dist/{chunk-GI6RO43K.js → chunk-2GGITG27.js} +2 -2
  6. package/dist/{chunk-FTB7F5IP.js → chunk-2NNVJUP4.js} +1 -1
  7. package/dist/{chunk-S37JPI5O.js → chunk-4MPF5Y5A.js} +1 -1
  8. package/dist/{chunk-RIMESZ4X.js → chunk-5D3O4GEM.js} +5 -1
  9. package/dist/{chunk-R5NQEW5J.js → chunk-6KNYVJHM.js} +2 -2
  10. package/dist/{chunk-JHHTQ73D.js → chunk-DOTZUOUI.js} +6 -6
  11. package/dist/{chunk-SB3ODDGR.js → chunk-EOCAYQUY.js} +1 -1
  12. package/dist/{chunk-NQDZX3D2.js → chunk-FB5GDPUU.js} +1 -1
  13. package/dist/{chunk-L33BQLNF.js → chunk-FSJPYDW7.js} +4 -4
  14. package/dist/{chunk-U735N4KB.js → chunk-IBNS3X7D.js} +1 -1
  15. package/dist/{chunk-JXFRKZGL.js → chunk-OTDMH4IB.js} +1 -1
  16. package/dist/{chunk-LNPV4J53.js → chunk-PWHKIZ2F.js} +2 -2
  17. package/dist/{chunk-K7PUCZJY.js → chunk-TIXJGCWY.js} +8 -8
  18. package/dist/{chunk-2A4LCKTU.js → chunk-WYFGWUUJ.js} +9 -2
  19. package/dist/{chunk-3KCKA2XH.js → chunk-XJCOVZZJ.js} +1 -1
  20. package/dist/{chunk-Z2EN4ERZ.js → chunk-ZG7XRZIF.js} +1 -1
  21. package/dist/{client-CraOIr8b.d.ts → client-B3rMXsx2.d.ts} +3 -2
  22. package/dist/{deployments-DTaJPDsl.d.ts → deployments-CztfY7C8.d.ts} +228 -212
  23. package/dist/{groups-DTsvf0Z2.d.ts → groups-CRUAE6hI.d.ts} +8 -1
  24. package/dist/index.d.ts +4 -4
  25. package/dist/index.js +9 -9
  26. package/dist/internal.d.ts +4 -4
  27. package/dist/internal.js +8 -8
  28. package/dist/{offers-DFJ4dmR3.d.ts → offers-B04ZE2JR.d.ts} +1 -1
  29. package/dist/portal-proxy.js +3 -3
  30. package/dist/react/index.d.ts +6 -6
  31. package/dist/react/index.js +10 -10
  32. package/dist/schema.d.ts +318 -314
  33. package/dist/schema.js +7 -7
  34. package/dist/server/index.d.ts +4 -4
  35. package/dist/server/index.js +104 -16
  36. package/dist/{submission-input-BHzSin84.d.ts → submission-input-DGBBygFe.d.ts} +1 -1
  37. package/dist/{telegram-browser-B1LFWF_v.d.ts → telegram-browser-CiTSBNKo.d.ts} +1 -1
  38. package/dist/testing.js +5 -5
  39. package/dist/{transport-4QyqeZLU.d.ts → transport-BLq1PH-O.d.ts} +3398 -3074
  40. package/package.json +1 -1
@@ -2,16 +2,16 @@ import { x as xContentBodySchema, I as IdentityKind, n as customSourceSchema, W
2
2
  export { a9 as LedgerSetting, aa as TrackerPage, ab as TrackerReadQuery, ac as trackerDataSchema, ad as trackerTriggerContextSchema } from './schema--jNn3OfJ.js';
3
3
  import * as z from 'zod';
4
4
  export { z } from 'zod';
5
- import { f as badgeDeclarationSchema, B as Badge } from './offers-DFJ4dmR3.js';
6
- export { g as defineOffer } from './offers-DFJ4dmR3.js';
7
- import { E as EngagementBudget, q as leaderboardDefinitionSchema, r as AuthoringIdentity, s as pointLedgerDeclarationSchema, t as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-DTsvf0Z2.js';
8
- export { u as defineCampaign, v as defineGroup } from './groups-DTsvf0Z2.js';
5
+ import { f as badgeDeclarationSchema, B as Badge } from './offers-B04ZE2JR.js';
6
+ export { g as defineOffer } from './offers-B04ZE2JR.js';
7
+ import { E as EngagementBudget, q as leaderboardDefinitionSchema, r as AuthoringIdentity, s as pointLedgerDeclarationSchema, t as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-CRUAE6hI.js';
8
+ export { u as defineCampaign, v as defineGroup } from './groups-CRUAE6hI.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-BHzSin84.js';
14
- export { c as balanceAtLeast, d as completed, i as inGroup } from './submission-input-BHzSin84.js';
13
+ import { P as Prerequisite, T as TextEvidence, U as UrlEvidence, a as TextOptions, b as UrlOptions } from './submission-input-DGBBygFe.js';
14
+ export { c as balanceAtLeast, d as completed, i as inGroup } from './submission-input-DGBBygFe.js';
15
15
  import { I as ImageReader, X as XReader } from './x-imfTy_I1.js';
16
16
  import { h as WalletReader } from './wallet-t7uNDg9p.js';
17
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';
@@ -257,8 +257,8 @@ declare function defineLeaderboard(input: Omit<LeaderboardInput, "key" | "id" |
257
257
  kind: "earned";
258
258
  }> | ReturnType<typeof earned>;
259
259
  }): {
260
- balance: string;
261
260
  title: string;
261
+ balance: string;
262
262
  access: "participants" | "public";
263
263
  score: {
264
264
  kind: "balance";
@@ -295,6 +295,7 @@ declare function defineLeaderboard(input: Omit<LeaderboardInput, "key" | "id" |
295
295
  };
296
296
  };
297
297
  key: string;
298
+ includeUnscored?: boolean | undefined;
298
299
  settle?: {
299
300
  at: "window-end";
300
301
  ties: "shared" | "earliest";
@@ -445,7 +446,7 @@ declare const telegram: {
445
446
  reactions(): {
446
447
  kind: "custom";
447
448
  namespace: string;
448
- identities?: ("discord" | "wallet" | "x" | "member" | `app:${string}`)[] | undefined;
449
+ identities?: ("discord" | "member" | "wallet" | "x" | `app:${string}`)[] | undefined;
449
450
  accounts?: string[] | undefined;
450
451
  data?: TrackerDataSchema | undefined;
451
452
  content?: {
@@ -1096,15 +1097,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1096
1097
  badge?: string | undefined;
1097
1098
  };
1098
1099
  tier: string;
1099
- } | {
1100
- kind: "points";
1101
- balance: string;
1102
- amount: number;
1103
1100
  } | {
1104
1101
  kind: "integration";
1105
1102
  provider: "discord";
1106
1103
  action: "grant-role";
1107
1104
  roleId: string;
1105
+ } | {
1106
+ kind: "points";
1107
+ balance: string;
1108
+ amount: number;
1108
1109
  })[] | ((ctx: {
1109
1110
  settings: z.core.$InferObjectOutput<T, {}>;
1110
1111
  }) => Reward[]);
@@ -1179,9 +1180,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1179
1180
  kind: "resource";
1180
1181
  default: string;
1181
1182
  source: {
1182
- provider: "domino";
1183
- resource: "point-ledger";
1184
- } | {
1185
1183
  provider: "discord";
1186
1184
  resource: "channel";
1187
1185
  types: ("text" | "announcement")[];
@@ -1189,6 +1187,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1189
1187
  provider: "discord";
1190
1188
  resource: "role";
1191
1189
  assignable: boolean;
1190
+ } | {
1191
+ provider: "domino";
1192
+ resource: "point-ledger";
1192
1193
  };
1193
1194
  label: string;
1194
1195
  description?: string | undefined;
@@ -1262,15 +1263,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1262
1263
  badge?: string | undefined;
1263
1264
  };
1264
1265
  tier: string;
1265
- } | {
1266
- kind: "points";
1267
- balance: string;
1268
- amount: number;
1269
1266
  } | {
1270
1267
  kind: "integration";
1271
1268
  provider: "discord";
1272
1269
  action: "grant-role";
1273
1270
  roleId: string;
1271
+ } | {
1272
+ kind: "points";
1273
+ balance: string;
1274
+ amount: number;
1274
1275
  })[];
1275
1276
  humanReview: boolean;
1276
1277
  trigger: {
@@ -1292,7 +1293,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1292
1293
  actor?: "staff" | "member" | undefined;
1293
1294
  } | {
1294
1295
  kind: "manual";
1295
- input: "photo" | "quiz" | "none";
1296
+ input: "none" | "quiz" | "photo";
1296
1297
  actor?: "staff" | "member" | undefined;
1297
1298
  } | {
1298
1299
  kind: "automatic";
@@ -1336,9 +1337,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1336
1337
  path: string;
1337
1338
  equals: string | number | boolean;
1338
1339
  })[] | undefined;
1339
- enrollment?: "required" | "none" | undefined;
1340
+ enrollment?: "none" | "required" | undefined;
1340
1341
  since?: "activation" | "window" | "enrollment" | undefined;
1341
- historical?: "automatic" | "staff" | "claim" | undefined;
1342
+ historical?: "staff" | "claim" | "automatic" | undefined;
1342
1343
  content?: true | undefined;
1343
1344
  } | undefined;
1344
1345
  };
@@ -1361,9 +1362,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1361
1362
  title: string;
1362
1363
  })[];
1363
1364
  completion: {
1364
- kind: "streak";
1365
- days: number;
1366
- } | {
1367
1365
  kind: "progress";
1368
1366
  goal: {
1369
1367
  kind: "count";
@@ -1380,6 +1378,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1380
1378
  durationMs: number;
1381
1379
  };
1382
1380
  repeat: "repeat" | "once";
1381
+ } | {
1382
+ kind: "streak";
1383
+ days: number;
1383
1384
  } | {
1384
1385
  kind: "once";
1385
1386
  } | {
@@ -1405,7 +1406,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
1405
1406
  campaign?: {
1406
1407
  key: string;
1407
1408
  title: string;
1408
- enrollment: "required" | "none";
1409
+ enrollment: "none" | "required";
1409
1410
  window?: {
1410
1411
  from: number;
1411
1412
  until: number;
@@ -1520,15 +1521,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1520
1521
  badge?: string | undefined;
1521
1522
  };
1522
1523
  tier: string;
1523
- } | {
1524
- kind: "points";
1525
- balance: string;
1526
- amount: number;
1527
1524
  } | {
1528
1525
  kind: "integration";
1529
1526
  provider: "discord";
1530
1527
  action: "grant-role";
1531
1528
  roleId: string;
1529
+ } | {
1530
+ kind: "points";
1531
+ balance: string;
1532
+ amount: number;
1532
1533
  })[] | ((ctx: {
1533
1534
  settings: z.core.$InferObjectOutput<T, {}>;
1534
1535
  }) => Reward[]);
@@ -1603,9 +1604,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1603
1604
  kind: "resource";
1604
1605
  default: string;
1605
1606
  source: {
1606
- provider: "domino";
1607
- resource: "point-ledger";
1608
- } | {
1609
1607
  provider: "discord";
1610
1608
  resource: "channel";
1611
1609
  types: ("text" | "announcement")[];
@@ -1613,6 +1611,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1613
1611
  provider: "discord";
1614
1612
  resource: "role";
1615
1613
  assignable: boolean;
1614
+ } | {
1615
+ provider: "domino";
1616
+ resource: "point-ledger";
1616
1617
  };
1617
1618
  label: string;
1618
1619
  description?: string | undefined;
@@ -1686,15 +1687,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1686
1687
  badge?: string | undefined;
1687
1688
  };
1688
1689
  tier: string;
1689
- } | {
1690
- kind: "points";
1691
- balance: string;
1692
- amount: number;
1693
1690
  } | {
1694
1691
  kind: "integration";
1695
1692
  provider: "discord";
1696
1693
  action: "grant-role";
1697
1694
  roleId: string;
1695
+ } | {
1696
+ kind: "points";
1697
+ balance: string;
1698
+ amount: number;
1698
1699
  })[];
1699
1700
  humanReview: boolean;
1700
1701
  trigger: {
@@ -1716,7 +1717,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1716
1717
  actor?: "staff" | "member" | undefined;
1717
1718
  } | {
1718
1719
  kind: "manual";
1719
- input: "photo" | "quiz" | "none";
1720
+ input: "none" | "quiz" | "photo";
1720
1721
  actor?: "staff" | "member" | undefined;
1721
1722
  } | {
1722
1723
  kind: "automatic";
@@ -1760,9 +1761,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1760
1761
  path: string;
1761
1762
  equals: string | number | boolean;
1762
1763
  })[] | undefined;
1763
- enrollment?: "required" | "none" | undefined;
1764
+ enrollment?: "none" | "required" | undefined;
1764
1765
  since?: "activation" | "window" | "enrollment" | undefined;
1765
- historical?: "automatic" | "staff" | "claim" | undefined;
1766
+ historical?: "staff" | "claim" | "automatic" | undefined;
1766
1767
  content?: true | undefined;
1767
1768
  } | undefined;
1768
1769
  };
@@ -1785,9 +1786,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1785
1786
  title: string;
1786
1787
  })[];
1787
1788
  completion: {
1788
- kind: "streak";
1789
- days: number;
1790
- } | {
1791
1789
  kind: "progress";
1792
1790
  goal: {
1793
1791
  kind: "count";
@@ -1804,6 +1802,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1804
1802
  durationMs: number;
1805
1803
  };
1806
1804
  repeat: "repeat" | "once";
1805
+ } | {
1806
+ kind: "streak";
1807
+ days: number;
1807
1808
  } | {
1808
1809
  kind: "once";
1809
1810
  } | {
@@ -1829,7 +1830,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
1829
1830
  campaign?: {
1830
1831
  key: string;
1831
1832
  title: string;
1832
- enrollment: "required" | "none";
1833
+ enrollment: "none" | "required";
1833
1834
  window?: {
1834
1835
  from: number;
1835
1836
  until: number;
package/dist/authoring.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  sourceDataSchema,
11
11
  sourceRoles,
12
12
  validateQuestShape
13
- } from "./chunk-NQDZX3D2.js";
13
+ } from "./chunk-FB5GDPUU.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-2A4LCKTU.js";
23
+ } from "./chunk-WYFGWUUJ.js";
24
24
  import {
25
25
  telegramReactionDataSchema,
26
26
  telegramReactionsNamespace
27
- } from "./chunk-FTB7F5IP.js";
27
+ } from "./chunk-2NNVJUP4.js";
28
28
  import {
29
29
  authoringKey,
30
30
  badgeReward,
@@ -81,7 +81,7 @@ import {
81
81
  whereSchemaIssue,
82
82
  whereSettings,
83
83
  xSearchSourceSchema
84
- } from "./chunk-RIMESZ4X.js";
84
+ } from "./chunk-5D3O4GEM.js";
85
85
 
86
86
  // src/builders.ts
87
87
  import * as z from "zod";
package/dist/browser.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-CraOIr8b.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-B1LFWF_v.js';
3
- import './groups-DTsvf0Z2.js';
1
+ import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-B3rMXsx2.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-CiTSBNKo.js';
3
+ import './groups-CRUAE6hI.js';
4
4
  import 'zod';
5
5
  import './schema--jNn3OfJ.js';
6
6
  import './pages-B5agdH0f.js';
7
- import './submission-input-BHzSin84.js';
7
+ import './submission-input-DGBBygFe.js';
8
8
  import './action-DBzILFx9.js';
9
9
  import './participant-activity-CoB2F30C.js';
10
10
  import './accounts-DRPENuZe.js';
package/dist/browser.js CHANGED
@@ -12,16 +12,16 @@ import {
12
12
  solanaSigner,
13
13
  telegramMiniAppInitData,
14
14
  walletStandardSolanaSigner
15
- } from "./chunk-R5NQEW5J.js";
16
- import "./chunk-K7PUCZJY.js";
17
- import "./chunk-JXFRKZGL.js";
18
- import "./chunk-GI6RO43K.js";
19
- import "./chunk-2A4LCKTU.js";
20
- import "./chunk-FTB7F5IP.js";
21
- import "./chunk-U735N4KB.js";
22
- import "./chunk-S37JPI5O.js";
23
- import "./chunk-SB3ODDGR.js";
24
- import "./chunk-RIMESZ4X.js";
15
+ } from "./chunk-6KNYVJHM.js";
16
+ import "./chunk-TIXJGCWY.js";
17
+ import "./chunk-OTDMH4IB.js";
18
+ import "./chunk-2GGITG27.js";
19
+ import "./chunk-WYFGWUUJ.js";
20
+ import "./chunk-2NNVJUP4.js";
21
+ import "./chunk-IBNS3X7D.js";
22
+ import "./chunk-4MPF5Y5A.js";
23
+ import "./chunk-EOCAYQUY.js";
24
+ import "./chunk-5D3O4GEM.js";
25
25
  export {
26
26
  browserSubmissionStore,
27
27
  cosmosChainList,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  badgeSchema,
3
3
  pointLedgerReferenceSchema
4
- } from "./chunk-2A4LCKTU.js";
4
+ } from "./chunk-WYFGWUUJ.js";
5
5
  import {
6
6
  authoringIdentityShape,
7
7
  entitlementSchema,
@@ -20,7 +20,7 @@ import {
20
20
  storedQuestDescriptionSchema,
21
21
  storedReviewModeSchema,
22
22
  tieredRewardReferenceSchema
23
- } from "./chunk-RIMESZ4X.js";
23
+ } from "./chunk-5D3O4GEM.js";
24
24
 
25
25
  // src/participant-activity.ts
26
26
  import * as z from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  accountConnectionSchema
3
- } from "./chunk-RIMESZ4X.js";
3
+ } from "./chunk-5D3O4GEM.js";
4
4
 
5
5
  // src/telegram.ts
6
6
  import * as z from "zod";
@@ -1,6 +1,6 @@
1
1
  // package.json
2
2
  var name = "@domino-sdk/relay";
3
- var version = "1.36.0";
3
+ var version = "1.37.1";
4
4
 
5
5
  // src/client-identity.ts
6
6
  function clientIdentity() {
@@ -2734,12 +2734,15 @@ function inGroup(group) {
2734
2734
  });
2735
2735
  }
2736
2736
 
2737
+ // src/points-amount.ts
2738
+ var maxPointsAmount = 2147483647;
2739
+
2737
2740
  // src/schema.ts
2738
2741
  import * as z26 from "zod";
2739
2742
  var pointsRewardSchema = z26.object({
2740
2743
  kind: z26.literal("points").default("points"),
2741
2744
  balance: identifier,
2742
- amount: z26.number().int().min(0).max(1e4)
2745
+ amount: z26.number().int().min(0).max(maxPointsAmount)
2743
2746
  }).strict();
2744
2747
  var tieredRewardDefinitionSchema = z26.object({
2745
2748
  /** An automatic achievement backed by the project badge catalog. */
@@ -3642,6 +3645,7 @@ export {
3642
3645
  trackerTriggerRecordSchema,
3643
3646
  trackerContentStageSchema,
3644
3647
  trackerTriggerContextSchema,
3648
+ maxPointsAmount,
3645
3649
  completionPolicySchema,
3646
3650
  completionKeySchema,
3647
3651
  budgetSchema,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createRelayClient
3
- } from "./chunk-K7PUCZJY.js";
3
+ } from "./chunk-TIXJGCWY.js";
4
4
  import {
5
5
  RelayErrorCode,
6
6
  asRelayError,
7
7
  clientError,
8
8
  cosmosChain
9
- } from "./chunk-RIMESZ4X.js";
9
+ } from "./chunk-5D3O4GEM.js";
10
10
 
11
11
  // src/base58.ts
12
12
  var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
@@ -6,7 +6,7 @@ import {
6
6
  imageSightingsSchema,
7
7
  imageUploadsSchema,
8
8
  publishedImageSchema
9
- } from "./chunk-Z2EN4ERZ.js";
9
+ } from "./chunk-ZG7XRZIF.js";
10
10
  import {
11
11
  catalogDeploymentSchema,
12
12
  collectionPassSchema,
@@ -24,7 +24,7 @@ import {
24
24
  questTypeVersionSchema,
25
25
  questViewSchema,
26
26
  rewardDeliveriesSchema
27
- } from "./chunk-GI6RO43K.js";
27
+ } from "./chunk-2GGITG27.js";
28
28
  import {
29
29
  badgeArtifactSchema,
30
30
  badgeSchema,
@@ -57,15 +57,15 @@ import {
57
57
  referralDefinitionSchema,
58
58
  referralHistorySchema,
59
59
  referralSummarySchema
60
- } from "./chunk-2A4LCKTU.js";
60
+ } from "./chunk-WYFGWUUJ.js";
61
61
  import {
62
62
  telegramAccountConnectionSchema
63
- } from "./chunk-FTB7F5IP.js";
63
+ } from "./chunk-2NNVJUP4.js";
64
64
  import {
65
65
  exchangeResultSchema,
66
66
  memberSummarySchema,
67
67
  participantSessionSchema
68
- } from "./chunk-SB3ODDGR.js";
68
+ } from "./chunk-EOCAYQUY.js";
69
69
  import {
70
70
  accountConnectionSchema,
71
71
  attemptSchema,
@@ -96,7 +96,7 @@ import {
96
96
  walletBalanceSchema,
97
97
  walletMessageChallengeSchema,
98
98
  walletSignInNetworksSchema
99
- } from "./chunk-RIMESZ4X.js";
99
+ } from "./chunk-5D3O4GEM.js";
100
100
 
101
101
  // src/deployments.ts
102
102
  import * as z from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  identifier
3
- } from "./chunk-RIMESZ4X.js";
3
+ } from "./chunk-5D3O4GEM.js";
4
4
 
5
5
  // src/auth.ts
6
6
  import * as z from "zod";
@@ -5,7 +5,7 @@ import {
5
5
  isKnownTrackerSource,
6
6
  trackerDataSchema,
7
7
  xAccountRoles
8
- } from "./chunk-RIMESZ4X.js";
8
+ } from "./chunk-5D3O4GEM.js";
9
9
 
10
10
  // src/quest-shape.ts
11
11
  function validateQuestShape(description, options = {}) {
@@ -4,20 +4,20 @@ import {
4
4
  retryAfter,
5
5
  retrying,
6
6
  validTimeout
7
- } from "./chunk-U735N4KB.js";
7
+ } from "./chunk-IBNS3X7D.js";
8
8
  import {
9
9
  clientIdentity
10
- } from "./chunk-S37JPI5O.js";
10
+ } from "./chunk-4MPF5Y5A.js";
11
11
  import {
12
12
  authScopeSchema
13
- } from "./chunk-SB3ODDGR.js";
13
+ } from "./chunk-EOCAYQUY.js";
14
14
  import {
15
15
  RequestError,
16
16
  appIdentityKindSchema,
17
17
  isRequestError,
18
18
  knownResponse,
19
19
  openIdentityKindSchema
20
- } from "./chunk-RIMESZ4X.js";
20
+ } from "./chunk-5D3O4GEM.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-RIMESZ4X.js";
3
+ } from "./chunk-5D3O4GEM.js";
4
4
 
5
5
  // src/request-lifetime.ts
6
6
  var PARTICIPANT_TIMEOUT = 15e3;
@@ -2,7 +2,7 @@ import {
2
2
  RelayErrorCode,
3
3
  clientError,
4
4
  isRequestError
5
- } from "./chunk-RIMESZ4X.js";
5
+ } from "./chunk-5D3O4GEM.js";
6
6
 
7
7
  // src/action.ts
8
8
  function withActionId(value) {
@@ -4,10 +4,10 @@ import {
4
4
  imageFieldsSchema,
5
5
  imageInspectionSchema,
6
6
  imageSightingsSchema
7
- } from "./chunk-Z2EN4ERZ.js";
7
+ } from "./chunk-ZG7XRZIF.js";
8
8
  import {
9
9
  photoResultSchema
10
- } from "./chunk-RIMESZ4X.js";
10
+ } from "./chunk-5D3O4GEM.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-JXFRKZGL.js";
4
+ } from "./chunk-OTDMH4IB.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-GI6RO43K.js";
20
+ } from "./chunk-2GGITG27.js";
21
21
  import {
22
22
  AVATAR_UPLOAD_LIMIT,
23
23
  avatarUploadTypes,
@@ -46,29 +46,29 @@ import {
46
46
  referralDefinitionSchema,
47
47
  referralHistorySchema,
48
48
  referralSummarySchema
49
- } from "./chunk-2A4LCKTU.js";
49
+ } from "./chunk-WYFGWUUJ.js";
50
50
  import {
51
51
  telegramAccountConnectionSchema,
52
52
  telegramMiniAppSignInSchema,
53
53
  telegramSignInMethodsSchema
54
- } from "./chunk-FTB7F5IP.js";
54
+ } from "./chunk-2NNVJUP4.js";
55
55
  import {
56
56
  PARTICIPANT_TIMEOUT,
57
57
  lifetime,
58
58
  retryAfter,
59
59
  retrying,
60
60
  validTimeout
61
- } from "./chunk-U735N4KB.js";
61
+ } from "./chunk-IBNS3X7D.js";
62
62
  import {
63
63
  clientIdentity
64
- } from "./chunk-S37JPI5O.js";
64
+ } from "./chunk-4MPF5Y5A.js";
65
65
  import {
66
66
  exchangeResultSchema,
67
67
  exchangeSchema,
68
68
  memberSummarySchema,
69
69
  participantSessionSchema,
70
70
  sessionMember
71
- } from "./chunk-SB3ODDGR.js";
71
+ } from "./chunk-EOCAYQUY.js";
72
72
  import {
73
73
  RelayError,
74
74
  RelayErrorCode,
@@ -107,7 +107,7 @@ import {
107
107
  walletSignInNetworksSchema,
108
108
  walletSignatureSchema,
109
109
  walletUnlinkInputSchema
110
- } from "./chunk-RIMESZ4X.js";
110
+ } from "./chunk-5D3O4GEM.js";
111
111
 
112
112
  // src/legacy-submissions.ts
113
113
  import * as z from "zod";
@@ -4,6 +4,7 @@ import {
4
4
  contentMetricSchema,
5
5
  contentMetricsSchema,
6
6
  identifier,
7
+ maxPointsAmount,
7
8
  pageCursorSchema,
8
9
  pointsRewardSchema,
9
10
  refuseWindowTimeZone,
@@ -11,7 +12,7 @@ import {
11
12
  responseShape,
12
13
  rewardKey,
13
14
  tierRewardSchema
14
- } from "./chunk-RIMESZ4X.js";
15
+ } from "./chunk-5D3O4GEM.js";
15
16
 
16
17
  // src/badges.ts
17
18
  import * as z from "zod";
@@ -477,6 +478,12 @@ var leaderboardDefinitionObject = z5.object({
477
478
  score: scoreSchema,
478
479
  access: z5.enum(["participants", "public"]).default("participants"),
479
480
  group: identifier.optional(),
481
+ /**
482
+ * List the project's eligible members who have no qualifying points, with a score of 0, ranked
483
+ * after every member who scored and ordered by member ID. Omitted or false lists only members
484
+ * with a qualifying entry. Settlements never include them.
485
+ */
486
+ includeUnscored: z5.boolean().optional(),
480
487
  settle: leaderboardSettlementPolicySchema.optional()
481
488
  }).strict();
482
489
  var validateSettlementWindow = (definition, context) => {
@@ -850,7 +857,7 @@ var referralManagementSchema = z6.object({
850
857
  import * as z7 from "zod";
851
858
  var quantity = z7.number().int().safe().nonnegative();
852
859
  var offerPriceSchema = pointsRewardSchema.extend({
853
- amount: z7.number().int().positive().max(1e4)
860
+ amount: z7.number().int().positive().max(maxPointsAmount)
854
861
  });
855
862
  var offerLimitSchema = z7.object({ perMember: z7.number().int().positive().max(1e4) }).strict();
856
863
  var offerDefinitionSchema = z7.object({
@@ -8,7 +8,7 @@ import {
8
8
  rewardBundleSchema,
9
9
  settingsValuesSchema,
10
10
  trackerTriggerContextSchema
11
- } from "./chunk-RIMESZ4X.js";
11
+ } from "./chunk-5D3O4GEM.js";
12
12
 
13
13
  // src/server/attempt-captures.ts
14
14
  import * as z from "zod";
@@ -2,7 +2,7 @@ import {
2
2
  identifier,
3
3
  responseShape,
4
4
  xTweetSchema
5
- } from "./chunk-RIMESZ4X.js";
5
+ } from "./chunk-5D3O4GEM.js";
6
6
 
7
7
  // src/x.ts
8
8
  import * as z from "zod";