@domino-sdk/relay 1.39.0 → 1.42.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-CSiN1HKd.d.ts → attempt-captures-CoaD0RmS.d.ts} +1 -1
- package/dist/authoring.d.ts +49 -49
- package/dist/authoring.js +4 -4
- package/dist/{automatic-outcomes-DDbgRubQ.d.ts → automatic-outcomes-B82GzaVN.d.ts} +1 -1
- package/dist/avatar.d.ts +2 -2
- package/dist/browser.d.ts +9 -9
- package/dist/browser.js +10 -10
- package/dist/{chunk-SBW52XXL.js → chunk-34ZGBXN7.js} +1 -1
- package/dist/{chunk-E4CDOF4H.js → chunk-3VSX2V5N.js} +13 -7
- package/dist/{chunk-BYX27T2S.js → chunk-6KZPQI6F.js} +2 -2
- package/dist/{chunk-OEO5OBY5.js → chunk-6RYZG6TV.js} +579 -533
- package/dist/{chunk-V7KYVH3Z.js → chunk-B3KVWKL2.js} +1 -1
- package/dist/{chunk-FTGW72A6.js → chunk-IEBVJN6A.js} +1 -1
- package/dist/{chunk-RW4XQN4Z.js → chunk-JFNJE2I4.js} +1 -1
- package/dist/{chunk-B65YJ6K4.js → chunk-OZQML7VU.js} +1 -1
- package/dist/{chunk-CRX274HO.js → chunk-PG3MC2AM.js} +1 -1
- package/dist/{chunk-ANHELJIY.js → chunk-QLDURQPB.js} +1 -1
- package/dist/{chunk-ZT7FPD7B.js → chunk-RMZXRL4V.js} +1 -1
- package/dist/{chunk-XZKZJIES.js → chunk-SAUBTWEA.js} +6 -2
- package/dist/{chunk-2JBNPAE7.js → chunk-TA3SFVT5.js} +2 -2
- package/dist/{chunk-ZTEXSD5D.js → chunk-UXFFSWB3.js} +8 -8
- package/dist/{chunk-VDRO7BU5.js → chunk-Y2BQRXJD.js} +4 -4
- package/dist/{chunk-YNQPFRQO.js → chunk-Y4OM7CHT.js} +1 -1
- package/dist/{client-CxHKODc4.d.ts → client-CAgnkFxn.d.ts} +7 -7
- package/dist/{deployments-DYeuxXYg.d.ts → deployments-DuIdJ2Ui.d.ts} +349 -213
- package/dist/{groups-DY5rZssO.d.ts → groups-CX1C9gln.d.ts} +2 -2
- package/dist/index.d.ts +10 -10
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +10 -10
- package/dist/internal.js +8 -8
- package/dist/{offers-DtYGNKdQ.d.ts → offers-UL9bdaP0.d.ts} +2 -2
- package/dist/{pages-DR2YRvAp.d.ts → pages-Brtjxb2P.d.ts} +26 -2
- package/dist/{participant-activity-CoB2F30C.d.ts → participant-activity-iciCEs_8.d.ts} +1 -1
- package/dist/portal-proxy.js +3 -3
- package/dist/{profiles-BHuQdzsW.d.ts → profiles-Cdv4BSd_.d.ts} +1 -1
- package/dist/react/index.d.ts +14 -11
- package/dist/react/index.js +17 -10
- package/dist/{schema-Cgmj-CbC.d.ts → schema-Dg5_t7Pq.d.ts} +17 -1
- package/dist/schema.d.ts +367 -325
- package/dist/schema.js +19 -7
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +768 -611
- package/dist/{submission-input-BkIbBPRU.d.ts → submission-input-D5Gh3GR0.d.ts} +2 -2
- package/dist/{telegram-browser-laDdm730.d.ts → telegram-browser-riVjoKFg.d.ts} +3 -3
- package/dist/testing.d.ts +4 -4
- package/dist/testing.js +5 -5
- package/dist/{transport-CkTEfXL9.d.ts → transport-VGEsiskZ.d.ts} +5100 -3074
- package/dist/{wallet-t7uNDg9p.d.ts → wallet-Ac7OFpOr.d.ts} +1 -1
- package/dist/{x-vVG6gZqi.d.ts → x-CAxOrR61.d.ts} +1 -1
- package/package.json +1 -1
package/dist/authoring.d.ts
CHANGED
|
@@ -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-
|
|
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-Dg5_t7Pq.js';
|
|
2
|
+
export { a9 as LedgerSetting, aa as TrackerPage, ab as TrackerReadQuery, ac as trackerDataSchema, ad as trackerTriggerContextSchema } from './schema-Dg5_t7Pq.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, s as leaderboardDefinitionSchema, t as AuthoringIdentity, u as pointLedgerDeclarationSchema, v as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-
|
|
8
|
-
export { w as defineCampaign, x as defineGroup } from './groups-
|
|
5
|
+
import { f as badgeDeclarationSchema, B as Badge } from './offers-UL9bdaP0.js';
|
|
6
|
+
export { g as defineOffer } from './offers-UL9bdaP0.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-CX1C9gln.js';
|
|
8
|
+
export { w as defineCampaign, x as defineGroup } from './groups-CX1C9gln.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-
|
|
16
|
-
import { h as WalletReader } from './wallet-
|
|
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-
|
|
13
|
+
import { P as Prerequisite, T as TextEvidence, U as UrlEvidence, a as TextOptions, b as UrlOptions } from './submission-input-D5Gh3GR0.js';
|
|
14
|
+
export { c as balanceAtLeast, d as completed, i as inGroup } from './submission-input-D5Gh3GR0.js';
|
|
15
|
+
import { I as ImageReader, X as XReader } from './x-CAxOrR61.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
|
|
|
@@ -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";
|
|
@@ -446,7 +446,7 @@ declare const telegram: {
|
|
|
446
446
|
reactions(): {
|
|
447
447
|
kind: "custom";
|
|
448
448
|
namespace: string;
|
|
449
|
-
identities?: ("discord" | "
|
|
449
|
+
identities?: ("discord" | "wallet" | "x" | "member" | `app:${string}`)[] | undefined;
|
|
450
450
|
accounts?: string[] | undefined;
|
|
451
451
|
data?: TrackerDataSchema | undefined;
|
|
452
452
|
content?: {
|
|
@@ -1103,15 +1103,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1103
1103
|
badge?: string | undefined;
|
|
1104
1104
|
};
|
|
1105
1105
|
tier: string;
|
|
1106
|
+
} | {
|
|
1107
|
+
kind: "points";
|
|
1108
|
+
balance: string;
|
|
1109
|
+
amount: number;
|
|
1106
1110
|
} | {
|
|
1107
1111
|
kind: "integration";
|
|
1108
1112
|
provider: "discord";
|
|
1109
1113
|
action: "grant-role";
|
|
1110
1114
|
roleId: string;
|
|
1111
|
-
} | {
|
|
1112
|
-
kind: "points";
|
|
1113
|
-
balance: string;
|
|
1114
|
-
amount: number;
|
|
1115
1115
|
})[] | ((ctx: {
|
|
1116
1116
|
settings: z.core.$InferObjectOutput<T, {}>;
|
|
1117
1117
|
}) => Reward[]);
|
|
@@ -1186,6 +1186,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1186
1186
|
kind: "resource";
|
|
1187
1187
|
default: string;
|
|
1188
1188
|
source: {
|
|
1189
|
+
provider: "domino";
|
|
1190
|
+
resource: "point-ledger";
|
|
1191
|
+
} | {
|
|
1189
1192
|
provider: "discord";
|
|
1190
1193
|
resource: "channel";
|
|
1191
1194
|
types: ("text" | "announcement")[];
|
|
@@ -1193,9 +1196,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1193
1196
|
provider: "discord";
|
|
1194
1197
|
resource: "role";
|
|
1195
1198
|
assignable: boolean;
|
|
1196
|
-
} | {
|
|
1197
|
-
provider: "domino";
|
|
1198
|
-
resource: "point-ledger";
|
|
1199
1199
|
};
|
|
1200
1200
|
label: string;
|
|
1201
1201
|
description?: string | undefined;
|
|
@@ -1269,15 +1269,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1269
1269
|
badge?: string | undefined;
|
|
1270
1270
|
};
|
|
1271
1271
|
tier: string;
|
|
1272
|
+
} | {
|
|
1273
|
+
kind: "points";
|
|
1274
|
+
balance: string;
|
|
1275
|
+
amount: number;
|
|
1272
1276
|
} | {
|
|
1273
1277
|
kind: "integration";
|
|
1274
1278
|
provider: "discord";
|
|
1275
1279
|
action: "grant-role";
|
|
1276
1280
|
roleId: string;
|
|
1277
|
-
} | {
|
|
1278
|
-
kind: "points";
|
|
1279
|
-
balance: string;
|
|
1280
|
-
amount: number;
|
|
1281
1281
|
})[];
|
|
1282
1282
|
humanReview: boolean;
|
|
1283
1283
|
trigger: {
|
|
@@ -1299,7 +1299,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1299
1299
|
actor?: "staff" | "member" | undefined;
|
|
1300
1300
|
} | {
|
|
1301
1301
|
kind: "manual";
|
|
1302
|
-
input: "
|
|
1302
|
+
input: "photo" | "quiz" | "none";
|
|
1303
1303
|
actor?: "staff" | "member" | undefined;
|
|
1304
1304
|
} | {
|
|
1305
1305
|
kind: "automatic";
|
|
@@ -1343,9 +1343,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1343
1343
|
path: string;
|
|
1344
1344
|
equals: string | number | boolean;
|
|
1345
1345
|
})[] | undefined;
|
|
1346
|
-
enrollment?: "
|
|
1346
|
+
enrollment?: "required" | "none" | undefined;
|
|
1347
1347
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1348
|
-
historical?: "
|
|
1348
|
+
historical?: "automatic" | "staff" | "claim" | undefined;
|
|
1349
1349
|
content?: true | undefined;
|
|
1350
1350
|
} | undefined;
|
|
1351
1351
|
};
|
|
@@ -1368,6 +1368,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1368
1368
|
title: string;
|
|
1369
1369
|
})[];
|
|
1370
1370
|
completion: {
|
|
1371
|
+
kind: "streak";
|
|
1372
|
+
days: number;
|
|
1373
|
+
} | {
|
|
1371
1374
|
kind: "progress";
|
|
1372
1375
|
goal: {
|
|
1373
1376
|
kind: "count";
|
|
@@ -1384,9 +1387,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1384
1387
|
durationMs: number;
|
|
1385
1388
|
};
|
|
1386
1389
|
repeat: "repeat" | "once";
|
|
1387
|
-
} | {
|
|
1388
|
-
kind: "streak";
|
|
1389
|
-
days: number;
|
|
1390
1390
|
} | {
|
|
1391
1391
|
kind: "once";
|
|
1392
1392
|
} | {
|
|
@@ -1412,7 +1412,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1412
1412
|
campaign?: {
|
|
1413
1413
|
key: string;
|
|
1414
1414
|
title: string;
|
|
1415
|
-
enrollment: "
|
|
1415
|
+
enrollment: "required" | "none";
|
|
1416
1416
|
window?: {
|
|
1417
1417
|
from: number;
|
|
1418
1418
|
until: number;
|
|
@@ -1534,15 +1534,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1534
1534
|
badge?: string | undefined;
|
|
1535
1535
|
};
|
|
1536
1536
|
tier: string;
|
|
1537
|
+
} | {
|
|
1538
|
+
kind: "points";
|
|
1539
|
+
balance: string;
|
|
1540
|
+
amount: number;
|
|
1537
1541
|
} | {
|
|
1538
1542
|
kind: "integration";
|
|
1539
1543
|
provider: "discord";
|
|
1540
1544
|
action: "grant-role";
|
|
1541
1545
|
roleId: string;
|
|
1542
|
-
} | {
|
|
1543
|
-
kind: "points";
|
|
1544
|
-
balance: string;
|
|
1545
|
-
amount: number;
|
|
1546
1546
|
})[] | ((ctx: {
|
|
1547
1547
|
settings: z.core.$InferObjectOutput<T, {}>;
|
|
1548
1548
|
}) => Reward[]);
|
|
@@ -1617,6 +1617,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1617
1617
|
kind: "resource";
|
|
1618
1618
|
default: string;
|
|
1619
1619
|
source: {
|
|
1620
|
+
provider: "domino";
|
|
1621
|
+
resource: "point-ledger";
|
|
1622
|
+
} | {
|
|
1620
1623
|
provider: "discord";
|
|
1621
1624
|
resource: "channel";
|
|
1622
1625
|
types: ("text" | "announcement")[];
|
|
@@ -1624,9 +1627,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1624
1627
|
provider: "discord";
|
|
1625
1628
|
resource: "role";
|
|
1626
1629
|
assignable: boolean;
|
|
1627
|
-
} | {
|
|
1628
|
-
provider: "domino";
|
|
1629
|
-
resource: "point-ledger";
|
|
1630
1630
|
};
|
|
1631
1631
|
label: string;
|
|
1632
1632
|
description?: string | undefined;
|
|
@@ -1700,15 +1700,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1700
1700
|
badge?: string | undefined;
|
|
1701
1701
|
};
|
|
1702
1702
|
tier: string;
|
|
1703
|
+
} | {
|
|
1704
|
+
kind: "points";
|
|
1705
|
+
balance: string;
|
|
1706
|
+
amount: number;
|
|
1703
1707
|
} | {
|
|
1704
1708
|
kind: "integration";
|
|
1705
1709
|
provider: "discord";
|
|
1706
1710
|
action: "grant-role";
|
|
1707
1711
|
roleId: string;
|
|
1708
|
-
} | {
|
|
1709
|
-
kind: "points";
|
|
1710
|
-
balance: string;
|
|
1711
|
-
amount: number;
|
|
1712
1712
|
})[];
|
|
1713
1713
|
humanReview: boolean;
|
|
1714
1714
|
trigger: {
|
|
@@ -1730,7 +1730,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1730
1730
|
actor?: "staff" | "member" | undefined;
|
|
1731
1731
|
} | {
|
|
1732
1732
|
kind: "manual";
|
|
1733
|
-
input: "
|
|
1733
|
+
input: "photo" | "quiz" | "none";
|
|
1734
1734
|
actor?: "staff" | "member" | undefined;
|
|
1735
1735
|
} | {
|
|
1736
1736
|
kind: "automatic";
|
|
@@ -1774,9 +1774,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1774
1774
|
path: string;
|
|
1775
1775
|
equals: string | number | boolean;
|
|
1776
1776
|
})[] | undefined;
|
|
1777
|
-
enrollment?: "
|
|
1777
|
+
enrollment?: "required" | "none" | undefined;
|
|
1778
1778
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1779
|
-
historical?: "
|
|
1779
|
+
historical?: "automatic" | "staff" | "claim" | undefined;
|
|
1780
1780
|
content?: true | undefined;
|
|
1781
1781
|
} | undefined;
|
|
1782
1782
|
};
|
|
@@ -1799,6 +1799,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1799
1799
|
title: string;
|
|
1800
1800
|
})[];
|
|
1801
1801
|
completion: {
|
|
1802
|
+
kind: "streak";
|
|
1803
|
+
days: number;
|
|
1804
|
+
} | {
|
|
1802
1805
|
kind: "progress";
|
|
1803
1806
|
goal: {
|
|
1804
1807
|
kind: "count";
|
|
@@ -1815,9 +1818,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1815
1818
|
durationMs: number;
|
|
1816
1819
|
};
|
|
1817
1820
|
repeat: "repeat" | "once";
|
|
1818
|
-
} | {
|
|
1819
|
-
kind: "streak";
|
|
1820
|
-
days: number;
|
|
1821
1821
|
} | {
|
|
1822
1822
|
kind: "once";
|
|
1823
1823
|
} | {
|
|
@@ -1843,7 +1843,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1843
1843
|
campaign?: {
|
|
1844
1844
|
key: string;
|
|
1845
1845
|
title: string;
|
|
1846
|
-
enrollment: "
|
|
1846
|
+
enrollment: "required" | "none";
|
|
1847
1847
|
window?: {
|
|
1848
1848
|
from: number;
|
|
1849
1849
|
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-Y4OM7CHT.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-JFNJE2I4.js";
|
|
24
24
|
import {
|
|
25
25
|
telegramReactionDataSchema,
|
|
26
26
|
telegramReactionsNamespace
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OZQML7VU.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-
|
|
85
|
+
} from "./chunk-6RYZG6TV.js";
|
|
86
86
|
|
|
87
87
|
// src/builders.ts
|
|
88
88
|
import * as z from "zod";
|
package/dist/avatar.d.ts
CHANGED
package/dist/browser.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-CAgnkFxn.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-riVjoKFg.js';
|
|
3
|
+
import './groups-CX1C9gln.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './schema-
|
|
6
|
-
import './pages-
|
|
7
|
-
import './submission-input-
|
|
5
|
+
import './schema-Dg5_t7Pq.js';
|
|
6
|
+
import './pages-Brtjxb2P.js';
|
|
7
|
+
import './submission-input-D5Gh3GR0.js';
|
|
8
8
|
import './action-DBzILFx9.js';
|
|
9
|
-
import './participant-activity-
|
|
9
|
+
import './participant-activity-iciCEs_8.js';
|
|
10
10
|
import './accounts-DRPENuZe.js';
|
|
11
|
-
import './profiles-
|
|
12
|
-
import './wallet-
|
|
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-
|
|
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-TA3SFVT5.js";
|
|
16
|
+
import "./chunk-UXFFSWB3.js";
|
|
17
|
+
import "./chunk-PG3MC2AM.js";
|
|
18
|
+
import "./chunk-SAUBTWEA.js";
|
|
19
|
+
import "./chunk-JFNJE2I4.js";
|
|
20
|
+
import "./chunk-OZQML7VU.js";
|
|
21
|
+
import "./chunk-34ZGBXN7.js";
|
|
22
|
+
import "./chunk-QLDURQPB.js";
|
|
23
|
+
import "./chunk-IEBVJN6A.js";
|
|
24
|
+
import "./chunk-6RYZG6TV.js";
|
|
25
25
|
export {
|
|
26
26
|
browserSubmissionStore,
|
|
27
27
|
cosmosChainList,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
imageSightingsSchema,
|
|
7
7
|
imageUploadsSchema,
|
|
8
8
|
publishedImageSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B3KVWKL2.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-SAUBTWEA.js";
|
|
28
28
|
import {
|
|
29
29
|
badgeArtifactSchema,
|
|
30
30
|
badgeSchema,
|
|
@@ -58,15 +58,15 @@ import {
|
|
|
58
58
|
referralDefinitionSchema,
|
|
59
59
|
referralHistorySchema,
|
|
60
60
|
referralSummarySchema
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-JFNJE2I4.js";
|
|
62
62
|
import {
|
|
63
63
|
telegramAccountConnectionSchema
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-OZQML7VU.js";
|
|
65
65
|
import {
|
|
66
66
|
exchangeResultSchema,
|
|
67
67
|
memberSummarySchema,
|
|
68
68
|
participantSessionSchema
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-IEBVJN6A.js";
|
|
70
70
|
import {
|
|
71
71
|
accountConnectionSchema,
|
|
72
72
|
attemptSchema,
|
|
@@ -91,13 +91,14 @@ import {
|
|
|
91
91
|
responseListSchema,
|
|
92
92
|
responseSchema,
|
|
93
93
|
rewardSchema,
|
|
94
|
+
sdkRuntimeSchema,
|
|
94
95
|
tieredRewardReferenceSchema,
|
|
95
96
|
timeZoneNameSchema,
|
|
96
97
|
trackerArtifactSchema,
|
|
97
98
|
walletBalanceSchema,
|
|
98
99
|
walletMessageChallengeSchema,
|
|
99
100
|
walletSignInNetworksSchema
|
|
100
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-6RYZG6TV.js";
|
|
101
102
|
|
|
102
103
|
// src/deployments.ts
|
|
103
104
|
import * as z from "zod";
|
|
@@ -111,7 +112,12 @@ var projectCatalogArtifactSchema = catalogDeploymentSchema.omit({ expectedRevisi
|
|
|
111
112
|
leaderboards: z.array(leaderboardArtifactSchema).max(50).default([]),
|
|
112
113
|
images: z.array(imageAssetArtifactSchema).max(10).default([]),
|
|
113
114
|
/** relay.json `calendar`: the project timezone. Omitted, the deployment leaves it unchanged. */
|
|
114
|
-
calendar: projectCalendarDeclarationSchema.optional()
|
|
115
|
+
calendar: projectCalendarDeclarationSchema.optional(),
|
|
116
|
+
/**
|
|
117
|
+
* The SDK runtimes the deployment's releases and quest types import, each once. A runtime the
|
|
118
|
+
* platform already stores may be left out.
|
|
119
|
+
*/
|
|
120
|
+
runtimes: z.array(sdkRuntimeSchema).max(4).default([])
|
|
115
121
|
});
|
|
116
122
|
var projectDeploymentSchema = projectCatalogArtifactSchema.extend({ releases: z.array(releaseSchema).max(50).default([]) }).refine(
|
|
117
123
|
(value) => value.engagement.length > 0 || value.trackers.length > 0 || value.pointLedgers.length > 0 || value.badges.length > 0 || value.offers.length > 0 || value.releases.length > 0 || value.leaderboards.length > 0 || value.referrals.length > 0 || value.images.length > 0 || value.types.length > 0 || value.collections.length > 0 || value.supportedInteractions !== void 0 || value.calendar !== void 0,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
imageFieldsSchema,
|
|
5
5
|
imageInspectionSchema,
|
|
6
6
|
imageSightingsSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B3KVWKL2.js";
|
|
8
8
|
import {
|
|
9
9
|
photoResultSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6RYZG6TV.js";
|
|
11
11
|
|
|
12
12
|
// src/image-results.ts
|
|
13
13
|
import * as z from "zod";
|