@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.
- package/dist/admin.d.ts +4 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.es.js +134 -12
- package/dist/index.es.js.map +1 -1
- package/dist/{offline-ET6xI1ZO.js → offline-DSkf2JrL.js} +2 -2
- package/dist/offline-DSkf2JrL.js.map +1 -0
- package/dist/rpc.d.ts +19 -0
- package/dist/websocket.d.ts +48 -0
- package/package.json +4 -4
- package/dist/offline-ET6xI1ZO.js.map +0 -1
|
@@ -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-
|
|
3618
|
+
//# sourceMappingURL=offline-DSkf2JrL.js.map
|