@domino-sdk/relay 0.6.0 → 0.7.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/dist/authoring.d.ts +7 -2
- package/dist/authoring.js +2 -2
- package/dist/browser.d.ts +67 -42
- package/dist/browser.js +4 -4
- package/dist/{chunk-PLO5PPLU.js → chunk-36LZ3IOO.js} +1 -1
- package/dist/{chunk-MXK7KEDA.js → chunk-6QUCADMF.js} +13 -1
- package/dist/{chunk-CCLIDCUU.js → chunk-LXLNC4CN.js} +178 -169
- package/dist/{chunk-UIC6OF3C.js → chunk-TYVT5BPZ.js} +1 -1
- package/dist/index.d.ts +192 -94
- package/dist/index.js +6 -4
- package/dist/portal-proxy.js +2 -2
- package/dist/schema.d.ts +30 -0
- package/dist/schema.js +1 -1
- package/dist/{settings-BrC6C9yl.d.ts → settings-CU_oBcx0.d.ts} +13 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
identityIntegrationSecretSchema,
|
|
19
19
|
interactionSchema,
|
|
20
20
|
participantExchangeSchema,
|
|
21
|
+
pointLedgerSchema,
|
|
21
22
|
projectCatalogArtifactSchema,
|
|
22
23
|
projectDeploymentSchema,
|
|
23
24
|
publishDeploymentSchema,
|
|
@@ -45,7 +46,7 @@ import {
|
|
|
45
46
|
walletChallengeSchema,
|
|
46
47
|
walletConnectionSchema,
|
|
47
48
|
walletProofSchema
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-LXLNC4CN.js";
|
|
49
50
|
import {
|
|
50
51
|
defineLeaderboard,
|
|
51
52
|
defineReferral,
|
|
@@ -73,14 +74,14 @@ import {
|
|
|
73
74
|
referralManagementSchema,
|
|
74
75
|
referralRelationshipSchema,
|
|
75
76
|
referralSummarySchema
|
|
76
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-TYVT5BPZ.js";
|
|
77
78
|
import {
|
|
78
79
|
authScopeSchema,
|
|
79
80
|
exchangeResultSchema,
|
|
80
81
|
exchangeSchema,
|
|
81
82
|
principalSchema,
|
|
82
83
|
sessionSchema
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-36LZ3IOO.js";
|
|
84
85
|
import {
|
|
85
86
|
accountConnectionSchema,
|
|
86
87
|
artifactSchema,
|
|
@@ -164,7 +165,7 @@ import {
|
|
|
164
165
|
tierRewardSchema,
|
|
165
166
|
tieredRewardDefinitionSchema,
|
|
166
167
|
triggerSchema
|
|
167
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-6QUCADMF.js";
|
|
168
169
|
export {
|
|
169
170
|
QuestUpdatedError,
|
|
170
171
|
RelayError,
|
|
@@ -243,6 +244,7 @@ export {
|
|
|
243
244
|
pickupCatalogSchema,
|
|
244
245
|
pickupPolicySchema,
|
|
245
246
|
pickupSelectionSchema,
|
|
247
|
+
pointLedgerSchema,
|
|
246
248
|
pointsAccountSchema,
|
|
247
249
|
pointsEntrySchema,
|
|
248
250
|
pointsMutationSchema,
|
package/dist/portal-proxy.js
CHANGED
package/dist/schema.d.ts
CHANGED
|
@@ -256,6 +256,11 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
256
256
|
discord: "discord";
|
|
257
257
|
}>>>;
|
|
258
258
|
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
259
|
+
kind: z.ZodLiteral<"point-ledger">;
|
|
260
|
+
default: z.ZodString;
|
|
261
|
+
label: z.ZodString;
|
|
262
|
+
description: z.ZodOptional<z.ZodString>;
|
|
263
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
259
264
|
kind: z.ZodLiteral<"datetime">;
|
|
260
265
|
default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
|
|
261
266
|
label: z.ZodString;
|
|
@@ -493,6 +498,11 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
493
498
|
discord: "discord";
|
|
494
499
|
}>>>;
|
|
495
500
|
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
501
|
+
kind: z.ZodLiteral<"point-ledger">;
|
|
502
|
+
default: z.ZodString;
|
|
503
|
+
label: z.ZodString;
|
|
504
|
+
description: z.ZodOptional<z.ZodString>;
|
|
505
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
496
506
|
kind: z.ZodLiteral<"datetime">;
|
|
497
507
|
default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
|
|
498
508
|
label: z.ZodString;
|
|
@@ -745,6 +755,11 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
745
755
|
};
|
|
746
756
|
integrations: "discord"[];
|
|
747
757
|
fields: Record<string, {
|
|
758
|
+
kind: "point-ledger";
|
|
759
|
+
default: string;
|
|
760
|
+
label: string;
|
|
761
|
+
description?: string | undefined;
|
|
762
|
+
} | {
|
|
748
763
|
kind: "datetime";
|
|
749
764
|
default: string;
|
|
750
765
|
label: string;
|
|
@@ -968,6 +983,11 @@ declare const templateSchema: z.ZodObject<{
|
|
|
968
983
|
discord: "discord";
|
|
969
984
|
}>>>;
|
|
970
985
|
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
986
|
+
kind: z.ZodLiteral<"point-ledger">;
|
|
987
|
+
default: z.ZodString;
|
|
988
|
+
label: z.ZodString;
|
|
989
|
+
description: z.ZodOptional<z.ZodString>;
|
|
990
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
971
991
|
kind: z.ZodLiteral<"datetime">;
|
|
972
992
|
default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
|
|
973
993
|
label: z.ZodString;
|
|
@@ -1672,6 +1692,11 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
1672
1692
|
discord: "discord";
|
|
1673
1693
|
}>>>;
|
|
1674
1694
|
fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1695
|
+
kind: z.ZodLiteral<"point-ledger">;
|
|
1696
|
+
default: z.ZodString;
|
|
1697
|
+
label: z.ZodString;
|
|
1698
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1675
1700
|
kind: z.ZodLiteral<"datetime">;
|
|
1676
1701
|
default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
|
|
1677
1702
|
label: z.ZodString;
|
|
@@ -1924,6 +1949,11 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
1924
1949
|
};
|
|
1925
1950
|
integrations: "discord"[];
|
|
1926
1951
|
fields: Record<string, {
|
|
1952
|
+
kind: "point-ledger";
|
|
1953
|
+
default: string;
|
|
1954
|
+
label: string;
|
|
1955
|
+
description?: string | undefined;
|
|
1956
|
+
} | {
|
|
1927
1957
|
kind: "datetime";
|
|
1928
1958
|
default: string;
|
|
1929
1959
|
label: string;
|
package/dist/schema.js
CHANGED
|
@@ -1402,6 +1402,11 @@ declare const discord: {
|
|
|
1402
1402
|
};
|
|
1403
1403
|
|
|
1404
1404
|
declare const settingFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1405
|
+
kind: z.ZodLiteral<"point-ledger">;
|
|
1406
|
+
default: z.ZodString;
|
|
1407
|
+
label: z.ZodString;
|
|
1408
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1405
1410
|
kind: z.ZodLiteral<"datetime">;
|
|
1406
1411
|
default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
|
|
1407
1412
|
label: z.ZodString;
|
|
@@ -1465,6 +1470,11 @@ declare const settingFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1465
1470
|
}, z.core.$strict>], "kind">;
|
|
1466
1471
|
type SettingField = z.infer<typeof settingFieldSchema>;
|
|
1467
1472
|
declare const settingsFieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1473
|
+
kind: z.ZodLiteral<"point-ledger">;
|
|
1474
|
+
default: z.ZodString;
|
|
1475
|
+
label: z.ZodString;
|
|
1476
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1468
1478
|
kind: z.ZodLiteral<"datetime">;
|
|
1469
1479
|
default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
|
|
1470
1480
|
label: z.ZodString;
|
|
@@ -1541,6 +1551,9 @@ type Label = {
|
|
|
1541
1551
|
description?: string;
|
|
1542
1552
|
};
|
|
1543
1553
|
declare const settings: {
|
|
1554
|
+
pointLedger(options: Label & {
|
|
1555
|
+
default: string;
|
|
1556
|
+
}): z.ZodDefault<z.ZodString>;
|
|
1544
1557
|
datetime(options: Label & {
|
|
1545
1558
|
default: string;
|
|
1546
1559
|
}): z.ZodDefault<z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>>;
|