Skip to content

Commit 5e12228

Browse files
authored
fix(sdk): allow empty initialize() (#619)
1 parent faa4996 commit 5e12228

File tree

2 files changed

+204
-31
lines changed

2 files changed

+204
-31
lines changed

packages/traceloop-sdk/src/lib/configuration/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let _client: TraceloopClient | undefined;
2424
* });
2525
* ```
2626
*/
27-
export const initialize = (options: InitializeOptions) => {
27+
export const initialize = (options: InitializeOptions = {}) => {
2828
if (_configuration) {
2929
return;
3030
}

0 commit comments

Comments
 (0)