@domino-sdk/relay 1.73.0 → 1.75.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/CHANGELOG.md +47 -0
- package/dist/{accounts-0ynaUjt0.d.ts → accounts-C9as33l1.d.ts} +4 -4
- package/dist/{attempt-captures-DlR6J8Dd.d.ts → attempt-captures-DU4vi20Y.d.ts} +2 -2
- package/dist/authoring.d.ts +13 -13
- package/dist/authoring.js +4 -4
- package/dist/{automatic-outcomes-B1xDz9JR.d.ts → automatic-outcomes-D0yMHSHL.d.ts} +2 -2
- package/dist/browser.d.ts +10 -10
- package/dist/browser.js +8 -8
- package/dist/{capability-error-CYTmnCtI.d.ts → capability-error-D56xxE2i.d.ts} +5 -5
- package/dist/{catalog-D5EYZsX6.d.ts → catalog-9I6t18qP.d.ts} +2 -2
- package/dist/{chunk-CW7FJ5PX.js → chunk-3KHVIUKK.js} +1 -1
- package/dist/{chunk-O5KGY6SP.js → chunk-4WODSE6Y.js} +232 -232
- package/dist/{chunk-ELHMJODS.js → chunk-7B7MDHJ6.js} +1 -1
- package/dist/{chunk-6TDHRGBM.js → chunk-7QHROIML.js} +3 -0
- package/dist/{chunk-NAFLHTRY.js → chunk-CEG67D4T.js} +1 -1
- package/dist/chunk-E2DB4MKM.js +7295 -0
- package/dist/chunk-FBS65R66.js +142 -0
- package/dist/{chunk-KP55TMCC.js → chunk-HEQ7HLXG.js} +1 -1
- package/dist/{chunk-TGQNNMCY.js → chunk-IMX45NSW.js} +6 -6
- package/dist/{chunk-RALBAKKX.js → chunk-K3PEQXDV.js} +1 -1
- package/dist/{chunk-7I7P5UVC.js → chunk-SIKP4VMU.js} +56 -7
- package/dist/{chunk-NI6XRGEL.js → chunk-SPLXHFVX.js} +2 -2
- package/dist/{chunk-KGZ7SRKJ.js → chunk-TAZ5AEYF.js} +1 -1
- package/dist/{chunk-TF52WMQL.js → chunk-UHYKKC5U.js} +9 -8
- package/dist/{chunk-T4PTFCSB.js → chunk-XEXB3WZE.js} +1 -1
- package/dist/{chunk-OBPT6RBU.js → chunk-XJCKQSFS.js} +4 -3
- package/dist/{chunk-XLDAVVK2.js → chunk-ZEYI662X.js} +3 -3
- package/dist/{client-CFLNrX4Z.d.ts → client-336yROej.d.ts} +8 -8
- package/dist/{deployments-D8zg4ZF2.d.ts → deployments-CGV1rIZm.d.ts} +3 -3
- package/dist/{identity-integration-Bf2Gk33g.d.ts → identity-integration-DnSgQjbY.d.ts} +5 -3
- package/dist/index.d.ts +11 -11
- package/dist/index.js +7 -7
- package/dist/internal.d.ts +35347 -20
- package/dist/internal.js +514 -17
- package/dist/{limits-tAQm4GCJ.d.ts → limits-DICxln-i.d.ts} +9 -3
- package/dist/{offers-C0gBIxI0.d.ts → offers-CnMyMeQo.d.ts} +2 -2
- package/dist/portal-proxy.d.ts +9 -2
- package/dist/portal-proxy.js +125 -50
- package/dist/{profiles-DjOGwqm8.d.ts → profiles-CLDKZVFx.d.ts} +2 -2
- package/dist/react/index.d.ts +11 -11
- package/dist/react/index.js +8 -8
- package/dist/{reward-deliveries-Cr8IN_UG.d.ts → reward-deliveries-zWfsgc6m.d.ts} +1 -1
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/H6GH644T.js +1 -0
- package/dist/runtime/manifest.json +3 -3
- package/dist/runtime/schema.js +1 -1
- package/dist/schema.d.ts +20 -77
- package/dist/schema.js +7 -7
- package/dist/server/index.d.ts +14 -14
- package/dist/server/index.js +3028 -4501
- package/dist/{sign-in-providers-gcJ5lRcX.d.ts → sign-in-providers-BMtk_NWY.d.ts} +2 -2
- package/dist/solana.d.ts +14 -14
- package/dist/solana.js +8 -8
- package/dist/stake-BSVjB3BJ.d.ts +254 -0
- package/dist/{station-check-in-D1v_RJ4G.d.ts → station-check-in-vcDKQOet.d.ts} +5 -5
- package/dist/{submission-input-BmzJu3w9.d.ts → submission-input-D_NiBR0W.d.ts} +9 -4
- package/dist/telegram.d.ts +8 -8
- package/dist/testing.d.ts +4 -4
- package/dist/testing.js +16 -8
- package/dist/{tracker-data-qMsOa5Dp.d.ts → tracker-data-Dwq9dWEm.d.ts} +75 -3
- package/dist/{transport-DSE0GUUl.d.ts → transport-BMwM6JlS.d.ts} +72491 -69151
- package/dist/{wallet-BgUIA3IN.d.ts → wallet-CeqgtXNm.d.ts} +2 -2
- package/dist/{wallet-browser-C2LVqgmB.d.ts → wallet-browser-Cucpqn3F.d.ts} +1 -1
- package/package.json +2 -1
- package/dist/chunk-4YN4QROW.js +0 -94
- package/dist/chunk-MYLLSM6I.js +0 -53
- package/dist/chunk-NX7CRWVX.js +0 -467
- package/dist/nfts-BagOxV_E.d.ts +0 -106
- package/dist/runtime/chunks/NYEWMPJH.js +0 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import {
|
|
2
|
+
imageComparisonSchema,
|
|
3
|
+
imageExtractionSchema,
|
|
4
|
+
imageFieldsSchema,
|
|
5
|
+
imageInspectionSchema,
|
|
6
|
+
imageSightingsSchema
|
|
7
|
+
} from "./chunk-K3PEQXDV.js";
|
|
8
|
+
import {
|
|
9
|
+
capabilityFailureSchema
|
|
10
|
+
} from "./chunk-MWMCQLCG.js";
|
|
11
|
+
import {
|
|
12
|
+
attemptActionSchema,
|
|
13
|
+
contentPerformanceSnapshotSchema,
|
|
14
|
+
decisionSchema,
|
|
15
|
+
identifier,
|
|
16
|
+
photoResultSchema,
|
|
17
|
+
rewardBundleSchema,
|
|
18
|
+
settingsValuesSchema,
|
|
19
|
+
trackerTriggerContextSchema
|
|
20
|
+
} from "./chunk-7QHROIML.js";
|
|
21
|
+
|
|
22
|
+
// src/image-results.ts
|
|
23
|
+
import * as z from "zod";
|
|
24
|
+
var invalid = (message, path) => new z.ZodError([{ code: "custom", message, path, input: void 0 }]);
|
|
25
|
+
function parseImageExtraction(raw, value) {
|
|
26
|
+
const result = imageExtractionSchema.parse(value);
|
|
27
|
+
const fields = imageFieldsSchema.parse(raw);
|
|
28
|
+
for (const [key, field] of Object.entries(fields)) {
|
|
29
|
+
const extracted = result.values[key];
|
|
30
|
+
if (extracted === void 0) {
|
|
31
|
+
throw invalid("Image extraction omitted " + key, ["values", key]);
|
|
32
|
+
}
|
|
33
|
+
if (extracted !== null && typeof extracted !== field.type) {
|
|
34
|
+
throw invalid("Image extraction returned the wrong type for " + key, [
|
|
35
|
+
"values",
|
|
36
|
+
key
|
|
37
|
+
]);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
if (Object.keys(result.values).some((key) => !Object.hasOwn(fields, key))) {
|
|
41
|
+
throw invalid("Image extraction returned an undeclared field", ["values"]);
|
|
42
|
+
}
|
|
43
|
+
return result;
|
|
44
|
+
}
|
|
45
|
+
function parseImageResult(request, value) {
|
|
46
|
+
switch (request.operation) {
|
|
47
|
+
case "inspect":
|
|
48
|
+
return imageInspectionSchema.parse(value);
|
|
49
|
+
case "compare":
|
|
50
|
+
return imageComparisonSchema.parse(value);
|
|
51
|
+
case "review":
|
|
52
|
+
return photoResultSchema.parse(value);
|
|
53
|
+
case "extract":
|
|
54
|
+
return parseImageExtraction(request.fields, value);
|
|
55
|
+
case "seen":
|
|
56
|
+
return imageSightingsSchema.parse(value);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// src/server/attempt-captures.ts
|
|
61
|
+
import * as z2 from "zod";
|
|
62
|
+
var timestamp = /* @__PURE__ */ (() => z2.number().int().nonnegative().safe())();
|
|
63
|
+
var capturedFactSchema = /* @__PURE__ */ (() => z2.object({
|
|
64
|
+
/** The call's position in the run, from 0. */
|
|
65
|
+
sequence: z2.number().int().nonnegative(),
|
|
66
|
+
/** The capability request quest code sent, after validation. */
|
|
67
|
+
request: z2.record(z2.string(), z2.json()),
|
|
68
|
+
/**
|
|
69
|
+
* The answer every retry of the run receives: the result, or the failure quest code saw. Absent
|
|
70
|
+
* while the call has no answer, such as when the run stopped during it.
|
|
71
|
+
*/
|
|
72
|
+
outcome: z2.union([
|
|
73
|
+
z2.object({ value: z2.json() }),
|
|
74
|
+
z2.object({ error: capabilityFailureSchema })
|
|
75
|
+
]).optional(),
|
|
76
|
+
/**
|
|
77
|
+
* False when a retry of the run asks the provider again: a retryable failure Relay recorded but
|
|
78
|
+
* did not keep, or a call without an answer. A replay cannot answer such a call.
|
|
79
|
+
*/
|
|
80
|
+
captured: z2.boolean()
|
|
81
|
+
}))();
|
|
82
|
+
var attemptCaptureSchema = /* @__PURE__ */ (() => z2.object({
|
|
83
|
+
format: z2.literal(1),
|
|
84
|
+
attempt: identifier,
|
|
85
|
+
environment: z2.literal("test"),
|
|
86
|
+
quest: z2.object({
|
|
87
|
+
id: identifier,
|
|
88
|
+
/** The quest's authoring key; null for a quest created in Console. */
|
|
89
|
+
key: identifier.nullable()
|
|
90
|
+
}),
|
|
91
|
+
release: identifier,
|
|
92
|
+
evaluationRun: z2.number().int().nonnegative(),
|
|
93
|
+
/** The evaluator protocol the release was built for. */
|
|
94
|
+
protocol: z2.number().int().positive(),
|
|
95
|
+
/** The seed of the run's `Math.random()` and `crypto.randomUUID()` streams. */
|
|
96
|
+
seed: z2.string().min(1),
|
|
97
|
+
/** The run's frozen start time, `ctx.now`. */
|
|
98
|
+
now: timestamp,
|
|
99
|
+
context: z2.object({
|
|
100
|
+
settings: settingsValuesSchema,
|
|
101
|
+
rewards: rewardBundleSchema,
|
|
102
|
+
humanReview: z2.boolean(),
|
|
103
|
+
integrations: z2.array(z2.string()),
|
|
104
|
+
member: identifier,
|
|
105
|
+
input: z2.record(z2.string(), z2.json()),
|
|
106
|
+
tracker: trackerTriggerContextSchema.nullable(),
|
|
107
|
+
/**
|
|
108
|
+
* The action that started the attempt, `ctx.action`. Absent from captures Relay made before it
|
|
109
|
+
* recorded actions.
|
|
110
|
+
*
|
|
111
|
+
* @experimental A minor release can change quest actions.
|
|
112
|
+
*/
|
|
113
|
+
action: attemptActionSchema.nullable().optional(),
|
|
114
|
+
/**
|
|
115
|
+
* The code station the member checked in at, for an attempt a station's code started: its
|
|
116
|
+
* `ctx.action` is `{ kind: "station-code", reference: station }`. Absent for any other attempt.
|
|
117
|
+
*
|
|
118
|
+
* @experimental A minor release can change check-in stations.
|
|
119
|
+
*/
|
|
120
|
+
station: z2.string().optional(),
|
|
121
|
+
eligibleAt: timestamp,
|
|
122
|
+
calendar: z2.object({
|
|
123
|
+
segments: z2.array(
|
|
124
|
+
z2.looseObject({ effectiveAt: timestamp, timeZone: z2.string() })
|
|
125
|
+
)
|
|
126
|
+
}),
|
|
127
|
+
performance: contentPerformanceSnapshotSchema.nullable()
|
|
128
|
+
}),
|
|
129
|
+
facts: z2.array(capturedFactSchema),
|
|
130
|
+
/**
|
|
131
|
+
* What quest code decided in the run, before Relay amended, claimed or reviewed it. Null while it
|
|
132
|
+
* has decided nothing, and for runs decided before Relay kept decisions.
|
|
133
|
+
*/
|
|
134
|
+
recorded: decisionSchema.nullable()
|
|
135
|
+
}))();
|
|
136
|
+
|
|
137
|
+
export {
|
|
138
|
+
parseImageExtraction,
|
|
139
|
+
parseImageResult,
|
|
140
|
+
capturedFactSchema,
|
|
141
|
+
attemptCaptureSchema
|
|
142
|
+
};
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
imageSightingsSchema,
|
|
7
7
|
imageUploadsSchema,
|
|
8
8
|
publishedImageSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K3PEQXDV.js";
|
|
10
10
|
import {
|
|
11
11
|
dashboardArtifactSchema,
|
|
12
12
|
dashboardIssue,
|
|
13
13
|
dashboardPreviewSchema,
|
|
14
14
|
normalizeDashboard
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XEXB3WZE.js";
|
|
16
16
|
import {
|
|
17
17
|
authProvidersSchema,
|
|
18
18
|
collectionPassSchema,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
questOutcomePageSchema,
|
|
24
24
|
questOutcomeSchema,
|
|
25
25
|
rewardDeliveriesSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HEQ7HLXG.js";
|
|
27
27
|
import {
|
|
28
28
|
catalogDeploymentSchema,
|
|
29
29
|
collectionViewSchema,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
questExperienceSchema,
|
|
38
38
|
questTypeVersionSchema,
|
|
39
39
|
questViewSchema
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3KHVIUKK.js";
|
|
41
41
|
import {
|
|
42
42
|
engagementArtifactSchema,
|
|
43
43
|
engagementBoundaryPageSchema,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
referralDefinitionSchema,
|
|
53
53
|
referralHistorySchema,
|
|
54
54
|
referralSummarySchema
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TAZ5AEYF.js";
|
|
56
56
|
import {
|
|
57
57
|
accountConnectionSchema,
|
|
58
58
|
attemptSchema,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
walletTransactionChallengeSchema,
|
|
121
121
|
walletTransactionsSchema,
|
|
122
122
|
whereSettings
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-7QHROIML.js";
|
|
124
124
|
|
|
125
125
|
// src/deployments.ts
|
|
126
126
|
import * as z from "zod";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
imageAssetArtifactSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K3PEQXDV.js";
|
|
4
4
|
import {
|
|
5
5
|
authScopeSchema,
|
|
6
6
|
exchangeResultSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3KHVIUKK.js";
|
|
8
8
|
import {
|
|
9
9
|
appIdentityKindSchema,
|
|
10
10
|
cosmosAddressSchema,
|
|
@@ -16,8 +16,9 @@ import {
|
|
|
16
16
|
offsetDateTimeSchema,
|
|
17
17
|
openIdentityKindSchema,
|
|
18
18
|
pageCursorSchema,
|
|
19
|
+
pageLimit,
|
|
19
20
|
solanaAddressSchema
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7QHROIML.js";
|
|
21
22
|
|
|
22
23
|
// src/credential-secrets.ts
|
|
23
24
|
import * as z from "zod";
|
|
@@ -412,7 +413,11 @@ var memberImportPageSchema = /* @__PURE__ */ (() => z2.object({
|
|
|
412
413
|
}))();
|
|
413
414
|
var memberImportListQuerySchema = /* @__PURE__ */ (() => z2.object({
|
|
414
415
|
cursor: z2.string().max(200).optional(),
|
|
415
|
-
limit: z2.coerce.number().int().min(1).max(100).optional()
|
|
416
|
+
limit: z2.coerce.number().int().min(1).max(100).optional(),
|
|
417
|
+
/** Only imports in this state, as `state` names it. */
|
|
418
|
+
state: z2.string().min(1).max(40).optional(),
|
|
419
|
+
/** Only imports whose `source` contains this text, ignoring case. */
|
|
420
|
+
q: z2.string().max(200).optional()
|
|
416
421
|
}).strict())();
|
|
417
422
|
|
|
418
423
|
// src/server/schedules.ts
|
|
@@ -563,9 +568,23 @@ var appScheduleRunSchema = /* @__PURE__ */ (() => z3.object({
|
|
|
563
568
|
/** The app's JSON answer when it sent a valid result. Absent on runs from before results. */
|
|
564
569
|
result: appScheduleResultSchema.nullable().optional()
|
|
565
570
|
}))();
|
|
571
|
+
var runStatuses = appScheduleRunSchema.shape.status.options;
|
|
572
|
+
var appScheduleRunsQuerySchema = /* @__PURE__ */ (() => z3.strictObject({
|
|
573
|
+
status: z3.union([
|
|
574
|
+
z3.array(z3.enum(runStatuses)).min(1).max(runStatuses.length),
|
|
575
|
+
z3.string().max(100).transform((value) => value.split(",")).pipe(z3.array(z3.enum(runStatuses)).min(1).max(runStatuses.length))
|
|
576
|
+
]).optional(),
|
|
577
|
+
limit: pageLimit,
|
|
578
|
+
cursor: pageCursorSchema.optional()
|
|
579
|
+
}))();
|
|
566
580
|
var appScheduleRunsSchema = /* @__PURE__ */ (() => z3.object({
|
|
567
|
-
/**
|
|
568
|
-
|
|
581
|
+
/**
|
|
582
|
+
* Newest first: one page of the schedule's kept runs, including a queued or running one. Relay
|
|
583
|
+
* keeps a schedule's latest 200 runs.
|
|
584
|
+
*/
|
|
585
|
+
runs: z3.array(appScheduleRunSchema),
|
|
586
|
+
/** Pass back as `cursor` for older runs; null on the last page. Relay versions before it leave it out. */
|
|
587
|
+
nextCursor: pageCursorSchema.nullish()
|
|
569
588
|
}))();
|
|
570
589
|
var appScheduleListSchema = /* @__PURE__ */ (() => z3.object({
|
|
571
590
|
state: appScheduleStateSchema,
|
|
@@ -813,7 +832,17 @@ var appStorageRowsSchema = /* @__PURE__ */ (() => z5.object({
|
|
|
813
832
|
offset: z5.number().int().min(0),
|
|
814
833
|
total: z5.number().int().min(0),
|
|
815
834
|
/** Pass back as `cursor` for the next page; null on the last one. */
|
|
816
|
-
nextCursor: pageCursorSchema.nullable().default(null)
|
|
835
|
+
nextCursor: pageCursorSchema.nullable().default(null),
|
|
836
|
+
/**
|
|
837
|
+
* The columns a row's key holds: the primary key's, or `rowid` when the table has none. Null
|
|
838
|
+
* for a view or a table without either. Absent from a Relay older than this field.
|
|
839
|
+
*/
|
|
840
|
+
keyColumns: z5.array(z5.string()).nullish(),
|
|
841
|
+
/**
|
|
842
|
+
* Each row's key, in `rows` order, to pass to `storage.cell` as `key`, which finds the row
|
|
843
|
+
* wherever it moves. Null for a row keyed by a BLOB, NULL or a very long value.
|
|
844
|
+
*/
|
|
845
|
+
rowKeys: z5.array(z5.string().nullable()).nullish()
|
|
817
846
|
}))();
|
|
818
847
|
var appStorageKeysSchema = /* @__PURE__ */ (() => z5.object({
|
|
819
848
|
keys: z5.array(
|
|
@@ -846,6 +875,24 @@ var appStorageCellPageSchema = /* @__PURE__ */ (() => z5.object({
|
|
|
846
875
|
/** Up to 100,000 characters from `offset`. Null for a BLOB, whose bytes are never read, and NULL. */
|
|
847
876
|
text: z5.string().nullable(),
|
|
848
877
|
/** Pass back as `cursor` for the next page; null on the last one. */
|
|
878
|
+
nextCursor: pageCursorSchema.nullable().default(null),
|
|
879
|
+
/**
|
|
880
|
+
* Changes when the value does: pages whose revisions differ are from different values, so
|
|
881
|
+
* never join them. Null for a BLOB and NULL; absent from a Relay older than this field.
|
|
882
|
+
*/
|
|
883
|
+
revision: z5.string().nullish()
|
|
884
|
+
}))();
|
|
885
|
+
var appStorageValueBytesSchema = /* @__PURE__ */ (() => z5.object({
|
|
886
|
+
key: z5.string(),
|
|
887
|
+
/** The whole value's size in bytes. */
|
|
888
|
+
size: z5.number().int().min(0),
|
|
889
|
+
/** How many bytes come before this page. */
|
|
890
|
+
offset: z5.number().int().min(0),
|
|
891
|
+
/** Up to `limits.apps.storageValueBytes` bytes from `offset`, base64-encoded. */
|
|
892
|
+
base64: z5.string(),
|
|
893
|
+
/** Changes when the value does: pages whose revisions differ are from different values. */
|
|
894
|
+
revision: z5.string(),
|
|
895
|
+
/** Pass back as `cursor` for the next page; null on the last one. */
|
|
849
896
|
nextCursor: pageCursorSchema.nullable().default(null)
|
|
850
897
|
}))();
|
|
851
898
|
var storageTableNameSchema = /* @__PURE__ */ (() => z5.string().min(1).max(512))();
|
|
@@ -1525,6 +1572,7 @@ export {
|
|
|
1525
1572
|
appScheduleResultSchema,
|
|
1526
1573
|
scheduleResult,
|
|
1527
1574
|
appScheduleRunSchema,
|
|
1575
|
+
appScheduleRunsQuerySchema,
|
|
1528
1576
|
appScheduleRunsSchema,
|
|
1529
1577
|
appScheduleListSchema,
|
|
1530
1578
|
scheduledInvocationSchema,
|
|
@@ -1560,6 +1608,7 @@ export {
|
|
|
1560
1608
|
appStorageValueSchema,
|
|
1561
1609
|
APP_STORAGE_CELL_CHARACTERS,
|
|
1562
1610
|
appStorageCellPageSchema,
|
|
1611
|
+
appStorageValueBytesSchema,
|
|
1563
1612
|
appStorageSqlClearSchema,
|
|
1564
1613
|
appStorageKvClearSchema,
|
|
1565
1614
|
appStorageSqlClearResultSchema,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
imageRequestSchema,
|
|
3
3
|
xRequestSchema
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K3PEQXDV.js";
|
|
5
5
|
import {
|
|
6
6
|
cosmosAddressSchema,
|
|
7
7
|
cosmosNetworkSchema,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
textReviewInputSchema,
|
|
25
25
|
trackerContentQuerySchema,
|
|
26
26
|
trackerQuerySchema
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7QHROIML.js";
|
|
28
28
|
|
|
29
29
|
// src/capability-requests.ts
|
|
30
30
|
import * as z from "zod";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
createHttpExchange,
|
|
10
10
|
untilAborted,
|
|
11
11
|
withQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CEG67D4T.js";
|
|
13
13
|
import {
|
|
14
14
|
PARTICIPANT_TIMEOUT,
|
|
15
15
|
lifetime,
|
|
16
16
|
retrying,
|
|
17
17
|
validTimeout
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XJCKQSFS.js";
|
|
19
19
|
import {
|
|
20
20
|
authProvidersSchema,
|
|
21
21
|
collectionPassSchema,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
questOutcomeSchema,
|
|
35
35
|
rewardDeliveriesSchema,
|
|
36
36
|
rewardDeliveryQuerySchema
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HEQ7HLXG.js";
|
|
38
38
|
import {
|
|
39
39
|
exchangeResultSchema,
|
|
40
40
|
exchangeSchema,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
participantSessionSchema,
|
|
45
45
|
questExperienceSchema,
|
|
46
46
|
sessionMember
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-3KHVIUKK.js";
|
|
48
48
|
import {
|
|
49
49
|
engagementBoundaryPageSchema,
|
|
50
50
|
engagementPageQuerySchema,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
referralDefinitionSchema,
|
|
56
56
|
referralHistorySchema,
|
|
57
57
|
referralSummarySchema
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-TAZ5AEYF.js";
|
|
59
59
|
import {
|
|
60
60
|
AVATAR_UPLOAD_LIMIT,
|
|
61
61
|
accountConnectionSchema,
|
|
@@ -85,6 +85,7 @@ import {
|
|
|
85
85
|
missingPrerequisiteSchema,
|
|
86
86
|
ownProfileSchema,
|
|
87
87
|
pageQuerySchema,
|
|
88
|
+
photoEvidenceByteLimit,
|
|
88
89
|
pointBalancesSchema,
|
|
89
90
|
pointHistoryPageSchema,
|
|
90
91
|
pointHistoryQuerySchema,
|
|
@@ -114,7 +115,7 @@ import {
|
|
|
114
115
|
walletTransactionChallengeSchema,
|
|
115
116
|
walletTransactionProofSchema,
|
|
116
117
|
walletUnlinkInputSchema
|
|
117
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-7QHROIML.js";
|
|
118
119
|
import {
|
|
119
120
|
RelayError,
|
|
120
121
|
RelayErrorCode,
|
|
@@ -489,7 +490,7 @@ function legacySubmissions(transport, configuredStore, namespace) {
|
|
|
489
490
|
...handle,
|
|
490
491
|
async submit(file, call) {
|
|
491
492
|
const step = steps(call);
|
|
492
|
-
if (!["image/jpeg", "image/png"].includes(file.type) || file.size === 0 || file.size >
|
|
493
|
+
if (!["image/jpeg", "image/png"].includes(file.type) || file.size === 0 || file.size > photoEvidenceByteLimit) {
|
|
493
494
|
throw clientError(
|
|
494
495
|
"Choose a JPG or PNG photo under 5 MB",
|
|
495
496
|
RelayErrorCode.InvalidInput
|
|
@@ -768,7 +769,7 @@ function submissions(transport, configuredStore, namespace) {
|
|
|
768
769
|
return legacyHandle.submit(file, call);
|
|
769
770
|
}
|
|
770
771
|
const step = steps(call);
|
|
771
|
-
if (!["image/jpeg", "image/png"].includes(file.type) || file.size === 0 || file.size >
|
|
772
|
+
if (!["image/jpeg", "image/png"].includes(file.type) || file.size === 0 || file.size > photoEvidenceByteLimit) {
|
|
772
773
|
throw clientError(
|
|
773
774
|
"Choose a JPG or PNG photo under 5 MB",
|
|
774
775
|
RelayErrorCode.InvalidInput
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// package.json
|
|
6
6
|
var name = "@domino-sdk/relay";
|
|
7
|
-
var version = "1.
|
|
7
|
+
var version = "1.75.0";
|
|
8
8
|
|
|
9
9
|
// src/client-identity.ts
|
|
10
10
|
function clientIdentity() {
|
|
@@ -20,6 +20,7 @@ var transientStatuses = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([429, 500
|
|
|
20
20
|
function validTimeout(value) {
|
|
21
21
|
return typeof value === "number" && Number.isFinite(value) && value > 0;
|
|
22
22
|
}
|
|
23
|
+
var MAX_TIMER = 2 ** 31 - 1;
|
|
23
24
|
function lifetime(timeout, caller) {
|
|
24
25
|
const deadline = new AbortController();
|
|
25
26
|
const expiresAt = Date.now() + timeout;
|
|
@@ -27,7 +28,7 @@ function lifetime(timeout, caller) {
|
|
|
27
28
|
() => deadline.abort(
|
|
28
29
|
new DOMException(`No answer within ${timeout} ms`, "TimeoutError")
|
|
29
30
|
),
|
|
30
|
-
timeout
|
|
31
|
+
Math.min(timeout, MAX_TIMER)
|
|
31
32
|
);
|
|
32
33
|
const signal = caller ? AbortSignal.any([caller, deadline.signal]) : deadline.signal;
|
|
33
34
|
return {
|
|
@@ -70,7 +71,7 @@ function pause(ms, signal) {
|
|
|
70
71
|
signal.removeEventListener("abort", done);
|
|
71
72
|
resolve();
|
|
72
73
|
};
|
|
73
|
-
const timer = setTimeout(done, ms);
|
|
74
|
+
const timer = setTimeout(done, Math.min(ms, MAX_TIMER));
|
|
74
75
|
signal.addEventListener("abort", done, { once: true });
|
|
75
76
|
});
|
|
76
77
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRelayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UHYKKC5U.js";
|
|
4
4
|
import {
|
|
5
5
|
connectSolanaAccount,
|
|
6
6
|
noAccount,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./chunk-MDSSIOBC.js";
|
|
10
10
|
import {
|
|
11
11
|
sessionMember
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3KHVIUKK.js";
|
|
13
13
|
import {
|
|
14
14
|
base58,
|
|
15
15
|
cosmosChain
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7QHROIML.js";
|
|
17
17
|
import {
|
|
18
18
|
RelayErrorCode,
|
|
19
19
|
asRelayError,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { G as QuizEvidence, a as Attempt, s as MemberProgress, at as referralAcceptSchema, q as LeaderboardQuery, b as AttemptStatus, X as AttemptCodeSource, O as StationCheckIn, f as CampaignEnrollmentInput, h as CampaignWithdrawalInput, J as SignInProvider, c as AuthProvider, I as SignInAccountStatus, x as PointHistoryQuery, v as PointEntryKind, n as LeaderboardHistoryQuery, au as submitSchema, av as engagementPageQuerySchema, aw as contentPerformanceQuerySchema } from './accounts-
|
|
2
|
-
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-
|
|
1
|
+
import { G as QuizEvidence, a as Attempt, s as MemberProgress, at as referralAcceptSchema, q as LeaderboardQuery, b as AttemptStatus, X as AttemptCodeSource, O as StationCheckIn, f as CampaignEnrollmentInput, h as CampaignWithdrawalInput, J as SignInProvider, c as AuthProvider, I as SignInAccountStatus, x as PointHistoryQuery, v as PointEntryKind, n as LeaderboardHistoryQuery, au as submitSchema, av as engagementPageQuerySchema, aw as contentPerformanceQuerySchema } from './accounts-C9as33l1.js';
|
|
2
|
+
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-D_NiBR0W.js';
|
|
3
3
|
import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-C24SY7n9.js';
|
|
4
|
-
import { d as WalletProofKind, ar as walletAddressInputSchema, as as walletSignatureSchema, at as walletTransactionProofSchema, L as LinkedWallet, g as WalletSigner } from './wallet-
|
|
5
|
-
import { q as ResponseSchema, i as PageQuery, k as QuestEnrollmentInput, Q as QuestClaimInput, n as QuestOutcomeQuery, M as MemberConsent, a as ConsentInput, e as CreatorAccountProvider, r as RewardDeliveryQuery, s as RewardDeliveryPage, t as contentQualificationQuerySchema } from './reward-deliveries-
|
|
6
|
-
import { b as QuestView, q as questExperienceSchema } from './catalog-
|
|
7
|
-
import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-
|
|
4
|
+
import { d as WalletProofKind, ar as walletAddressInputSchema, as as walletSignatureSchema, at as walletTransactionProofSchema, L as LinkedWallet, g as WalletSigner } from './wallet-CeqgtXNm.js';
|
|
5
|
+
import { q as ResponseSchema, i as PageQuery, k as QuestEnrollmentInput, Q as QuestClaimInput, n as QuestOutcomeQuery, M as MemberConsent, a as ConsentInput, e as CreatorAccountProvider, r as RewardDeliveryQuery, s as RewardDeliveryPage, t as contentQualificationQuerySchema } from './reward-deliveries-zWfsgc6m.js';
|
|
6
|
+
import { b as QuestView, q as questExperienceSchema } from './catalog-9I6t18qP.js';
|
|
7
|
+
import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-Dwq9dWEm.js';
|
|
8
8
|
import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from './participant-activity-BznrcePT.js';
|
|
9
9
|
import * as z from 'zod';
|
|
10
10
|
import { c as createRelayAction, O as OptionalActionId } from './action-BDFKqGlH.js';
|
|
11
|
-
import { A as AuthProviders } from './sign-in-providers-
|
|
12
|
-
import { p as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-
|
|
11
|
+
import { A as AuthProviders } from './sign-in-providers-BMtk_NWY.js';
|
|
12
|
+
import { p as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-CLDKZVFx.js';
|
|
13
13
|
|
|
14
14
|
/** What happened, as in every Domino client error (see `RequestError`). */
|
|
15
15
|
type RelayErrorKind = RequestErrorKind;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { Y as IntegrationModuleProvider, Z as GalleryKind, _ as RewardType } from './accounts-
|
|
3
|
-
import { O as OpenIdentityKind, b as TrackerDataSchema } from './tracker-data-
|
|
4
|
-
import { S as SolanaIdlSource,
|
|
2
|
+
import { Y as IntegrationModuleProvider, Z as GalleryKind, _ as RewardType } from './accounts-C9as33l1.js';
|
|
3
|
+
import { O as OpenIdentityKind, b as TrackerDataSchema } from './tracker-data-Dwq9dWEm.js';
|
|
4
|
+
import { S as SolanaIdlSource, m as SolanaSeed } from './wallet-CeqgtXNm.js';
|
|
5
5
|
|
|
6
6
|
/** Shared with participant activity. Types remain open to future event kinds. */
|
|
7
7
|
declare const activityTypes: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenIdentityKind } from './tracker-data-
|
|
1
|
+
import { O as OpenIdentityKind } from './tracker-data-Dwq9dWEm.js';
|
|
2
2
|
import * as z from 'zod';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1005,6 +1005,8 @@ declare const memberImportPageSchema: z.ZodObject<{
|
|
|
1005
1005
|
declare const memberImportListQuerySchema: z.ZodObject<{
|
|
1006
1006
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1007
1007
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1008
|
+
state: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1008
1010
|
}, z.core.$strict>;
|
|
1009
1011
|
type MemberImportListQuery = z.input<typeof memberImportListQuerySchema>;
|
|
1010
1012
|
|
|
@@ -1311,5 +1313,5 @@ declare const accountVouchedBySchema: z.ZodObject<{
|
|
|
1311
1313
|
/** The app login whose server vouched for an account when it signed the member in. */
|
|
1312
1314
|
type AccountVouchedBy = z.infer<typeof accountVouchedBySchema>;
|
|
1313
1315
|
|
|
1314
|
-
export { memberImportActionSchema as $, identityReferenceSchema as Z, memberImportAccountSchema as _, memberImportCommandSchema as a0, memberImportConsentSchema as a1, memberImportCreateSchema as a2, memberImportFullRowSchema as a3, memberImportFullRowsInputSchema as a4, memberImportIdentitySchema as a5, memberImportListQuerySchema as a6, memberImportPageSchema as a7, memberImportReferralSchema as a8, memberImportRefusalSchema as a9, memberImportRevertInputSchema as aa, memberImportRevertOutcomeSchema as ab, memberImportRevertSchema as ac, memberImportRowPageSchema as ad, memberImportRowQuerySchema as ae, memberImportRowResultSchema as af, memberImportRowSchema as ag, memberImportRowsInputSchema as ah, memberImportSchema as ai, memberImportSummarySchema as aj, memberImportVouchedAccountSchema as ak,
|
|
1315
|
-
export type { AccountVouchedBy as A, MemberImportRevertInput as B, IdentityReference as C, KnownMemberImportRefusalCode as D, KnownMemberImportState as E, MemberImport as F, MemberImportAccount as G, MemberImportCommandInput as H, IdentityIntegrationKey as I, MemberImportConsent as J, KnownIdentityIntegrationEnvironment as K, MemberImportFullRow as L, MemberImportVouchedAccount as M, MemberImportFullRowsInput as N, MemberImportIdentity as O, ParticipantExchangeAccountResult as P, MemberImportReferral as Q, MemberImportRefusal as R, MemberImportRevert as S, MemberImportRevertOutcome as T, MemberImportRow as U, MemberImportRowInput as V, MemberImportRowResult as W, MemberImportRowsInput as X, MemberImportSummary as Y, ParticipantExchangeResult as a, IdentityIntegration as
|
|
1316
|
+
export { memberImportActionSchema as $, identityReferenceSchema as Z, memberImportAccountSchema as _, memberImportCommandSchema as a0, memberImportConsentSchema as a1, memberImportCreateSchema as a2, memberImportFullRowSchema as a3, memberImportFullRowsInputSchema as a4, memberImportIdentitySchema as a5, memberImportListQuerySchema as a6, memberImportPageSchema as a7, memberImportReferralSchema as a8, memberImportRefusalSchema as a9, memberImportRevertInputSchema as aa, memberImportRevertOutcomeSchema as ab, memberImportRevertSchema as ac, memberImportRowPageSchema as ad, memberImportRowQuerySchema as ae, memberImportRowResultSchema as af, memberImportRowSchema as ag, memberImportRowsInputSchema as ah, memberImportSchema as ai, memberImportSummarySchema as aj, memberImportVouchedAccountSchema as ak, MemberImportState as b, MemberImportRefusalCode as c, accountVouchedBySchema as i, appLoginOriginSchema as j, httpsOriginSchema as k, identityIntegrationAccountVouchingInputSchema as l, identityIntegrationAppSecretSchema as m, identityIntegrationInputSchema as n, identityIntegrationKeySchema as o, identityIntegrationSchema as p, identityIntegrationSecretSchema as q, identityKindClaimSchema as r, participantExchangeAccountResultSchema as s, participantExchangeAccountsSchema as t, participantExchangeResultSchema as u, participantExchangeSchema as v };
|
|
1317
|
+
export type { AccountVouchedBy as A, MemberImportRevertInput as B, IdentityReference as C, KnownMemberImportRefusalCode as D, KnownMemberImportState as E, MemberImport as F, MemberImportAccount as G, MemberImportCommandInput as H, IdentityIntegrationKey as I, MemberImportConsent as J, KnownIdentityIntegrationEnvironment as K, MemberImportFullRow as L, MemberImportVouchedAccount as M, MemberImportFullRowsInput as N, MemberImportIdentity as O, ParticipantExchangeAccountResult as P, MemberImportReferral as Q, MemberImportRefusal as R, MemberImportRevert as S, MemberImportRevertOutcome as T, MemberImportRow as U, MemberImportRowInput as V, MemberImportRowResult as W, MemberImportRowsInput as X, MemberImportSummary as Y, ParticipantExchangeResult as a, IdentityIntegration as d, IdentityIntegrationAccountVouchingInput as e, IdentityIntegrationAppSecret as f, IdentityKindClaim as g, ParticipantExchangeInput as h, MemberImportCreateInput as w, MemberImportListQuery as x, MemberImportRowQuery as y, MemberImportFullRowInput as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { B as Badge, a as BadgeCatalog, M as ManagedBadge, b as MemberBadge, c as MemberBadges, O as Offer, d as OfferDefinition, e as OfferPrice, R as RedeemOfferInput, f as Redemption } from './offers-
|
|
1
|
+
export { B as Badge, a as BadgeCatalog, M as ManagedBadge, b as MemberBadge, c as MemberBadges, O as Offer, d as OfferDefinition, e as OfferPrice, R as RedeemOfferInput, f as Redemption } from './offers-CnMyMeQo.js';
|
|
2
2
|
export { R as RelayAction, c as createRelayAction } from './action-BDFKqGlH.js';
|
|
3
|
-
export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, 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 SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-
|
|
3
|
+
export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, 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 SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-336yROej.js';
|
|
4
4
|
export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-C24SY7n9.js';
|
|
5
|
-
export { A as AccountConnection, a as Attempt, b as AttemptStatus, c as AuthProvider, d as AvailabilityWindow, C as CampaignDefinition, e as CampaignEnrollment, f as CampaignEnrollmentInput, g as CampaignView, h as CampaignWithdrawalInput, E as Entitlement, i as EvaluatorProgress, K as KnownAttemptStatus, j as KnownPointEntryKind, k as KnownSignInAccountStatus, l as KnownSignInProvider, L as LeaderboardDefinition, m as LeaderboardHistoryPage, n as LeaderboardHistoryQuery, o as LeaderboardPage, p as LeaderboardPlacement, q as LeaderboardQuery, M as MemberCampaignEnrollmentInput, r as MemberCampaignWithdrawalInput, s as MemberProgress, P as PointBalance, t as PointBalances, u as PointEntry, v as PointEntryKind, w as PointHistoryPage, x as PointHistoryQuery, y as PointLedgerReference, z as ProjectGroup, B as ProjectGroupReference, Q as QuestBudgetView, D as QuestPresentation, F as QuestProfile, G as QuizEvidence, R as ReferralDefinition, H as Reward, S as SignInAccount, I as SignInAccountStatus, J as SignInProvider, N as SignInProviderOption, O as StationCheckIn, T as SubmissionEvidence, U as SubmitInput, V as TieredRewardReference } from './accounts-
|
|
5
|
+
export { A as AccountConnection, a as Attempt, b as AttemptStatus, c as AuthProvider, d as AvailabilityWindow, C as CampaignDefinition, e as CampaignEnrollment, f as CampaignEnrollmentInput, g as CampaignView, h as CampaignWithdrawalInput, E as Entitlement, i as EvaluatorProgress, K as KnownAttemptStatus, j as KnownPointEntryKind, k as KnownSignInAccountStatus, l as KnownSignInProvider, L as LeaderboardDefinition, m as LeaderboardHistoryPage, n as LeaderboardHistoryQuery, o as LeaderboardPage, p as LeaderboardPlacement, q as LeaderboardQuery, M as MemberCampaignEnrollmentInput, r as MemberCampaignWithdrawalInput, s as MemberProgress, P as PointBalance, t as PointBalances, u as PointEntry, v as PointEntryKind, w as PointHistoryPage, x as PointHistoryQuery, y as PointLedgerReference, z as ProjectGroup, B as ProjectGroupReference, Q as QuestBudgetView, D as QuestPresentation, F as QuestProfile, G as QuizEvidence, R as ReferralDefinition, H as Reward, S as SignInAccount, I as SignInAccountStatus, J as SignInProvider, N as SignInProviderOption, O as StationCheckIn, T as SubmissionEvidence, U as SubmitInput, V as TieredRewardReference } from './accounts-C9as33l1.js';
|
|
6
6
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
7
|
-
export { C as ConsentChannel, a as ConsentInput, b as ConsentSource, c as ConsentState, d as CreatorAccount, e as CreatorAccountProvider, f as CreatorAccounts, K as KnownConsentChannel, g as KnownConsentSource, h as KnownConsentState, M as MemberConsent, P as Page, i as PageQuery, Q as QuestClaimInput, j as QuestEnrollment, k as QuestEnrollmentInput, l as QuestOutcome, m as QuestOutcomePage, n as QuestOutcomeQuery, o as QuestOutcomeState, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './reward-deliveries-
|
|
8
|
-
export { M as MissingPrerequisite, P as Prerequisite, T as TelegramAccountConnection, a as TelegramSignInMethods, b as TextEvidence, c as TextOptions, U as UrlEvidence, d as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
7
|
+
export { C as ConsentChannel, a as ConsentInput, b as ConsentSource, c as ConsentState, d as CreatorAccount, e as CreatorAccountProvider, f as CreatorAccounts, K as KnownConsentChannel, g as KnownConsentSource, h as KnownConsentState, M as MemberConsent, P as Page, i as PageQuery, Q as QuestClaimInput, j as QuestEnrollment, k as QuestEnrollmentInput, l as QuestOutcome, m as QuestOutcomePage, n as QuestOutcomeQuery, o as QuestOutcomeState, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './reward-deliveries-zWfsgc6m.js';
|
|
8
|
+
export { M as MissingPrerequisite, P as Prerequisite, T as TelegramAccountConnection, a as TelegramSignInMethods, b as TextEvidence, c as TextOptions, U as UrlEvidence, d as UrlOptions, V as ValueEvidence } from './submission-input-D_NiBR0W.js';
|
|
9
9
|
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-BznrcePT.js';
|
|
10
|
-
export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog-
|
|
11
|
-
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-
|
|
12
|
-
export { K as KnownSkipEnrollment, a as KnownTrackerSkipCode, S as SkipEnrollment, T as TrackerSkipCode } from './tracker-data-
|
|
13
|
-
export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileNameSource, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility } from './profiles-
|
|
10
|
+
export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog-9I6t18qP.js';
|
|
11
|
+
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-D0yMHSHL.js';
|
|
12
|
+
export { K as KnownSkipEnrollment, a as KnownTrackerSkipCode, S as SkipEnrollment, T as TrackerSkipCode } from './tracker-data-Dwq9dWEm.js';
|
|
13
|
+
export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileNameSource, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility } from './profiles-CLDKZVFx.js';
|
|
14
14
|
export { Q as QuizContent, S as StreakProgress } from './streaks-MAqKHbHC.js';
|
|
15
|
-
export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletProofKind, e as WalletSignInNetwork, f as WalletSignature, g as WalletSigner, h as WalletTransactionChallenge, i as WalletTransactionProof, j as WalletUnlinkInput } from './wallet-
|
|
15
|
+
export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletProofKind, e as WalletSignInNetwork, f as WalletSignature, g as WalletSigner, h as WalletTransactionChallenge, i as WalletTransactionProof, j as WalletUnlinkInput } from './wallet-CeqgtXNm.js';
|
|
16
16
|
export { P as ParticipantDelivery } from './participant-rewards-s5Gn23qb.js';
|
|
17
17
|
import 'zod';
|
|
18
|
-
import './sign-in-providers-
|
|
18
|
+
import './sign-in-providers-BMtk_NWY.js';
|
package/dist/index.js
CHANGED
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UHYKKC5U.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
11
|
} from "./chunk-E73HZCG2.js";
|
|
12
12
|
import "./chunk-AL5XMXPO.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-CEG67D4T.js";
|
|
14
|
+
import "./chunk-XJCKQSFS.js";
|
|
15
15
|
import {
|
|
16
16
|
QuestOutcomeState
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HEQ7HLXG.js";
|
|
18
18
|
import {
|
|
19
19
|
sessionMember
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-3KHVIUKK.js";
|
|
21
|
+
import "./chunk-TAZ5AEYF.js";
|
|
22
22
|
import {
|
|
23
23
|
AttemptStatus,
|
|
24
24
|
PointEntryKind,
|
|
25
25
|
paginate
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7QHROIML.js";
|
|
27
27
|
import {
|
|
28
28
|
RelayError,
|
|
29
29
|
RelayErrorCode,
|