@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/index.js
CHANGED
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
xPostSchema,
|
|
71
71
|
xProfileSchema,
|
|
72
72
|
xRequestSchema
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-ERBVT7GE.js";
|
|
74
74
|
import {
|
|
75
75
|
defineEngagementReward,
|
|
76
76
|
defineLeaderboard,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
referralManagementSchema,
|
|
121
121
|
referralRelationshipSchema,
|
|
122
122
|
referralSummarySchema
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-ZKJBCQNI.js";
|
|
124
124
|
import {
|
|
125
125
|
authScopeSchema,
|
|
126
126
|
exchangeResultSchema,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
memberSummarySchema,
|
|
129
129
|
principalSchema,
|
|
130
130
|
sessionSchema
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-5IIWKDFX.js";
|
|
132
132
|
import {
|
|
133
133
|
AVATAR_UPLOAD_LIMIT,
|
|
134
134
|
WALLETS_PER_CHAIN,
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
walletSignInNetworksSchema,
|
|
181
181
|
walletSignatureSchema,
|
|
182
182
|
walletUnlinkInputSchema
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-XEQDW7FM.js";
|
|
184
184
|
import {
|
|
185
185
|
accountConnectionSchema,
|
|
186
186
|
accountRoleSchema,
|
|
@@ -352,7 +352,7 @@ import {
|
|
|
352
352
|
xPostId,
|
|
353
353
|
xSearchSourceSchema,
|
|
354
354
|
xTweetSchema
|
|
355
|
-
} from "./chunk-
|
|
355
|
+
} from "./chunk-BRESOTKV.js";
|
|
356
356
|
export {
|
|
357
357
|
AVATAR_UPLOAD_LIMIT,
|
|
358
358
|
QuestUpdatedError,
|
package/dist/portal-proxy.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exchangeResultSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5IIWKDFX.js";
|
|
4
4
|
import {
|
|
5
5
|
isProfileParticipantRoute,
|
|
6
6
|
isWalletParticipantRoute,
|
|
7
7
|
isWalletSignInRoute
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XEQDW7FM.js";
|
|
9
9
|
import {
|
|
10
10
|
isContentParticipantRoute
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BRESOTKV.js";
|
|
12
12
|
|
|
13
13
|
// src/portal-proxy.ts
|
|
14
14
|
async function proxyParticipant(request, upstream) {
|
package/dist/react/index.d.ts
CHANGED
|
@@ -695,6 +695,7 @@ declare function useRelay(): {
|
|
|
695
695
|
action: "grant-role";
|
|
696
696
|
roleId: string;
|
|
697
697
|
})[] | null;
|
|
698
|
+
requestedReview: boolean;
|
|
698
699
|
createdAt: number;
|
|
699
700
|
input?: {
|
|
700
701
|
kind: "text";
|
|
@@ -805,6 +806,7 @@ declare function useRelay(): {
|
|
|
805
806
|
action: "grant-role";
|
|
806
807
|
roleId: string;
|
|
807
808
|
})[] | null;
|
|
809
|
+
requestedReview: boolean;
|
|
808
810
|
createdAt: number;
|
|
809
811
|
input?: {
|
|
810
812
|
kind: "text";
|
|
@@ -991,6 +993,7 @@ declare function useRelay(): {
|
|
|
991
993
|
action: "grant-role";
|
|
992
994
|
roleId: string;
|
|
993
995
|
})[] | null;
|
|
996
|
+
requestedReview: boolean;
|
|
994
997
|
createdAt: number;
|
|
995
998
|
input?: {
|
|
996
999
|
kind: "text";
|
|
@@ -1235,6 +1238,7 @@ declare function useRelay(): {
|
|
|
1235
1238
|
action: "grant-role";
|
|
1236
1239
|
roleId: string;
|
|
1237
1240
|
})[] | null;
|
|
1241
|
+
requestedReview: boolean;
|
|
1238
1242
|
createdAt: number;
|
|
1239
1243
|
input?: {
|
|
1240
1244
|
kind: "text";
|
|
@@ -1482,6 +1486,7 @@ declare function useRelay(): {
|
|
|
1482
1486
|
action: "grant-role";
|
|
1483
1487
|
roleId: string;
|
|
1484
1488
|
})[] | null;
|
|
1489
|
+
requestedReview: boolean;
|
|
1485
1490
|
createdAt: number;
|
|
1486
1491
|
input?: {
|
|
1487
1492
|
kind: "text";
|
|
@@ -1833,6 +1838,7 @@ declare function useRelay(): {
|
|
|
1833
1838
|
action: "grant-role";
|
|
1834
1839
|
roleId: string;
|
|
1835
1840
|
})[] | null;
|
|
1841
|
+
requestedReview: boolean;
|
|
1836
1842
|
createdAt: number;
|
|
1837
1843
|
input?: {
|
|
1838
1844
|
kind: "text";
|
|
@@ -2019,6 +2025,7 @@ declare function useRelay(): {
|
|
|
2019
2025
|
action: "grant-role";
|
|
2020
2026
|
roleId: string;
|
|
2021
2027
|
})[] | null;
|
|
2028
|
+
requestedReview: boolean;
|
|
2022
2029
|
createdAt: number;
|
|
2023
2030
|
input?: {
|
|
2024
2031
|
kind: "text";
|
|
@@ -2202,6 +2209,7 @@ declare function useRelay(): {
|
|
|
2202
2209
|
action: "grant-role";
|
|
2203
2210
|
roleId: string;
|
|
2204
2211
|
})[] | null;
|
|
2212
|
+
requestedReview: boolean;
|
|
2205
2213
|
createdAt: number;
|
|
2206
2214
|
input?: {
|
|
2207
2215
|
kind: "text";
|
|
@@ -3054,6 +3062,7 @@ declare function useRelay(): {
|
|
|
3054
3062
|
action: "grant-role";
|
|
3055
3063
|
roleId: string;
|
|
3056
3064
|
})[] | null;
|
|
3065
|
+
requestedReview: boolean;
|
|
3057
3066
|
createdAt: number;
|
|
3058
3067
|
input?: {
|
|
3059
3068
|
kind: "text";
|
|
@@ -3760,6 +3769,7 @@ declare function useRelay(): {
|
|
|
3760
3769
|
action: "grant-role";
|
|
3761
3770
|
roleId: string;
|
|
3762
3771
|
})[] | null;
|
|
3772
|
+
requestedReview: boolean;
|
|
3763
3773
|
createdAt: number;
|
|
3764
3774
|
input?: {
|
|
3765
3775
|
kind: "text";
|
|
@@ -4258,6 +4268,7 @@ declare function useRelay(): {
|
|
|
4258
4268
|
action: "grant-role";
|
|
4259
4269
|
roleId: string;
|
|
4260
4270
|
})[] | null;
|
|
4271
|
+
requestedReview: boolean;
|
|
4261
4272
|
createdAt: number;
|
|
4262
4273
|
input?: {
|
|
4263
4274
|
kind: "text";
|
|
@@ -4311,6 +4322,7 @@ declare function useRelay(): {
|
|
|
4311
4322
|
action: "grant-role";
|
|
4312
4323
|
roleId: string;
|
|
4313
4324
|
})[] | null;
|
|
4325
|
+
requestedReview: boolean;
|
|
4314
4326
|
createdAt: number;
|
|
4315
4327
|
input?: {
|
|
4316
4328
|
kind: "text";
|
|
@@ -4369,6 +4381,7 @@ declare function useRelay(): {
|
|
|
4369
4381
|
action: "grant-role";
|
|
4370
4382
|
roleId: string;
|
|
4371
4383
|
})[] | null;
|
|
4384
|
+
requestedReview: boolean;
|
|
4372
4385
|
createdAt: number;
|
|
4373
4386
|
input?: {
|
|
4374
4387
|
kind: "text";
|
|
@@ -4679,6 +4692,7 @@ declare function useQuest(observed: QuestView): {
|
|
|
4679
4692
|
action: "grant-role";
|
|
4680
4693
|
roleId: string;
|
|
4681
4694
|
})[] | null;
|
|
4695
|
+
requestedReview: boolean;
|
|
4682
4696
|
createdAt: number;
|
|
4683
4697
|
input?: {
|
|
4684
4698
|
kind: "text";
|
package/dist/react/index.js
CHANGED
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
discoverSolanaWallets,
|
|
9
9
|
readSignInMethods,
|
|
10
10
|
signInOptionsFrom
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-RTHN22KO.js";
|
|
12
12
|
import {
|
|
13
13
|
RelayError,
|
|
14
14
|
avatarSrc,
|
|
15
15
|
defaultAvatar,
|
|
16
16
|
walletAvatarSeed
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-ERBVT7GE.js";
|
|
18
|
+
import "../chunk-ZKJBCQNI.js";
|
|
19
|
+
import "../chunk-5IIWKDFX.js";
|
|
20
|
+
import "../chunk-XEQDW7FM.js";
|
|
21
|
+
import "../chunk-BRESOTKV.js";
|
|
22
22
|
|
|
23
23
|
// src/react/provider.tsx
|
|
24
24
|
import { useState as useState3 } from "react";
|
package/dist/schema.d.ts
CHANGED
|
@@ -237,6 +237,7 @@ declare const decisionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
237
237
|
}, z.core.$strict>, z.ZodObject<{
|
|
238
238
|
kind: z.ZodLiteral<"reject">;
|
|
239
239
|
reason: z.ZodString;
|
|
240
|
+
requestedReview: z.ZodOptional<z.ZodLiteral<true>>;
|
|
240
241
|
}, z.core.$strict>, z.ZodObject<{
|
|
241
242
|
kind: z.ZodLiteral<"review">;
|
|
242
243
|
reason: z.ZodString;
|
|
@@ -1692,6 +1693,7 @@ declare const attemptSchema: z.ZodObject<{
|
|
|
1692
1693
|
action: z.ZodLiteral<"grant-role">;
|
|
1693
1694
|
roleId: z.ZodString;
|
|
1694
1695
|
}, z.core.$strict>]>>>>;
|
|
1696
|
+
requestedReview: z.ZodDefault<z.ZodBoolean>;
|
|
1695
1697
|
createdAt: z.ZodNumber;
|
|
1696
1698
|
}, z.core.$strip>;
|
|
1697
1699
|
type Attempt = z.infer<typeof attemptSchema>;
|
|
@@ -2181,6 +2183,7 @@ declare const memberProgressSchema: z.ZodObject<{
|
|
|
2181
2183
|
action: z.ZodLiteral<"grant-role">;
|
|
2182
2184
|
roleId: z.ZodString;
|
|
2183
2185
|
}, z.core.$strict>]>>>>;
|
|
2186
|
+
requestedReview: z.ZodDefault<z.ZodBoolean>;
|
|
2184
2187
|
createdAt: z.ZodNumber;
|
|
2185
2188
|
}, z.core.$strip>>;
|
|
2186
2189
|
}, z.core.$strip>>;
|
|
@@ -3048,6 +3051,7 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
3048
3051
|
action: z.ZodLiteral<"grant-role">;
|
|
3049
3052
|
roleId: z.ZodString;
|
|
3050
3053
|
}, z.core.$strict>]>>>>;
|
|
3054
|
+
requestedReview: z.ZodDefault<z.ZodBoolean>;
|
|
3051
3055
|
createdAt: z.ZodNumber;
|
|
3052
3056
|
}, z.core.$strip>>;
|
|
3053
3057
|
balances: z.ZodArray<z.ZodObject<{
|
|
@@ -3180,6 +3184,7 @@ declare const reviewItemSchema: z.ZodObject<{
|
|
|
3180
3184
|
action: z.ZodLiteral<"grant-role">;
|
|
3181
3185
|
roleId: z.ZodString;
|
|
3182
3186
|
}, z.core.$strict>]>>>>;
|
|
3187
|
+
requestedReview: z.ZodDefault<z.ZodBoolean>;
|
|
3183
3188
|
createdAt: z.ZodNumber;
|
|
3184
3189
|
}, z.core.$strip>;
|
|
3185
3190
|
title: z.ZodString;
|
|
@@ -3256,6 +3261,7 @@ declare const reviewPageSchema: z.ZodObject<{
|
|
|
3256
3261
|
action: z.ZodLiteral<"grant-role">;
|
|
3257
3262
|
roleId: z.ZodString;
|
|
3258
3263
|
}, z.core.$strict>]>>>>;
|
|
3264
|
+
requestedReview: z.ZodDefault<z.ZodBoolean>;
|
|
3259
3265
|
createdAt: z.ZodNumber;
|
|
3260
3266
|
}, z.core.$strip>;
|
|
3261
3267
|
title: z.ZodString;
|
package/dist/schema.js
CHANGED