@phpsandbox/sdk 0.0.63 → 0.0.65
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 +1 -0
- package/dist/browser/phpsandbox-sdk.esm.js +9 -8
- package/dist/browser/phpsandbox-sdk.esm.min.js +7 -7
- package/dist/browser/phpsandbox-sdk.iife.js +9 -8
- package/dist/browser/phpsandbox-sdk.iife.min.js +7 -7
- package/dist/git.d.ts +1 -0
- package/dist/index.d.ts +13 -2
- package/dist/index.js +9 -8
- package/examples/deploy-cloudflare-container.ts +2 -1
- package/examples/deploy-laravel-cloud.ts +2 -1
- package/examples/deploy-ssh-agent.ts +2 -1
- package/examples/deployment-provider-label.ts +11 -0
- package/examples/laravel-load-test.ts +2 -8
- package/package.json +1 -1
|
@@ -20112,8 +20112,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
20112
20112
|
constructor(client) {
|
|
20113
20113
|
this.client = client;
|
|
20114
20114
|
}
|
|
20115
|
-
async get(id) {
|
|
20116
|
-
const
|
|
20115
|
+
async get(id, url2) {
|
|
20116
|
+
const query = url2 === void 0 ? "" : `?${new URLSearchParams({ url: url2 }).toString()}`;
|
|
20117
|
+
const response = await this.client.get(`/notebook/${id}/preview${query}`);
|
|
20117
20118
|
return response.data;
|
|
20118
20119
|
}
|
|
20119
20120
|
async setPassword(id, input) {
|
|
@@ -20123,8 +20124,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
20123
20124
|
async disable(id) {
|
|
20124
20125
|
await this.client.delete(`/notebook/${id}/preview`);
|
|
20125
20126
|
}
|
|
20126
|
-
async createSession(id) {
|
|
20127
|
-
const response = await this.client.post(`/notebook/${id}/preview/session
|
|
20127
|
+
async createSession(id, input) {
|
|
20128
|
+
const response = await this.client.post(`/notebook/${id}/preview/session`, input);
|
|
20128
20129
|
return response.data;
|
|
20129
20130
|
}
|
|
20130
20131
|
async createHandoff(id, input) {
|
|
@@ -20403,8 +20404,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
20403
20404
|
this.client = client;
|
|
20404
20405
|
this.notebookId = notebookId;
|
|
20405
20406
|
}
|
|
20406
|
-
get() {
|
|
20407
|
-
return this.client.notebook.preview.get(this.notebookId);
|
|
20407
|
+
get(url2) {
|
|
20408
|
+
return this.client.notebook.preview.get(this.notebookId, url2);
|
|
20408
20409
|
}
|
|
20409
20410
|
setPassword(input) {
|
|
20410
20411
|
return this.client.notebook.preview.setPassword(this.notebookId, input);
|
|
@@ -20412,8 +20413,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
20412
20413
|
disable() {
|
|
20413
20414
|
return this.client.notebook.preview.disable(this.notebookId);
|
|
20414
20415
|
}
|
|
20415
|
-
createSession() {
|
|
20416
|
-
return this.client.notebook.preview.createSession(this.notebookId);
|
|
20416
|
+
createSession(input) {
|
|
20417
|
+
return this.client.notebook.preview.createSession(this.notebookId, input);
|
|
20417
20418
|
}
|
|
20418
20419
|
createHandoff(input) {
|
|
20419
20420
|
return this.client.notebook.preview.createHandoff(this.notebookId, input);
|