@turnkey/sdk-types 1.0.0 → 1.1.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,73 @@
1
1
  # @turnkey/sdk-types
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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
8
+
9
+ #### `nonce` parameter in `oauth2Authenticate` is now required
10
+
11
+ ```ts
12
+ # Before
13
+ apiClient.oauth2Authenticate({
14
+ oauth2CredentialId: ...,
15
+ authCode: ...,
16
+ redirectUri: ...,
17
+ codeVerifier: ...,
18
+ bearerTokenTargetPublicKey: ...,
19
+ // nonce can be undefined
20
+ nonce: undefined
21
+ })
22
+
23
+ # After
24
+ apiClient.oauth2Authenticate({
25
+ oauth2CredentialId: ...,
26
+ authCode: ...,
27
+ redirectUri: ...,
28
+ codeVerifier: ...,
29
+ bearerTokenTargetPublicKey: ...,
30
+ // nonce is required
31
+ nonce: ""
32
+ })
33
+ ```
34
+
35
+ #### Solana transactions in Transaction Management are now limited to the following `caip2` values:
36
+ - `solana:mainnet`
37
+ - `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`
38
+ - `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d`
39
+ - `solana:devnet`
40
+ - `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1`
41
+ - `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG`
42
+
43
+ ### New SDK methods
44
+
45
+ #### TVC
46
+
47
+ These methods will only work if you are part of the [TVC beta](https://www.turnkey.com/turnkey-verifiable-cloud#waitlist)
48
+ - `getTvcApp`
49
+ - `getTvcDeployment`
50
+ - `getTvcAppDeployments`
51
+ - `getTvcApps`
52
+ - `validateTvcImage`
53
+ - `createTvcApp`
54
+ - `createTvcDeployment`
55
+ - `createTvcManifestApprovals`
56
+ - `deleteTvcAppAndDeployments`
57
+ - `deleteTvcDeployment`
58
+ - `restoreTvcDeployment`
59
+ - `updateTvcAppLiveDeployment`
60
+
61
+ #### Spark protocol support
62
+ - `sparkClaimTransfer`
63
+ - `sparkPrepareLightningReceive`
64
+ - `sparkPrepareTransfer`
65
+ - `sparkSignFrost`
66
+
67
+ ### Patch Changes
68
+
69
+ - [#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
70
+
3
71
  ## 1.0.0
4
72
 
5
73
  ### Major Changes