@phpsandbox/sdk 0.0.42 → 0.0.43

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.
@@ -1249,6 +1249,22 @@ var PHPSandbox = (() => {
1249
1249
  }
1250
1250
  };
1251
1251
 
1252
+ // src/config.ts
1253
+ var Config = class {
1254
+ constructor(okra) {
1255
+ this.okra = okra;
1256
+ }
1257
+ get() {
1258
+ return this.okra.invoke("config.get");
1259
+ }
1260
+ update(config) {
1261
+ return this.okra.invoke("config.update", { config });
1262
+ }
1263
+ setPorts(ports) {
1264
+ return this.okra.invoke("config.set-ports", { ports });
1265
+ }
1266
+ };
1267
+
1252
1268
  // node_modules/@msgpack/msgpack/dist.esm/utils/utf8.mjs
1253
1269
  function utf8Count(str) {
1254
1270
  const strLength = str.length;
@@ -5274,6 +5290,7 @@ var PHPSandbox = (() => {
5274
5290
  this.shell = new Shell(this);
5275
5291
  this.git = new Git(this);
5276
5292
  this.services = new Services(this);
5293
+ this.config = new Config(this);
5277
5294
  this.secrets = new NotebookSecrets(client, this.data.id);
5278
5295
  this.preview = new NotebookPreview(client, this.data.id);
5279
5296
  this.mail = new NotebookMail(client, this.data.id);