@turnkey/http 2.13.0 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @turnkey/http
2
2
 
3
+ ## 2.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 848f8d3: Add new helpers and update types and errors
8
+
9
+ - `getSignatureFromActivity` returns the signature corresponding to a completed activity
10
+ - `getSignedTransactionFromActivity` returns the signed transaction corresponding to a completed activity
11
+ - `assertActivityCompleted` checks the state of an activity and throws an error if the activity either requires consensus or is otherwise not yet completed
12
+ - `TERMINAL_ACTIVITY_STATUSES` is a const containing all terminal activity statuses. Useful for checking on an activity
13
+ - `TurnkeyActivityError` now uses `undefined` instead of `null`
14
+ - Export some additional types: `TActivity`, `TActivityId`, `TActivityStatus`, `TActivityType`
15
+
3
16
  ## 2.13.0
4
17
 
5
18
  ### Minor Changes