RecordedSDKsNewIn progress
The API inspector from unmap Maps is a registry item
api-inspector lists every unmap API call a page makes, as it happens, with its status and latency, the @unmap/sdk line and the curl behind it, and the response. It is the inspector unmap Maps shows, now installable in React (shadcn) and Vue (shadcn-vue) as a development tool.
- <ApiInspector> opens in your shadcn Sheet from any element you give it; <ApiInspectorPanel> docks the same content in your layout, and useApiCalls() returns the calls to render your own way. Vue: <UnmapApiInspector>, <UnmapApiInspectorPanel> and a useApiCalls composable
- It records at window.fetch, so calls from your own client and from every registry item are listed. The key query parameter is never kept, and curl sends the key as a header. Tiles, glyphs and sprites are not listed
- The recorder and the SDK and curl descriptions are api-calls, one plain TypeScript file shared by both lanes, so they can be used without the panel