@absolutejs/auth 0.26.0 → 0.27.0-beta.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.
@@ -0,0 +1,6 @@
1
+ import type { RedisLike } from '../stores/redis';
2
+ import type { AuthSessionStore } from './types';
3
+ export type RedisSessionClient = RedisLike & {
4
+ keys: (pattern: string) => Promise<string[]>;
5
+ };
6
+ export declare const createRedisAuthSessionStore: <UserType>(redis: RedisSessionClient, keyPrefix?: string) => AuthSessionStore<UserType>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.26.0",
2
+ "version": "0.27.0-beta.0",
3
3
  "name": "@absolutejs/auth",
4
4
  "description": "An authorization library for absolutejs",
5
5
  "repository": {
@@ -11,6 +11,7 @@
11
11
  "author": "Alex Kahn",
12
12
  "scripts": {
13
13
  "build": "rm -rf dist && bun build src/index.ts src/htmx/index.ts --outdir dist --sourcemap --target=bun --external elysia && tsc --emitDeclarationOnly --project tsconfig.json",
14
+ "config": "absolute config",
14
15
  "test": "bun test",
15
16
  "format": "absolute prettier --write",
16
17
  "lint": "absolute eslint",