@domino-sdk/relay 1.42.0 → 1.44.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-CoaD0RmS.d.ts → attempt-captures-p7JPb7Xi.d.ts} +1 -1
- package/dist/authoring.d.ts +47 -47
- package/dist/authoring.js +4 -4
- package/dist/{automatic-outcomes-B82GzaVN.d.ts → automatic-outcomes-YkGhnxsc.d.ts} +1 -1
- package/dist/browser.d.ts +6 -6
- package/dist/browser.js +10 -10
- package/dist/{chunk-6KZPQI6F.js → chunk-HO4FZJSH.js} +2 -2
- package/dist/{chunk-TA3SFVT5.js → chunk-IGUT3HCM.js} +2 -2
- package/dist/{chunk-B3KVWKL2.js → chunk-ILH73K3H.js} +1 -1
- package/dist/{chunk-OZQML7VU.js → chunk-J7YJHMF7.js} +1 -1
- package/dist/{chunk-34ZGBXN7.js → chunk-NNGGEUMQ.js} +1 -1
- package/dist/{chunk-6RYZG6TV.js → chunk-PMSCHJKX.js} +5 -0
- package/dist/{chunk-IEBVJN6A.js → chunk-Q5PX3GDA.js} +1 -1
- package/dist/{chunk-Y2BQRXJD.js → chunk-REANELDK.js} +4 -4
- package/dist/{chunk-UXFFSWB3.js → chunk-RXM7LBLH.js} +8 -8
- package/dist/{chunk-SAUBTWEA.js → chunk-TEPZZXDI.js} +2 -2
- package/dist/{chunk-PG3MC2AM.js → chunk-UOHYYB7V.js} +1 -1
- package/dist/{chunk-RMZXRL4V.js → chunk-W5UBRNDT.js} +1 -1
- package/dist/{chunk-JFNJE2I4.js → chunk-WSOUOG6S.js} +1 -1
- package/dist/{chunk-3VSX2V5N.js → chunk-YBMCF54E.js} +6 -6
- package/dist/{chunk-QLDURQPB.js → chunk-ZNFAIBTJ.js} +1 -1
- package/dist/{chunk-Y4OM7CHT.js → chunk-ZY4RI4DJ.js} +1 -1
- package/dist/{client-CAgnkFxn.d.ts → client-CVG_MoXx.d.ts} +4 -4
- package/dist/{deployments-DuIdJ2Ui.d.ts → deployments-BWav9s6t.d.ts} +213 -213
- package/dist/{groups-CX1C9gln.d.ts → groups-CMZROR9a.d.ts} +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +9 -9
- package/dist/internal.js +8 -8
- package/dist/{offers-UL9bdaP0.d.ts → offers-Cvk4uBjo.d.ts} +2 -2
- package/dist/{pages-Brtjxb2P.d.ts → pages-BXZP4o-w.d.ts} +1 -1
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +8 -8
- package/dist/react/index.js +10 -10
- package/dist/{schema-Dg5_t7Pq.d.ts → schema-BgjSnV9D.d.ts} +2 -0
- package/dist/schema.d.ts +320 -320
- package/dist/schema.js +7 -7
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +100 -20
- package/dist/{submission-input-D5Gh3GR0.d.ts → submission-input-CD59rLYk.d.ts} +2 -2
- package/dist/{telegram-browser-riVjoKFg.d.ts → telegram-browser-bnRKW9KG.d.ts} +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +5 -5
- package/dist/{transport-VGEsiskZ.d.ts → transport-DzRDaPXc.d.ts} +3271 -3098
- package/dist/{x-CAxOrR61.d.ts → x-B_7RCkOo.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-BgjSnV9D.js';
|
|
2
|
+
export { a9 as LedgerSetting, aa as TrackerPage, ab as TrackerReadQuery, ac as trackerDataSchema, ad as trackerTriggerContextSchema } from './schema-BgjSnV9D.js';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
export { z } from 'zod';
|
|
5
|
-
import { f as badgeDeclarationSchema, B as Badge } from './offers-
|
|
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-Cvk4uBjo.js';
|
|
6
|
+
export { g as defineOffer } from './offers-Cvk4uBjo.js';
|
|
7
|
+
import { E as EngagementBudget, s as leaderboardDefinitionSchema, t as AuthoringIdentity, u as pointLedgerDeclarationSchema, v as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-CMZROR9a.js';
|
|
8
|
+
export { w as defineCampaign, x as defineGroup } from './groups-CMZROR9a.js';
|
|
9
9
|
import { d as discordMessagesSourceSchema, D as DiscordMessageData, c as DiscordMessageTextData, e as discordReactionsSourceSchema, f as DiscordReactionData, g as TelegramReader, h as DiscordReader } from './accounts-DRPENuZe.js';
|
|
10
10
|
export { i as TelegramChatMember, j as TelegramChatMemberStatus, k as TelegramReactionData } from './accounts-DRPENuZe.js';
|
|
11
11
|
import { Q as QuizContent, a as StreakPolicy } from './streaks-0YuipsUQ.js';
|
|
12
12
|
import { R as ResourceSource, S as Setting, I as IntegrationModule, B as Budget, a as IntegerSettings } from './integrations-CllF-kWg.js';
|
|
13
|
-
import { P as Prerequisite, T as TextEvidence, U as UrlEvidence, a as TextOptions, b as UrlOptions } from './submission-input-
|
|
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-CD59rLYk.js';
|
|
14
|
+
export { c as balanceAtLeast, d as completed, i as inGroup } from './submission-input-CD59rLYk.js';
|
|
15
|
+
import { I as ImageReader, X as XReader } from './x-B_7RCkOo.js';
|
|
16
16
|
import { h as WalletReader } from './wallet-Ac7OFpOr.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-Ac7OFpOr.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
|
-
balance: string;
|
|
261
260
|
title: string;
|
|
261
|
+
balance: 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" | "member" | "wallet" | "x" | `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;
|
|
1110
1106
|
} | {
|
|
1111
1107
|
kind: "integration";
|
|
1112
1108
|
provider: "discord";
|
|
1113
1109
|
action: "grant-role";
|
|
1114
1110
|
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,9 +1186,6 @@ 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
|
-
} | {
|
|
1192
1189
|
provider: "discord";
|
|
1193
1190
|
resource: "channel";
|
|
1194
1191
|
types: ("text" | "announcement")[];
|
|
@@ -1196,6 +1193,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1196
1193
|
provider: "discord";
|
|
1197
1194
|
resource: "role";
|
|
1198
1195
|
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;
|
|
1276
1272
|
} | {
|
|
1277
1273
|
kind: "integration";
|
|
1278
1274
|
provider: "discord";
|
|
1279
1275
|
action: "grant-role";
|
|
1280
1276
|
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: "none" | "quiz" | "photo";
|
|
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?: "none" | "required" | undefined;
|
|
1347
1347
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1348
|
-
historical?: "
|
|
1348
|
+
historical?: "staff" | "claim" | "automatic" | undefined;
|
|
1349
1349
|
content?: true | undefined;
|
|
1350
1350
|
} | undefined;
|
|
1351
1351
|
};
|
|
@@ -1368,9 +1368,6 @@ 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
|
-
} | {
|
|
1374
1371
|
kind: "progress";
|
|
1375
1372
|
goal: {
|
|
1376
1373
|
kind: "count";
|
|
@@ -1387,6 +1384,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1387
1384
|
durationMs: number;
|
|
1388
1385
|
};
|
|
1389
1386
|
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: "none" | "required";
|
|
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;
|
|
1541
1537
|
} | {
|
|
1542
1538
|
kind: "integration";
|
|
1543
1539
|
provider: "discord";
|
|
1544
1540
|
action: "grant-role";
|
|
1545
1541
|
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,9 +1617,6 @@ 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
|
-
} | {
|
|
1623
1620
|
provider: "discord";
|
|
1624
1621
|
resource: "channel";
|
|
1625
1622
|
types: ("text" | "announcement")[];
|
|
@@ -1627,6 +1624,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1627
1624
|
provider: "discord";
|
|
1628
1625
|
resource: "role";
|
|
1629
1626
|
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;
|
|
1707
1703
|
} | {
|
|
1708
1704
|
kind: "integration";
|
|
1709
1705
|
provider: "discord";
|
|
1710
1706
|
action: "grant-role";
|
|
1711
1707
|
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: "none" | "quiz" | "photo";
|
|
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?: "none" | "required" | undefined;
|
|
1778
1778
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1779
|
-
historical?: "
|
|
1779
|
+
historical?: "staff" | "claim" | "automatic" | undefined;
|
|
1780
1780
|
content?: true | undefined;
|
|
1781
1781
|
} | undefined;
|
|
1782
1782
|
};
|
|
@@ -1799,9 +1799,6 @@ 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
|
-
} | {
|
|
1805
1802
|
kind: "progress";
|
|
1806
1803
|
goal: {
|
|
1807
1804
|
kind: "count";
|
|
@@ -1818,6 +1815,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1818
1815
|
durationMs: number;
|
|
1819
1816
|
};
|
|
1820
1817
|
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: "none" | "required";
|
|
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-ZY4RI4DJ.js";
|
|
14
14
|
import {
|
|
15
15
|
badgeDeclarationSchema,
|
|
16
16
|
defineOffer,
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
leaderboardAuthoringSchema,
|
|
21
21
|
pointLedgerDeclarationSchema,
|
|
22
22
|
referralAuthoringSchema
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WSOUOG6S.js";
|
|
24
24
|
import {
|
|
25
25
|
telegramReactionDataSchema,
|
|
26
26
|
telegramReactionsNamespace
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-J7YJHMF7.js";
|
|
28
28
|
import {
|
|
29
29
|
authoringKey,
|
|
30
30
|
badgeReward,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
whereSchemaIssue,
|
|
83
83
|
whereSettings,
|
|
84
84
|
xSearchSourceSchema
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-PMSCHJKX.js";
|
|
86
86
|
|
|
87
87
|
// src/builders.ts
|
|
88
88
|
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-
|
|
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-CVG_MoXx.js';
|
|
2
|
+
export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, T as TelegramSignInOption, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, t as telegramMiniAppInitData, w as walletStandardSolanaSigner } from './telegram-browser-bnRKW9KG.js';
|
|
3
|
+
import './groups-CMZROR9a.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './schema-
|
|
6
|
-
import './pages-
|
|
7
|
-
import './submission-input-
|
|
5
|
+
import './schema-BgjSnV9D.js';
|
|
6
|
+
import './pages-BXZP4o-w.js';
|
|
7
|
+
import './submission-input-CD59rLYk.js';
|
|
8
8
|
import './action-DBzILFx9.js';
|
|
9
9
|
import './participant-activity-iciCEs_8.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-
|
|
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-IGUT3HCM.js";
|
|
16
|
+
import "./chunk-RXM7LBLH.js";
|
|
17
|
+
import "./chunk-UOHYYB7V.js";
|
|
18
|
+
import "./chunk-TEPZZXDI.js";
|
|
19
|
+
import "./chunk-WSOUOG6S.js";
|
|
20
|
+
import "./chunk-J7YJHMF7.js";
|
|
21
|
+
import "./chunk-NNGGEUMQ.js";
|
|
22
|
+
import "./chunk-ZNFAIBTJ.js";
|
|
23
|
+
import "./chunk-Q5PX3GDA.js";
|
|
24
|
+
import "./chunk-PMSCHJKX.js";
|
|
25
25
|
export {
|
|
26
26
|
browserSubmissionStore,
|
|
27
27
|
cosmosChainList,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
imageFieldsSchema,
|
|
5
5
|
imageInspectionSchema,
|
|
6
6
|
imageSightingsSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ILH73K3H.js";
|
|
8
8
|
import {
|
|
9
9
|
photoResultSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PMSCHJKX.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-RXM7LBLH.js";
|
|
4
4
|
import {
|
|
5
5
|
RelayErrorCode,
|
|
6
6
|
asRelayError,
|
|
7
7
|
clientError,
|
|
8
8
|
cosmosChain
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PMSCHJKX.js";
|
|
10
10
|
|
|
11
11
|
// src/base58.ts
|
|
12
12
|
var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
|
@@ -1426,6 +1426,11 @@ var trackerRecordSchema = z8.object({
|
|
|
1426
1426
|
removed: z8.boolean().default(false),
|
|
1427
1427
|
source: z8.string(),
|
|
1428
1428
|
firstSeenAt: timestamp,
|
|
1429
|
+
/**
|
|
1430
|
+
* True on a record an operator sent for a test member (`management.testMembers.record`), in
|
|
1431
|
+
* test only. Absent on every other record.
|
|
1432
|
+
*/
|
|
1433
|
+
synthetic: z8.literal(true).optional(),
|
|
1429
1434
|
/** Present only when includeEvidence is true; custom sources have no X evidence. */
|
|
1430
1435
|
evidence: trackerEvidenceSchema.nullable().optional()
|
|
1431
1436
|
});
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
retryAfter,
|
|
5
5
|
retrying,
|
|
6
6
|
validTimeout
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NNGGEUMQ.js";
|
|
8
8
|
import {
|
|
9
9
|
clientIdentity
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZNFAIBTJ.js";
|
|
11
11
|
import {
|
|
12
12
|
authScopeSchema
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Q5PX3GDA.js";
|
|
14
14
|
import {
|
|
15
15
|
RequestError,
|
|
16
16
|
appIdentityKindSchema,
|
|
17
17
|
isRequestError,
|
|
18
18
|
knownResponse,
|
|
19
19
|
openIdentityKindSchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PMSCHJKX.js";
|
|
21
21
|
|
|
22
22
|
// src/configuration.ts
|
|
23
23
|
function questConfiguration(release) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRelayAction,
|
|
3
3
|
withActionId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UOHYYB7V.js";
|
|
5
5
|
import {
|
|
6
6
|
collectionPassSchema,
|
|
7
7
|
participantActivityQuerySchema,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
questOutcomeSchema,
|
|
18
18
|
rewardDeliveriesSchema,
|
|
19
19
|
rewardDeliveryQuerySchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TEPZZXDI.js";
|
|
21
21
|
import {
|
|
22
22
|
AVATAR_UPLOAD_LIMIT,
|
|
23
23
|
avatarUploadTypes,
|
|
@@ -48,29 +48,29 @@ import {
|
|
|
48
48
|
referralDefinitionSchema,
|
|
49
49
|
referralHistorySchema,
|
|
50
50
|
referralSummarySchema
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-WSOUOG6S.js";
|
|
52
52
|
import {
|
|
53
53
|
telegramAccountConnectionSchema,
|
|
54
54
|
telegramMiniAppSignInSchema,
|
|
55
55
|
telegramSignInMethodsSchema
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-J7YJHMF7.js";
|
|
57
57
|
import {
|
|
58
58
|
PARTICIPANT_TIMEOUT,
|
|
59
59
|
lifetime,
|
|
60
60
|
retryAfter,
|
|
61
61
|
retrying,
|
|
62
62
|
validTimeout
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-NNGGEUMQ.js";
|
|
64
64
|
import {
|
|
65
65
|
clientIdentity
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-ZNFAIBTJ.js";
|
|
67
67
|
import {
|
|
68
68
|
exchangeResultSchema,
|
|
69
69
|
exchangeSchema,
|
|
70
70
|
memberSummarySchema,
|
|
71
71
|
participantSessionSchema,
|
|
72
72
|
sessionMember
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-Q5PX3GDA.js";
|
|
74
74
|
import {
|
|
75
75
|
RelayError,
|
|
76
76
|
RelayErrorCode,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
walletSignInNetworksSchema,
|
|
110
110
|
walletSignatureSchema,
|
|
111
111
|
walletUnlinkInputSchema
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-PMSCHJKX.js";
|
|
113
113
|
|
|
114
114
|
// src/legacy-submissions.ts
|
|
115
115
|
import * as z from "zod";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
badgeSchema,
|
|
3
3
|
pointLedgerReferenceSchema
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WSOUOG6S.js";
|
|
5
5
|
import {
|
|
6
6
|
authoringIdentityShape,
|
|
7
7
|
entitlementSchema,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
storedQuestDescriptionSchema,
|
|
23
23
|
storedReviewModeSchema,
|
|
24
24
|
tieredRewardReferenceSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PMSCHJKX.js";
|
|
26
26
|
|
|
27
27
|
// src/participant-activity.ts
|
|
28
28
|
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-ILH73K3H.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-TEPZZXDI.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-WSOUOG6S.js";
|
|
62
62
|
import {
|
|
63
63
|
telegramAccountConnectionSchema
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-J7YJHMF7.js";
|
|
65
65
|
import {
|
|
66
66
|
exchangeResultSchema,
|
|
67
67
|
memberSummarySchema,
|
|
68
68
|
participantSessionSchema
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-Q5PX3GDA.js";
|
|
70
70
|
import {
|
|
71
71
|
accountConnectionSchema,
|
|
72
72
|
attemptSchema,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
walletBalanceSchema,
|
|
99
99
|
walletMessageChallengeSchema,
|
|
100
100
|
walletSignInNetworksSchema
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-PMSCHJKX.js";
|
|
102
102
|
|
|
103
103
|
// src/deployments.ts
|
|
104
104
|
import * as z from "zod";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { y as referralAcceptSchema, i as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, o as PointHistoryQuery, m as PointEntryKind, f as LeaderboardHistoryQuery, z as engagementPageQuerySchema } from './groups-
|
|
2
|
-
import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, q as questExperienceSchema, l as RewardDeliveryQuery, m as RewardDeliveryAction, n as contentQualificationQuerySchema } from './pages-
|
|
3
|
-
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-
|
|
1
|
+
import { y as referralAcceptSchema, i as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, o as PointHistoryQuery, m as PointEntryKind, f as LeaderboardHistoryQuery, z as engagementPageQuerySchema } from './groups-CMZROR9a.js';
|
|
2
|
+
import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, q as questExperienceSchema, l as RewardDeliveryQuery, m as RewardDeliveryAction, n as contentQualificationQuerySchema } from './pages-BXZP4o-w.js';
|
|
3
|
+
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-CD59rLYk.js';
|
|
4
4
|
import { a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, e as createRelayAction, O as OptionalActionId } from './action-DBzILFx9.js';
|
|
5
|
-
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, ae as submitSchema, af as contentPerformanceQuerySchema } from './schema-
|
|
5
|
+
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, ae as submitSchema, af as contentPerformanceQuerySchema } from './schema-BgjSnV9D.js';
|
|
6
6
|
import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-iciCEs_8.js';
|
|
7
7
|
import * as z from 'zod';
|
|
8
8
|
import { a as AuthProvider } from './accounts-DRPENuZe.js';
|