@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/browser.js CHANGED
@@ -11,12 +11,12 @@ import {
11
11
  signInOptions,
12
12
  solanaSigner,
13
13
  walletStandardSolanaSigner
14
- } from "./chunk-FDWRBMB3.js";
15
- import "./chunk-4KNTMNXA.js";
16
- import "./chunk-B76BAJ25.js";
17
- import "./chunk-VH4OQ5VX.js";
18
- import "./chunk-ONDBQSMU.js";
19
- import "./chunk-NKGJEYZM.js";
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,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  identifier
3
- } from "./chunk-NKGJEYZM.js";
3
+ } from "./chunk-BRESOTKV.js";
4
4
 
5
5
  // src/auth.ts
6
6
  import { z } from "zod";
@@ -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({ kind: z13.literal("reject"), reason: z13.string().min(1).max(2e3) }).strict(),
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-B76BAJ25.js";
22
+ } from "./chunk-ZKJBCQNI.js";
23
23
  import {
24
24
  authScopeSchema,
25
25
  exchangeResultSchema,
26
26
  memberSummarySchema,
27
27
  sessionSchema
28
- } from "./chunk-VH4OQ5VX.js";
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-ONDBQSMU.js";
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-NKGJEYZM.js";
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-4KNTMNXA.js";
3
+ } from "./chunk-ERBVT7GE.js";
4
4
  import {
5
5
  cosmosChain
6
- } from "./chunk-ONDBQSMU.js";
6
+ } from "./chunk-XEQDW7FM.js";
7
7
 
8
8
  // src/base58.ts
9
9
  var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  identifier
3
- } from "./chunk-NKGJEYZM.js";
3
+ } from "./chunk-BRESOTKV.js";
4
4
 
5
5
  // src/profiles.ts
6
6
  import { z } from "zod";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  profileSummarySchema
3
- } from "./chunk-ONDBQSMU.js";
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-NKGJEYZM.js";
10
+ } from "./chunk-BRESOTKV.js";
11
11
 
12
12
  // src/engagement.ts
13
13
  import { z } from "zod";