@authhero/kysely-adapter 0.16.0 → 0.17.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.
@@ -3112,6 +3112,7 @@ var ur = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.TOKEN_ID_TOKEN = "token i
3112
3112
  const hs = i.object({
3113
3113
  client_id: i.string(),
3114
3114
  vendor_id: i.string().optional(),
3115
+ act_as: i.string().optional(),
3115
3116
  response_type: i.nativeEnum(ur).optional(),
3116
3117
  response_mode: i.nativeEnum(hr).optional(),
3117
3118
  redirect_uri: i.string().optional(),
@@ -7199,7 +7200,12 @@ function Lo(t) {
7199
7200
  };
7200
7201
  }
7201
7202
  function zo(t) {
7202
- return async () => await t.selectFrom("keys").where("revoked_at", "is", null).selectAll().execute();
7203
+ return async () => await t.selectFrom("keys").where(
7204
+ (n) => n.or([
7205
+ n("revoked_at", ">", (/* @__PURE__ */ new Date()).toISOString()),
7206
+ n("revoked_at", "is", null)
7207
+ ])
7208
+ ).selectAll().execute();
7203
7209
  }
7204
7210
  function Uo(t) {
7205
7211
  return async (e) => {
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.16.0",
14
+ "version": "0.17.1",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -41,7 +41,7 @@
41
41
  "kysely-bun-sqlite": "^0.3.2",
42
42
  "kysely-planetscale": "^1.5.0",
43
43
  "nanoid": "^5.0.8",
44
- "@authhero/adapter-interfaces": "^0.20.3"
44
+ "@authhero/adapter-interfaces": "^0.21.0"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",