@yolk-sdk/conformance 0.1.0-canary.97 → 0.1.0-canary.99

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 +11 -11
  2. package/package.json +1 -1
@@ -166,7 +166,6 @@ 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;
170
169
  readonly exchanges: readonly [{
171
170
  readonly request: {
172
171
  readonly method: string;
@@ -177,26 +176,26 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
177
176
  readonly body?: Schema.Json | undefined;
178
177
  };
179
178
  readonly response: {
180
- readonly status: number;
181
179
  readonly headers: {
182
180
  readonly [x: string]: string;
183
181
  };
184
182
  readonly body: string;
185
- readonly chunks?: undefined;
183
+ readonly status: number;
186
184
  readonly bodyBase64?: undefined;
185
+ readonly chunks?: undefined;
187
186
  } | {
188
- readonly status: number;
189
187
  readonly headers: {
190
188
  readonly [x: string]: string;
191
189
  };
190
+ readonly status: number;
192
191
  readonly bodyBase64: string;
193
192
  readonly body?: undefined;
194
193
  readonly chunks?: undefined;
195
194
  } | {
196
- readonly status: number;
197
195
  readonly headers: {
198
196
  readonly [x: string]: string;
199
197
  };
198
+ readonly status: number;
200
199
  readonly chunks: readonly (string | {
201
200
  readonly base64: string;
202
201
  })[];
@@ -213,26 +212,26 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
213
212
  readonly body?: Schema.Json | undefined;
214
213
  };
215
214
  readonly response: {
216
- readonly status: number;
217
215
  readonly headers: {
218
216
  readonly [x: string]: string;
219
217
  };
220
218
  readonly body: string;
221
- readonly chunks?: undefined;
219
+ readonly status: number;
222
220
  readonly bodyBase64?: undefined;
221
+ readonly chunks?: undefined;
223
222
  } | {
224
- readonly status: number;
225
223
  readonly headers: {
226
224
  readonly [x: string]: string;
227
225
  };
226
+ readonly status: number;
228
227
  readonly bodyBase64: string;
229
228
  readonly body?: undefined;
230
229
  readonly chunks?: undefined;
231
230
  } | {
232
- readonly status: number;
233
231
  readonly headers: {
234
232
  readonly [x: string]: string;
235
233
  };
234
+ readonly status: number;
236
235
  readonly chunks: readonly (string | {
237
236
  readonly base64: string;
238
237
  })[];
@@ -244,6 +243,7 @@ declare const decodeWireFixture: (input: unknown, options?: import("effect/Schem
244
243
  readonly caseId: string;
245
244
  readonly evidence: "verified" | "unverified";
246
245
  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;
370
371
  readonly observed?: {
371
372
  readonly account: string;
372
373
  readonly date: string;
373
374
  } | undefined;
374
- readonly failure?: undefined;
375
375
  } | {
376
376
  readonly method: string;
377
377
  readonly request: Schema.Json;
@@ -383,8 +383,8 @@ declare const decodePortFixture: (input: unknown, options?: import("effect/Schem
383
383
  readonly status?: number | undefined;
384
384
  };
385
385
  readonly port: string;
386
- readonly note?: string | undefined;
387
386
  readonly response?: undefined;
387
+ readonly note?: string | undefined;
388
388
  readonly observed?: {
389
389
  readonly account: string;
390
390
  readonly date: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolk-sdk/conformance",
3
- "version": "0.1.0-canary.97",
3
+ "version": "0.1.0-canary.99",
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",