@liveblocks/core 2.11.0 → 2.11.1
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.d.mts +11 -6
- package/dist/index.d.ts +11 -6
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ var __export = (target, all) => {
|
|
|
6
6
|
|
|
7
7
|
// src/version.ts
|
|
8
8
|
var PKG_NAME = "@liveblocks/core";
|
|
9
|
-
var PKG_VERSION = "2.11.
|
|
9
|
+
var PKG_VERSION = "2.11.1";
|
|
10
10
|
var PKG_FORMAT = "esm";
|
|
11
11
|
|
|
12
12
|
// src/dupe-detection.ts
|
|
@@ -6619,7 +6619,15 @@ ${Array.from(traces).join("\n\n")}`
|
|
|
6619
6619
|
threads: [],
|
|
6620
6620
|
inboxNotifications: [],
|
|
6621
6621
|
nextCursor: null,
|
|
6622
|
-
|
|
6622
|
+
//
|
|
6623
|
+
// HACK
|
|
6624
|
+
// requestedAt needs to be a *server* timestamp here. However, on
|
|
6625
|
+
// this 404 error response, there is no such timestamp. So out of
|
|
6626
|
+
// pure necessity we'll fall back to a local timestamp instead (and
|
|
6627
|
+
// allow for a possible 6 hour clock difference between client and
|
|
6628
|
+
// server).
|
|
6629
|
+
//
|
|
6630
|
+
requestedAt: new Date(Date.now() - 6 * 60 * 60 * 1e3)
|
|
6623
6631
|
};
|
|
6624
6632
|
}
|
|
6625
6633
|
throw err;
|