@domino-sdk/relay 1.23.1 → 1.23.2
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/authoring.d.ts +38 -38
- package/dist/browser.js +3 -3
- package/dist/{chunk-USDFIAHW.js → chunk-337GV555.js} +1 -1
- package/dist/{chunk-HNWBRLFR.js → chunk-JGXIXOQZ.js} +1 -1
- package/dist/{chunk-PEVDXO3K.js → chunk-LQBBQDC3.js} +1 -1
- package/dist/{chunk-JMGRA5W7.js → chunk-NOE2GXOV.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +2 -2
- package/dist/portal-proxy.js +1 -1
- package/dist/react/index.js +3 -3
- package/dist/schema.d.ts +310 -310
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +2 -2
- package/dist/{transport-DV6fs_zK.d.ts → transport-DM8wRWaO.d.ts} +1998 -1998
- package/package.json +1 -1
- package/dist/{deployments-B--Shwgx.d.ts → deployments-BFl_dOgc.d.ts} +108 -108
package/dist/authoring.d.ts
CHANGED
|
@@ -258,8 +258,8 @@ declare function defineLeaderboard(input: Omit<LeaderboardInput, "key" | "id" |
|
|
|
258
258
|
kind: "earned";
|
|
259
259
|
}> | ReturnType<typeof earned>;
|
|
260
260
|
}): {
|
|
261
|
-
balance: string;
|
|
262
261
|
title: string;
|
|
262
|
+
balance: string;
|
|
263
263
|
access: "participants" | "public";
|
|
264
264
|
score: {
|
|
265
265
|
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?: {
|
|
@@ -1097,15 +1097,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1097
1097
|
badge?: string | undefined;
|
|
1098
1098
|
};
|
|
1099
1099
|
tier: string;
|
|
1100
|
-
} | {
|
|
1101
|
-
kind: "points";
|
|
1102
|
-
balance: string;
|
|
1103
|
-
amount: number;
|
|
1104
1100
|
} | {
|
|
1105
1101
|
kind: "integration";
|
|
1106
1102
|
provider: "discord";
|
|
1107
1103
|
action: "grant-role";
|
|
1108
1104
|
roleId: string;
|
|
1105
|
+
} | {
|
|
1106
|
+
kind: "points";
|
|
1107
|
+
balance: string;
|
|
1108
|
+
amount: number;
|
|
1109
1109
|
})[] | ((ctx: {
|
|
1110
1110
|
settings: z.core.$InferObjectOutput<T, {}>;
|
|
1111
1111
|
}) => Reward[]);
|
|
@@ -1180,9 +1180,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1180
1180
|
kind: "resource";
|
|
1181
1181
|
default: string;
|
|
1182
1182
|
source: {
|
|
1183
|
-
provider: "domino";
|
|
1184
|
-
resource: "point-ledger";
|
|
1185
|
-
} | {
|
|
1186
1183
|
provider: "discord";
|
|
1187
1184
|
resource: "channel";
|
|
1188
1185
|
types: ("text" | "announcement")[];
|
|
@@ -1190,6 +1187,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1190
1187
|
provider: "discord";
|
|
1191
1188
|
resource: "role";
|
|
1192
1189
|
assignable: boolean;
|
|
1190
|
+
} | {
|
|
1191
|
+
provider: "domino";
|
|
1192
|
+
resource: "point-ledger";
|
|
1193
1193
|
};
|
|
1194
1194
|
label: string;
|
|
1195
1195
|
description?: string | undefined;
|
|
@@ -1263,15 +1263,15 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1263
1263
|
badge?: string | undefined;
|
|
1264
1264
|
};
|
|
1265
1265
|
tier: string;
|
|
1266
|
-
} | {
|
|
1267
|
-
kind: "points";
|
|
1268
|
-
balance: string;
|
|
1269
|
-
amount: number;
|
|
1270
1266
|
} | {
|
|
1271
1267
|
kind: "integration";
|
|
1272
1268
|
provider: "discord";
|
|
1273
1269
|
action: "grant-role";
|
|
1274
1270
|
roleId: string;
|
|
1271
|
+
} | {
|
|
1272
|
+
kind: "points";
|
|
1273
|
+
balance: string;
|
|
1274
|
+
amount: number;
|
|
1275
1275
|
})[];
|
|
1276
1276
|
humanReview: boolean;
|
|
1277
1277
|
trigger: {
|
|
@@ -1293,7 +1293,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1293
1293
|
actor?: "staff" | "member" | undefined;
|
|
1294
1294
|
} | {
|
|
1295
1295
|
kind: "manual";
|
|
1296
|
-
input: "
|
|
1296
|
+
input: "none" | "quiz" | "photo";
|
|
1297
1297
|
actor?: "staff" | "member" | undefined;
|
|
1298
1298
|
} | {
|
|
1299
1299
|
kind: "automatic";
|
|
@@ -1337,9 +1337,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1337
1337
|
path: string;
|
|
1338
1338
|
equals: string | number | boolean;
|
|
1339
1339
|
})[] | undefined;
|
|
1340
|
-
enrollment?: "
|
|
1340
|
+
enrollment?: "none" | "required" | undefined;
|
|
1341
1341
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1342
|
-
historical?: "
|
|
1342
|
+
historical?: "staff" | "claim" | "automatic" | undefined;
|
|
1343
1343
|
content?: true | undefined;
|
|
1344
1344
|
} | undefined;
|
|
1345
1345
|
};
|
|
@@ -1362,9 +1362,6 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1362
1362
|
title: string;
|
|
1363
1363
|
})[];
|
|
1364
1364
|
completion: {
|
|
1365
|
-
kind: "streak";
|
|
1366
|
-
days: number;
|
|
1367
|
-
} | {
|
|
1368
1365
|
kind: "progress";
|
|
1369
1366
|
goal: {
|
|
1370
1367
|
kind: "count";
|
|
@@ -1381,6 +1378,9 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1381
1378
|
durationMs: number;
|
|
1382
1379
|
};
|
|
1383
1380
|
repeat: "repeat" | "once";
|
|
1381
|
+
} | {
|
|
1382
|
+
kind: "streak";
|
|
1383
|
+
days: number;
|
|
1384
1384
|
} | {
|
|
1385
1385
|
kind: "once";
|
|
1386
1386
|
} | {
|
|
@@ -1406,7 +1406,7 @@ declare const defineQuest: <T extends Record<string, Setting>, const G extends T
|
|
|
1406
1406
|
campaign?: {
|
|
1407
1407
|
key: string;
|
|
1408
1408
|
title: string;
|
|
1409
|
-
enrollment: "
|
|
1409
|
+
enrollment: "none" | "required";
|
|
1410
1410
|
window?: {
|
|
1411
1411
|
from: number;
|
|
1412
1412
|
until: number;
|
|
@@ -1521,15 +1521,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1521
1521
|
badge?: string | undefined;
|
|
1522
1522
|
};
|
|
1523
1523
|
tier: string;
|
|
1524
|
-
} | {
|
|
1525
|
-
kind: "points";
|
|
1526
|
-
balance: string;
|
|
1527
|
-
amount: number;
|
|
1528
1524
|
} | {
|
|
1529
1525
|
kind: "integration";
|
|
1530
1526
|
provider: "discord";
|
|
1531
1527
|
action: "grant-role";
|
|
1532
1528
|
roleId: string;
|
|
1529
|
+
} | {
|
|
1530
|
+
kind: "points";
|
|
1531
|
+
balance: string;
|
|
1532
|
+
amount: number;
|
|
1533
1533
|
})[] | ((ctx: {
|
|
1534
1534
|
settings: z.core.$InferObjectOutput<T, {}>;
|
|
1535
1535
|
}) => Reward[]);
|
|
@@ -1604,9 +1604,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1604
1604
|
kind: "resource";
|
|
1605
1605
|
default: string;
|
|
1606
1606
|
source: {
|
|
1607
|
-
provider: "domino";
|
|
1608
|
-
resource: "point-ledger";
|
|
1609
|
-
} | {
|
|
1610
1607
|
provider: "discord";
|
|
1611
1608
|
resource: "channel";
|
|
1612
1609
|
types: ("text" | "announcement")[];
|
|
@@ -1614,6 +1611,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1614
1611
|
provider: "discord";
|
|
1615
1612
|
resource: "role";
|
|
1616
1613
|
assignable: boolean;
|
|
1614
|
+
} | {
|
|
1615
|
+
provider: "domino";
|
|
1616
|
+
resource: "point-ledger";
|
|
1617
1617
|
};
|
|
1618
1618
|
label: string;
|
|
1619
1619
|
description?: string | undefined;
|
|
@@ -1687,15 +1687,15 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1687
1687
|
badge?: string | undefined;
|
|
1688
1688
|
};
|
|
1689
1689
|
tier: string;
|
|
1690
|
-
} | {
|
|
1691
|
-
kind: "points";
|
|
1692
|
-
balance: string;
|
|
1693
|
-
amount: number;
|
|
1694
1690
|
} | {
|
|
1695
1691
|
kind: "integration";
|
|
1696
1692
|
provider: "discord";
|
|
1697
1693
|
action: "grant-role";
|
|
1698
1694
|
roleId: string;
|
|
1695
|
+
} | {
|
|
1696
|
+
kind: "points";
|
|
1697
|
+
balance: string;
|
|
1698
|
+
amount: number;
|
|
1699
1699
|
})[];
|
|
1700
1700
|
humanReview: boolean;
|
|
1701
1701
|
trigger: {
|
|
@@ -1717,7 +1717,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1717
1717
|
actor?: "staff" | "member" | undefined;
|
|
1718
1718
|
} | {
|
|
1719
1719
|
kind: "manual";
|
|
1720
|
-
input: "
|
|
1720
|
+
input: "none" | "quiz" | "photo";
|
|
1721
1721
|
actor?: "staff" | "member" | undefined;
|
|
1722
1722
|
} | {
|
|
1723
1723
|
kind: "automatic";
|
|
@@ -1761,9 +1761,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1761
1761
|
path: string;
|
|
1762
1762
|
equals: string | number | boolean;
|
|
1763
1763
|
})[] | undefined;
|
|
1764
|
-
enrollment?: "
|
|
1764
|
+
enrollment?: "none" | "required" | undefined;
|
|
1765
1765
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1766
|
-
historical?: "
|
|
1766
|
+
historical?: "staff" | "claim" | "automatic" | undefined;
|
|
1767
1767
|
content?: true | undefined;
|
|
1768
1768
|
} | undefined;
|
|
1769
1769
|
};
|
|
@@ -1786,9 +1786,6 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1786
1786
|
title: string;
|
|
1787
1787
|
})[];
|
|
1788
1788
|
completion: {
|
|
1789
|
-
kind: "streak";
|
|
1790
|
-
days: number;
|
|
1791
|
-
} | {
|
|
1792
1789
|
kind: "progress";
|
|
1793
1790
|
goal: {
|
|
1794
1791
|
kind: "count";
|
|
@@ -1805,6 +1802,9 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1805
1802
|
durationMs: number;
|
|
1806
1803
|
};
|
|
1807
1804
|
repeat: "repeat" | "once";
|
|
1805
|
+
} | {
|
|
1806
|
+
kind: "streak";
|
|
1807
|
+
days: number;
|
|
1808
1808
|
} | {
|
|
1809
1809
|
kind: "once";
|
|
1810
1810
|
} | {
|
|
@@ -1830,7 +1830,7 @@ declare const defineQuestType: <T extends Record<string, Setting>, const G exten
|
|
|
1830
1830
|
campaign?: {
|
|
1831
1831
|
key: string;
|
|
1832
1832
|
title: string;
|
|
1833
|
-
enrollment: "
|
|
1833
|
+
enrollment: "none" | "required";
|
|
1834
1834
|
window?: {
|
|
1835
1835
|
from: number;
|
|
1836
1836
|
until: number;
|
package/dist/browser.js
CHANGED
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
solanaSigner,
|
|
13
13
|
telegramMiniAppInitData,
|
|
14
14
|
walletStandardSolanaSigner
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-NOE2GXOV.js";
|
|
16
|
+
import "./chunk-LQBBQDC3.js";
|
|
17
17
|
import "./chunk-E7MVYASS.js";
|
|
18
18
|
import "./chunk-GB26FIZT.js";
|
|
19
19
|
import "./chunk-MRU7GX2V.js";
|
|
20
20
|
import "./chunk-W33PYWYQ.js";
|
|
21
21
|
import "./chunk-WOGCRDFT.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-337GV555.js";
|
|
23
23
|
import "./chunk-JUQ2GNMD.js";
|
|
24
24
|
import "./chunk-6UFXPKLA.js";
|
|
25
25
|
export {
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LQBBQDC3.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
11
|
} from "./chunk-E7MVYASS.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-MRU7GX2V.js";
|
|
18
18
|
import "./chunk-W33PYWYQ.js";
|
|
19
19
|
import "./chunk-WOGCRDFT.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-337GV555.js";
|
|
21
21
|
import {
|
|
22
22
|
sessionMember
|
|
23
23
|
} from "./chunk-JUQ2GNMD.js";
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-
|
|
1
|
+
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-DM8wRWaO.js';
|
|
2
2
|
export { E as Extracted } from './images-DwNmzqWv.js';
|
|
3
3
|
import { c as RequestErrorKind } from './action-DBzILFx9.js';
|
|
4
4
|
export { i as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, j as trackerDataIssue, k as trackerDataIssues, l as trackerDataPathTypes, m as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-D57mhL2q.js';
|
|
@@ -9,7 +9,7 @@ import './groups-CfyRewkJ.js';
|
|
|
9
9
|
import './profiles-D29SS12z.js';
|
|
10
10
|
import './automatic-outcomes-T9lEIvTj.js';
|
|
11
11
|
import './attempt-captures-JDIgz2lY.js';
|
|
12
|
-
import './deployments-
|
|
12
|
+
import './deployments-BFl_dOgc.js';
|
|
13
13
|
|
|
14
14
|
/** The management client's and the CLI's default deadline per call. */
|
|
15
15
|
declare const MANAGEMENT_TIMEOUT = 30000;
|
package/dist/internal.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
participantExchangeSchema,
|
|
10
10
|
questConfiguration,
|
|
11
11
|
sequenceCursorSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JGXIXOQZ.js";
|
|
13
13
|
import {
|
|
14
14
|
parseImageExtraction,
|
|
15
15
|
parseImageResult
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
retryAfter,
|
|
33
33
|
retrying
|
|
34
34
|
} from "./chunk-WOGCRDFT.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-337GV555.js";
|
|
36
36
|
import "./chunk-JUQ2GNMD.js";
|
|
37
37
|
import {
|
|
38
38
|
schemaCheckedReader,
|
package/dist/portal-proxy.js
CHANGED
package/dist/react/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
readSignInMethods,
|
|
10
10
|
signInOptionsFrom,
|
|
11
11
|
telegramMiniAppInitData
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-NOE2GXOV.js";
|
|
13
|
+
import "../chunk-LQBBQDC3.js";
|
|
14
14
|
import {
|
|
15
15
|
createRelayAction
|
|
16
16
|
} from "../chunk-E7MVYASS.js";
|
|
@@ -18,7 +18,7 @@ import "../chunk-GB26FIZT.js";
|
|
|
18
18
|
import "../chunk-MRU7GX2V.js";
|
|
19
19
|
import "../chunk-W33PYWYQ.js";
|
|
20
20
|
import "../chunk-WOGCRDFT.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-337GV555.js";
|
|
22
22
|
import {
|
|
23
23
|
sessionMember
|
|
24
24
|
} from "../chunk-JUQ2GNMD.js";
|