@domino-sdk/relay 1.0.0-next.4 → 1.0.0-next.6
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 +6 -0
- package/dist/authoring.js +13 -5
- package/dist/browser.d.ts +198 -185
- package/dist/browser.js +6 -6
- package/dist/{chunk-VH4OQ5VX.js → chunk-5IIWKDFX.js} +1 -1
- package/dist/{chunk-NKGJEYZM.js → chunk-BRESOTKV.js} +11 -1
- package/dist/{chunk-4KNTMNXA.js → chunk-ERBVT7GE.js} +4 -4
- package/dist/{chunk-FDWRBMB3.js → chunk-RTHN22KO.js} +2 -2
- package/dist/{chunk-ONDBQSMU.js → chunk-XEQDW7FM.js} +1 -1
- package/dist/{chunk-B76BAJ25.js → chunk-ZKJBCQNI.js} +2 -2
- package/dist/index.d.ts +415 -398
- package/dist/index.js +5 -5
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +14 -0
- package/dist/react/index.js +6 -6
- package/dist/schema.d.ts +6 -0
- package/dist/schema.js +1 -1
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
signInOptions,
|
|
12
12
|
solanaSigner,
|
|
13
13
|
walletStandardSolanaSigner
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-RTHN22KO.js";
|
|
15
|
+
import "./chunk-ERBVT7GE.js";
|
|
16
|
+
import "./chunk-ZKJBCQNI.js";
|
|
17
|
+
import "./chunk-5IIWKDFX.js";
|
|
18
|
+
import "./chunk-XEQDW7FM.js";
|
|
19
|
+
import "./chunk-BRESOTKV.js";
|
|
20
20
|
export {
|
|
21
21
|
browserSubmissionStore,
|
|
22
22
|
cosmosChainList,
|
|
@@ -1218,7 +1218,12 @@ var decisionSchema = z13.discriminatedUnion("kind", [
|
|
|
1218
1218
|
rewards: z13.array(rewardSchema).max(10),
|
|
1219
1219
|
completionKey: completionKeySchema.optional()
|
|
1220
1220
|
}).strict(),
|
|
1221
|
-
z13.object({
|
|
1221
|
+
z13.object({
|
|
1222
|
+
kind: z13.literal("reject"),
|
|
1223
|
+
reason: z13.string().min(1).max(2e3),
|
|
1224
|
+
/** The evaluator asked for human review, but review is off for the quest, so this is a reject. */
|
|
1225
|
+
requestedReview: z13.literal(true).optional()
|
|
1226
|
+
}).strict(),
|
|
1222
1227
|
z13.object({
|
|
1223
1228
|
kind: z13.literal("review"),
|
|
1224
1229
|
reason: z13.string().min(1).max(2e3),
|
|
@@ -1391,6 +1396,11 @@ var attemptSchema = z13.object({
|
|
|
1391
1396
|
generation: z13.number(),
|
|
1392
1397
|
completion: z13.string().nullable(),
|
|
1393
1398
|
reviewRewards: rewardBundleSchema.nullable().default(null),
|
|
1399
|
+
/**
|
|
1400
|
+
* The evaluator asked for human review of a quest with review off, so Domino rejected the attempt
|
|
1401
|
+
* with the evaluator's reason. Only set on a rejected attempt.
|
|
1402
|
+
*/
|
|
1403
|
+
requestedReview: z13.boolean().default(false),
|
|
1394
1404
|
createdAt: z13.number()
|
|
1395
1405
|
});
|
|
1396
1406
|
var eventSchema = z13.object({
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
referralHistorySchema,
|
|
20
20
|
referralSummarySchema,
|
|
21
21
|
validateAuthoringIdentity
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZKJBCQNI.js";
|
|
23
23
|
import {
|
|
24
24
|
authScopeSchema,
|
|
25
25
|
exchangeResultSchema,
|
|
26
26
|
memberSummarySchema,
|
|
27
27
|
sessionSchema
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5IIWKDFX.js";
|
|
29
29
|
import {
|
|
30
30
|
AVATAR_UPLOAD_LIMIT,
|
|
31
31
|
avatarUploadTypes,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
walletSignInNetworksSchema,
|
|
47
47
|
walletSignatureSchema,
|
|
48
48
|
walletUnlinkInputSchema
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-XEQDW7FM.js";
|
|
50
50
|
import {
|
|
51
51
|
accountConnectionSchema,
|
|
52
52
|
attemptSchema,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
validateSubmissionValue,
|
|
86
86
|
valueEvidenceSchema,
|
|
87
87
|
xTweetSchema
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-BRESOTKV.js";
|
|
89
89
|
|
|
90
90
|
// src/point-ledgers.ts
|
|
91
91
|
import { z } from "zod";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRelayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ERBVT7GE.js";
|
|
4
4
|
import {
|
|
5
5
|
cosmosChain
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XEQDW7FM.js";
|
|
7
7
|
|
|
8
8
|
// src/base58.ts
|
|
9
9
|
var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
profileSummarySchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XEQDW7FM.js";
|
|
4
4
|
import {
|
|
5
5
|
contentMetricSchema,
|
|
6
6
|
contentMetricsSchema,
|
|
7
7
|
identifier,
|
|
8
8
|
pointsRewardSchema,
|
|
9
9
|
tierRewardSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BRESOTKV.js";
|
|
11
11
|
|
|
12
12
|
// src/engagement.ts
|
|
13
13
|
import { z } from "zod";
|