@runtypelabs/sdk 1.11.0 → 1.12.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 +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.mjs +12 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4211,6 +4211,18 @@ var ToolsEndpoint = class {
|
|
|
4211
4211
|
async cleanupSandbox(sandboxId) {
|
|
4212
4212
|
return this.client.delete(`/tools/sandbox/${sandboxId}`);
|
|
4213
4213
|
}
|
|
4214
|
+
/**
|
|
4215
|
+
* Deploy code to a persistent Cloudflare Shell Dynamic Worker and get a preview URL
|
|
4216
|
+
*/
|
|
4217
|
+
async deployCfShell(data) {
|
|
4218
|
+
return this.client.post("/tools/sandbox/cf-shell/deploy", data);
|
|
4219
|
+
}
|
|
4220
|
+
/**
|
|
4221
|
+
* Cleanup a deployed Cloudflare Shell Dynamic Worker
|
|
4222
|
+
*/
|
|
4223
|
+
async cleanupCfShell(workerId) {
|
|
4224
|
+
return this.client.delete(`/tools/sandbox/cf-shell/${workerId}`);
|
|
4225
|
+
}
|
|
4214
4226
|
};
|
|
4215
4227
|
var EvalEndpoint = class {
|
|
4216
4228
|
constructor(client) {
|