@rainlanguage/ui-components 0.0.1-alpha.224 → 0.0.1-alpha.226

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.
@@ -88,7 +88,7 @@ $: query = createInfiniteQuery({
88
88
  },
89
89
  initialPageParam: 0,
90
90
  getNextPageParam(lastPage, _allPages, lastPageParam) {
91
- return lastPage.length === DEFAULT_PAGE_SIZE ? lastPageParam + 1 : void 0;
91
+ return lastPage.orders.length === DEFAULT_PAGE_SIZE ? lastPageParam + 1 : void 0;
92
92
  },
93
93
  refetchInterval: DEFAULT_REFRESH_INTERVAL,
94
94
  enabled: true
@@ -114,6 +114,7 @@ const AppTable = TanstackAppTable;
114
114
  {query}
115
115
  queryKey={QKEY_ORDERS}
116
116
  emptyMessage="No Orders Found"
117
+ dataSelector={(page) => page.orders}
117
118
  on:clickRow={(e) => {
118
119
  goto(`/orders/${e.detail.item.chainId}-${e.detail.item.orderbook}-${e.detail.item.orderHash}`);
119
120
  }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rainlanguage/ui-components",
3
- "version": "0.0.1-alpha.224",
3
+ "version": "0.0.1-alpha.226",
4
4
  "description": "A component library for building Svelte applications to be used with Raindex.",
5
5
  "license": "LicenseRef-DCL-1.0",
6
6
  "author": "Rain Open Source Software Ltd",
@@ -57,7 +57,7 @@
57
57
  "@fontsource/dm-sans": "5.1.0",
58
58
  "@imask/svelte": "7.6.1",
59
59
  "@observablehq/plot": "0.6.16",
60
- "@rainlanguage/orderbook": "0.0.1-alpha.224",
60
+ "@rainlanguage/orderbook": "0.0.1-alpha.226",
61
61
  "@reown/appkit": "1.6.4",
62
62
  "@reown/appkit-adapter-wagmi": "1.6.4",
63
63
  "@sentry/sveltekit": "7.120.0",