@tscircuit/core 0.0.306 → 0.0.307
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/index.js +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3820,11 +3820,12 @@ var Group = class extends NormalComponent {
|
|
|
3820
3820
|
async _runEffectMakeHttpAutoroutingRequest() {
|
|
3821
3821
|
const debug4 = Debug5("tscircuit:core:_runEffectMakeHttpAutoroutingRequest");
|
|
3822
3822
|
const props = this._parsedProps;
|
|
3823
|
+
const autorouterPropObj = typeof props.autorouter === "object" ? props.autorouter : {};
|
|
3823
3824
|
const autoroutingOptions = {
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3825
|
+
...autorouterPropObj,
|
|
3826
|
+
serverUrl: autorouterPropObj.serverUrl ?? "https://registry-api.tscircuit.com",
|
|
3827
|
+
serverMode: autorouterPropObj.serverMode ?? "job",
|
|
3828
|
+
serverCacheEnabled: autorouterPropObj.serverCacheEnabled ?? false
|
|
3828
3829
|
};
|
|
3829
3830
|
const serverUrl = autoroutingOptions.serverUrl;
|
|
3830
3831
|
const serverMode = autoroutingOptions.serverMode;
|