@authhero/kysely-adapter 0.5.5 → 0.6.0

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.
@@ -7441,7 +7441,7 @@ function fo(n) {
7441
7441
  }
7442
7442
  function mo(n) {
7443
7443
  return async (e, t) => {
7444
- const r = (/* @__PURE__ */ new Date()).toISOString(), s = await n.selectFrom("logins").where("logins.tenant_id", "=", e).where("logins.expires_at", ">", r).where("logins.id", "=", t).selectAll().executeTakeFirst();
7444
+ const r = (/* @__PURE__ */ new Date()).toISOString(), s = await n.selectFrom("logins").where("logins.expires_at", ">", r).where("logins.login_id", "=", t).selectAll().executeTakeFirst();
7445
7445
  return s ? gs.parse(co(s, ["authParams"])) : null;
7446
7446
  };
7447
7447
  }
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.5.5",
14
+ "version": "0.6.0",
15
15
  "files": [
16
16
  "dist"
17
17
  ],