@turnkey/sdk-types 1.1.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,64 @@
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
+
35
+ ## 1.2.0
36
+
37
+ ### Minor Changes
38
+
39
+ - [#1433](https://github.com/tkhq/sdk/pull/1433) [`cd1af93`](https://github.com/tkhq/sdk/commit/cd1af93c41a3f41c3c68589cfa6cfe17c1812c2f) Author [@amircheikh](https://github.com/amircheikh) - - Synced with Mono v2026.7.3
40
+ - Added version-specific types for `ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2`, which supports batching multiple eth calls together via the new `calls` array.
41
+
42
+ ```ts
43
+ // V1 (unchanged) — single call, top-level fields
44
+ type v1EthSendTransactionIntent = {
45
+ from: string;
46
+ caip2: string;
47
+ to: string;
48
+ value?: string;
49
+ data?: string;
50
+ // ...
51
+ };
52
+
53
+ // V2 (new) — one or more calls in a `calls` array
54
+ type v1EthSendTransactionIntentV2 = {
55
+ from: string;
56
+ caip2: string;
57
+ calls: v1EthCallParams[]; // [{ to, value?, data? }]
58
+ // ...
59
+ };
60
+ ```
61
+
3
62
  ## 1.1.0
4
63
 
5
64
  ### Minor Changes