@turnkey/sdk-types 1.0.0 → 1.2.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,100 @@
1
1
  # @turnkey/sdk-types
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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
8
+ - Added version-specific types for `ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2`, which supports batching multiple eth calls together via the new `calls` array.
9
+
10
+ ```ts
11
+ // V1 (unchanged) — single call, top-level fields
12
+ type v1EthSendTransactionIntent = {
13
+ from: string;
14
+ caip2: string;
15
+ to: string;
16
+ value?: string;
17
+ data?: string;
18
+ // ...
19
+ };
20
+
21
+ // V2 (new) — one or more calls in a `calls` array
22
+ type v1EthSendTransactionIntentV2 = {
23
+ from: string;
24
+ caip2: string;
25
+ calls: v1EthCallParams[]; // [{ to, value?, data? }]
26
+ // ...
27
+ };
28
+ ```
29
+
30
+ ## 1.1.0
31
+
32
+ ### Minor Changes
33
+
34
+ - [#1324](https://github.com/tkhq/sdk/pull/1324) [`f505818`](https://github.com/tkhq/sdk/commit/f505818e121c137d290156a32918a884ba80e5f5) Author [@janjakubnanista](https://github.com/janjakubnanista) - ### Breaking/Behavioral Changes
35
+
36
+ #### `nonce` parameter in `oauth2Authenticate` is now required
37
+
38
+ ```ts
39
+ # Before
40
+ apiClient.oauth2Authenticate({
41
+ oauth2CredentialId: ...,
42
+ authCode: ...,
43
+ redirectUri: ...,
44
+ codeVerifier: ...,
45
+ bearerTokenTargetPublicKey: ...,
46
+ // nonce can be undefined
47
+ nonce: undefined
48
+ })
49
+
50
+ # After
51
+ apiClient.oauth2Authenticate({
52
+ oauth2CredentialId: ...,
53
+ authCode: ...,
54
+ redirectUri: ...,
55
+ codeVerifier: ...,
56
+ bearerTokenTargetPublicKey: ...,
57
+ // nonce is required
58
+ nonce: ""
59
+ })
60
+ ```
61
+
62
+ #### Solana transactions in Transaction Management are now limited to the following `caip2` values:
63
+ - `solana:mainnet`
64
+ - `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`
65
+ - `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d`
66
+ - `solana:devnet`
67
+ - `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1`
68
+ - `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG`
69
+
70
+ ### New SDK methods
71
+
72
+ #### TVC
73
+
74
+ These methods will only work if you are part of the [TVC beta](https://www.turnkey.com/turnkey-verifiable-cloud#waitlist)
75
+ - `getTvcApp`
76
+ - `getTvcDeployment`
77
+ - `getTvcAppDeployments`
78
+ - `getTvcApps`
79
+ - `validateTvcImage`
80
+ - `createTvcApp`
81
+ - `createTvcDeployment`
82
+ - `createTvcManifestApprovals`
83
+ - `deleteTvcAppAndDeployments`
84
+ - `deleteTvcDeployment`
85
+ - `restoreTvcDeployment`
86
+ - `updateTvcAppLiveDeployment`
87
+
88
+ #### Spark protocol support
89
+ - `sparkClaimTransfer`
90
+ - `sparkPrepareLightningReceive`
91
+ - `sparkPrepareTransfer`
92
+ - `sparkSignFrost`
93
+
94
+ ### Patch Changes
95
+
96
+ - [#1299](https://github.com/tkhq/sdk/pull/1299) [`bf2c28f`](https://github.com/tkhq/sdk/commit/bf2c28fec690ec31254125405bf15a482139109b) Author [@ethankonk](https://github.com/ethankonk) - Patched the core sdk's client to allow passing in the `generateAppProofs` param to all activity requests
97
+
3
98
  ## 1.0.0
4
99
 
5
100
  ### Major Changes