@turnkey/sdk-types 1.2.0 → 1.3.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,37 @@
1
1
  # @turnkey/sdk-types
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1448](https://github.com/tkhq/sdk/pull/1448) [`09d0e19`](https://github.com/tkhq/sdk/commit/09d0e19ee6b4b2c1be14762650613f7fbae036b0) Thanks [@Bijan-Massoumi](https://github.com/Bijan-Massoumi)! - Add Solana send-transaction v2 intent and result types. The new intent uses an ordered `signWiths` array and a hex-encoded full unsigned transaction.
8
+
9
+ **Before:**
10
+
11
+ ```ts
12
+ const intent: v1SolSendTransactionIntent = {
13
+ unsignedTransaction: unsignedTransactionBase64,
14
+ signWith: signerAddress,
15
+ caip2,
16
+ sponsor,
17
+ };
18
+ ```
19
+
20
+ **After:**
21
+
22
+ ```ts
23
+ const intent: v1SolSendTransactionIntentV2 = {
24
+ unsignedTransaction: unsignedTransactionHex,
25
+ signWiths: [signerAddress],
26
+ caip2,
27
+ sponsor,
28
+ };
29
+ ```
30
+
31
+ - [#1452](https://github.com/tkhq/sdk/pull/1452) [`b447497`](https://github.com/tkhq/sdk/commit/b447497e965b0b1df02d2294e87f89cedb761719) Author [@ericvelazquez](https://github.com/ericvelazquez) - Add Turnkey Earn APIs (early access) to the high-level SDK clients: `earnVaults`, `earnEnabledVaults`, `earnPositions`, `earnDeposit`, `earnDepositStatus`, `earnWithdraw`, `earnWithdrawStatus`, `earnDeployWrapper`, and `earnDeployStatus`.
32
+
33
+ The Earn read endpoints live under `/query/` but aren't named `get`/`list`/`test`/`validate`, so each package's codegen pins `/query/earn_*` to query methods by path. `@turnkey/http` gains the previously-missing `earnDeployStatus` so its generated Earn surface matches the other packages.
34
+
3
35
  ## 1.2.0
4
36
 
5
37
  ### Minor Changes