Skip to content

Commit 6ef9e64

Browse files
author
Andrei Bratu
committed
Release 0.8.18:
* Use singleton pattern for private OTEL tracer * Bump up OTEL dependencies * Prevent non-HL spans from passing through private OTEL tracer
1 parent c29bf97 commit 6ef9e64

File tree

18 files changed

+494
-1411
lines changed

18 files changed

+494
-1411
lines changed

package.json

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "humanloop",
3-
"version": "0.8.17",
3+
"version": "0.8.18",
44
"private": false,
55
"repository": "https://github.com/humanloop/humanloop-node",
66
"main": "./index.js",
@@ -12,47 +12,45 @@
1212
"test": "jest"
1313
},
1414
"dependencies": {
15-
"url-join": "4.0.1",
15+
"@opentelemetry/api": "<=1.9.0",
16+
"@opentelemetry/resources": "<=2.0.0",
17+
"@opentelemetry/sdk-trace-node": "<=2.0.0",
18+
"@traceloop/ai-semantic-conventions": ">=0.11.6",
19+
"@traceloop/instrumentation-anthropic": ">=0.11.1",
20+
"@traceloop/instrumentation-cohere": ">=0.11.1",
21+
"@traceloop/instrumentation-openai": ">=0.11.3",
22+
"cli-progress": "^3.12.0",
1623
"form-data": "^4.0.0",
24+
"form-data-encoder": "^4.0.2",
1725
"formdata-node": "^6.0.3",
26+
"lodash": "^4.17.21",
1827
"node-fetch": "^2.7.0",
1928
"qs": "^6.13.1",
2029
"readable-stream": "^4.5.2",
21-
"form-data-encoder": "^4.0.2",
22-
"@opentelemetry/api": "^1.9.0",
23-
"@opentelemetry/auto-instrumentations-node": "^0.53.0",
24-
"@opentelemetry/sdk-metrics": "^1.28.0",
25-
"@opentelemetry/sdk-node": "^0.55.0",
26-
"@opentelemetry/sdk-trace-node": "^1.28.0",
27-
"@traceloop/instrumentation-anthropic": "^0.11.1",
28-
"@traceloop/instrumentation-cohere": "^0.11.1",
29-
"@traceloop/instrumentation-openai": "^0.11.3",
30-
"@traceloop/ai-semantic-conventions": "^0.11.6",
31-
"cli-progress": "^3.12.0",
32-
"lodash": "^4.17.21"
30+
"url-join": "4.0.1"
3331
},
3432
"devDependencies": {
35-
"@types/url-join": "4.0.1",
36-
"@types/qs": "^6.9.17",
33+
"@anthropic-ai/sdk": "^0.32.1",
34+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
35+
"@types/cli-progress": "^3.11.6",
36+
"@types/jest": "^29.5.14",
37+
"@types/lodash": "4.14.74",
38+
"@types/node": "^18.19.70",
3739
"@types/node-fetch": "^2.6.12",
40+
"@types/qs": "^6.9.17",
3841
"@types/readable-stream": "^4.0.18",
39-
"webpack": "^5.97.1",
40-
"ts-loader": "^9.5.1",
42+
"@types/url-join": "4.0.1",
43+
"cohere-ai": "^7.15.0",
44+
"dotenv": "^16.4.6",
4145
"jest": "^29.7.0",
42-
"@types/jest": "^29.5.14",
43-
"ts-jest": "^29.1.1",
4446
"jest-environment-jsdom": "^29.7.0",
45-
"@types/node": "^18.19.70",
47+
"jsonschema": "^1.4.1",
48+
"openai": "^4.74.0",
4649
"prettier": "^3.4.2",
50+
"ts-jest": "^29.1.1",
51+
"ts-loader": "^9.5.1",
4752
"typescript": "~5.7.2",
48-
"openai": "^4.74.0",
49-
"@anthropic-ai/sdk": "^0.32.1",
50-
"cohere-ai": "^7.15.0",
51-
"dotenv": "^16.4.6",
52-
"jsonschema": "^1.4.1",
53-
"@types/cli-progress": "^3.11.6",
54-
"@types/lodash": "4.14.74",
55-
"@trivago/prettier-plugin-sort-imports": "^4.3.0"
53+
"webpack": "^5.97.1"
5654
},
5755
"browser": {
5856
"fs": false,

src/api/resources/datasets/client/Client.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ export class Datasets {
107107
headers: {
108108
"X-Fern-Language": "JavaScript",
109109
"X-Fern-SDK-Name": "humanloop",
110-
"X-Fern-SDK-Version": "0.8.17",
111-
"User-Agent": "humanloop/0.8.17",
110+
"X-Fern-SDK-Version": "0.8.18",
111+
"User-Agent": "humanloop/0.8.18",
112112
"X-Fern-Runtime": core.RUNTIME.type,
113113
"X-Fern-Runtime-Version": core.RUNTIME.version,
114114
...(await this._getCustomAuthorizationHeaders()),
@@ -273,8 +273,8 @@ export class Datasets {
273273
headers: {
274274
"X-Fern-Language": "JavaScript",
275275
"X-Fern-SDK-Name": "humanloop",
276-
"X-Fern-SDK-Version": "0.8.17",
277-
"User-Agent": "humanloop/0.8.17",
276+
"X-Fern-SDK-Version": "0.8.18",
277+
"User-Agent": "humanloop/0.8.18",
278278
"X-Fern-Runtime": core.RUNTIME.type,
279279
"X-Fern-Runtime-Version": core.RUNTIME.version,
280280
...(await this._getCustomAuthorizationHeaders()),
@@ -386,8 +386,8 @@ export class Datasets {
386386
headers: {
387387
"X-Fern-Language": "JavaScript",
388388
"X-Fern-SDK-Name": "humanloop",
389-
"X-Fern-SDK-Version": "0.8.17",
390-
"User-Agent": "humanloop/0.8.17",
389+
"X-Fern-SDK-Version": "0.8.18",
390+
"User-Agent": "humanloop/0.8.18",
391391
"X-Fern-Runtime": core.RUNTIME.type,
392392
"X-Fern-Runtime-Version": core.RUNTIME.version,
393393
...(await this._getCustomAuthorizationHeaders()),
@@ -468,8 +468,8 @@ export class Datasets {
468468
headers: {
469469
"X-Fern-Language": "JavaScript",
470470
"X-Fern-SDK-Name": "humanloop",
471-
"X-Fern-SDK-Version": "0.8.17",
472-
"User-Agent": "humanloop/0.8.17",
471+
"X-Fern-SDK-Version": "0.8.18",
472+
"User-Agent": "humanloop/0.8.18",
473473
"X-Fern-Runtime": core.RUNTIME.type,
474474
"X-Fern-Runtime-Version": core.RUNTIME.version,
475475
...(await this._getCustomAuthorizationHeaders()),
@@ -548,8 +548,8 @@ export class Datasets {
548548
headers: {
549549
"X-Fern-Language": "JavaScript",
550550
"X-Fern-SDK-Name": "humanloop",
551-
"X-Fern-SDK-Version": "0.8.17",
552-
"User-Agent": "humanloop/0.8.17",
551+
"X-Fern-SDK-Version": "0.8.18",
552+
"User-Agent": "humanloop/0.8.18",
553553
"X-Fern-Runtime": core.RUNTIME.type,
554554
"X-Fern-Runtime-Version": core.RUNTIME.version,
555555
...(await this._getCustomAuthorizationHeaders()),
@@ -654,8 +654,8 @@ export class Datasets {
654654
headers: {
655655
"X-Fern-Language": "JavaScript",
656656
"X-Fern-SDK-Name": "humanloop",
657-
"X-Fern-SDK-Version": "0.8.17",
658-
"User-Agent": "humanloop/0.8.17",
657+
"X-Fern-SDK-Version": "0.8.18",
658+
"User-Agent": "humanloop/0.8.18",
659659
"X-Fern-Runtime": core.RUNTIME.type,
660660
"X-Fern-Runtime-Version": core.RUNTIME.version,
661661
...(await this._getCustomAuthorizationHeaders()),
@@ -764,8 +764,8 @@ export class Datasets {
764764
headers: {
765765
"X-Fern-Language": "JavaScript",
766766
"X-Fern-SDK-Name": "humanloop",
767-
"X-Fern-SDK-Version": "0.8.17",
768-
"User-Agent": "humanloop/0.8.17",
767+
"X-Fern-SDK-Version": "0.8.18",
768+
"User-Agent": "humanloop/0.8.18",
769769
"X-Fern-Runtime": core.RUNTIME.type,
770770
"X-Fern-Runtime-Version": core.RUNTIME.version,
771771
...(await this._getCustomAuthorizationHeaders()),
@@ -857,8 +857,8 @@ export class Datasets {
857857
headers: {
858858
"X-Fern-Language": "JavaScript",
859859
"X-Fern-SDK-Name": "humanloop",
860-
"X-Fern-SDK-Version": "0.8.17",
861-
"User-Agent": "humanloop/0.8.17",
860+
"X-Fern-SDK-Version": "0.8.18",
861+
"User-Agent": "humanloop/0.8.18",
862862
"X-Fern-Runtime": core.RUNTIME.type,
863863
"X-Fern-Runtime-Version": core.RUNTIME.version,
864864
...(await this._getCustomAuthorizationHeaders()),
@@ -946,8 +946,8 @@ export class Datasets {
946946
headers: {
947947
"X-Fern-Language": "JavaScript",
948948
"X-Fern-SDK-Name": "humanloop",
949-
"X-Fern-SDK-Version": "0.8.17",
950-
"User-Agent": "humanloop/0.8.17",
949+
"X-Fern-SDK-Version": "0.8.18",
950+
"User-Agent": "humanloop/0.8.18",
951951
"X-Fern-Runtime": core.RUNTIME.type,
952952
"X-Fern-Runtime-Version": core.RUNTIME.version,
953953
...(await this._getCustomAuthorizationHeaders()),
@@ -1052,8 +1052,8 @@ export class Datasets {
10521052
headers: {
10531053
"X-Fern-Language": "JavaScript",
10541054
"X-Fern-SDK-Name": "humanloop",
1055-
"X-Fern-SDK-Version": "0.8.17",
1056-
"User-Agent": "humanloop/0.8.17",
1055+
"X-Fern-SDK-Version": "0.8.18",
1056+
"User-Agent": "humanloop/0.8.18",
10571057
"X-Fern-Runtime": core.RUNTIME.type,
10581058
"X-Fern-Runtime-Version": core.RUNTIME.version,
10591059
...(await this._getCustomAuthorizationHeaders()),
@@ -1152,8 +1152,8 @@ export class Datasets {
11521152
headers: {
11531153
"X-Fern-Language": "JavaScript",
11541154
"X-Fern-SDK-Name": "humanloop",
1155-
"X-Fern-SDK-Version": "0.8.17",
1156-
"User-Agent": "humanloop/0.8.17",
1155+
"X-Fern-SDK-Version": "0.8.18",
1156+
"User-Agent": "humanloop/0.8.18",
11571157
"X-Fern-Runtime": core.RUNTIME.type,
11581158
"X-Fern-Runtime-Version": core.RUNTIME.version,
11591159
...(await this._getCustomAuthorizationHeaders()),
@@ -1243,8 +1243,8 @@ export class Datasets {
12431243
headers: {
12441244
"X-Fern-Language": "JavaScript",
12451245
"X-Fern-SDK-Name": "humanloop",
1246-
"X-Fern-SDK-Version": "0.8.17",
1247-
"User-Agent": "humanloop/0.8.17",
1246+
"X-Fern-SDK-Version": "0.8.18",
1247+
"User-Agent": "humanloop/0.8.18",
12481248
"X-Fern-Runtime": core.RUNTIME.type,
12491249
"X-Fern-Runtime-Version": core.RUNTIME.version,
12501250
...(await this._getCustomAuthorizationHeaders()),
@@ -1323,8 +1323,8 @@ export class Datasets {
13231323
headers: {
13241324
"X-Fern-Language": "JavaScript",
13251325
"X-Fern-SDK-Name": "humanloop",
1326-
"X-Fern-SDK-Version": "0.8.17",
1327-
"User-Agent": "humanloop/0.8.17",
1326+
"X-Fern-SDK-Version": "0.8.18",
1327+
"User-Agent": "humanloop/0.8.18",
13281328
"X-Fern-Runtime": core.RUNTIME.type,
13291329
"X-Fern-Runtime-Version": core.RUNTIME.version,
13301330
...(await this._getCustomAuthorizationHeaders()),

src/api/resources/directories/client/Client.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export class Directories {
5555
headers: {
5656
"X-Fern-Language": "JavaScript",
5757
"X-Fern-SDK-Name": "humanloop",
58-
"X-Fern-SDK-Version": "0.8.17",
59-
"User-Agent": "humanloop/0.8.17",
58+
"X-Fern-SDK-Version": "0.8.18",
59+
"User-Agent": "humanloop/0.8.18",
6060
"X-Fern-Runtime": core.RUNTIME.type,
6161
"X-Fern-Runtime-Version": core.RUNTIME.version,
6262
...(await this._getCustomAuthorizationHeaders()),
@@ -139,8 +139,8 @@ export class Directories {
139139
headers: {
140140
"X-Fern-Language": "JavaScript",
141141
"X-Fern-SDK-Name": "humanloop",
142-
"X-Fern-SDK-Version": "0.8.17",
143-
"User-Agent": "humanloop/0.8.17",
142+
"X-Fern-SDK-Version": "0.8.18",
143+
"User-Agent": "humanloop/0.8.18",
144144
"X-Fern-Runtime": core.RUNTIME.type,
145145
"X-Fern-Runtime-Version": core.RUNTIME.version,
146146
...(await this._getCustomAuthorizationHeaders()),
@@ -224,8 +224,8 @@ export class Directories {
224224
headers: {
225225
"X-Fern-Language": "JavaScript",
226226
"X-Fern-SDK-Name": "humanloop",
227-
"X-Fern-SDK-Version": "0.8.17",
228-
"User-Agent": "humanloop/0.8.17",
227+
"X-Fern-SDK-Version": "0.8.18",
228+
"User-Agent": "humanloop/0.8.18",
229229
"X-Fern-Runtime": core.RUNTIME.type,
230230
"X-Fern-Runtime-Version": core.RUNTIME.version,
231231
...(await this._getCustomAuthorizationHeaders()),
@@ -307,8 +307,8 @@ export class Directories {
307307
headers: {
308308
"X-Fern-Language": "JavaScript",
309309
"X-Fern-SDK-Name": "humanloop",
310-
"X-Fern-SDK-Version": "0.8.17",
311-
"User-Agent": "humanloop/0.8.17",
310+
"X-Fern-SDK-Version": "0.8.18",
311+
"User-Agent": "humanloop/0.8.18",
312312
"X-Fern-Runtime": core.RUNTIME.type,
313313
"X-Fern-Runtime-Version": core.RUNTIME.version,
314314
...(await this._getCustomAuthorizationHeaders()),
@@ -387,8 +387,8 @@ export class Directories {
387387
headers: {
388388
"X-Fern-Language": "JavaScript",
389389
"X-Fern-SDK-Name": "humanloop",
390-
"X-Fern-SDK-Version": "0.8.17",
391-
"User-Agent": "humanloop/0.8.17",
390+
"X-Fern-SDK-Version": "0.8.18",
391+
"User-Agent": "humanloop/0.8.18",
392392
"X-Fern-Runtime": core.RUNTIME.type,
393393
"X-Fern-Runtime-Version": core.RUNTIME.version,
394394
...(await this._getCustomAuthorizationHeaders()),

0 commit comments

Comments
 (0)