@domino-sdk/relay 1.21.0 → 1.23.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/accounts-B31dWEYD.d.ts +292 -0
- package/dist/{attempt-captures-ByzZyggX.d.ts → attempt-captures-JDIgz2lY.d.ts} +1 -1
- package/dist/authoring.d.ts +112 -49
- package/dist/authoring.js +37 -3
- package/dist/{automatic-outcomes-BBSdMf0R.d.ts → automatic-outcomes-T9lEIvTj.d.ts} +1 -1
- package/dist/browser.d.ts +8 -8
- package/dist/browser.js +10 -9
- package/dist/{chunk-WQT4H2PI.js → chunk-57KARWUC.js} +1 -1
- package/dist/{chunk-EMLDFUTV.js → chunk-6UFXPKLA.js} +6 -1
- package/dist/{chunk-GMKJPHN4.js → chunk-AXQYGVOP.js} +1 -1
- package/dist/{chunk-JIQHUDVZ.js → chunk-B4EZ76WX.js} +1 -1
- package/dist/{chunk-T47OFHHX.js → chunk-E7MVYASS.js} +1 -1
- package/dist/{chunk-CVQG2AZZ.js → chunk-ENBQ6UEE.js} +2 -2
- package/dist/{chunk-NGP2NMZ4.js → chunk-G75JVB4D.js} +1 -1
- package/dist/{chunk-5ZRDK4KQ.js → chunk-GB26FIZT.js} +96 -118
- package/dist/{chunk-YXAK2637.js → chunk-JUQ2GNMD.js} +1 -1
- package/dist/{chunk-XSLRNFIY.js → chunk-MRU7GX2V.js} +1 -1
- package/dist/{chunk-YVBWCT4S.js → chunk-RPEGZW27.js} +2 -2
- package/dist/{chunk-NHHM5ASX.js → chunk-SMUYGCGP.js} +4 -4
- package/dist/{chunk-7YRXDG7R.js → chunk-UCZGXYCN.js} +9 -7
- package/dist/chunk-W33PYWYQ.js +102 -0
- package/dist/{chunk-5P5PTZ3T.js → chunk-WOGCRDFT.js} +1 -1
- package/dist/{chunk-H4FL5WA5.js → chunk-XQE22UKY.js} +13 -11
- package/dist/{client-DSlycgar.d.ts → client-HG0uMG0Q.d.ts} +6 -6
- package/dist/{deployments-nNS4spO9.d.ts → deployments-B--Shwgx.d.ts} +121 -109
- package/dist/{groups-jLLG7MML.d.ts → groups-CfyRewkJ.d.ts} +1 -1
- package/dist/{images-BPiPqVKn.d.ts → images-DwNmzqWv.d.ts} +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -8
- package/dist/{integrations-Cr9EhGI_.d.ts → integrations-BMNtARU_.d.ts} +2 -0
- package/dist/internal.d.ts +9 -9
- package/dist/internal.js +8 -8
- package/dist/{offers-CPqiF3dZ.d.ts → offers-CEwkAGsB.d.ts} +2 -2
- package/dist/{pages-1h1387a3.d.ts → pages-D1xrbGJl.d.ts} +6 -1
- package/dist/{telegram-DALZ7GdF.d.ts → participant-activity-DYdUUhw2.d.ts} +1 -40
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +11 -11
- package/dist/react/index.js +10 -9
- package/dist/{schema-Br3c1GOu.d.ts → schema-D57mhL2q.d.ts} +1427 -1422
- package/dist/schema.d.ts +325 -323
- package/dist/schema.js +29 -11
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +59 -15
- package/dist/{submission-input-BEJ9qENg.d.ts → submission-input-DjXg0o-r.d.ts} +2 -2
- package/dist/{telegram-browser-CGB01TaB.d.ts → telegram-browser-DaP0Rawg.d.ts} +2 -3
- package/dist/testing.d.ts +18 -6
- package/dist/testing.js +42 -7
- package/dist/{transport-DUc8QwDl.d.ts → transport-BZbTTtBk.d.ts} +2216 -2007
- package/package.json +1 -1
- package/dist/accounts-5ciAkCMP.d.ts +0 -147
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-
|
|
1
|
+
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-CEwkAGsB.js';
|
|
2
2
|
export { R as RelayAction, a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, d as RequestRecovery, e as createRelayAction, i as isRequestError } from './action-DBzILFx9.js';
|
|
3
|
-
export { C as ClaimSubmission, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionDraft, m as SubmissionStatus, n as SubmissionStore, V as ValueSubmission, o as createRelayClient, p as isRelayError } from './client-
|
|
4
|
-
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-
|
|
3
|
+
export { C as ClaimSubmission, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionDraft, m as SubmissionStatus, n as SubmissionStore, V as ValueSubmission, o as createRelayClient, p as isRelayError } from './client-HG0uMG0Q.js';
|
|
4
|
+
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-D57mhL2q.js';
|
|
5
5
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
6
|
-
export { A as AccountConnection, a as AuthProvider } from './accounts-
|
|
7
|
-
export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session,
|
|
8
|
-
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse } from './pages-
|
|
9
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-
|
|
10
|
-
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-
|
|
11
|
-
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
6
|
+
export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-B31dWEYD.js';
|
|
7
|
+
export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-DYdUUhw2.js';
|
|
8
|
+
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse } from './pages-D1xrbGJl.js';
|
|
9
|
+
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-CfyRewkJ.js';
|
|
10
|
+
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-T9lEIvTj.js';
|
|
11
|
+
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-DjXg0o-r.js';
|
|
12
12
|
export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileReferral, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility } from './profiles-D29SS12z.js';
|
|
13
13
|
export { Q as QuizContent, S as StreakProgress } from './streaks-CWyq8Px5.js';
|
|
14
14
|
export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput } from './wallet-CDyo-U4n.js';
|
package/dist/index.js
CHANGED
|
@@ -5,21 +5,22 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XQE22UKY.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-E7MVYASS.js";
|
|
12
12
|
import {
|
|
13
13
|
QuestOutcomeState
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GB26FIZT.js";
|
|
15
15
|
import {
|
|
16
16
|
PointEntryKind
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-MRU7GX2V.js";
|
|
18
|
+
import "./chunk-W33PYWYQ.js";
|
|
19
|
+
import "./chunk-WOGCRDFT.js";
|
|
20
|
+
import "./chunk-57KARWUC.js";
|
|
20
21
|
import {
|
|
21
22
|
sessionMember
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JUQ2GNMD.js";
|
|
23
24
|
import {
|
|
24
25
|
AttemptStatus,
|
|
25
26
|
RelayError,
|
|
@@ -27,7 +28,7 @@ import {
|
|
|
27
28
|
RequestError,
|
|
28
29
|
isRelayError,
|
|
29
30
|
isRequestError
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-6UFXPKLA.js";
|
|
31
32
|
export {
|
|
32
33
|
AttemptStatus,
|
|
33
34
|
PointEntryKind,
|
|
@@ -99,6 +99,7 @@ declare const settingFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
99
99
|
minLength: z.ZodNumber;
|
|
100
100
|
maxLength: z.ZodNumber;
|
|
101
101
|
multiline: z.ZodBoolean;
|
|
102
|
+
picker: z.ZodOptional<z.ZodString>;
|
|
102
103
|
label: z.ZodString;
|
|
103
104
|
description: z.ZodOptional<z.ZodString>;
|
|
104
105
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -170,6 +171,7 @@ declare const settingsFieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedU
|
|
|
170
171
|
minLength: z.ZodNumber;
|
|
171
172
|
maxLength: z.ZodNumber;
|
|
172
173
|
multiline: z.ZodBoolean;
|
|
174
|
+
picker: z.ZodOptional<z.ZodString>;
|
|
173
175
|
label: z.ZodString;
|
|
174
176
|
description: z.ZodOptional<z.ZodString>;
|
|
175
177
|
}, z.core.$strict>, z.ZodObject<{
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-
|
|
2
|
-
export { E as Extracted } from './images-
|
|
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-BZbTTtBk.js';
|
|
2
|
+
export { E as Extracted } from './images-DwNmzqWv.js';
|
|
3
3
|
import { c as RequestErrorKind } from './action-DBzILFx9.js';
|
|
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-
|
|
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';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './pages-
|
|
7
|
-
import './offers-
|
|
8
|
-
import './groups-
|
|
6
|
+
import './pages-D1xrbGJl.js';
|
|
7
|
+
import './offers-CEwkAGsB.js';
|
|
8
|
+
import './groups-CfyRewkJ.js';
|
|
9
9
|
import './profiles-D29SS12z.js';
|
|
10
|
-
import './automatic-outcomes-
|
|
11
|
-
import './attempt-captures-
|
|
12
|
-
import './deployments-
|
|
10
|
+
import './automatic-outcomes-T9lEIvTj.js';
|
|
11
|
+
import './attempt-captures-JDIgz2lY.js';
|
|
12
|
+
import './deployments-B--Shwgx.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,17 +9,17 @@ import {
|
|
|
9
9
|
participantExchangeSchema,
|
|
10
10
|
questConfiguration,
|
|
11
11
|
sequenceCursorSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SMUYGCGP.js";
|
|
13
13
|
import {
|
|
14
14
|
parseImageExtraction,
|
|
15
15
|
parseImageResult
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-ENBQ6UEE.js";
|
|
17
|
+
import "./chunk-B4EZ76WX.js";
|
|
18
18
|
import {
|
|
19
19
|
sourceDataSchema,
|
|
20
20
|
sourceRoles,
|
|
21
21
|
validateQuestShape
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AXQYGVOP.js";
|
|
23
23
|
import {
|
|
24
24
|
isIntegrationParticipantPath,
|
|
25
25
|
isParticipantRoute,
|
|
@@ -31,9 +31,9 @@ import {
|
|
|
31
31
|
lifetime,
|
|
32
32
|
retryAfter,
|
|
33
33
|
retrying
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-WOGCRDFT.js";
|
|
35
|
+
import "./chunk-57KARWUC.js";
|
|
36
|
+
import "./chunk-JUQ2GNMD.js";
|
|
37
37
|
import {
|
|
38
38
|
schemaCheckedReader,
|
|
39
39
|
trackerDataBatchSteps,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
trackerDataPathTypes,
|
|
43
43
|
trackerDataRecordSteps,
|
|
44
44
|
whereSchemaIssue
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-6UFXPKLA.js";
|
|
46
46
|
export {
|
|
47
47
|
MANAGEMENT_TIMEOUT,
|
|
48
48
|
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { q as ResourceHandle } from './schema-
|
|
3
|
-
import { r as AuthoringIdentity } from './groups-
|
|
2
|
+
import { q as ResourceHandle } from './schema-D57mhL2q.js';
|
|
3
|
+
import { r as AuthoringIdentity } from './groups-CfyRewkJ.js';
|
|
4
4
|
|
|
5
5
|
declare const badgePropertiesSchema: z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as AttemptStatus, bR as questDescriptionSchema, h as TrackerSkipCode } from './schema-
|
|
2
|
+
import { a as AttemptStatus, bR as questDescriptionSchema, h as TrackerSkipCode } from './schema-D57mhL2q.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
|
|
@@ -312,6 +312,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
312
312
|
minLength: z.ZodNumber;
|
|
313
313
|
maxLength: z.ZodNumber;
|
|
314
314
|
multiline: z.ZodBoolean;
|
|
315
|
+
picker: z.ZodOptional<z.ZodString>;
|
|
315
316
|
label: z.ZodString;
|
|
316
317
|
description: z.ZodOptional<z.ZodString>;
|
|
317
318
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1048,6 +1049,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1048
1049
|
minLength: z.ZodNumber;
|
|
1049
1050
|
maxLength: z.ZodNumber;
|
|
1050
1051
|
multiline: z.ZodBoolean;
|
|
1052
|
+
picker: z.ZodOptional<z.ZodString>;
|
|
1051
1053
|
label: z.ZodString;
|
|
1052
1054
|
description: z.ZodOptional<z.ZodString>;
|
|
1053
1055
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1677,6 +1679,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1677
1679
|
minLength: z.ZodNumber;
|
|
1678
1680
|
maxLength: z.ZodNumber;
|
|
1679
1681
|
multiline: z.ZodBoolean;
|
|
1682
|
+
picker: z.ZodOptional<z.ZodString>;
|
|
1680
1683
|
label: z.ZodString;
|
|
1681
1684
|
description: z.ZodOptional<z.ZodString>;
|
|
1682
1685
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2179,6 +2182,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
2179
2182
|
minLength: z.ZodNumber;
|
|
2180
2183
|
maxLength: z.ZodNumber;
|
|
2181
2184
|
multiline: z.ZodBoolean;
|
|
2185
|
+
picker: z.ZodOptional<z.ZodString>;
|
|
2182
2186
|
label: z.ZodString;
|
|
2183
2187
|
description: z.ZodOptional<z.ZodString>;
|
|
2184
2188
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5100,6 +5104,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
5100
5104
|
minLength: z.ZodNumber;
|
|
5101
5105
|
maxLength: z.ZodNumber;
|
|
5102
5106
|
multiline: z.ZodBoolean;
|
|
5107
|
+
picker: z.ZodOptional<z.ZodString>;
|
|
5103
5108
|
label: z.ZodString;
|
|
5104
5109
|
description: z.ZodOptional<z.ZodString>;
|
|
5105
5110
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -344,43 +344,4 @@ declare const participantActivitySchema: z.ZodObject<{
|
|
|
344
344
|
type RelayEvent = z.infer<typeof relayEventSchema>;
|
|
345
345
|
type ParticipantActivity = z.infer<typeof participantActivitySchema>;
|
|
346
346
|
|
|
347
|
-
|
|
348
|
-
* The Telegram sign-in a project offers, beside `providers` in `relay.auth.providers()`.
|
|
349
|
-
*
|
|
350
|
-
* @compat output
|
|
351
|
-
*/
|
|
352
|
-
declare const telegramSignInMethodsSchema: z.ZodObject<{
|
|
353
|
-
login: z.ZodBoolean;
|
|
354
|
-
miniApp: z.ZodBoolean;
|
|
355
|
-
}, z.core.$strip>;
|
|
356
|
-
type TelegramSignInMethods = z.infer<typeof telegramSignInMethodsSchema>;
|
|
357
|
-
/**
|
|
358
|
-
* The member's Telegram account, as `AccountConnection` describes the other providers'. `subject`
|
|
359
|
-
* is the numeric Telegram user ID; `configured` is whether Telegram Login is.
|
|
360
|
-
*
|
|
361
|
-
* @compat output
|
|
362
|
-
*/
|
|
363
|
-
declare const telegramAccountConnectionSchema: z.ZodObject<{
|
|
364
|
-
configured: z.ZodBoolean;
|
|
365
|
-
status: z.ZodEnum<{
|
|
366
|
-
disconnected: "disconnected";
|
|
367
|
-
connected: "connected";
|
|
368
|
-
reconnect: "reconnect";
|
|
369
|
-
}>;
|
|
370
|
-
subject: z.ZodNullable<z.ZodString>;
|
|
371
|
-
revision: z.ZodNumber;
|
|
372
|
-
provider: z.ZodLiteral<"telegram">;
|
|
373
|
-
}, z.core.$strip>;
|
|
374
|
-
type TelegramAccountConnection = z.infer<typeof telegramAccountConnectionSchema>;
|
|
375
|
-
/** The signed launch data a Telegram Mini App receives, `Telegram.WebApp.initData`. */
|
|
376
|
-
declare const telegramInitDataSchema: z.ZodString;
|
|
377
|
-
/** `POST /v1/auth/telegram/mini-app`: sign in, or connect Telegram to the signed-in member. */
|
|
378
|
-
declare const telegramMiniAppSignInSchema: z.ZodObject<{
|
|
379
|
-
initData: z.ZodString;
|
|
380
|
-
mode: z.ZodEnum<{
|
|
381
|
-
"sign-in": "sign-in";
|
|
382
|
-
connect: "connect";
|
|
383
|
-
}>;
|
|
384
|
-
}, z.core.$strict>;
|
|
385
|
-
|
|
386
|
-
export { type ExchangeInput as E, type MemberSummary as M, type ParticipantActivity as P, type RelayEvent as R, type Session as S, type TelegramAccountConnection as T, type ParticipantPrincipal as a, type ParticipantSession as b, type TelegramSignInMethods as c, authScopeSchema as d, exchangeResultSchema as e, exchangeSchema as f, participantActivitySchema as g, participantPrincipalSchema as h, participantSessionSchema as i, principalSchema as j, knownRelayEventSchema as k, sessionSchema as l, memberSummarySchema as m, telegramInitDataSchema as n, telegramMiniAppSignInSchema as o, participantActivityQuerySchema as p, telegramSignInMethodsSchema as q, relayEventSchema as r, sessionMember as s, telegramAccountConnectionSchema as t };
|
|
347
|
+
export { type ExchangeInput as E, type MemberSummary as M, type ParticipantActivity as P, type RelayEvent as R, type Session as S, type ParticipantPrincipal as a, type ParticipantSession as b, authScopeSchema as c, exchangeSchema as d, exchangeResultSchema as e, participantActivitySchema as f, participantPrincipalSchema as g, participantSessionSchema as h, principalSchema as i, sessionSchema as j, knownRelayEventSchema as k, memberSummarySchema as m, participantActivityQuerySchema as p, relayEventSchema as r, sessionMember as s };
|
package/dist/portal-proxy.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-USVER53M.js";
|
|
4
4
|
import {
|
|
5
5
|
clientIdentity
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-57KARWUC.js";
|
|
7
7
|
import {
|
|
8
8
|
exchangeResultSchema
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-JUQ2GNMD.js";
|
|
10
|
+
import "./chunk-6UFXPKLA.js";
|
|
11
11
|
|
|
12
12
|
// src/portal-proxy.ts
|
|
13
13
|
var statusCode = (status) => ({
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-
|
|
2
|
-
import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import { P as Page, y as collectionViewSchema, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-1h1387a3.js';
|
|
1
|
+
import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-CEwkAGsB.js';
|
|
2
|
+
import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-DYdUUhw2.js';
|
|
3
|
+
import { g as RelayError, R as RelayClient, S as SubmissionDraft } from '../client-HG0uMG0Q.js';
|
|
4
|
+
import { P as Page, y as collectionViewSchema, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-D1xrbGJl.js';
|
|
6
5
|
import * as react from 'react';
|
|
7
6
|
import { ReactNode } from 'react';
|
|
8
7
|
import { J as JSONType } from '../util.d-w9f9t3ua.js';
|
|
9
8
|
import { z } from 'zod';
|
|
10
|
-
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema-
|
|
11
|
-
import { a as AuthProvider, A as AccountConnection } from '../accounts-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema-D57mhL2q.js';
|
|
10
|
+
import { a as AuthProvider, A as AccountConnection } from '../accounts-B31dWEYD.js';
|
|
11
|
+
export { T as TelegramAccountConnection, b as TelegramSignInMethods } from '../accounts-B31dWEYD.js';
|
|
12
|
+
import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-DaP0Rawg.js';
|
|
13
|
+
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-DaP0Rawg.js';
|
|
14
14
|
import { f as WalletSigner, d as WalletSignInNetwork, L as LinkedWallet } from '../wallet-CDyo-U4n.js';
|
|
15
|
-
import { f as LeaderboardPlacement, b7 as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-
|
|
15
|
+
import { f as LeaderboardPlacement, b7 as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-CfyRewkJ.js';
|
|
16
16
|
import { f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-D29SS12z.js';
|
|
17
|
-
import '../submission-input-
|
|
17
|
+
import '../submission-input-DjXg0o-r.js';
|
|
18
18
|
import '../action-DBzILFx9.js';
|
|
19
19
|
|
|
20
20
|
/**
|
package/dist/react/index.js
CHANGED
|
@@ -9,18 +9,19 @@ import {
|
|
|
9
9
|
readSignInMethods,
|
|
10
10
|
signInOptionsFrom,
|
|
11
11
|
telegramMiniAppInitData
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-RPEGZW27.js";
|
|
13
|
+
import "../chunk-XQE22UKY.js";
|
|
14
14
|
import {
|
|
15
15
|
createRelayAction
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-E7MVYASS.js";
|
|
17
|
+
import "../chunk-GB26FIZT.js";
|
|
18
|
+
import "../chunk-MRU7GX2V.js";
|
|
19
|
+
import "../chunk-W33PYWYQ.js";
|
|
20
|
+
import "../chunk-WOGCRDFT.js";
|
|
21
|
+
import "../chunk-57KARWUC.js";
|
|
21
22
|
import {
|
|
22
23
|
sessionMember
|
|
23
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-JUQ2GNMD.js";
|
|
24
25
|
import {
|
|
25
26
|
RelayError,
|
|
26
27
|
RelayErrorCode,
|
|
@@ -28,7 +29,7 @@ import {
|
|
|
28
29
|
clientError,
|
|
29
30
|
isRelayError,
|
|
30
31
|
isRequestError
|
|
31
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-6UFXPKLA.js";
|
|
32
33
|
|
|
33
34
|
// src/react/context.ts
|
|
34
35
|
import { createContext, useContext } from "react";
|