@lark-apaas/observable-web 1.0.1-alpha.8 → 1.0.1-alpha.9
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1400,7 +1400,7 @@ var _WebObservableSdk = class _WebObservableSdk {
|
|
|
1400
1400
|
const end = Date.now();
|
|
1401
1401
|
const rtt = end - start;
|
|
1402
1402
|
const serverTimeRes = yield response.json();
|
|
1403
|
-
const serverTimeNs = BigInt(serverTimeRes.data.
|
|
1403
|
+
const serverTimeNs = BigInt(serverTimeRes.data.timestampNs);
|
|
1404
1404
|
if (serverTimeNs) {
|
|
1405
1405
|
const clientTimeMs = start + rtt / 2;
|
|
1406
1406
|
const clientTimeNs = BigInt(Math.round(clientTimeMs)) * BigInt(1e6);
|