@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
badgeSchema,
|
|
3
3
|
pointLedgerReferenceSchema
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JFNJE2I4.js";
|
|
5
5
|
import {
|
|
6
6
|
authoringIdentityShape,
|
|
7
7
|
entitlementSchema,
|
|
@@ -17,11 +17,12 @@ import {
|
|
|
17
17
|
responseShape,
|
|
18
18
|
retryCooldownMsSchema,
|
|
19
19
|
reviewModeSchema,
|
|
20
|
+
sdkRuntimeReferenceSchema,
|
|
20
21
|
settingsValuesSchema,
|
|
21
22
|
storedQuestDescriptionSchema,
|
|
22
23
|
storedReviewModeSchema,
|
|
23
24
|
tieredRewardReferenceSchema
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6RYZG6TV.js";
|
|
25
26
|
|
|
26
27
|
// src/participant-activity.ts
|
|
27
28
|
import * as z from "zod";
|
|
@@ -126,6 +127,8 @@ var questTypeVersionSchema = z2.object({
|
|
|
126
127
|
id: identifier,
|
|
127
128
|
version: identifier,
|
|
128
129
|
code: z2.string(),
|
|
130
|
+
/** The SDK runtime `code` imports. Absent, the code bundles its own SDK. */
|
|
131
|
+
runtime: sdkRuntimeReferenceSchema.optional(),
|
|
129
132
|
definition: storedQuestDescriptionSchema,
|
|
130
133
|
provider: storedReviewModeSchema,
|
|
131
134
|
createdAt: z2.number()
|
|
@@ -201,6 +204,7 @@ var catalogDeploymentSchema = z2.object({
|
|
|
201
204
|
types: z2.array(
|
|
202
205
|
z2.object({
|
|
203
206
|
code: z2.string().min(1).max(1e6),
|
|
207
|
+
runtime: sdkRuntimeReferenceSchema.optional(),
|
|
204
208
|
provider: reviewModeSchema
|
|
205
209
|
})
|
|
206
210
|
).max(50).default([]),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRelayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UXFFSWB3.js";
|
|
4
4
|
import {
|
|
5
5
|
RelayErrorCode,
|
|
6
6
|
asRelayError,
|
|
7
7
|
clientError,
|
|
8
8
|
cosmosChain
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6RYZG6TV.js";
|
|
10
10
|
|
|
11
11
|
// src/base58.ts
|
|
12
12
|
var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRelayAction,
|
|
3
3
|
withActionId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PG3MC2AM.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-SAUBTWEA.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-JFNJE2I4.js";
|
|
52
52
|
import {
|
|
53
53
|
telegramAccountConnectionSchema,
|
|
54
54
|
telegramMiniAppSignInSchema,
|
|
55
55
|
telegramSignInMethodsSchema
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-OZQML7VU.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-34ZGBXN7.js";
|
|
64
64
|
import {
|
|
65
65
|
clientIdentity
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-QLDURQPB.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-IEBVJN6A.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-6RYZG6TV.js";
|
|
113
113
|
|
|
114
114
|
// src/legacy-submissions.ts
|
|
115
115
|
import * as z from "zod";
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
retryAfter,
|
|
5
5
|
retrying,
|
|
6
6
|
validTimeout
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-34ZGBXN7.js";
|
|
8
8
|
import {
|
|
9
9
|
clientIdentity
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QLDURQPB.js";
|
|
11
11
|
import {
|
|
12
12
|
authScopeSchema
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IEBVJN6A.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-6RYZG6TV.js";
|
|
21
21
|
|
|
22
22
|
// src/configuration.ts
|
|
23
23
|
function questConfiguration(release) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery,
|
|
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-CX1C9gln.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-Brtjxb2P.js';
|
|
3
|
+
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-D5Gh3GR0.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,
|
|
6
|
-
import { b as ParticipantSession,
|
|
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-Dg5_t7Pq.js';
|
|
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';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { p as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-Cdv4BSd_.js';
|
|
10
|
+
import { w as walletAddressInputSchema, o as walletSignatureSchema, L as LinkedWallet, f as WalletSigner } from './wallet-Ac7OFpOr.js';
|
|
11
11
|
|
|
12
12
|
/** What happened, as in every Domino client error (see `RequestError`). */
|
|
13
13
|
type RelayErrorKind = RequestErrorKind;
|