@authhero/kysely-adapter 0.28.0 → 0.28.1

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.
@@ -3760,7 +3760,11 @@ function Fs(t) {
3760
3760
  };
3761
3761
  }
3762
3762
  function Vs(t) {
3763
- return async (e) => {
3763
+ return async (e = {
3764
+ page: 0,
3765
+ per_page: 50,
3766
+ include_totals: !1
3767
+ }) => {
3764
3768
  let n = t.selectFrom("tenants");
3765
3769
  if (e.sort && e.sort.sort_by) {
3766
3770
  const { ref: d } = t.dynamic;
@@ -3850,7 +3854,11 @@ function fa(t) {
3850
3854
  };
3851
3855
  }
3852
3856
  function Qs(t) {
3853
- return async (e, n) => {
3857
+ return async (e, n = {
3858
+ page: 0,
3859
+ per_page: 50,
3860
+ include_totals: !1
3861
+ }) => {
3854
3862
  let a = t.selectFrom("logs").where("logs.tenant_id", "=", e);
3855
3863
  n.q && (a = Be(t, a, n.q, ["user_id", "ip"]));
3856
3864
  let r = a;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "0.28.0",
14
+ "version": "0.28.1",
15
15
  "files": [
16
16
  "dist"
17
17
  ],