@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 +1 -1
- package/dist/browser/phpsandbox-sdk.esm.js +5 -6
- package/dist/browser/phpsandbox-sdk.esm.min.js +2 -2
- package/dist/browser/phpsandbox-sdk.iife.js +5 -6
- package/dist/browser/phpsandbox-sdk.iife.min.js +2 -2
- package/dist/deployments.d.ts +1 -3
- package/dist/deployments.js +1 -1
- package/dist/index.d.ts +1 -5
- package/dist/index.js +3 -4
- package/dist/runtime/rest.js +1 -1
- package/examples/laravel-load-test.ts +1 -1
- package/examples/notebook-readonly-smoke.ts +3 -3
- package/package.json +1 -1
|
@@ -19535,7 +19535,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19535
19535
|
if (this.started) {
|
|
19536
19536
|
return this;
|
|
19537
19537
|
}
|
|
19538
|
-
const eventStreamUrl = this.initial.data.eventStreamUrl
|
|
19538
|
+
const eventStreamUrl = this.initial.data.eventStreamUrl;
|
|
19539
19539
|
if (!eventStreamUrl) {
|
|
19540
19540
|
throw new Error(`Deployment ${this.initial.data.id} has no eventStreamUrl for SSE streaming`);
|
|
19541
19541
|
}
|
|
@@ -19963,7 +19963,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
19963
19963
|
this.refresh = refresh;
|
|
19964
19964
|
this.refreshPromise = null;
|
|
19965
19965
|
this.notebookId = data.id;
|
|
19966
|
-
this.configure(data.runtimeUrl
|
|
19966
|
+
this.configure(data.runtimeUrl);
|
|
19967
19967
|
}
|
|
19968
19968
|
configure(runtimeUrl) {
|
|
19969
19969
|
const actionUrl = new URL(runtimeUrl);
|
|
@@ -20430,8 +20430,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
20430
20430
|
this.initialized = false;
|
|
20431
20431
|
__privateAdd(this, _initPromise, null);
|
|
20432
20432
|
this.disposables = [];
|
|
20433
|
-
const
|
|
20434
|
-
const runtimeUrlProvider = client.options.runtimeUrlProvider ?? client.options.okraUrlProvider;
|
|
20433
|
+
const runtimeUrlProvider = client.options.runtimeUrlProvider;
|
|
20435
20434
|
this.emitter = EventManager.createInstance();
|
|
20436
20435
|
if (client.runtimeTransport === "rest") {
|
|
20437
20436
|
this.socket = null;
|
|
@@ -20443,10 +20442,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
20443
20442
|
} else {
|
|
20444
20443
|
this.restInvoker = null;
|
|
20445
20444
|
let initialConnection = true;
|
|
20446
|
-
const connectionUrl = runtimeUrlProvider === void 0 ? runtimeUrl : async () => {
|
|
20445
|
+
const connectionUrl = runtimeUrlProvider === void 0 ? data.runtimeUrl : async () => {
|
|
20447
20446
|
if (initialConnection) {
|
|
20448
20447
|
initialConnection = false;
|
|
20449
|
-
return runtimeUrl;
|
|
20448
|
+
return data.runtimeUrl;
|
|
20450
20449
|
}
|
|
20451
20450
|
return runtimeUrlProvider(data.id);
|
|
20452
20451
|
};
|