@phpsandbox/sdk 0.1.12 → 0.1.14
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/LICENSE +1 -1
- package/README.md +7 -18
- package/dist/browser/phpsandbox-sdk.esm.js +7 -3
- package/dist/browser/phpsandbox-sdk.esm.min.js +7 -7
- package/dist/browser/phpsandbox-sdk.iife.js +7 -3
- package/dist/browser/phpsandbox-sdk.iife.min.js +7 -7
- package/dist/index.d.ts +21 -5
- package/dist/index.js +5 -2
- package/dist/{integrations.d.ts → integrations/account.d.ts} +1 -1
- package/dist/integrations/index.d.ts +2 -0
- package/dist/integrations/index.js +2 -0
- package/dist/{sandbox-integrations.d.ts → integrations/sandbox.d.ts} +2 -2
- package/dist/{sandbox-integrations.js → integrations/sandbox.js} +1 -1
- package/dist/log.d.ts +1 -1
- package/dist/log.js +1 -1
- package/dist/metrics.d.ts +1 -1
- package/dist/metrics.js +1 -1
- package/dist/ports.d.ts +1 -1
- package/dist/ports.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +5 -9
- package/docs/api-summary.md +0 -181
- package/docs/cdn-usage.md +0 -68
- package/docs/getting-started.md +0 -169
- package/examples/README.md +0 -203
- package/examples/basic.ts +0 -15
- package/examples/get.ts +0 -22
- package/examples/git-merge-smoke.ts +0 -395
- package/examples/laravel-load-test.ts +0 -2800
- package/examples/notebook-readonly-smoke.ts +0 -806
- package/examples/publication-provider-label.ts +0 -11
- package/examples/publish-cloudflare-container.ts +0 -65
- package/examples/publish-laravel-cloud.ts +0 -123
- package/examples/publish-ssh-agent.ts +0 -211
- /package/dist/{integrations.js → integrations/account.js} +0 -0
- /package/dist/{runtime-telemetry.d.ts → telemetry.d.ts} +0 -0
- /package/dist/{runtime-telemetry.js → telemetry.js} +0 -0
|
@@ -1067,7 +1067,7 @@ var PHPSandbox = (() => {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
};
|
|
1069
1069
|
|
|
1070
|
-
// src/
|
|
1070
|
+
// src/telemetry.ts
|
|
1071
1071
|
var RuntimeTelemetry = class {
|
|
1072
1072
|
constructor(okra) {
|
|
1073
1073
|
this.okra = okra;
|
|
@@ -19762,7 +19762,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19762
19762
|
}
|
|
19763
19763
|
};
|
|
19764
19764
|
|
|
19765
|
-
// src/integrations.ts
|
|
19765
|
+
// src/integrations/account.ts
|
|
19766
19766
|
var IntegrationApi = class {
|
|
19767
19767
|
constructor(client) {
|
|
19768
19768
|
this.client = client;
|
|
@@ -19809,7 +19809,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19809
19809
|
return typeof integration === "string" ? integration : integration.id;
|
|
19810
19810
|
}
|
|
19811
19811
|
|
|
19812
|
-
// src/sandbox
|
|
19812
|
+
// src/integrations/sandbox.ts
|
|
19813
19813
|
var SandboxIntegrationApi = class {
|
|
19814
19814
|
constructor(notebookId, client) {
|
|
19815
19815
|
this.notebookId = notebookId;
|
|
@@ -19884,6 +19884,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19884
19884
|
constructor(client) {
|
|
19885
19885
|
this.client = client;
|
|
19886
19886
|
}
|
|
19887
|
+
async inspectImport(input) {
|
|
19888
|
+
const response = await this.client.post("/notebook/imports/inspect", input);
|
|
19889
|
+
return response.data;
|
|
19890
|
+
}
|
|
19887
19891
|
async create(template, input = {}) {
|
|
19888
19892
|
const response = await this.client.post("/notebook", { template, ...input });
|
|
19889
19893
|
return new NotebookInstance(response.data, this.client);
|