@reearth/core 0.0.7-alpha.46 → 0.0.7-alpha.47
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/core.js +2 -2
- package/dist/core.umd.cjs +2 -2
- package/package.json +1 -1
- package/src/Map/useTimelineManager.ts +1 -1
package/dist/core.js
CHANGED
|
@@ -1213,7 +1213,7 @@ const useDelayedCount = (t = []) => {
|
|
|
1213
1213
|
multiplier: (t == null ? void 0 : t.stepType) === "fixed" ? (t == null ? void 0 : t.step) ?? 1 : (t == null ? void 0 : t.multiplier) ?? 1,
|
|
1214
1214
|
rangeType: (t == null ? void 0 : t.rangeType) ?? "unbounded"
|
|
1215
1215
|
}), p = useMemo(() => {
|
|
1216
|
-
const { start: Pe, stop: se, current: mt } = s, kt = Pe.getTime(), mn = se.getTime(), _i = mt.getTime(), zi = kt > _i ? _i : kt, Sa = mn
|
|
1216
|
+
const { start: Pe, stop: se, current: mt } = s, kt = Pe.getTime(), mn = se.getTime(), _i = mt.getTime(), zi = kt > _i ? _i : kt, Sa = mn < _i ? _i + DEFAULT_RANGE : mn;
|
|
1217
1217
|
return {
|
|
1218
1218
|
start: new Date(zi),
|
|
1219
1219
|
stop: new Date(Sa),
|
|
@@ -91435,7 +91435,7 @@ function Error$1({ error: t, resetErrorBoundary: n }) {
|
|
|
91435
91435
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("button", { style: { color: "#fff" }, onClick: n, children: "Retry" }) })
|
|
91436
91436
|
] });
|
|
91437
91437
|
}
|
|
91438
|
-
const version = "0.0.7-alpha.
|
|
91438
|
+
const version = "0.0.7-alpha.47", useCoreAPI = ({ viewerProperty: t }) => {
|
|
91439
91439
|
const n = useRef(t);
|
|
91440
91440
|
n.current = t;
|
|
91441
91441
|
const o = useMemo(
|