@rebasepro/client 0.34.1 → 0.35.0

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.
@@ -905,7 +905,7 @@ function readRecord(storage, key) {
905
905
  */
906
906
  function browserLeaseStorage() {
907
907
  try {
908
- if (typeof localStorage === "undefined") return void 0;
908
+ if (typeof window === "undefined" || typeof localStorage === "undefined") return void 0;
909
909
  const storage = localStorage;
910
910
  const probe = "rebase-lease-probe";
911
911
  storage.setItem(probe, "1");
@@ -3615,4 +3615,4 @@ var OfflineManager = class {
3615
3615
  //#endregion
3616
3616
  export { OfflineManager };
3617
3617
 
3618
- //# sourceMappingURL=offline-ET6xI1ZO.js.map
3618
+ //# sourceMappingURL=offline-DSkf2JrL.js.map