From c8eda3f7bb53e47d9184d86b7ca37d889ae5bc19 Mon Sep 17 00:00:00 2001 From: psykhi Date: Fri, 5 Apr 2024 13:28:53 +0200 Subject: [PATCH] traces->spans --- package.json | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;