@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.js CHANGED
@@ -24440,8 +24440,7 @@ var _TinyCloudNode = class _TinyCloudNode {
24440
24440
  stagedSessionExpiry = signedExpiry ?? persistedPolicyExpiry ?? persistedExpiry(void 0);
24441
24441
  }
24442
24442
  const restoreHints = this.explicitHost ? [this.explicitHost] : sessionData.tinycloudHosts ?? [];
24443
- const resolvedHost = this.config.replication?.enabled ? (await this.routingDestinations(sessionData.spaceId, "read", restoreHints))[0]?.url : void 0;
24444
- const stagedHost = resolvedHost ?? exactHttpOrigin2(restoreHints[0] ?? this.config.host, "restored host hint");
24443
+ const stagedHost = exactHttpOrigin2(restoreHints[0] ?? this.config.host, "restored host hint");
24445
24444
  let restoredNodeFeatures;
24446
24445
  let replicaProtocolMismatch = false;
24447
24446
  if (this.config.replication?.enabled) {