Skip to content

Commit 7e5717c

Browse files
committed
Release 0.8.0-beta1
1 parent 2634bf1 commit 7e5717c

10 files changed

Lines changed: 97 additions & 70 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,30 @@ jobs:
2828

2929
- name: Compile
3030
run: yarn && yarn test
31+
32+
publish:
33+
needs: [ compile, test ]
34+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: Checkout repo
38+
uses: actions/checkout@v3
39+
- name: Set up node
40+
uses: actions/setup-node@v3
41+
- name: Install dependencies
42+
run: yarn install
43+
- name: Build
44+
run: yarn build
45+
46+
- name: Publish to npm
47+
run: |
48+
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
49+
if [[ ${GITHUB_REF} == *alpha* ]]; then
50+
npm publish --access public --tag alpha
51+
elif [[ ${GITHUB_REF} == *beta* ]]; then
52+
npm publish --access public --tag beta
53+
else
54+
npm publish --access public
55+
fi
56+
env:
57+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "humanloop",
3-
"version": "0.8.0-beta0",
3+
"version": "0.8.0-beta1",
44
"private": false,
55
"repository": "https://github.com/humanloop/humanloop-node-beta",
66
"main": "./index.js",

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class Datasets {
9797
headers: {
9898
"X-Fern-Language": "JavaScript",
9999
"X-Fern-SDK-Name": "humanloop",
100-
"X-Fern-SDK-Version": "0.8.0-beta0",
100+
"X-Fern-SDK-Version": "0.8.0-beta1",
101101
"X-Fern-Runtime": core.RUNTIME.type,
102102
"X-Fern-Runtime-Version": core.RUNTIME.version,
103103
...(await this._getCustomAuthorizationHeaders()),
@@ -214,7 +214,7 @@ export class Datasets {
214214
headers: {
215215
"X-Fern-Language": "JavaScript",
216216
"X-Fern-SDK-Name": "humanloop",
217-
"X-Fern-SDK-Version": "0.8.0-beta0",
217+
"X-Fern-SDK-Version": "0.8.0-beta1",
218218
"X-Fern-Runtime": core.RUNTIME.type,
219219
"X-Fern-Runtime-Version": core.RUNTIME.version,
220220
...(await this._getCustomAuthorizationHeaders()),
@@ -319,7 +319,7 @@ export class Datasets {
319319
headers: {
320320
"X-Fern-Language": "JavaScript",
321321
"X-Fern-SDK-Name": "humanloop",
322-
"X-Fern-SDK-Version": "0.8.0-beta0",
322+
"X-Fern-SDK-Version": "0.8.0-beta1",
323323
"X-Fern-Runtime": core.RUNTIME.type,
324324
"X-Fern-Runtime-Version": core.RUNTIME.version,
325325
...(await this._getCustomAuthorizationHeaders()),
@@ -396,7 +396,7 @@ export class Datasets {
396396
headers: {
397397
"X-Fern-Language": "JavaScript",
398398
"X-Fern-SDK-Name": "humanloop",
399-
"X-Fern-SDK-Version": "0.8.0-beta0",
399+
"X-Fern-SDK-Version": "0.8.0-beta1",
400400
"X-Fern-Runtime": core.RUNTIME.type,
401401
"X-Fern-Runtime-Version": core.RUNTIME.version,
402402
...(await this._getCustomAuthorizationHeaders()),
@@ -471,7 +471,7 @@ export class Datasets {
471471
headers: {
472472
"X-Fern-Language": "JavaScript",
473473
"X-Fern-SDK-Name": "humanloop",
474-
"X-Fern-SDK-Version": "0.8.0-beta0",
474+
"X-Fern-SDK-Version": "0.8.0-beta1",
475475
"X-Fern-Runtime": core.RUNTIME.type,
476476
"X-Fern-Runtime-Version": core.RUNTIME.version,
477477
...(await this._getCustomAuthorizationHeaders()),
@@ -570,7 +570,7 @@ export class Datasets {
570570
headers: {
571571
"X-Fern-Language": "JavaScript",
572572
"X-Fern-SDK-Name": "humanloop",
573-
"X-Fern-SDK-Version": "0.8.0-beta0",
573+
"X-Fern-SDK-Version": "0.8.0-beta1",
574574
"X-Fern-Runtime": core.RUNTIME.type,
575575
"X-Fern-Runtime-Version": core.RUNTIME.version,
576576
...(await this._getCustomAuthorizationHeaders()),
@@ -675,7 +675,7 @@ export class Datasets {
675675
headers: {
676676
"X-Fern-Language": "JavaScript",
677677
"X-Fern-SDK-Name": "humanloop",
678-
"X-Fern-SDK-Version": "0.8.0-beta0",
678+
"X-Fern-SDK-Version": "0.8.0-beta1",
679679
"X-Fern-Runtime": core.RUNTIME.type,
680680
"X-Fern-Runtime-Version": core.RUNTIME.version,
681681
...(await this._getCustomAuthorizationHeaders()),
@@ -761,7 +761,7 @@ export class Datasets {
761761
headers: {
762762
"X-Fern-Language": "JavaScript",
763763
"X-Fern-SDK-Name": "humanloop",
764-
"X-Fern-SDK-Version": "0.8.0-beta0",
764+
"X-Fern-SDK-Version": "0.8.0-beta1",
765765
"X-Fern-Runtime": core.RUNTIME.type,
766766
"X-Fern-Runtime-Version": core.RUNTIME.version,
767767
...(await this._getCustomAuthorizationHeaders()),
@@ -867,7 +867,7 @@ export class Datasets {
867867
headers: {
868868
"X-Fern-Language": "JavaScript",
869869
"X-Fern-SDK-Name": "humanloop",
870-
"X-Fern-SDK-Version": "0.8.0-beta0",
870+
"X-Fern-SDK-Version": "0.8.0-beta1",
871871
"X-Fern-Runtime": core.RUNTIME.type,
872872
"X-Fern-Runtime-Version": core.RUNTIME.version,
873873
...(await this._getCustomAuthorizationHeaders()),
@@ -970,7 +970,7 @@ export class Datasets {
970970
headers: {
971971
"X-Fern-Language": "JavaScript",
972972
"X-Fern-SDK-Name": "humanloop",
973-
"X-Fern-SDK-Version": "0.8.0-beta0",
973+
"X-Fern-SDK-Version": "0.8.0-beta1",
974974
"X-Fern-Runtime": core.RUNTIME.type,
975975
"X-Fern-Runtime-Version": core.RUNTIME.version,
976976
...(await this._getCustomAuthorizationHeaders()),
@@ -1064,7 +1064,7 @@ export class Datasets {
10641064
headers: {
10651065
"X-Fern-Language": "JavaScript",
10661066
"X-Fern-SDK-Name": "humanloop",
1067-
"X-Fern-SDK-Version": "0.8.0-beta0",
1067+
"X-Fern-SDK-Version": "0.8.0-beta1",
10681068
"X-Fern-Runtime": core.RUNTIME.type,
10691069
"X-Fern-Runtime-Version": core.RUNTIME.version,
10701070
...(await this._getCustomAuthorizationHeaders()),
@@ -1148,7 +1148,7 @@ export class Datasets {
11481148
headers: {
11491149
"X-Fern-Language": "JavaScript",
11501150
"X-Fern-SDK-Name": "humanloop",
1151-
"X-Fern-SDK-Version": "0.8.0-beta0",
1151+
"X-Fern-SDK-Version": "0.8.0-beta1",
11521152
"X-Fern-Runtime": core.RUNTIME.type,
11531153
"X-Fern-Runtime-Version": core.RUNTIME.version,
11541154
...(await this._getCustomAuthorizationHeaders()),
@@ -1221,7 +1221,7 @@ export class Datasets {
12211221
headers: {
12221222
"X-Fern-Language": "JavaScript",
12231223
"X-Fern-SDK-Name": "humanloop",
1224-
"X-Fern-SDK-Version": "0.8.0-beta0",
1224+
"X-Fern-SDK-Version": "0.8.0-beta1",
12251225
"X-Fern-Runtime": core.RUNTIME.type,
12261226
"X-Fern-Runtime-Version": core.RUNTIME.version,
12271227
...(await this._getCustomAuthorizationHeaders()),

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class Directories {
4949
headers: {
5050
"X-Fern-Language": "JavaScript",
5151
"X-Fern-SDK-Name": "humanloop",
52-
"X-Fern-SDK-Version": "0.8.0-beta0",
52+
"X-Fern-SDK-Version": "0.8.0-beta1",
5353
"X-Fern-Runtime": core.RUNTIME.type,
5454
"X-Fern-Runtime-Version": core.RUNTIME.version,
5555
...(await this._getCustomAuthorizationHeaders()),
@@ -131,7 +131,7 @@ export class Directories {
131131
headers: {
132132
"X-Fern-Language": "JavaScript",
133133
"X-Fern-SDK-Name": "humanloop",
134-
"X-Fern-SDK-Version": "0.8.0-beta0",
134+
"X-Fern-SDK-Version": "0.8.0-beta1",
135135
"X-Fern-Runtime": core.RUNTIME.type,
136136
"X-Fern-Runtime-Version": core.RUNTIME.version,
137137
...(await this._getCustomAuthorizationHeaders()),
@@ -211,7 +211,7 @@ export class Directories {
211211
headers: {
212212
"X-Fern-Language": "JavaScript",
213213
"X-Fern-SDK-Name": "humanloop",
214-
"X-Fern-SDK-Version": "0.8.0-beta0",
214+
"X-Fern-SDK-Version": "0.8.0-beta1",
215215
"X-Fern-Runtime": core.RUNTIME.type,
216216
"X-Fern-Runtime-Version": core.RUNTIME.version,
217217
...(await this._getCustomAuthorizationHeaders()),
@@ -289,7 +289,7 @@ export class Directories {
289289
headers: {
290290
"X-Fern-Language": "JavaScript",
291291
"X-Fern-SDK-Name": "humanloop",
292-
"X-Fern-SDK-Version": "0.8.0-beta0",
292+
"X-Fern-SDK-Version": "0.8.0-beta1",
293293
"X-Fern-Runtime": core.RUNTIME.type,
294294
"X-Fern-Runtime-Version": core.RUNTIME.version,
295295
...(await this._getCustomAuthorizationHeaders()),
@@ -364,7 +364,7 @@ export class Directories {
364364
headers: {
365365
"X-Fern-Language": "JavaScript",
366366
"X-Fern-SDK-Name": "humanloop",
367-
"X-Fern-SDK-Version": "0.8.0-beta0",
367+
"X-Fern-SDK-Version": "0.8.0-beta1",
368368
"X-Fern-Runtime": core.RUNTIME.type,
369369
"X-Fern-Runtime-Version": core.RUNTIME.version,
370370
...(await this._getCustomAuthorizationHeaders()),

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class Evaluations {
8383
headers: {
8484
"X-Fern-Language": "JavaScript",
8585
"X-Fern-SDK-Name": "humanloop",
86-
"X-Fern-SDK-Version": "0.8.0-beta0",
86+
"X-Fern-SDK-Version": "0.8.0-beta1",
8787
"X-Fern-Runtime": core.RUNTIME.type,
8888
"X-Fern-Runtime-Version": core.RUNTIME.version,
8989
...(await this._getCustomAuthorizationHeaders()),
@@ -188,7 +188,7 @@ export class Evaluations {
188188
headers: {
189189
"X-Fern-Language": "JavaScript",
190190
"X-Fern-SDK-Name": "humanloop",
191-
"X-Fern-SDK-Version": "0.8.0-beta0",
191+
"X-Fern-SDK-Version": "0.8.0-beta1",
192192
"X-Fern-Runtime": core.RUNTIME.type,
193193
"X-Fern-Runtime-Version": core.RUNTIME.version,
194194
...(await this._getCustomAuthorizationHeaders()),
@@ -267,7 +267,7 @@ export class Evaluations {
267267
headers: {
268268
"X-Fern-Language": "JavaScript",
269269
"X-Fern-SDK-Name": "humanloop",
270-
"X-Fern-SDK-Version": "0.8.0-beta0",
270+
"X-Fern-SDK-Version": "0.8.0-beta1",
271271
"X-Fern-Runtime": core.RUNTIME.type,
272272
"X-Fern-Runtime-Version": core.RUNTIME.version,
273273
...(await this._getCustomAuthorizationHeaders()),
@@ -346,7 +346,7 @@ export class Evaluations {
346346
headers: {
347347
"X-Fern-Language": "JavaScript",
348348
"X-Fern-SDK-Name": "humanloop",
349-
"X-Fern-SDK-Version": "0.8.0-beta0",
349+
"X-Fern-SDK-Version": "0.8.0-beta1",
350350
"X-Fern-Runtime": core.RUNTIME.type,
351351
"X-Fern-Runtime-Version": core.RUNTIME.version,
352352
...(await this._getCustomAuthorizationHeaders()),
@@ -433,7 +433,7 @@ export class Evaluations {
433433
headers: {
434434
"X-Fern-Language": "JavaScript",
435435
"X-Fern-SDK-Name": "humanloop",
436-
"X-Fern-SDK-Version": "0.8.0-beta0",
436+
"X-Fern-SDK-Version": "0.8.0-beta1",
437437
"X-Fern-Runtime": core.RUNTIME.type,
438438
"X-Fern-Runtime-Version": core.RUNTIME.version,
439439
...(await this._getCustomAuthorizationHeaders()),
@@ -520,7 +520,7 @@ export class Evaluations {
520520
headers: {
521521
"X-Fern-Language": "JavaScript",
522522
"X-Fern-SDK-Name": "humanloop",
523-
"X-Fern-SDK-Version": "0.8.0-beta0",
523+
"X-Fern-SDK-Version": "0.8.0-beta1",
524524
"X-Fern-Runtime": core.RUNTIME.type,
525525
"X-Fern-Runtime-Version": core.RUNTIME.version,
526526
...(await this._getCustomAuthorizationHeaders()),
@@ -603,7 +603,7 @@ export class Evaluations {
603603
headers: {
604604
"X-Fern-Language": "JavaScript",
605605
"X-Fern-SDK-Name": "humanloop",
606-
"X-Fern-SDK-Version": "0.8.0-beta0",
606+
"X-Fern-SDK-Version": "0.8.0-beta1",
607607
"X-Fern-Runtime": core.RUNTIME.type,
608608
"X-Fern-Runtime-Version": core.RUNTIME.version,
609609
...(await this._getCustomAuthorizationHeaders()),
@@ -697,7 +697,7 @@ export class Evaluations {
697697
headers: {
698698
"X-Fern-Language": "JavaScript",
699699
"X-Fern-SDK-Name": "humanloop",
700-
"X-Fern-SDK-Version": "0.8.0-beta0",
700+
"X-Fern-SDK-Version": "0.8.0-beta1",
701701
"X-Fern-Runtime": core.RUNTIME.type,
702702
"X-Fern-Runtime-Version": core.RUNTIME.version,
703703
...(await this._getCustomAuthorizationHeaders()),

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class Evaluators {
4949
headers: {
5050
"X-Fern-Language": "JavaScript",
5151
"X-Fern-SDK-Name": "humanloop",
52-
"X-Fern-SDK-Version": "0.8.0-beta0",
52+
"X-Fern-SDK-Version": "0.8.0-beta1",
5353
"X-Fern-Runtime": core.RUNTIME.type,
5454
"X-Fern-Runtime-Version": core.RUNTIME.version,
5555
...(await this._getCustomAuthorizationHeaders()),
@@ -134,7 +134,7 @@ export class Evaluators {
134134
headers: {
135135
"X-Fern-Language": "JavaScript",
136136
"X-Fern-SDK-Name": "humanloop",
137-
"X-Fern-SDK-Version": "0.8.0-beta0",
137+
"X-Fern-SDK-Version": "0.8.0-beta1",
138138
"X-Fern-Runtime": core.RUNTIME.type,
139139
"X-Fern-Runtime-Version": core.RUNTIME.version,
140140
...(await this._getCustomAuthorizationHeaders()),
@@ -235,7 +235,7 @@ export class Evaluators {
235235
headers: {
236236
"X-Fern-Language": "JavaScript",
237237
"X-Fern-SDK-Name": "humanloop",
238-
"X-Fern-SDK-Version": "0.8.0-beta0",
238+
"X-Fern-SDK-Version": "0.8.0-beta1",
239239
"X-Fern-Runtime": core.RUNTIME.type,
240240
"X-Fern-Runtime-Version": core.RUNTIME.version,
241241
...(await this._getCustomAuthorizationHeaders()),
@@ -335,7 +335,7 @@ export class Evaluators {
335335
headers: {
336336
"X-Fern-Language": "JavaScript",
337337
"X-Fern-SDK-Name": "humanloop",
338-
"X-Fern-SDK-Version": "0.8.0-beta0",
338+
"X-Fern-SDK-Version": "0.8.0-beta1",
339339
"X-Fern-Runtime": core.RUNTIME.type,
340340
"X-Fern-Runtime-Version": core.RUNTIME.version,
341341
...(await this._getCustomAuthorizationHeaders()),
@@ -430,7 +430,7 @@ export class Evaluators {
430430
headers: {
431431
"X-Fern-Language": "JavaScript",
432432
"X-Fern-SDK-Name": "humanloop",
433-
"X-Fern-SDK-Version": "0.8.0-beta0",
433+
"X-Fern-SDK-Version": "0.8.0-beta1",
434434
"X-Fern-Runtime": core.RUNTIME.type,
435435
"X-Fern-Runtime-Version": core.RUNTIME.version,
436436
...(await this._getCustomAuthorizationHeaders()),
@@ -507,7 +507,7 @@ export class Evaluators {
507507
headers: {
508508
"X-Fern-Language": "JavaScript",
509509
"X-Fern-SDK-Name": "humanloop",
510-
"X-Fern-SDK-Version": "0.8.0-beta0",
510+
"X-Fern-SDK-Version": "0.8.0-beta1",
511511
"X-Fern-Runtime": core.RUNTIME.type,
512512
"X-Fern-Runtime-Version": core.RUNTIME.version,
513513
...(await this._getCustomAuthorizationHeaders()),
@@ -582,7 +582,7 @@ export class Evaluators {
582582
headers: {
583583
"X-Fern-Language": "JavaScript",
584584
"X-Fern-SDK-Name": "humanloop",
585-
"X-Fern-SDK-Version": "0.8.0-beta0",
585+
"X-Fern-SDK-Version": "0.8.0-beta1",
586586
"X-Fern-Runtime": core.RUNTIME.type,
587587
"X-Fern-Runtime-Version": core.RUNTIME.version,
588588
...(await this._getCustomAuthorizationHeaders()),
@@ -678,7 +678,7 @@ export class Evaluators {
678678
headers: {
679679
"X-Fern-Language": "JavaScript",
680680
"X-Fern-SDK-Name": "humanloop",
681-
"X-Fern-SDK-Version": "0.8.0-beta0",
681+
"X-Fern-SDK-Version": "0.8.0-beta1",
682682
"X-Fern-Runtime": core.RUNTIME.type,
683683
"X-Fern-Runtime-Version": core.RUNTIME.version,
684684
...(await this._getCustomAuthorizationHeaders()),
@@ -764,7 +764,7 @@ export class Evaluators {
764764
headers: {
765765
"X-Fern-Language": "JavaScript",
766766
"X-Fern-SDK-Name": "humanloop",
767-
"X-Fern-SDK-Version": "0.8.0-beta0",
767+
"X-Fern-SDK-Version": "0.8.0-beta1",
768768
"X-Fern-Runtime": core.RUNTIME.type,
769769
"X-Fern-Runtime-Version": core.RUNTIME.version,
770770
...(await this._getCustomAuthorizationHeaders()),
@@ -856,7 +856,7 @@ export class Evaluators {
856856
headers: {
857857
"X-Fern-Language": "JavaScript",
858858
"X-Fern-SDK-Name": "humanloop",
859-
"X-Fern-SDK-Version": "0.8.0-beta0",
859+
"X-Fern-SDK-Version": "0.8.0-beta1",
860860
"X-Fern-Runtime": core.RUNTIME.type,
861861
"X-Fern-Runtime-Version": core.RUNTIME.version,
862862
...(await this._getCustomAuthorizationHeaders()),
@@ -941,7 +941,7 @@ export class Evaluators {
941941
headers: {
942942
"X-Fern-Language": "JavaScript",
943943
"X-Fern-SDK-Name": "humanloop",
944-
"X-Fern-SDK-Version": "0.8.0-beta0",
944+
"X-Fern-SDK-Version": "0.8.0-beta1",
945945
"X-Fern-Runtime": core.RUNTIME.type,
946946
"X-Fern-Runtime-Version": core.RUNTIME.version,
947947
...(await this._getCustomAuthorizationHeaders()),
@@ -1014,7 +1014,7 @@ export class Evaluators {
10141014
headers: {
10151015
"X-Fern-Language": "JavaScript",
10161016
"X-Fern-SDK-Name": "humanloop",
1017-
"X-Fern-SDK-Version": "0.8.0-beta0",
1017+
"X-Fern-SDK-Version": "0.8.0-beta1",
10181018
"X-Fern-Runtime": core.RUNTIME.type,
10191019
"X-Fern-Runtime-Version": core.RUNTIME.version,
10201020
...(await this._getCustomAuthorizationHeaders()),

0 commit comments

Comments
 (0)