
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@livemercial/api-types
Advanced tools
Shared TypeScript types for the Livemercial API, enabling type-safe client usage.
npm install @livemercial/api-types
# or
bun install @livemercial/api-types
import { hc } from 'hono/client'
import type { AppType } from '@livemercial/api-types'
const client = hc<AppType>('https://api.livemercial.com')
// Now you have full type inference for your API calls
const response = await client.v1.index.$get()
AppType - Main application type for RPC client usageHTTPMethod - Supported HTTP methodsAPIResponse<T> - Generic API response wrapperAPIError - Common API error structurebun run build
# Update version in package.json, then:
bun run build
npm publish
This package should be updated whenever the main API structure changes. The types are currently maintained manually but could be automated with:
MIT
FAQs
Shared TypeScript types for Livemercial API
We found that @livemercial/api-types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.