@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/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-CCLIDCUU.js";
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-UIC6OF3C.js";
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-PLO5PPLU.js";
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-MXK7KEDA.js";
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,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  exchangeResultSchema
3
- } from "./chunk-PLO5PPLU.js";
4
- import "./chunk-MXK7KEDA.js";
3
+ } from "./chunk-36LZ3IOO.js";
4
+ import "./chunk-6QUCADMF.js";
5
5
 
6
6
  // src/portal-proxy.ts
7
7
  async function proxyParticipant(request, upstream) {
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
@@ -49,7 +49,7 @@ import {
49
49
  tierRewardSchema,
50
50
  tieredRewardDefinitionSchema,
51
51
  triggerSchema
52
- } from "./chunk-MXK7KEDA.js";
52
+ } from "./chunk-6QUCADMF.js";
53
53
  export {
54
54
  artifactSchema,
55
55
  attemptSchema,
@@ -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>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domino-sdk/relay",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {