@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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. 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.timestampNsStr);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/observable-web",
3
- "version": "1.0.1-alpha.8",
3
+ "version": "1.0.1-alpha.9",
4
4
  "description": "Observable SDK For Web",
5
5
  "main": "./dist/index.js",
6
6
  "files": [