File tree 3 files changed +12
-1
lines changed
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
+ ## [ 0.11.1] - 2024-11-29
6
+
7
+ ### Fixed
8
+ - Support setting ` source ` and ` sourceVersion ` correlation data via ` Coinbase.configure() `
9
+
5
10
## [ 0.11.0] - 2024-11-27
6
11
7
12
### Added
Original file line number Diff line number Diff line change 4
4
"license" : " ISC" ,
5
5
"description" : " Coinbase Platform SDK" ,
6
6
"repository" : " https://github.com/coinbase/coinbase-sdk-nodejs" ,
7
- "version" : " 0.11.0 " ,
7
+ "version" : " 0.11.1 " ,
8
8
"main" : " dist/index.js" ,
9
9
"types" : " dist/index.d.ts" ,
10
10
"scripts" : {
Original file line number Diff line number Diff line change @@ -183,6 +183,8 @@ export class Coinbase {
183
183
* @param options.useServerSigner - Whether to use a Server-Signer or not. Defaults to false.
184
184
* @param options.debugging - If true, logs API requests and responses to the console. Defaults to false.
185
185
* @param options.basePath - The base path for the API. Defaults to BASE_PATH.
186
+ * @param options.source - Optional source string to be sent with the API requests. Defaults to `sdk`.
187
+ * @param options.sourceVersion - Optional source version string to be sent with the API requests.
186
188
* @returns A new instance of the Coinbase SDK.
187
189
*/
188
190
static configure ( {
@@ -191,13 +193,17 @@ export class Coinbase {
191
193
useServerSigner = false ,
192
194
debugging = false ,
193
195
basePath = BASE_PATH ,
196
+ source = "sdk" ,
197
+ sourceVersion = undefined ,
194
198
} : CoinbaseOptions ) {
195
199
return new Coinbase ( {
196
200
apiKeyName,
197
201
privateKey,
198
202
useServerSigner,
199
203
debugging,
200
204
basePath,
205
+ source,
206
+ sourceVersion,
201
207
} ) ;
202
208
}
203
209
You can’t perform that action at this time.
0 commit comments