@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/core.js CHANGED
@@ -6654,8 +6654,7 @@ var _TinyCloudNode = class _TinyCloudNode {
6654
6654
  stagedSessionExpiry = signedExpiry ?? persistedPolicyExpiry ?? persistedExpiry(void 0);
6655
6655
  }
6656
6656
  const restoreHints = this.explicitHost ? [this.explicitHost] : sessionData.tinycloudHosts ?? [];
6657
- const resolvedHost = this.config.replication?.enabled ? (await this.routingDestinations(sessionData.spaceId, "read", restoreHints))[0]?.url : void 0;
6658
- const stagedHost = resolvedHost ?? exactHttpOrigin2(restoreHints[0] ?? this.config.host, "restored host hint");
6657
+ const stagedHost = exactHttpOrigin2(restoreHints[0] ?? this.config.host, "restored host hint");
6659
6658
  let restoredNodeFeatures;
6660
6659
  let replicaProtocolMismatch = false;
6661
6660
  if (this.config.replication?.enabled) {