Skip to content

Commit

Permalink
ALL-5273 Adjust comments and make it clear old way of initializing is…
Browse files Browse the repository at this point in the history
… deprecated
  • Loading branch information
juraj.bacovcin committed Mar 11, 2024
1 parent d3e9563 commit 0e3d90d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/service/tatum/tatum.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ export interface TatumConfig {
* If you are using Tatum API Key, you can use Tatum SDK without any limitations.
*/
apiKey?:
| string
/**
* @deprecated Use `string` format instead.
*/
| {
/**
* API Key for ApiVersion.V3
Expand All @@ -29,10 +33,6 @@ export interface TatumConfig {
*/
v4?: string
}
/**
* If only string is provided, version is inferred regardless of ApiVersion
*/
| string

/**
* Verbose logging is disabled by default.
Expand Down

0 comments on commit 0e3d90d

Please sign in to comment.