@phpsandbox/sdk 0.0.40 → 0.0.41
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/browser/phpsandbox-sdk.esm.js +2 -19
- package/dist/browser/phpsandbox-sdk.esm.js.map +2 -2
- package/dist/browser/phpsandbox-sdk.esm.min.js +2 -2
- package/dist/browser/phpsandbox-sdk.esm.min.js.map +3 -3
- package/dist/browser/phpsandbox-sdk.iife.js +2 -19
- package/dist/browser/phpsandbox-sdk.iife.js.map +2 -2
- package/dist/browser/phpsandbox-sdk.iife.min.js +2 -2
- package/dist/browser/phpsandbox-sdk.iife.min.js.map +3 -3
- package/dist/index.d.ts +0 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -17
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -337,8 +337,6 @@ var PHPSandbox = (() => {
|
|
|
337
337
|
NotebookMailApi: () => NotebookMailApi,
|
|
338
338
|
NotebookPreview: () => NotebookPreview,
|
|
339
339
|
NotebookPreviewApi: () => NotebookPreviewApi,
|
|
340
|
-
NotebookPreviewAuth: () => NotebookPreviewAuth,
|
|
341
|
-
NotebookPreviewAuthApi: () => NotebookPreviewAuthApi,
|
|
342
340
|
NotebookSecretApi: () => NotebookSecretApi,
|
|
343
341
|
NotebookSecrets: () => NotebookSecrets,
|
|
344
342
|
NotebookState: () => NotebookState,
|
|
@@ -5067,8 +5065,7 @@ var PHPSandbox = (() => {
|
|
|
5067
5065
|
constructor(client) {
|
|
5068
5066
|
this.client = client;
|
|
5069
5067
|
this.secrets = new NotebookSecretApi(client);
|
|
5070
|
-
this.
|
|
5071
|
-
this.preview = this.previewAuth;
|
|
5068
|
+
this.preview = new NotebookPreviewApi(client);
|
|
5072
5069
|
this.mail = new NotebookMailApi(client);
|
|
5073
5070
|
}
|
|
5074
5071
|
async create(template, input = {}, init = true) {
|
|
@@ -5200,14 +5197,6 @@ var PHPSandbox = (() => {
|
|
|
5200
5197
|
return response.data;
|
|
5201
5198
|
}
|
|
5202
5199
|
};
|
|
5203
|
-
var NotebookPreviewAuthApi = class extends NotebookPreviewApi {
|
|
5204
|
-
set(id, input) {
|
|
5205
|
-
return this.setPassword(id, input);
|
|
5206
|
-
}
|
|
5207
|
-
delete(id) {
|
|
5208
|
-
return this.disable(id);
|
|
5209
|
-
}
|
|
5210
|
-
};
|
|
5211
5200
|
var NotebookMailApi = class {
|
|
5212
5201
|
constructor(client) {
|
|
5213
5202
|
this.client = client;
|
|
@@ -5267,8 +5256,7 @@ var PHPSandbox = (() => {
|
|
|
5267
5256
|
this.git = new Git(this);
|
|
5268
5257
|
this.services = new Services(this);
|
|
5269
5258
|
this.secrets = new NotebookSecrets(client, this.data.id);
|
|
5270
|
-
this.
|
|
5271
|
-
this.preview = this.previewAuth;
|
|
5259
|
+
this.preview = new NotebookPreview(client, this.data.id);
|
|
5272
5260
|
this.mail = new NotebookMail(client, this.data.id);
|
|
5273
5261
|
}
|
|
5274
5262
|
async ready() {
|
|
@@ -5467,11 +5455,6 @@ var PHPSandbox = (() => {
|
|
|
5467
5455
|
return this.client.notebook.preview.createHandoff(this.notebookId, input);
|
|
5468
5456
|
}
|
|
5469
5457
|
};
|
|
5470
|
-
var NotebookPreviewAuth = class extends NotebookPreview {
|
|
5471
|
-
set(input) {
|
|
5472
|
-
return this.setPassword(input);
|
|
5473
|
-
}
|
|
5474
|
-
};
|
|
5475
5458
|
var NotebookMail = class {
|
|
5476
5459
|
constructor(client, notebookId) {
|
|
5477
5460
|
this.client = client;
|