@tryvira/sdk 0.1.29 → 0.1.30
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/dist/index.js +7 -0
- package/dist/js-client.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -257,6 +257,13 @@ var ViraClient = class {
|
|
|
257
257
|
path: `/v1/connections/${encodeURIComponent(connectionId)}/health`
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
|
+
getConnection(connectionId) {
|
|
261
|
+
required(connectionId, "SDK_CONNECTION_ID_REQUIRED");
|
|
262
|
+
return this.request({
|
|
263
|
+
method: "GET",
|
|
264
|
+
path: `/v1/connections/${encodeURIComponent(connectionId)}`
|
|
265
|
+
});
|
|
266
|
+
}
|
|
260
267
|
listSystemConnections(systemId) {
|
|
261
268
|
required(systemId, "SDK_SYSTEM_ID_REQUIRED");
|
|
262
269
|
return this.request({
|
package/dist/js-client.d.ts
CHANGED
|
@@ -224,6 +224,7 @@ export declare class ViraClient {
|
|
|
224
224
|
idempotencyKey?: string;
|
|
225
225
|
}): Promise<ViraResponse<ClientBody> | null>;
|
|
226
226
|
connectionHealth(connectionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
227
|
+
getConnection(connectionId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
227
228
|
listSystemConnections(systemId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
228
229
|
inventory(systemId: string): Promise<ViraResponse<ClientBody> | null>;
|
|
229
230
|
listPacks(): Promise<ViraResponse<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryvira/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30",
|
|
4
4
|
"description": "Typed Vira SDK for connect-once, observation and governed runtime execution.",
|
|
5
5
|
"keywords": ["vira", "ai-governance", "ai-runtime", "semantic-routing"],
|
|
6
6
|
"engines": {"node": ">=20"},
|