diff --git a/package.json b/package.json index f0881c4..f7ba0f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opperai", - "version": "0.4.0", + "version": "0.4.1", "description": "The official Node library for the OpperAi API", "main": "dist/index.js", "types": "dist/index.js", diff --git a/src/index.ts b/src/index.ts index 0e49bb9..85c6351 100644 --- a/src/index.ts +++ b/src/index.ts @@ -38,7 +38,7 @@ class Client { functions = new Functions(this); indexes = new Indexes(this); events = new Events(this); - traces = new Spans(this); + spans = new Spans(this); calcAuthorizationHeaders = () => { const isUsingAuthorization = this.isUsingAuthorization;