Skip to content

Commit e1797a8

Browse files
committed
Release 0.0.5
1 parent 87b7677 commit e1797a8

File tree

3 files changed

+20
-32
lines changed

3 files changed

+20
-32
lines changed

package.json

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "voyageai",
3-
"version": "0.0.0",
3+
"version": "0.0.5",
44
"private": false,
55
"repository": "https://github.com/voyage-ai/typescript-sdk",
66
"main": "./index.js",
@@ -12,37 +12,33 @@
1212
"test": "jest"
1313
},
1414
"dependencies": {
15+
"url-join": "4.0.1",
1516
"form-data": "^4.0.0",
1617
"formdata-node": "^6.0.3",
17-
"js-base64": "3.7.2",
1818
"node-fetch": "2.7.0",
1919
"qs": "6.11.2",
2020
"readable-stream": "^4.5.2",
21-
"url-join": "4.0.1"
21+
"js-base64": "3.7.2"
2222
},
2323
"devDependencies": {
24-
"@types/jest": "29.5.5",
25-
"@types/node": "17.0.33",
26-
"@types/node-fetch": "2.6.9",
24+
"@types/url-join": "4.0.1",
2725
"@types/qs": "6.9.8",
26+
"@types/node-fetch": "2.6.9",
2827
"@types/readable-stream": "^4.0.15",
29-
"@types/url-join": "4.0.1",
3028
"fetch-mock-jest": "^1.5.1",
29+
"webpack": "^5.94.0",
30+
"ts-loader": "^9.3.1",
3131
"jest": "29.7.0",
32+
"@types/jest": "29.5.5",
33+
"ts-jest": "29.1.1",
3234
"jest-environment-jsdom": "29.7.0",
35+
"@types/node": "17.0.33",
3336
"prettier": "2.7.1",
34-
"ts-jest": "29.1.1",
35-
"ts-loader": "^9.3.1",
36-
"typescript": "4.6.4",
37-
"webpack": "^5.94.0"
37+
"typescript": "4.6.4"
3838
},
3939
"browser": {
4040
"fs": false,
4141
"os": false,
4242
"path": false
43-
},
44-
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610",
45-
"resolutions": {
46-
"@types/babel__traverse": "7.20.6"
4743
}
4844
}

src/Client.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export class VoyageAIClient {
5555
Authorization: await this._getAuthorizationHeader(),
5656
"X-Fern-Language": "JavaScript",
5757
"X-Fern-SDK-Name": "voyageai",
58-
"X-Fern-SDK-Version": "0.0.0",
59-
"User-Agent": "voyageai/0.0.0",
58+
"X-Fern-SDK-Version": "0.0.5",
59+
"User-Agent": "voyageai/0.0.5",
6060
"X-Fern-Runtime": core.RUNTIME.type,
6161
"X-Fern-Runtime-Version": core.RUNTIME.version,
6262
},
@@ -126,8 +126,8 @@ export class VoyageAIClient {
126126
Authorization: await this._getAuthorizationHeader(),
127127
"X-Fern-Language": "JavaScript",
128128
"X-Fern-SDK-Name": "voyageai",
129-
"X-Fern-SDK-Version": "0.0.0",
130-
"User-Agent": "voyageai/0.0.0",
129+
"X-Fern-SDK-Version": "0.0.5",
130+
"User-Agent": "voyageai/0.0.5",
131131
"X-Fern-Runtime": core.RUNTIME.type,
132132
"X-Fern-Runtime-Version": core.RUNTIME.version,
133133
},
@@ -196,8 +196,8 @@ export class VoyageAIClient {
196196
Authorization: await this._getAuthorizationHeader(),
197197
"X-Fern-Language": "JavaScript",
198198
"X-Fern-SDK-Name": "voyageai",
199-
"X-Fern-SDK-Version": "0.0.0",
200-
"User-Agent": "voyageai/0.0.0",
199+
"X-Fern-SDK-Version": "0.0.5",
200+
"User-Agent": "voyageai/0.0.5",
201201
"X-Fern-Runtime": core.RUNTIME.type,
202202
"X-Fern-Runtime-Version": core.RUNTIME.version,
203203
},
@@ -266,8 +266,8 @@ export class VoyageAIClient {
266266
Authorization: await this._getAuthorizationHeader(),
267267
"X-Fern-Language": "JavaScript",
268268
"X-Fern-SDK-Name": "voyageai",
269-
"X-Fern-SDK-Version": "0.0.0",
270-
"User-Agent": "voyageai/0.0.0",
269+
"X-Fern-SDK-Version": "0.0.5",
270+
"User-Agent": "voyageai/0.0.5",
271271
"X-Fern-Runtime": core.RUNTIME.type,
272272
"X-Fern-Runtime-Version": core.RUNTIME.version,
273273
},

tests/unit/fetcher/stream-wrappers/webpack.test.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,7 @@ describe("test env compatibility", () => {
1111
rules: [
1212
{
1313
test: /\.tsx?$/,
14-
use: {
15-
loader: "ts-loader",
16-
options: {
17-
transpileOnly: true,
18-
compilerOptions: {
19-
skipLibCheck: true,
20-
},
21-
},
22-
},
14+
use: "ts-loader",
2315
exclude: /node_modules/,
2416
},
2517
],

0 commit comments

Comments
 (0)