@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 +13 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +922 -1293
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +59 -59
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/shared.d.ts +63 -8
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +126 -4
- package/dist/shared.js.map +1 -1
- package/dist/shared.mjs +119 -5
- package/dist/shared.mjs.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +3 -3
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
|