@yolk-sdk/conformance 0.1.0-canary.102 → 0.1.0-canary.103

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.
Files changed (2) hide show
  1. package/dist/fixture.d.mts +10 -10
  2. package/package.json +1 -1
@@ -166,6 +166,7 @@ declare const WireFixture: Schema.Struct<{
166
166
  type WireFixture = typeof WireFixture.Type;
167
167
  /** Decode unknown input (for example a JSON file) into a `WireFixture`. */
168
168
  declare const decodeWireFixture: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{
169
+ readonly account: string;
169
170
  readonly exchanges: readonly [{
170
171
  readonly request: {
171
172
  readonly method: string;
@@ -176,26 +177,26 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
176
177
  readonly body?: Schema.Json | undefined;
177
178
  };
178
179
  readonly response: {
179
- readonly status: number;
180
180
  readonly headers: {
181
181
  readonly [x: string]: string;
182
182
  };
183
183
  readonly body: string;
184
- readonly chunks?: undefined;
184
+ readonly status: number;
185
185
  readonly bodyBase64?: undefined;
186
+ readonly chunks?: undefined;
186
187
  } | {
187
- readonly status: number;
188
188
  readonly headers: {
189
189
  readonly [x: string]: string;
190
190
  };
191
+ readonly status: number;
191
192
  readonly bodyBase64: string;
192
193
  readonly body?: undefined;
193
194
  readonly chunks?: undefined;
194
195
  } | {
195
- readonly status: number;
196
196
  readonly headers: {
197
197
  readonly [x: string]: string;
198
198
  };
199
+ readonly status: number;
199
200
  readonly chunks: readonly (string | {
200
201
  readonly base64: string;
201
202
  })[];
@@ -212,26 +213,26 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
212
213
  readonly body?: Schema.Json | undefined;
213
214
  };
214
215
  readonly response: {
215
- readonly status: number;
216
216
  readonly headers: {
217
217
  readonly [x: string]: string;
218
218
  };
219
219
  readonly body: string;
220
- readonly chunks?: undefined;
220
+ readonly status: number;
221
221
  readonly bodyBase64?: undefined;
222
+ readonly chunks?: undefined;
222
223
  } | {
223
- readonly status: number;
224
224
  readonly headers: {
225
225
  readonly [x: string]: string;
226
226
  };
227
+ readonly status: number;
227
228
  readonly bodyBase64: string;
228
229
  readonly body?: undefined;
229
230
  readonly chunks?: undefined;
230
231
  } | {
231
- readonly status: number;
232
232
  readonly headers: {
233
233
  readonly [x: string]: string;
234
234
  };
235
+ readonly status: number;
235
236
  readonly chunks: readonly (string | {
236
237
  readonly base64: string;
237
238
  })[];
@@ -243,7 +244,6 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
243
244
  readonly caseId: string;
244
245
  readonly evidence: "verified" | "unverified";
245
246
  readonly recordedAt: string;
246
- readonly account: string;
247
247
  readonly endpoint: string;
248
248
  readonly model?: string | undefined;
249
249
  readonly note?: string | undefined;
@@ -367,11 +367,11 @@ declare const decodePortFixture: (input: unknown, options?: import("effect/Schem
367
367
  readonly id: string;
368
368
  readonly port: string;
369
369
  readonly note?: string | undefined;
370
- readonly failure?: undefined;
371
370
  readonly observed?: {
372
371
  readonly account: string;
373
372
  readonly date: string;
374
373
  } | undefined;
374
+ readonly failure?: undefined;
375
375
  } | {
376
376
  readonly method: string;
377
377
  readonly request: Schema.Json;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolk-sdk/conformance",
3
- "version": "0.1.0-canary.102",
3
+ "version": "0.1.0-canary.103",
4
4
  "description": "Experimental Effect toolkit to record, replay, and fault-inject HTTP wire fixtures, and to define and run conformance cases.",
5
5
  "license": "MIT",
6
6
  "type": "module",