@sippulse/niva-sdk 0.2.1 → 0.3.0
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/README.md +2 -8
- package/chat.js +1 -1
- package/{chunk-3w2v383z.js → chunk-92drxxs4.js} +209 -199
- package/{chunk-50ad2r7x.js → chunk-xnm3475q.js} +0 -2
- package/dts/src/errors.d.ts +0 -2
- package/dts/src/generated/client.d.ts +20 -2
- package/dts/src/generated/meta.d.ts +1 -7
- package/dts/src/generated/operations.d.ts +310 -82
- package/index.bun.js +2 -2
- package/index.default.js +2 -2
- package/index.deno.js +2 -2
- package/index.node.js +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -14,11 +14,7 @@ It ships a typed client generated from the NIVA `/api/v1` contract (no runtime d
|
|
|
14
14
|
npm i @sippulse/niva-sdk
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
npm i @sippulse/niva-sdk@niva-2.0
|
|
21
|
-
```
|
|
17
|
+
`latest` tracks the newest stable SDK and `next` the prerelease. The SDK version is independent of the NIVA version. Every published version serves NIVA 2.0 and later.
|
|
22
18
|
|
|
23
19
|
## Quick start
|
|
24
20
|
|
|
@@ -190,9 +186,7 @@ chat.send("Hello");
|
|
|
190
186
|
|
|
191
187
|
The SDK is generated from, and handshakes against, the server `/api/v1` contract.
|
|
192
188
|
|
|
193
|
-
|
|
194
|
-
|-------------|--------------|--------------|
|
|
195
|
-
| 0.1.x | 2.0.x | `niva-2.0` |
|
|
189
|
+
Every published version serves NIVA 2.0 and later.
|
|
196
190
|
|
|
197
191
|
## Runtime support
|
|
198
192
|
|