@levr-one/sdk 1.0.1 → 1.0.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.
@@ -5,9 +5,6 @@ export type IssueGateVerificationReportGateResultsV1Body = {
5
5
  link_id: string;
6
6
  status: "pass" | "fail" | "error";
7
7
  output: string;
8
- expected?: string;
9
- step_id?: string;
10
- rule_hash?: string;
11
8
  steps?: Array<{
12
9
  command: string;
13
10
  exit_code: number;
@@ -15,7 +12,17 @@ export type IssueGateVerificationReportGateResultsV1Body = {
15
12
  stderr_tail: string;
16
13
  step_id?: string;
17
14
  }>;
15
+ step_results?: Array<{
16
+ step_id?: string;
17
+ result: string;
18
+ }>;
19
+ expected?: string;
20
+ step_id?: string;
21
+ rule_hash?: string;
22
+ claim_token?: string;
18
23
  }>;
24
+ commit_sha?: string;
25
+ claim_token?: string;
19
26
  };
20
27
 
21
28
  export type IssueGateVerificationVerifyGatesV1Data = {
@@ -8,9 +8,6 @@ export const zIssueGateVerificationReportGateResultsV1Body = /* @__PURE__ */ z.o
8
8
  link_id: z.string(),
9
9
  status: z.enum(["pass", "fail", "error"]),
10
10
  output: z.string(),
11
- expected: z.string().optional(),
12
- step_id: z.string().optional(),
13
- rule_hash: z.string().optional(),
14
11
  steps: z.array(z.object({
15
12
  command: z.string(),
16
13
  exit_code: z.number(),
@@ -18,7 +15,17 @@ export const zIssueGateVerificationReportGateResultsV1Body = /* @__PURE__ */ z.o
18
15
  stderr_tail: z.string(),
19
16
  step_id: z.string().optional(),
20
17
  })).optional(),
18
+ step_results: z.array(z.object({
19
+ step_id: z.string().optional(),
20
+ result: z.string(),
21
+ })).optional(),
22
+ expected: z.string().optional(),
23
+ step_id: z.string().optional(),
24
+ rule_hash: z.string().optional(),
25
+ claim_token: z.string().optional(),
21
26
  })),
27
+ commit_sha: z.string().optional(),
28
+ claim_token: z.string().optional(),
22
29
  });
23
30
 
24
31
  export const zIssueGateVerificationVerifyGatesV1Data = /* @__PURE__ */ z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levr-one/sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "TypeScript SDK for the Levr API",
5
5
  "type": "module",
6
6
  "sideEffects": false,