@tinycloud/node-sdk 3.12.0-beta.3 → 3.12.0-beta.4

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.cjs CHANGED
@@ -24401,8 +24401,7 @@ var _TinyCloudNode = class _TinyCloudNode {
24401
24401
  stagedSessionExpiry = signedExpiry ?? persistedPolicyExpiry ?? persistedExpiry(void 0);
24402
24402
  }
24403
24403
  const restoreHints = this.explicitHost ? [this.explicitHost] : sessionData.tinycloudHosts ?? [];
24404
- const resolvedHost = this.config.replication?.enabled ? (await this.routingDestinations(sessionData.spaceId, "read", restoreHints))[0]?.url : void 0;
24405
- const stagedHost = resolvedHost ?? (0, import_sdk_core10.exactHttpOrigin)(restoreHints[0] ?? this.config.host, "restored host hint");
24404
+ const stagedHost = (0, import_sdk_core10.exactHttpOrigin)(restoreHints[0] ?? this.config.host, "restored host hint");
24406
24405
  let restoredNodeFeatures;
24407
24406
  let replicaProtocolMismatch = false;
24408
24407
  if (this.config.replication?.enabled) {