@temporal-contract/contract@6.0.0
Major Changes
-
6c79004: Upgrade to
unthrown3.0.0.The published packages'
unthrownpeer-dependency range moves to^3. unthrown 3.0.0's breaking change — removing the standaloneDefectconstructor in favour of adefectargument passed intofromPromise/fromThrowable'squalifycallback — does not affect temporal-contract, which never constructs defects (every boundary maps rejections to a modeled error). Everything else we use (Ok/Err,TaggedError,matchTags,fromPromise/fromSafePromise,result.match({ ok, err, defect }),.toAsync(), and theresult.isOk()/isErr()/isDefect()narrowing) is unchanged, so no source changes were required.Breaking for consumers: bump your own
unthrowninstall to^3.