@domino-sdk/relay 1.34.0 → 1.36.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.
- package/dist/{attempt-captures-nMDnKGdI.d.ts → attempt-captures-B2Clh9Df.d.ts} +1 -1
- package/dist/authoring.d.ts +47 -47
- package/dist/authoring.js +4 -4
- package/dist/{automatic-outcomes-CHiFP_U-.d.ts → automatic-outcomes-BiarOoiy.d.ts} +1 -1
- package/dist/browser.d.ts +7 -7
- package/dist/browser.js +10 -10
- package/dist/{chunk-ON7RDKQ3.js → chunk-2A4LCKTU.js} +1 -1
- package/dist/{chunk-32UPB7Q3.js → chunk-3KCKA2XH.js} +1 -1
- package/dist/{chunk-BUHGXKPY.js → chunk-FTB7F5IP.js} +1 -1
- package/dist/{chunk-BDWZ2BZP.js → chunk-GI6RO43K.js} +2 -2
- package/dist/{chunk-2SL7K42N.js → chunk-JHHTQ73D.js} +6 -6
- package/dist/{chunk-IJT4EKFY.js → chunk-JXFRKZGL.js} +1 -1
- package/dist/{chunk-XOHMDXSQ.js → chunk-K7PUCZJY.js} +12 -9
- package/dist/{chunk-5C5AZTKA.js → chunk-L33BQLNF.js} +4 -4
- package/dist/{chunk-V36CPSZW.js → chunk-LNPV4J53.js} +2 -2
- package/dist/{chunk-3WJBL74Q.js → chunk-NQDZX3D2.js} +1 -1
- package/dist/{chunk-OEDG75KH.js → chunk-R5NQEW5J.js} +2 -2
- package/dist/{chunk-OW22TOV7.js → chunk-RIMESZ4X.js} +29 -1
- package/dist/{chunk-Q2PUNIPL.js → chunk-S37JPI5O.js} +1 -1
- package/dist/{chunk-466IRAJP.js → chunk-SB3ODDGR.js} +15 -2
- package/dist/{chunk-V7K7XXFB.js → chunk-U735N4KB.js} +1 -1
- package/dist/{chunk-KUZXNKHL.js → chunk-Z2EN4ERZ.js} +1 -1
- package/dist/{client-Bkc7gOmF.d.ts → client-CraOIr8b.d.ts} +11 -6
- package/dist/{deployments-DMVpPnGX.d.ts → deployments-DTaJPDsl.d.ts} +213 -213
- package/dist/{groups-C06mpYOs.d.ts → groups-DTsvf0Z2.d.ts} +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +9 -9
- package/dist/internal.js +8 -8
- package/dist/{offers-BbQ9O-5J.d.ts → offers-DFJ4dmR3.d.ts} +2 -2
- package/dist/{pages-C1tNuRoB.d.ts → pages-B5agdH0f.d.ts} +1 -1
- package/dist/{participant-activity-BPZiW7m7.d.ts → participant-activity-CoB2F30C.d.ts} +2 -0
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +12 -10
- package/dist/react/index.js +10 -10
- package/dist/{schema-DquhoBae.d.ts → schema--jNn3OfJ.d.ts} +54 -1
- package/dist/schema.d.ts +327 -321
- package/dist/schema.js +13 -7
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +40 -14
- package/dist/{submission-input-DUmt6Wyx.d.ts → submission-input-BHzSin84.d.ts} +2 -2
- package/dist/{telegram-browser-DWFPGBgU.d.ts → telegram-browser-B1LFWF_v.d.ts} +2 -2
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +5 -5
- package/dist/{transport-DpI_Hhng.d.ts → transport-4QyqeZLU.d.ts} +3179 -3053
- package/dist/{x-58jkoblN.d.ts → x-imfTy_I1.d.ts} +1 -1
- package/package.json +1 -1
package/dist/authoring.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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
|
|
2
|
-
export { a9 as LedgerSetting, aa as TrackerPage, ab as TrackerReadQuery, ac as trackerDataSchema, ad as trackerTriggerContextSchema } from './schema
|
|
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--jNn3OfJ.js';
|
|
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-
|
|
6
|
-
export { g as defineOffer } from './offers-
|
|
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-
|
|
8
|
-
export { u as defineCampaign, v as defineGroup } from './groups-
|
|
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';
|
|
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-
|
|
14
|
-
export { c as balanceAtLeast, d as completed, i as inGroup } from './submission-input-
|
|
15
|
-
import { I as ImageReader, X as XReader } from './x-
|
|
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';
|
|
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';
|
|
18
18
|
export { C as CapabilityError, a as CapabilityErrorCode, c as capabilityErrorCodes } from './capability-error-FQGGb5xS.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
|
-
title: string;
|
|
261
260
|
balance: string;
|
|
261
|
+
title: string;
|
|
262
262
|
access: "participants" | "public";
|
|
263
263
|
score: {
|
|
264
264
|
kind: "balance";
|
|
@@ -445,7 +445,7 @@ declare const telegram: {
|
|
|
445
445
|
reactions(): {
|
|
446
446
|
kind: "custom";
|
|
447
447
|
namespace: string;
|
|
448
|
-
identities?: ("discord" | "
|
|
448
|
+
identities?: ("discord" | "wallet" | "x" | "member" | `app:${string}`)[] | undefined;
|
|
449
449
|
accounts?: string[] | undefined;
|
|
450
450
|
data?: TrackerDataSchema | undefined;
|
|
451
451
|
content?: {
|
|
@@ -1096,15 +1096,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1096
1096
|
badge?: string | undefined;
|
|
1097
1097
|
};
|
|
1098
1098
|
tier: string;
|
|
1099
|
+
} | {
|
|
1100
|
+
kind: "points";
|
|
1101
|
+
balance: string;
|
|
1102
|
+
amount: number;
|
|
1099
1103
|
} | {
|
|
1100
1104
|
kind: "integration";
|
|
1101
1105
|
provider: "discord";
|
|
1102
1106
|
action: "grant-role";
|
|
1103
1107
|
roleId: string;
|
|
1104
|
-
} | {
|
|
1105
|
-
kind: "points";
|
|
1106
|
-
balance: string;
|
|
1107
|
-
amount: number;
|
|
1108
1108
|
})[] | ((ctx: {
|
|
1109
1109
|
settings: z.core.$InferObjectOutput<T, {}>;
|
|
1110
1110
|
}) => Reward[]);
|
|
@@ -1179,6 +1179,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1179
1179
|
kind: "resource";
|
|
1180
1180
|
default: string;
|
|
1181
1181
|
source: {
|
|
1182
|
+
provider: "domino";
|
|
1183
|
+
resource: "point-ledger";
|
|
1184
|
+
} | {
|
|
1182
1185
|
provider: "discord";
|
|
1183
1186
|
resource: "channel";
|
|
1184
1187
|
types: ("text" | "announcement")[];
|
|
@@ -1186,9 +1189,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1186
1189
|
provider: "discord";
|
|
1187
1190
|
resource: "role";
|
|
1188
1191
|
assignable: boolean;
|
|
1189
|
-
} | {
|
|
1190
|
-
provider: "domino";
|
|
1191
|
-
resource: "point-ledger";
|
|
1192
1192
|
};
|
|
1193
1193
|
label: string;
|
|
1194
1194
|
description?: string | undefined;
|
|
@@ -1262,15 +1262,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1262
1262
|
badge?: string | undefined;
|
|
1263
1263
|
};
|
|
1264
1264
|
tier: string;
|
|
1265
|
+
} | {
|
|
1266
|
+
kind: "points";
|
|
1267
|
+
balance: string;
|
|
1268
|
+
amount: number;
|
|
1265
1269
|
} | {
|
|
1266
1270
|
kind: "integration";
|
|
1267
1271
|
provider: "discord";
|
|
1268
1272
|
action: "grant-role";
|
|
1269
1273
|
roleId: string;
|
|
1270
|
-
} | {
|
|
1271
|
-
kind: "points";
|
|
1272
|
-
balance: string;
|
|
1273
|
-
amount: number;
|
|
1274
1274
|
})[];
|
|
1275
1275
|
humanReview: boolean;
|
|
1276
1276
|
trigger: {
|
|
@@ -1292,7 +1292,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1292
1292
|
actor?: "staff" | "member" | undefined;
|
|
1293
1293
|
} | {
|
|
1294
1294
|
kind: "manual";
|
|
1295
|
-
input: "
|
|
1295
|
+
input: "photo" | "quiz" | "none";
|
|
1296
1296
|
actor?: "staff" | "member" | undefined;
|
|
1297
1297
|
} | {
|
|
1298
1298
|
kind: "automatic";
|
|
@@ -1336,9 +1336,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1336
1336
|
path: string;
|
|
1337
1337
|
equals: string | number | boolean;
|
|
1338
1338
|
})[] | undefined;
|
|
1339
|
-
enrollment?: "
|
|
1339
|
+
enrollment?: "required" | "none" | undefined;
|
|
1340
1340
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1341
|
-
historical?: "
|
|
1341
|
+
historical?: "automatic" | "staff" | "claim" | undefined;
|
|
1342
1342
|
content?: true | undefined;
|
|
1343
1343
|
} | undefined;
|
|
1344
1344
|
};
|
|
@@ -1361,6 +1361,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1361
1361
|
title: string;
|
|
1362
1362
|
})[];
|
|
1363
1363
|
completion: {
|
|
1364
|
+
kind: "streak";
|
|
1365
|
+
days: number;
|
|
1366
|
+
} | {
|
|
1364
1367
|
kind: "progress";
|
|
1365
1368
|
goal: {
|
|
1366
1369
|
kind: "count";
|
|
@@ -1377,9 +1380,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1377
1380
|
durationMs: number;
|
|
1378
1381
|
};
|
|
1379
1382
|
repeat: "repeat" | "once";
|
|
1380
|
-
} | {
|
|
1381
|
-
kind: "streak";
|
|
1382
|
-
days: number;
|
|
1383
1383
|
} | {
|
|
1384
1384
|
kind: "once";
|
|
1385
1385
|
} | {
|
|
@@ -1405,7 +1405,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1405
1405
|
campaign?: {
|
|
1406
1406
|
key: string;
|
|
1407
1407
|
title: string;
|
|
1408
|
-
enrollment: "
|
|
1408
|
+
enrollment: "required" | "none";
|
|
1409
1409
|
window?: {
|
|
1410
1410
|
from: number;
|
|
1411
1411
|
until: number;
|
|
@@ -1520,15 +1520,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1520
1520
|
badge?: string | undefined;
|
|
1521
1521
|
};
|
|
1522
1522
|
tier: string;
|
|
1523
|
+
} | {
|
|
1524
|
+
kind: "points";
|
|
1525
|
+
balance: string;
|
|
1526
|
+
amount: number;
|
|
1523
1527
|
} | {
|
|
1524
1528
|
kind: "integration";
|
|
1525
1529
|
provider: "discord";
|
|
1526
1530
|
action: "grant-role";
|
|
1527
1531
|
roleId: string;
|
|
1528
|
-
} | {
|
|
1529
|
-
kind: "points";
|
|
1530
|
-
balance: string;
|
|
1531
|
-
amount: number;
|
|
1532
1532
|
})[] | ((ctx: {
|
|
1533
1533
|
settings: z.core.$InferObjectOutput<T, {}>;
|
|
1534
1534
|
}) => Reward[]);
|
|
@@ -1603,6 +1603,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1603
1603
|
kind: "resource";
|
|
1604
1604
|
default: string;
|
|
1605
1605
|
source: {
|
|
1606
|
+
provider: "domino";
|
|
1607
|
+
resource: "point-ledger";
|
|
1608
|
+
} | {
|
|
1606
1609
|
provider: "discord";
|
|
1607
1610
|
resource: "channel";
|
|
1608
1611
|
types: ("text" | "announcement")[];
|
|
@@ -1610,9 +1613,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1610
1613
|
provider: "discord";
|
|
1611
1614
|
resource: "role";
|
|
1612
1615
|
assignable: boolean;
|
|
1613
|
-
} | {
|
|
1614
|
-
provider: "domino";
|
|
1615
|
-
resource: "point-ledger";
|
|
1616
1616
|
};
|
|
1617
1617
|
label: string;
|
|
1618
1618
|
description?: string | undefined;
|
|
@@ -1686,15 +1686,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1686
1686
|
badge?: string | undefined;
|
|
1687
1687
|
};
|
|
1688
1688
|
tier: string;
|
|
1689
|
+
} | {
|
|
1690
|
+
kind: "points";
|
|
1691
|
+
balance: string;
|
|
1692
|
+
amount: number;
|
|
1689
1693
|
} | {
|
|
1690
1694
|
kind: "integration";
|
|
1691
1695
|
provider: "discord";
|
|
1692
1696
|
action: "grant-role";
|
|
1693
1697
|
roleId: string;
|
|
1694
|
-
} | {
|
|
1695
|
-
kind: "points";
|
|
1696
|
-
balance: string;
|
|
1697
|
-
amount: number;
|
|
1698
1698
|
})[];
|
|
1699
1699
|
humanReview: boolean;
|
|
1700
1700
|
trigger: {
|
|
@@ -1716,7 +1716,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1716
1716
|
actor?: "staff" | "member" | undefined;
|
|
1717
1717
|
} | {
|
|
1718
1718
|
kind: "manual";
|
|
1719
|
-
input: "
|
|
1719
|
+
input: "photo" | "quiz" | "none";
|
|
1720
1720
|
actor?: "staff" | "member" | undefined;
|
|
1721
1721
|
} | {
|
|
1722
1722
|
kind: "automatic";
|
|
@@ -1760,9 +1760,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1760
1760
|
path: string;
|
|
1761
1761
|
equals: string | number | boolean;
|
|
1762
1762
|
})[] | undefined;
|
|
1763
|
-
enrollment?: "
|
|
1763
|
+
enrollment?: "required" | "none" | undefined;
|
|
1764
1764
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1765
|
-
historical?: "
|
|
1765
|
+
historical?: "automatic" | "staff" | "claim" | undefined;
|
|
1766
1766
|
content?: true | undefined;
|
|
1767
1767
|
} | undefined;
|
|
1768
1768
|
};
|
|
@@ -1785,6 +1785,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1785
1785
|
title: string;
|
|
1786
1786
|
})[];
|
|
1787
1787
|
completion: {
|
|
1788
|
+
kind: "streak";
|
|
1789
|
+
days: number;
|
|
1790
|
+
} | {
|
|
1788
1791
|
kind: "progress";
|
|
1789
1792
|
goal: {
|
|
1790
1793
|
kind: "count";
|
|
@@ -1801,9 +1804,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1801
1804
|
durationMs: number;
|
|
1802
1805
|
};
|
|
1803
1806
|
repeat: "repeat" | "once";
|
|
1804
|
-
} | {
|
|
1805
|
-
kind: "streak";
|
|
1806
|
-
days: number;
|
|
1807
1807
|
} | {
|
|
1808
1808
|
kind: "once";
|
|
1809
1809
|
} | {
|
|
@@ -1829,7 +1829,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1829
1829
|
campaign?: {
|
|
1830
1830
|
key: string;
|
|
1831
1831
|
title: string;
|
|
1832
|
-
enrollment: "
|
|
1832
|
+
enrollment: "required" | "none";
|
|
1833
1833
|
window?: {
|
|
1834
1834
|
from: number;
|
|
1835
1835
|
until: number;
|
package/dist/authoring.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
sourceDataSchema,
|
|
11
11
|
sourceRoles,
|
|
12
12
|
validateQuestShape
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NQDZX3D2.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-
|
|
23
|
+
} from "./chunk-2A4LCKTU.js";
|
|
24
24
|
import {
|
|
25
25
|
telegramReactionDataSchema,
|
|
26
26
|
telegramReactionsNamespace
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FTB7F5IP.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-
|
|
84
|
+
} from "./chunk-RIMESZ4X.js";
|
|
85
85
|
|
|
86
86
|
// src/builders.ts
|
|
87
87
|
import * as z from "zod";
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-
|
|
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-
|
|
3
|
-
import './groups-
|
|
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';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './schema
|
|
6
|
-
import './pages-
|
|
7
|
-
import './submission-input-
|
|
5
|
+
import './schema--jNn3OfJ.js';
|
|
6
|
+
import './pages-B5agdH0f.js';
|
|
7
|
+
import './submission-input-BHzSin84.js';
|
|
8
8
|
import './action-DBzILFx9.js';
|
|
9
|
-
import './participant-activity-
|
|
9
|
+
import './participant-activity-CoB2F30C.js';
|
|
10
10
|
import './accounts-DRPENuZe.js';
|
|
11
11
|
import './profiles-BHuQdzsW.js';
|
|
12
12
|
import './wallet-t7uNDg9p.js';
|
package/dist/browser.js
CHANGED
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
solanaSigner,
|
|
13
13
|
telegramMiniAppInitData,
|
|
14
14
|
walletStandardSolanaSigner
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
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";
|
|
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-
|
|
4
|
+
} from "./chunk-2A4LCKTU.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-
|
|
23
|
+
} from "./chunk-RIMESZ4X.js";
|
|
24
24
|
|
|
25
25
|
// src/participant-activity.ts
|
|
26
26
|
import * as z from "zod";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
imageSightingsSchema,
|
|
7
7
|
imageUploadsSchema,
|
|
8
8
|
publishedImageSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Z2EN4ERZ.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-
|
|
27
|
+
} from "./chunk-GI6RO43K.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-
|
|
60
|
+
} from "./chunk-2A4LCKTU.js";
|
|
61
61
|
import {
|
|
62
62
|
telegramAccountConnectionSchema
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-FTB7F5IP.js";
|
|
64
64
|
import {
|
|
65
65
|
exchangeResultSchema,
|
|
66
66
|
memberSummarySchema,
|
|
67
67
|
participantSessionSchema
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-SB3ODDGR.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-
|
|
99
|
+
} from "./chunk-RIMESZ4X.js";
|
|
100
100
|
|
|
101
101
|
// src/deployments.ts
|
|
102
102
|
import * as z from "zod";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRelayAction,
|
|
3
3
|
withActionId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JXFRKZGL.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-
|
|
20
|
+
} from "./chunk-GI6RO43K.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-
|
|
49
|
+
} from "./chunk-2A4LCKTU.js";
|
|
50
50
|
import {
|
|
51
51
|
telegramAccountConnectionSchema,
|
|
52
52
|
telegramMiniAppSignInSchema,
|
|
53
53
|
telegramSignInMethodsSchema
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-FTB7F5IP.js";
|
|
55
55
|
import {
|
|
56
56
|
PARTICIPANT_TIMEOUT,
|
|
57
57
|
lifetime,
|
|
58
58
|
retryAfter,
|
|
59
59
|
retrying,
|
|
60
60
|
validTimeout
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-U735N4KB.js";
|
|
62
62
|
import {
|
|
63
63
|
clientIdentity
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-S37JPI5O.js";
|
|
65
65
|
import {
|
|
66
66
|
exchangeResultSchema,
|
|
67
67
|
exchangeSchema,
|
|
68
68
|
memberSummarySchema,
|
|
69
69
|
participantSessionSchema,
|
|
70
70
|
sessionMember
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-SB3ODDGR.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-
|
|
110
|
+
} from "./chunk-RIMESZ4X.js";
|
|
111
111
|
|
|
112
112
|
// src/legacy-submissions.ts
|
|
113
113
|
import * as z from "zod";
|
|
@@ -2191,7 +2191,10 @@ function relayClient(options) {
|
|
|
2191
2191
|
return { refresh: observer.refresh, dispose: observer.dispose };
|
|
2192
2192
|
}
|
|
2193
2193
|
},
|
|
2194
|
-
/**
|
|
2194
|
+
/**
|
|
2195
|
+
* The signed-in member, the seed of their generated avatar (`defaultAvatar(avatarSeed)`), and
|
|
2196
|
+
* their own verified sign-in email addresses: `email` (or null) and `emails`.
|
|
2197
|
+
*/
|
|
2195
2198
|
get: async (requestOptions) => request("/v1/me", memberSummarySchema, { options: requestOptions }),
|
|
2196
2199
|
observeProgress: (listener, observeOptions) => {
|
|
2197
2200
|
const observer = observeProgress(
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
retryAfter,
|
|
5
5
|
retrying,
|
|
6
6
|
validTimeout
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-U735N4KB.js";
|
|
8
8
|
import {
|
|
9
9
|
clientIdentity
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S37JPI5O.js";
|
|
11
11
|
import {
|
|
12
12
|
authScopeSchema
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SB3ODDGR.js";
|
|
14
14
|
import {
|
|
15
15
|
RequestError,
|
|
16
16
|
appIdentityKindSchema,
|
|
17
17
|
isRequestError,
|
|
18
18
|
knownResponse,
|
|
19
19
|
openIdentityKindSchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RIMESZ4X.js";
|
|
21
21
|
|
|
22
22
|
// src/configuration.ts
|
|
23
23
|
function questConfiguration(release) {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
imageFieldsSchema,
|
|
5
5
|
imageInspectionSchema,
|
|
6
6
|
imageSightingsSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z2EN4ERZ.js";
|
|
8
8
|
import {
|
|
9
9
|
photoResultSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RIMESZ4X.js";
|
|
11
11
|
|
|
12
12
|
// src/image-results.ts
|
|
13
13
|
import * as z from "zod";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRelayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K7PUCZJY.js";
|
|
4
4
|
import {
|
|
5
5
|
RelayErrorCode,
|
|
6
6
|
asRelayError,
|
|
7
7
|
clientError,
|
|
8
8
|
cosmosChain
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RIMESZ4X.js";
|
|
10
10
|
|
|
11
11
|
// src/base58.ts
|
|
12
12
|
var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
|
@@ -1344,8 +1344,33 @@ var trackerStatusSchema = z8.object({
|
|
|
1344
1344
|
nextSyncAt: timestamp.nullable(),
|
|
1345
1345
|
coverage: z8.enum(["unknown", "partial", "complete"]),
|
|
1346
1346
|
error: z8.string().nullable(),
|
|
1347
|
-
records: count
|
|
1347
|
+
records: count,
|
|
1348
|
+
/**
|
|
1349
|
+
* Who owns the definition: `code` for a tracker a deployment publishes from `defineTracker`,
|
|
1350
|
+
* `data` for an X search tracker created with `management.trackers.create` or in Console, which
|
|
1351
|
+
* only `management.trackers.update` changes. Older servers leave it out.
|
|
1352
|
+
*/
|
|
1353
|
+
origin: z8.enum(["code", "data"]).optional()
|
|
1348
1354
|
});
|
|
1355
|
+
var trackerPropertiesSchema = z8.object({
|
|
1356
|
+
title: trackerDefinitionSchema.shape.title,
|
|
1357
|
+
/** The X search query. A new query collects from now on; it never searches the past. */
|
|
1358
|
+
query: xSearchSourceSchema.shape.query,
|
|
1359
|
+
window: windowSchema,
|
|
1360
|
+
// Without defaults, so an update leaves out what it does not change.
|
|
1361
|
+
refreshSeconds: trackerDefinitionSchema.shape.refreshSeconds.unwrap(),
|
|
1362
|
+
maxPages: trackerDefinitionSchema.shape.maxPages.unwrap()
|
|
1363
|
+
}).strict();
|
|
1364
|
+
var trackerCreateSchema = trackerPropertiesSchema.extend({
|
|
1365
|
+
key: identifier,
|
|
1366
|
+
refreshSeconds: trackerDefinitionSchema.shape.refreshSeconds,
|
|
1367
|
+
maxPages: trackerDefinitionSchema.shape.maxPages,
|
|
1368
|
+
actionId: identifier
|
|
1369
|
+
}).strict();
|
|
1370
|
+
var trackerUpdateSchema = trackerPropertiesSchema.partial().extend({ actionId: identifier }).strict().refine(
|
|
1371
|
+
({ actionId: _, ...changes }) => Object.values(changes).some((value) => value !== void 0),
|
|
1372
|
+
"Change at least one field"
|
|
1373
|
+
);
|
|
1349
1374
|
var trackerControlSchema = z8.object({
|
|
1350
1375
|
actionId: identifier,
|
|
1351
1376
|
action: z8.enum(["pause", "resume", "refresh"])
|
|
@@ -3548,6 +3573,9 @@ export {
|
|
|
3548
3573
|
trackerDefinitionResponseSchema,
|
|
3549
3574
|
publishedTrackerSchema,
|
|
3550
3575
|
trackerStatusSchema,
|
|
3576
|
+
trackerPropertiesSchema,
|
|
3577
|
+
trackerCreateSchema,
|
|
3578
|
+
trackerUpdateSchema,
|
|
3551
3579
|
trackerControlSchema,
|
|
3552
3580
|
trackerAccountSchema,
|
|
3553
3581
|
trackerRecordInputSchema,
|