@abloatai/transaction
v0.66.10
Published
The headless Ablo transaction client and canonical contracts for reads, commits, confirmation, claims, and durable observation.
Readme
@abloatai/transaction
The canonical transaction contracts and headless HTTP runtime behind Ablo.
Authoritative reads, atomic commits, idempotency, confirmation, claims, and durable observation share one typed protocol here. The package has no React, MobX, IndexedDB, or WebSocket runtime.
Application code should install the branded Ablo SDK:
npm install @abloatai/abloimport { Ablo } from '@abloatai/ablo';
const ablo = Ablo({
schema,
apiKey: process.env.ABLO_API_KEY,
});
const order = await ablo.orders.read({ id: orderId });
if (!order) throw new Error('Order not found');
await ablo.orders.update({
id: orderId,
data: { status: 'approved' },
reads: [order],
});Use @abloatai/transaction directly only when building Ablo adapters,
integrations, or infrastructure that must consume the canonical contracts.
The branded SDK delegates to this package without exposing that ownership map
in normal application imports.
