@turnkey/sdk-types
Advanced tools
+68
-0
| # @turnkey/sdk-types | ||
| ## 1.1.0 | ||
| ### Minor Changes | ||
| - [#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 | ||
| #### `nonce` parameter in `oauth2Authenticate` is now required | ||
| ```ts | ||
| # Before | ||
| apiClient.oauth2Authenticate({ | ||
| oauth2CredentialId: ..., | ||
| authCode: ..., | ||
| redirectUri: ..., | ||
| codeVerifier: ..., | ||
| bearerTokenTargetPublicKey: ..., | ||
| // nonce can be undefined | ||
| nonce: undefined | ||
| }) | ||
| # After | ||
| apiClient.oauth2Authenticate({ | ||
| oauth2CredentialId: ..., | ||
| authCode: ..., | ||
| redirectUri: ..., | ||
| codeVerifier: ..., | ||
| bearerTokenTargetPublicKey: ..., | ||
| // nonce is required | ||
| nonce: "" | ||
| }) | ||
| ``` | ||
| #### Solana transactions in Transaction Management are now limited to the following `caip2` values: | ||
| - `solana:mainnet` | ||
| - `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` | ||
| - `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d` | ||
| - `solana:devnet` | ||
| - `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1` | ||
| - `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG` | ||
| ### New SDK methods | ||
| #### TVC | ||
| These methods will only work if you are part of the [TVC beta](https://www.turnkey.com/turnkey-verifiable-cloud#waitlist) | ||
| - `getTvcApp` | ||
| - `getTvcDeployment` | ||
| - `getTvcAppDeployments` | ||
| - `getTvcApps` | ||
| - `validateTvcImage` | ||
| - `createTvcApp` | ||
| - `createTvcDeployment` | ||
| - `createTvcManifestApprovals` | ||
| - `deleteTvcAppAndDeployments` | ||
| - `deleteTvcDeployment` | ||
| - `restoreTvcDeployment` | ||
| - `updateTvcAppLiveDeployment` | ||
| #### Spark protocol support | ||
| - `sparkClaimTransfer` | ||
| - `sparkPrepareLightningReceive` | ||
| - `sparkPrepareTransfer` | ||
| - `sparkSignFrost` | ||
| ### Patch Changes | ||
| - [#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 | ||
| ## 1.0.0 | ||
@@ -4,0 +72,0 @@ |
+2
-2
| { | ||
| "name": "@turnkey/sdk-types", | ||
| "version": "1.0.0", | ||
| "version": "1.1.0", | ||
| "main": "dist/index.js", | ||
@@ -50,5 +50,5 @@ "types": "dist/index.d.ts", | ||
| "clean": "rimraf ./dist ./.cache", | ||
| "typecheck": "tsc -p tsconfig.typecheck.json", | ||
| "typecheck": "tsc --noEmit", | ||
| "codegen": "node scripts/codegen.js" | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1135004
10.92%16359
10.91%