@warkypublic/oranguru 0.0.47 → 0.0.48

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/lib.es.js CHANGED
@@ -3844,7 +3844,7 @@ function Ar(r) {
3844
3844
  }
3845
3845
  return [];
3846
3846
  },
3847
- [r.url, r.authtoken, r.filter, r.options, t, n]
3847
+ [r.url, r.authtoken, r.filter, JSON.stringify(r.options), t, n]
3848
3848
  );
3849
3849
  return R(() => {
3850
3850
  e("useAPIQuery", i), e("askAPIRowNumber", a);
@@ -4193,9 +4193,15 @@ const Mt = $.memo(() => {
4193
4193
  c("refreshCells")?.();
4194
4194
  });
4195
4195
  }, [i]), R(() => {
4196
- t && (r.current > 0 || (r.current = 1, m(0).then(() => {
4197
- c("refreshCells")?.();
4198
- })));
4196
+ if (t) {
4197
+ if (r.current > 0) {
4198
+ c("refreshCells")?.();
4199
+ return;
4200
+ }
4201
+ r.current = 1, m(0).then(() => {
4202
+ c("refreshCells")?.();
4203
+ });
4204
+ }
4199
4205
  }, [g, m]), R(() => {
4200
4206
  const w = c("_events"), S = () => {
4201
4207
  const E = c("selectFirstRowOnMount");
@@ -4443,7 +4449,7 @@ const Lr = (r) => `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" w
4443
4449
  columns: D ?? [],
4444
4450
  columnSelect: "none",
4445
4451
  drawFocusRing: !0,
4446
- height: e ?? 400,
4452
+ height: e || 400,
4447
4453
  overscrollX: 16,
4448
4454
  overscrollY: 32,
4449
4455
  rangeSelect: i ? "multi-rect" : "cell",
@@ -4507,7 +4513,7 @@ const Lr = (r) => `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" w
4507
4513
  rowHeight: P ?? 22,
4508
4514
  rows: J ?? 0,
4509
4515
  theme: G.gridTheme,
4510
- width: n ?? 200
4516
+ width: n || 200
4511
4517
  }
4512
4518
  ),
4513
4519
  /* @__PURE__ */ d.jsx(Mt, {}),