@domino-sdk/relay 1.0.0-next.0 → 1.0.0-next.2
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 +39 -11
- package/dist/authoring.js +33 -13
- package/dist/browser.d.ts +163 -168
- package/dist/browser.js +6 -6
- package/dist/{chunk-IZYXEXUO.js → chunk-4KNTMNXA.js} +4 -4
- package/dist/{chunk-QEN4GHL7.js → chunk-B76BAJ25.js} +2 -2
- package/dist/{chunk-BGN3CQC6.js → chunk-FDWRBMB3.js} +2 -2
- package/dist/{chunk-UPWID5KS.js → chunk-NKGJEYZM.js} +1 -1
- package/dist/{chunk-UI4N4XRZ.js → chunk-ONDBQSMU.js} +1 -1
- package/dist/{chunk-OQ4ZNOC7.js → chunk-VH4OQ5VX.js} +1 -1
- package/dist/index.d.ts +402 -420
- package/dist/index.js +5 -5
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +0 -5
- package/dist/react/index.js +6 -6
- package/dist/schema.d.ts +5 -12
- 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-4KNTMNXA.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-B76BAJ25.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-VH4OQ5VX.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-ONDBQSMU.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-NKGJEYZM.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-VH4OQ5VX.js";
|
|
4
4
|
import {
|
|
5
5
|
isProfileParticipantRoute,
|
|
6
6
|
isWalletParticipantRoute,
|
|
7
7
|
isWalletSignInRoute
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ONDBQSMU.js";
|
|
9
9
|
import {
|
|
10
10
|
isContentParticipantRoute
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NKGJEYZM.js";
|
|
12
12
|
|
|
13
13
|
// src/portal-proxy.ts
|
|
14
14
|
async function proxyParticipant(request, upstream) {
|
package/dist/react/index.d.ts
CHANGED
|
@@ -2427,7 +2427,6 @@ declare function useRelay(): {
|
|
|
2427
2427
|
};
|
|
2428
2428
|
requires: {
|
|
2429
2429
|
quest: string;
|
|
2430
|
-
scope: "ever";
|
|
2431
2430
|
}[];
|
|
2432
2431
|
completion: {
|
|
2433
2432
|
kind: "streak";
|
|
@@ -2652,7 +2651,6 @@ declare function useRelay(): {
|
|
|
2652
2651
|
};
|
|
2653
2652
|
requires: {
|
|
2654
2653
|
quest: string;
|
|
2655
|
-
scope: "ever";
|
|
2656
2654
|
}[];
|
|
2657
2655
|
completion: {
|
|
2658
2656
|
kind: "streak";
|
|
@@ -2876,7 +2874,6 @@ declare function useRelay(): {
|
|
|
2876
2874
|
};
|
|
2877
2875
|
requires: {
|
|
2878
2876
|
quest: string;
|
|
2879
|
-
scope: "ever";
|
|
2880
2877
|
}[];
|
|
2881
2878
|
completion: {
|
|
2882
2879
|
kind: "streak";
|
|
@@ -3281,7 +3278,6 @@ declare function useRelay(): {
|
|
|
3281
3278
|
};
|
|
3282
3279
|
requires: {
|
|
3283
3280
|
quest: string;
|
|
3284
|
-
scope: "ever";
|
|
3285
3281
|
}[];
|
|
3286
3282
|
completion: {
|
|
3287
3283
|
kind: "streak";
|
|
@@ -3534,7 +3530,6 @@ declare function useRelay(): {
|
|
|
3534
3530
|
};
|
|
3535
3531
|
requires: {
|
|
3536
3532
|
quest: string;
|
|
3537
|
-
scope: "ever";
|
|
3538
3533
|
}[];
|
|
3539
3534
|
completion: {
|
|
3540
3535
|
kind: "streak";
|
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-FDWRBMB3.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-4KNTMNXA.js";
|
|
18
|
+
import "../chunk-B76BAJ25.js";
|
|
19
|
+
import "../chunk-VH4OQ5VX.js";
|
|
20
|
+
import "../chunk-ONDBQSMU.js";
|
|
21
|
+
import "../chunk-NKGJEYZM.js";
|
|
22
22
|
|
|
23
23
|
// src/react/provider.tsx
|
|
24
24
|
import { useState as useState3 } from "react";
|
package/dist/schema.d.ts
CHANGED
|
@@ -179,8 +179,7 @@ declare const triggerSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
179
179
|
}, z.core.$strict>]>;
|
|
180
180
|
declare const prerequisiteSchema: z.ZodObject<{
|
|
181
181
|
quest: z.ZodString;
|
|
182
|
-
|
|
183
|
-
}, z.core.$strict>;
|
|
182
|
+
}, z.core.$strip>;
|
|
184
183
|
declare const photoResultSchema: z.ZodObject<{
|
|
185
184
|
kind: z.ZodEnum<{
|
|
186
185
|
pass: "pass";
|
|
@@ -577,8 +576,7 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
577
576
|
}, z.core.$strict>>;
|
|
578
577
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
579
578
|
quest: z.ZodString;
|
|
580
|
-
|
|
581
|
-
}, z.core.$strict>>>;
|
|
579
|
+
}, z.core.$strip>>>;
|
|
582
580
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
583
581
|
kind: z.ZodLiteral<"streak">;
|
|
584
582
|
days: z.ZodNumber;
|
|
@@ -907,8 +905,7 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
907
905
|
}, z.core.$strict>>;
|
|
908
906
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
909
907
|
quest: z.ZodString;
|
|
910
|
-
|
|
911
|
-
}, z.core.$strict>>>;
|
|
908
|
+
}, z.core.$strip>>>;
|
|
912
909
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
913
910
|
kind: z.ZodLiteral<"streak">;
|
|
914
911
|
days: z.ZodNumber;
|
|
@@ -1217,7 +1214,6 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1217
1214
|
};
|
|
1218
1215
|
requires: {
|
|
1219
1216
|
quest: string;
|
|
1220
|
-
scope: "ever";
|
|
1221
1217
|
}[];
|
|
1222
1218
|
completion: {
|
|
1223
1219
|
kind: "streak";
|
|
@@ -1555,8 +1551,7 @@ declare const templateSchema: z.ZodObject<{
|
|
|
1555
1551
|
}, z.core.$strict>>;
|
|
1556
1552
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1557
1553
|
quest: z.ZodString;
|
|
1558
|
-
|
|
1559
|
-
}, z.core.$strict>>>;
|
|
1554
|
+
}, z.core.$strip>>>;
|
|
1560
1555
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1561
1556
|
kind: z.ZodLiteral<"streak">;
|
|
1562
1557
|
days: z.ZodNumber;
|
|
@@ -2507,8 +2502,7 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
2507
2502
|
}, z.core.$strict>>;
|
|
2508
2503
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2509
2504
|
quest: z.ZodString;
|
|
2510
|
-
|
|
2511
|
-
}, z.core.$strict>>>;
|
|
2505
|
+
}, z.core.$strip>>>;
|
|
2512
2506
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2513
2507
|
kind: z.ZodLiteral<"streak">;
|
|
2514
2508
|
days: z.ZodNumber;
|
|
@@ -2817,7 +2811,6 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
2817
2811
|
};
|
|
2818
2812
|
requires: {
|
|
2819
2813
|
quest: string;
|
|
2820
|
-
scope: "ever";
|
|
2821
2814
|
}[];
|
|
2822
2815
|
completion: {
|
|
2823
2816
|
kind: "streak";
|
package/dist/schema.js
CHANGED