@formata/client-sdk@0.3.1
latest
Formata client-facing SDK, enabling users of Formata to easily call into their APIs.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
a year ago (0.3.1)
c
EndpointAuth
Endpoint authorization. Calls a Formata endpoint, applying response fields as headers. When extending this class, implement 'dirty' and 'authWorkflow' methods.
c
c
FormataReply
Formata Reply. This is a one-time only send, meaning we don't listen for responses.
c
v
FRPCV
Current frpc version.
c
c
c
v
PAYLOAD_TYPE_NAME
Payload type header name.
c
PayloadAuth
Authorization in Formata is kept completely separate from the Payload. FormataAuth acts ON the payload, setting headers, etc...
T
ReplyHandler
Reply handler type.
c
f
subject
Default subject, pointing to Formata's main service (endpoint handlers). Ordering of space, version, api, endpoint correlates with the "connect" tab in the web application (https://app.formata.io).