• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microlinkhq / microlink / 40558219553
82%

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2026 06:15PM UTC
Jobs 4
Files 62
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Oct 2026 06:15PM UTC coverage: 81.969% (+0.2%) from 81.817%
40558219553

push

github

web-flow
feat(core): add raw request and apiUrl to the client (#80)

* feat(core): add raw request and apiUrl to the client

`client.request(url, options)` sends the options verbatim as API query
params, with the client context (apiKey, endpoint) and headers routed
the same way as the product methods, and resolves the full payload:
status, data, statusCode, redirects, headers and response.

`client.apiUrl(url, options)` returns the URL that call would hit.

Both are non-enumerable, like `last`, so they stay out of the product
list, the docs pages and the CLI help.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(mql): resolve embed responses as binary

`embed` makes the API answer with the asset itself, but mql only switched
to arrayBuffer for the legacy `stream` name, so an embed call failed
parsing the image as JSON (EFATALCLIENT, Unexpected token).

The core raw `request` types now mirror mql: `response.headers` is a
Fetch `Headers`, and an `embed`/`stream` call resolves the HTTP response
with an `ArrayBuffer` body. The README documents both raw methods.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(core): reject embed and stream in the JSON request overload

`client.request<T>(url, { embed })` picked the generic overload and typed
a binary response as `MicrolinkResponse<T>`. The JSON overload now forbids
`embed`/`stream`, so those calls only match the ArrayBuffer overload.

README: `headers` travel as HTTP request headers, and `stream` resolves
binary the same way `embed` does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

894 of 1141 branches covered (78.35%)

Branch coverage included in aggregate %.

16 of 16 new or added lines in 2 files covered. (100.0%)

5175 of 6263 relevant lines covered (82.63%)

28.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 @microlink/mql - 40558219553.1 27 Oct 2026 06:16PM UTC 4
67.76
GitHub Action Run
2 @microlink/mcp - 40558219553.2 27 Oct 2026 06:15PM UTC 34
96.94
GitHub Action Run
3 @microlink/function - 40558219553.3 27 Oct 2026 06:16PM UTC 2
94.67
GitHub Action Run
4 microlink.io - 40558219553.4 27 Oct 2026 06:16PM UTC 22
83.44
GitHub Action Run
Source Files on build 40558219553
  • Tree
  • List 62
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40558219553
  • 0c261c6b on github
  • Prev Build on master (#40309431399)
  • Next Build on master (#40840621957)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc