@vitable-inc/vitable-connect 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +11 -11
- package/package.json +19 -34
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.3 (2026-03-24)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.2...v0.1.3](https://github.com/Vitable-Inc/vitable-connect-typescript/compare/v0.1.2...v0.1.3)
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
* update SDK settings ([5676ba7](https://github.com/Vitable-Inc/vitable-connect-typescript/commit/5676ba752af20dd12c57aba43cbaf4549337f1e3))
|
|
10
|
+
* update SDK settings ([ea66249](https://github.com/Vitable-Inc/vitable-connect-typescript/commit/ea66249c6366e1e91959a8268f2b72baaf069df6))
|
|
11
|
+
|
|
12
|
+
## 0.1.2 (2026-03-24)
|
|
13
|
+
|
|
14
|
+
Full Changelog: [v0.1.1...v0.1.2](https://github.com/Vitable-Inc/vitable-connect-typescript/compare/v0.1.1...v0.1.2)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* Add env ([d6160a5](https://github.com/Vitable-Inc/vitable-connect-typescript/commit/d6160a5f0eaafe65f738106224817040727849d5))
|
|
19
|
+
|
|
20
|
+
## 0.1.1 (2026-03-24)
|
|
21
|
+
|
|
22
|
+
Full Changelog: [v0.1.0...v0.1.1](https://github.com/Vitable-Inc/vitable-connect-typescript/compare/v0.1.0...v0.1.1)
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* Add package information and fix pagination bug ([9f5e26c](https://github.com/Vitable-Inc/vitable-connect-typescript/commit/9f5e26ca13505af462bb25d17b3f79d6015b8f34))
|
|
27
|
+
* change pnpm version ([57ff13c](https://github.com/Vitable-Inc/vitable-connect-typescript/commit/57ff13ce93be942f595912a58d02f7595419d968))
|
|
28
|
+
|
|
3
29
|
## 0.1.0 (2026-03-24)
|
|
4
30
|
|
|
5
31
|
Full Changelog: [v0.0.1...v0.1.0](https://github.com/Vitable-Inc/vitable-connect-typescript/compare/v0.0.1...v0.1.0)
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Vitable Connect TypeScript API Library
|
|
2
2
|
|
|
3
|
-
[>)](https://npmjs.org/package/vitable-connect) 
|
|
3
|
+
[>)](https://npmjs.org/package/@vitable-inc/vitable-connect) 
|
|
4
4
|
|
|
5
5
|
This library provides convenient access to the Vitable Connect REST API from server-side TypeScript or JavaScript.
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ It is generated with [Stainless](https://www.stainless.com/).
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
npm install vitable-connect
|
|
14
|
+
npm install @vitable-inc/vitable-connect
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Usage
|
|
@@ -20,7 +20,7 @@ The full API of this library can be found in [api.md](api.md).
|
|
|
20
20
|
|
|
21
21
|
<!-- prettier-ignore -->
|
|
22
22
|
```js
|
|
23
|
-
import VitableConnect from 'vitable-connect';
|
|
23
|
+
import VitableConnect from '@vitable-inc/vitable-connect';
|
|
24
24
|
|
|
25
25
|
const client = new VitableConnect({
|
|
26
26
|
apiKey: process.env['VITABLE_CONNECT_API_KEY'], // This is the default and can be omitted
|
|
@@ -38,7 +38,7 @@ This library includes TypeScript definitions for all request params and response
|
|
|
38
38
|
|
|
39
39
|
<!-- prettier-ignore -->
|
|
40
40
|
```ts
|
|
41
|
-
import VitableConnect from 'vitable-connect';
|
|
41
|
+
import VitableConnect from '@vitable-inc/vitable-connect';
|
|
42
42
|
|
|
43
43
|
const client = new VitableConnect({
|
|
44
44
|
apiKey: process.env['VITABLE_CONNECT_API_KEY'], // This is the default and can be omitted
|
|
@@ -201,7 +201,7 @@ The log level can be configured in two ways:
|
|
|
201
201
|
2. Using the `logLevel` client option (overrides the environment variable if set)
|
|
202
202
|
|
|
203
203
|
```ts
|
|
204
|
-
import VitableConnect from 'vitable-connect';
|
|
204
|
+
import VitableConnect from '@vitable-inc/vitable-connect';
|
|
205
205
|
|
|
206
206
|
const client = new VitableConnect({
|
|
207
207
|
logLevel: 'debug', // Show all log messages
|
|
@@ -229,7 +229,7 @@ When providing a custom logger, the `logLevel` option still controls which messa
|
|
|
229
229
|
below the configured level will not be sent to your logger.
|
|
230
230
|
|
|
231
231
|
```ts
|
|
232
|
-
import VitableConnect from 'vitable-connect';
|
|
232
|
+
import VitableConnect from '@vitable-inc/vitable-connect';
|
|
233
233
|
import pino from 'pino';
|
|
234
234
|
|
|
235
235
|
const logger = pino();
|
|
@@ -298,7 +298,7 @@ globalThis.fetch = fetch;
|
|
|
298
298
|
Or pass it to the client:
|
|
299
299
|
|
|
300
300
|
```ts
|
|
301
|
-
import VitableConnect from 'vitable-connect';
|
|
301
|
+
import VitableConnect from '@vitable-inc/vitable-connect';
|
|
302
302
|
import fetch from 'my-fetch';
|
|
303
303
|
|
|
304
304
|
const client = new VitableConnect({ fetch });
|
|
@@ -309,7 +309,7 @@ const client = new VitableConnect({ fetch });
|
|
|
309
309
|
If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
|
|
310
310
|
|
|
311
311
|
```ts
|
|
312
|
-
import VitableConnect from 'vitable-connect';
|
|
312
|
+
import VitableConnect from '@vitable-inc/vitable-connect';
|
|
313
313
|
|
|
314
314
|
const client = new VitableConnect({
|
|
315
315
|
fetchOptions: {
|
|
@@ -326,7 +326,7 @@ options to requests:
|
|
|
326
326
|
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
|
|
327
327
|
|
|
328
328
|
```ts
|
|
329
|
-
import VitableConnect from 'vitable-connect';
|
|
329
|
+
import VitableConnect from '@vitable-inc/vitable-connect';
|
|
330
330
|
import * as undici from 'undici';
|
|
331
331
|
|
|
332
332
|
const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
|
|
@@ -340,7 +340,7 @@ const client = new VitableConnect({
|
|
|
340
340
|
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
|
|
341
341
|
|
|
342
342
|
```ts
|
|
343
|
-
import VitableConnect from 'vitable-connect';
|
|
343
|
+
import VitableConnect from '@vitable-inc/vitable-connect';
|
|
344
344
|
|
|
345
345
|
const client = new VitableConnect({
|
|
346
346
|
fetchOptions: {
|
|
@@ -352,7 +352,7 @@ const client = new VitableConnect({
|
|
|
352
352
|
<img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
|
|
353
353
|
|
|
354
354
|
```ts
|
|
355
|
-
import VitableConnect from 'npm
|
|
355
|
+
import VitableConnect from 'npm:@vitable-inc/vitable-connect';
|
|
356
356
|
|
|
357
357
|
const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
|
|
358
358
|
const client = new VitableConnect({
|
package/package.json
CHANGED
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitable-inc/vitable-connect",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"private": false,
|
|
3
|
+
"version": "0.1.3",
|
|
5
4
|
"description": "The official TypeScript library for the Vitable Connect API",
|
|
6
|
-
"
|
|
7
|
-
|
|
5
|
+
"author": "Vitable Connect <dev@vitablehealth.com>",
|
|
6
|
+
"types": "./index.d.ts",
|
|
7
|
+
"main": "./index.js",
|
|
8
|
+
"type": "commonjs",
|
|
9
|
+
"repository": "github:Vitable-Inc/vitable-connect-typescript",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"files": [
|
|
12
|
+
"**/*"
|
|
8
13
|
],
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
14
|
+
"private": false,
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
12
17
|
},
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"
|
|
18
|
+
"dependencies": {},
|
|
19
|
+
"overrides": {
|
|
20
|
+
"minimatch": "^9.0.5"
|
|
21
|
+
},
|
|
22
|
+
"resolutions": {
|
|
23
|
+
"minimatch": "^9.0.5"
|
|
16
24
|
},
|
|
17
|
-
"license": "Apache-2.0",
|
|
18
|
-
"author": "Vitable Connect <dev@vitablehealth.com>",
|
|
19
|
-
"type": "commonjs",
|
|
20
25
|
"exports": {
|
|
21
26
|
".": {
|
|
22
27
|
"require": {
|
|
@@ -137,11 +142,6 @@
|
|
|
137
142
|
"default": "./version.mjs"
|
|
138
143
|
}
|
|
139
144
|
},
|
|
140
|
-
"main": "./index.js",
|
|
141
|
-
"types": "./index.d.ts",
|
|
142
|
-
"files": [
|
|
143
|
-
"**/*"
|
|
144
|
-
],
|
|
145
145
|
"scripts": {
|
|
146
146
|
"test": "./scripts/test",
|
|
147
147
|
"build": "./scripts/build",
|
|
@@ -149,20 +149,5 @@
|
|
|
149
149
|
"tsn": "ts-node -r tsconfig-paths/register",
|
|
150
150
|
"lint": "./scripts/lint",
|
|
151
151
|
"fix": "./scripts/format"
|
|
152
|
-
},
|
|
153
|
-
"publishConfig": {
|
|
154
|
-
"access": "public"
|
|
155
|
-
},
|
|
156
|
-
"overrides": {
|
|
157
|
-
"minimatch": "^9.0.5"
|
|
158
|
-
},
|
|
159
|
-
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
|
|
160
|
-
"pnpm": {
|
|
161
|
-
"overrides": {
|
|
162
|
-
"minimatch": "^9.0.5"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"resolutions": {
|
|
166
|
-
"minimatch": "^9.0.5"
|
|
167
152
|
}
|
|
168
|
-
}
|
|
153
|
+
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.
|
|
1
|
+
export const VERSION = '0.1.3'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.3";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.
|
|
1
|
+
export const VERSION = '0.1.3'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|