@phpsandbox/sdk 0.6.0-canary.4 → 0.6.0-canary.5
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 +6 -2
- package/dist/browser/phpsandbox-sdk.esm.min.js +7 -7
- package/dist/browser/phpsandbox-sdk.iife.js +6 -2
- package/dist/browser/phpsandbox-sdk.iife.min.js +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/servers.d.ts +28 -1
- package/dist/servers.js +6 -2
- package/package.json +1 -1
|
@@ -20251,8 +20251,12 @@ var ServerInstance = class {
|
|
|
20251
20251
|
this.data = data;
|
|
20252
20252
|
this.client = client;
|
|
20253
20253
|
}
|
|
20254
|
-
async
|
|
20255
|
-
return (await this.client.
|
|
20254
|
+
async updateAgent(input) {
|
|
20255
|
+
return (await this.client.post(`/servers/${encodeURIComponent(this.data.id)}/agent/updates`, input)).data;
|
|
20256
|
+
}
|
|
20257
|
+
async installation(options = {}) {
|
|
20258
|
+
const query = options.managedUpdates ? "?managedUpdates=1" : "";
|
|
20259
|
+
return (await this.client.get(`/servers/${encodeURIComponent(this.data.id)}/installation${query}`)).data;
|
|
20256
20260
|
}
|
|
20257
20261
|
async members(options = {}) {
|
|
20258
20262
|
const query = options.page === void 0 ? "" : `?${new URLSearchParams({ page: String(options.page) }).toString()}`;
|