@llmsafespaces/sdk 0.25.7 → 0.27.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/dist/index.cjs +4 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -339,7 +339,10 @@ var WorkspacesAPI = class {
|
|
|
339
339
|
);
|
|
340
340
|
}
|
|
341
341
|
reloadSecrets(id) {
|
|
342
|
-
return this.client.request(
|
|
342
|
+
return this.client.request(
|
|
343
|
+
"POST",
|
|
344
|
+
`/workspaces/${id}/reload-secrets`
|
|
345
|
+
);
|
|
343
346
|
}
|
|
344
347
|
setModel(id, model) {
|
|
345
348
|
return this.client.request("PUT", `/workspaces/${id}/model`, { model });
|
package/dist/index.d.cts
CHANGED
|
@@ -417,7 +417,8 @@ declare class WorkspacesAPI {
|
|
|
417
417
|
}>;
|
|
418
418
|
}>;
|
|
419
419
|
reloadSecrets(id: string): Promise<{
|
|
420
|
-
|
|
420
|
+
status: "applied" | "not_modified";
|
|
421
|
+
appliedRev: string;
|
|
421
422
|
restarted: boolean;
|
|
422
423
|
}>;
|
|
423
424
|
setModel(id: string, model: string): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -417,7 +417,8 @@ declare class WorkspacesAPI {
|
|
|
417
417
|
}>;
|
|
418
418
|
}>;
|
|
419
419
|
reloadSecrets(id: string): Promise<{
|
|
420
|
-
|
|
420
|
+
status: "applied" | "not_modified";
|
|
421
|
+
appliedRev: string;
|
|
421
422
|
restarted: boolean;
|
|
422
423
|
}>;
|
|
423
424
|
setModel(id: string, model: string): Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -305,7 +305,10 @@ var WorkspacesAPI = class {
|
|
|
305
305
|
);
|
|
306
306
|
}
|
|
307
307
|
reloadSecrets(id) {
|
|
308
|
-
return this.client.request(
|
|
308
|
+
return this.client.request(
|
|
309
|
+
"POST",
|
|
310
|
+
`/workspaces/${id}/reload-secrets`
|
|
311
|
+
);
|
|
309
312
|
}
|
|
310
313
|
setModel(id, model) {
|
|
311
314
|
return this.client.request("PUT", `/workspaces/${id}/model`, { model });
|