@understudy/connector@0.2.0
Minor Changes
-
a29e4b8: Idempotent write retries and a single write-classification source of truth.
@understudy/protocolnow exportsWRITE_COMMAND_TYPES(and its
WriteCommandTypeunion) as the one classification downstream layers derive
from, and reclassifiesscroll/switch_tabas writes — so
isWriteCommandreturnstruefor them. They are user-visible side effects:
adryRunmust simulate (not perform) them and an idempotent retry must
replay (not repeat) them, so a relative-dyscrollnever double-scrolls.
No schema change.@understudy/connector'sact/fillCredentialderive the wire
commandIdfrom the breakwater idempotency key (ik_<key>) instead of a
random UUID, so a retry after a lost or unparseable response replays the
service's recorded write Event instead of executing the write twice.
Dry-runs keep random ids. Theactunion is now pinned at compile time to
the protocol's write class minusfill_secret(no divergence to reconcile,
now thatscroll/switch_tabare protocol writes).
Patch Changes
- Updated dependencies [a29e4b8]
- @understudy/protocol@0.4.0