@phpsandbox/sdk 0.0.67 → 0.0.68

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 CHANGED
@@ -103,7 +103,7 @@ Notes:
103
103
  - `create()` and `fork()` initialize automatically.
104
104
  - `open()` and `get()` return a notebook instance; call `await notebook.ready()` before using tools.
105
105
  - API notebook creates and forks are ephemeral by default. `persistent: true` requires an entitled account.
106
- - Use `NotebookData.runtimeUrl`, `runtimeUrlProvider`, and `DeploymentData.eventStreamUrl` for runtime access. Their `okraUrl` and `okraUrlProvider` aliases are deprecated compatibility fields.
106
+ - Use `NotebookData.runtimeUrl`, `runtimeUrlProvider`, and `DeploymentData.eventStreamUrl` for runtime access.
107
107
 
108
108
  ## Services At A Glance
109
109
 
@@ -19441,7 +19441,7 @@ var DeploymentRun = class {
19441
19441
  if (this.started) {
19442
19442
  return this;
19443
19443
  }
19444
- const eventStreamUrl = this.initial.data.eventStreamUrl ?? this.initial.data.okraUrl;
19444
+ const eventStreamUrl = this.initial.data.eventStreamUrl;
19445
19445
  if (!eventStreamUrl) {
19446
19446
  throw new Error(`Deployment ${this.initial.data.id} has no eventStreamUrl for SSE streaming`);
19447
19447
  }
@@ -19869,7 +19869,7 @@ var RestRuntimeInvoker = class {
19869
19869
  this.refresh = refresh;
19870
19870
  this.refreshPromise = null;
19871
19871
  this.notebookId = data.id;
19872
- this.configure(data.runtimeUrl ?? data.okraUrl);
19872
+ this.configure(data.runtimeUrl);
19873
19873
  }
19874
19874
  configure(runtimeUrl) {
19875
19875
  const actionUrl = new URL(runtimeUrl);
@@ -20336,8 +20336,7 @@ var NotebookInstance2 = class {
20336
20336
  this.initialized = false;
20337
20337
  __privateAdd(this, _initPromise, null);
20338
20338
  this.disposables = [];
20339
- const runtimeUrl = data.runtimeUrl ?? data.okraUrl;
20340
- const runtimeUrlProvider = client.options.runtimeUrlProvider ?? client.options.okraUrlProvider;
20339
+ const runtimeUrlProvider = client.options.runtimeUrlProvider;
20341
20340
  this.emitter = EventManager.createInstance();
20342
20341
  if (client.runtimeTransport === "rest") {
20343
20342
  this.socket = null;
@@ -20349,10 +20348,10 @@ var NotebookInstance2 = class {
20349
20348
  } else {
20350
20349
  this.restInvoker = null;
20351
20350
  let initialConnection = true;
20352
- const connectionUrl = runtimeUrlProvider === void 0 ? runtimeUrl : async () => {
20351
+ const connectionUrl = runtimeUrlProvider === void 0 ? data.runtimeUrl : async () => {
20353
20352
  if (initialConnection) {
20354
20353
  initialConnection = false;
20355
- return runtimeUrl;
20354
+ return data.runtimeUrl;
20356
20355
  }
20357
20356
  return runtimeUrlProvider(data.id);
20358
20357
  };