@baukit/api-runtime 0.19.1 → 0.19.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baukit/api-runtime",
3
- "version": "0.19.1",
3
+ "version": "0.19.2",
4
4
  "description": "Shared client-side behavior for product APIs: environment selection, auth and request-ID headers, trace propagation, normalized errors, and safe retries.",
5
5
  "license": "MIT",
6
6
  "author": "Patrick Koss",
@@ -60,7 +60,7 @@
60
60
  "typescript": "6.0.3"
61
61
  },
62
62
  "dependencies": {
63
- "@baukit/type-guards": "^0.19.1",
63
+ "@baukit/type-guards": "^0.19.2",
64
64
  "openapi-fetch": "^0.17.0"
65
65
  }
66
66
  }
@@ -256,11 +256,11 @@ describe('JSON-compatible bodies', () => {
256
256
 
257
257
  it('rejects bodies that JSON cannot carry unchanged', () => {
258
258
  const keys = store();
259
- // @ts-expect-error a Date is not a JSON value
259
+ // @ts-expect-error -- a Date is not a JSON value
260
260
  void keys.keyFor({ account: 'a', operation: 'op', body: { at: new Date(0) } });
261
- // @ts-expect-error a function is not a JSON value
261
+ // @ts-expect-error -- a function is not a JSON value
262
262
  void keys.keyFor({ account: 'a', operation: 'op', body: { run: () => 1 } });
263
- // @ts-expect-error an unknown member is not known to be JSON
263
+ // @ts-expect-error -- an unknown member is not known to be JSON
264
264
  void keys.keyFor({ account: 'a', operation: 'op', body: { value: 1 as unknown } });
265
265
  });
266
266
  });