@domino-sdk/relay 0.8.0 → 0.9.1

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
@@ -51,7 +51,7 @@ import {
51
51
  walletChallengeSchema,
52
52
  walletConnectionSchema,
53
53
  walletProofSchema
54
- } from "./chunk-APMYDKEX.js";
54
+ } from "./chunk-Y6H4HDQT.js";
55
55
  import {
56
56
  defineLeaderboard,
57
57
  defineReferral,
@@ -81,14 +81,14 @@ import {
81
81
  referralManagementSchema,
82
82
  referralRelationshipSchema,
83
83
  referralSummarySchema
84
- } from "./chunk-XVHWBZRG.js";
84
+ } from "./chunk-Q5VDZVVO.js";
85
85
  import {
86
86
  authScopeSchema,
87
87
  exchangeResultSchema,
88
88
  exchangeSchema,
89
89
  principalSchema,
90
90
  sessionSchema
91
- } from "./chunk-2BN7XZH3.js";
91
+ } from "./chunk-MVDE7WKB.js";
92
92
  import {
93
93
  accountConnectionSchema,
94
94
  artifactSchema,
@@ -170,12 +170,13 @@ import {
170
170
  staffDecisionSchema,
171
171
  stockItemSchema,
172
172
  stockSchema,
173
+ storedReviewModeSchema,
173
174
  submitSchema,
174
175
  templateSchema,
175
176
  tierRewardSchema,
176
177
  tieredRewardDefinitionSchema,
177
178
  triggerSchema
178
- } from "./chunk-Z43O273V.js";
179
+ } from "./chunk-XTFCKK2Y.js";
179
180
  export {
180
181
  QuestUpdatedError,
181
182
  RelayError,
@@ -338,6 +339,7 @@ export {
338
339
  staffDecisionSchema,
339
340
  stockItemSchema,
340
341
  stockSchema,
342
+ storedReviewModeSchema,
341
343
  submitSchema,
342
344
  templateSchema,
343
345
  tierRewardSchema,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  exchangeResultSchema
3
- } from "./chunk-2BN7XZH3.js";
4
- import "./chunk-Z43O273V.js";
3
+ } from "./chunk-MVDE7WKB.js";
4
+ import "./chunk-XTFCKK2Y.js";
5
5
 
6
6
  // src/portal-proxy.ts
7
7
  async function proxyParticipant(request, upstream) {
package/dist/schema.d.ts CHANGED
@@ -173,11 +173,14 @@ declare const decisionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
173
173
  }, z.core.$strict>], "kind">;
174
174
  type Decision = z.infer<typeof decisionSchema>;
175
175
  declare const reviewModeSchema: z.ZodEnum<{
176
+ "workers-ai": "workers-ai";
177
+ }>;
178
+ declare const storedReviewModeSchema: z.ZodEnum<{
179
+ "workers-ai": "workers-ai";
176
180
  "fixture-pass": "fixture-pass";
177
181
  "fixture-fail": "fixture-fail";
178
182
  "fixture-unclear": "fixture-unclear";
179
183
  "fixture-error": "fixture-error";
180
- "workers-ai": "workers-ai";
181
184
  }>;
182
185
  declare const rewardBundleSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
183
186
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -425,10 +428,6 @@ declare const releaseSchema: z.ZodObject<{
425
428
  correct: z.ZodString;
426
429
  }, z.core.$strict>>]>>;
427
430
  provider: z.ZodEnum<{
428
- "fixture-pass": "fixture-pass";
429
- "fixture-fail": "fixture-fail";
430
- "fixture-unclear": "fixture-unclear";
431
- "fixture-error": "fixture-error";
432
431
  "workers-ai": "workers-ai";
433
432
  }>;
434
433
  expectedRelease: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -447,10 +446,6 @@ declare const batchReleaseSchema: z.ZodObject<{
447
446
  correct: z.ZodString;
448
447
  }, z.core.$strict>>]>>;
449
448
  provider: z.ZodEnum<{
450
- "fixture-pass": "fixture-pass";
451
- "fixture-fail": "fixture-fail";
452
- "fixture-unclear": "fixture-unclear";
453
- "fixture-error": "fixture-error";
454
449
  "workers-ai": "workers-ai";
455
450
  }>;
456
451
  expectedRelease: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -656,11 +651,11 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
656
651
  key: z.ZodOptional<z.ZodString>;
657
652
  code: z.ZodString;
658
653
  provider: z.ZodEnum<{
654
+ "workers-ai": "workers-ai";
659
655
  "fixture-pass": "fixture-pass";
660
656
  "fixture-fail": "fixture-fail";
661
657
  "fixture-unclear": "fixture-unclear";
662
658
  "fixture-error": "fixture-error";
663
- "workers-ai": "workers-ai";
664
659
  }>;
665
660
  id: z.ZodString;
666
661
  createdAt: z.ZodNumber;
@@ -728,11 +723,11 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
728
723
  }, z.core.$strict>]>>;
729
724
  code: z.ZodString;
730
725
  provider: z.ZodEnum<{
726
+ "workers-ai": "workers-ai";
731
727
  "fixture-pass": "fixture-pass";
732
728
  "fixture-fail": "fixture-fail";
733
729
  "fixture-unclear": "fixture-unclear";
734
730
  "fixture-error": "fixture-error";
735
- "workers-ai": "workers-ai";
736
731
  }>;
737
732
  id: z.ZodString;
738
733
  createdAt: z.ZodNumber;
@@ -896,7 +891,7 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
896
891
  };
897
892
  }[];
898
893
  code: string;
899
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
894
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
900
895
  id: string;
901
896
  createdAt: number;
902
897
  legacy: boolean;
@@ -959,7 +954,7 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
959
954
  roleId: string;
960
955
  })[];
961
956
  code: string;
962
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
957
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
963
958
  id: string;
964
959
  createdAt: number;
965
960
  }>>]>;
@@ -1862,11 +1857,11 @@ declare const snapshotSchema: z.ZodObject<{
1862
1857
  key: z.ZodOptional<z.ZodString>;
1863
1858
  code: z.ZodString;
1864
1859
  provider: z.ZodEnum<{
1860
+ "workers-ai": "workers-ai";
1865
1861
  "fixture-pass": "fixture-pass";
1866
1862
  "fixture-fail": "fixture-fail";
1867
1863
  "fixture-unclear": "fixture-unclear";
1868
1864
  "fixture-error": "fixture-error";
1869
- "workers-ai": "workers-ai";
1870
1865
  }>;
1871
1866
  id: z.ZodString;
1872
1867
  createdAt: z.ZodNumber;
@@ -1934,11 +1929,11 @@ declare const snapshotSchema: z.ZodObject<{
1934
1929
  }, z.core.$strict>]>>;
1935
1930
  code: z.ZodString;
1936
1931
  provider: z.ZodEnum<{
1932
+ "workers-ai": "workers-ai";
1937
1933
  "fixture-pass": "fixture-pass";
1938
1934
  "fixture-fail": "fixture-fail";
1939
1935
  "fixture-unclear": "fixture-unclear";
1940
1936
  "fixture-error": "fixture-error";
1941
- "workers-ai": "workers-ai";
1942
1937
  }>;
1943
1938
  id: z.ZodString;
1944
1939
  createdAt: z.ZodNumber;
@@ -2102,7 +2097,7 @@ declare const snapshotSchema: z.ZodObject<{
2102
2097
  };
2103
2098
  }[];
2104
2099
  code: string;
2105
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
2100
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
2106
2101
  id: string;
2107
2102
  createdAt: number;
2108
2103
  legacy: boolean;
@@ -2165,7 +2160,7 @@ declare const snapshotSchema: z.ZodObject<{
2165
2160
  roleId: string;
2166
2161
  })[];
2167
2162
  code: string;
2168
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
2163
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
2169
2164
  id: string;
2170
2165
  createdAt: number;
2171
2166
  }>>]>>;
@@ -2533,4 +2528,4 @@ declare const stockItemSchema: z.ZodObject<{
2533
2528
  name: z.ZodString;
2534
2529
  }, z.core.$strip>;
2535
2530
 
2536
- export { type Attempt, type Decision, type Entitlement, type MemberListOptions, type MemberPage, type MemberProgress, type PhotoResult, type PickupAvailability, type PublishedRelease, type QuestAvailability, type QuestDescription, type QuestPresentation, type QuestSettingsInput, type QuizEvidence, type ReleaseInput, type ReviewListOptions, type ReviewPage, type Reward, type Snapshot, type SubmitInput, type TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, beginHandoverSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, createStockItemSchema, decisionSchema, entitlementSchema, errorSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questDescriptionSchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema };
2531
+ export { type Attempt, type Decision, type Entitlement, type MemberListOptions, type MemberPage, type MemberProgress, type PhotoResult, type PickupAvailability, type PublishedRelease, type QuestAvailability, type QuestDescription, type QuestPresentation, type QuestSettingsInput, type QuizEvidence, type ReleaseInput, type ReviewListOptions, type ReviewPage, type Reward, type Snapshot, type SubmitInput, type TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, beginHandoverSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, createStockItemSchema, decisionSchema, entitlementSchema, errorSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questDescriptionSchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, storedReviewModeSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema };
package/dist/schema.js CHANGED
@@ -46,12 +46,13 @@ import {
46
46
  staffDecisionSchema,
47
47
  stockItemSchema,
48
48
  stockSchema,
49
+ storedReviewModeSchema,
49
50
  submitSchema,
50
51
  templateSchema,
51
52
  tierRewardSchema,
52
53
  tieredRewardDefinitionSchema,
53
54
  triggerSchema
54
- } from "./chunk-Z43O273V.js";
55
+ } from "./chunk-XTFCKK2Y.js";
55
56
  export {
56
57
  artifactSchema,
57
58
  attemptSchema,
@@ -100,6 +101,7 @@ export {
100
101
  staffDecisionSchema,
101
102
  stockItemSchema,
102
103
  stockSchema,
104
+ storedReviewModeSchema,
103
105
  submitSchema,
104
106
  templateSchema,
105
107
  tierRewardSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domino-sdk/relay",
3
- "version": "0.8.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {