@niledatabase/server 3.0.0-alpha.37 → 3.0.0-alpha.38

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.
@@ -5,3 +5,4 @@ export { default as handleCsrf, matches as matchCsrf } from './csrf';
5
5
  export { default as handleCallback, matches as matchCallback, } from './callback';
6
6
  export { default as handleSignOut, matches as matchSignOut } from './signout';
7
7
  export { default as handleError, matches as matchError } from './error';
8
+ export { default as handleVerifyRequest, matches as matchesVerifyRequest, } from './verify-request';
@@ -0,0 +1,4 @@
1
+ import { Routes } from '../../types';
2
+ import { Config } from '../../../utils/Config';
3
+ export default function route(req: Request, config: Config): Promise<Response>;
4
+ export declare function matches(configRoutes: Routes, request: Request): boolean;
@@ -15,4 +15,5 @@ export type Routes = {
15
15
  TENANT_USER: string;
16
16
  TENANT_USERS: string;
17
17
  SIGNUP: string;
18
+ VERIFY_REQUEST: string;
18
19
  };
@@ -7,6 +7,7 @@ export declare const proxyRoutes: (config: Config) => {
7
7
  CALLBACK: string;
8
8
  SIGNOUT: string;
9
9
  ERROR: string;
10
+ VERIFY_REQUEST: string;
10
11
  };
11
12
  type ProxyKeys = keyof typeof proxyRoutes;
12
13
  export type ProxyPaths = (typeof proxyRoutes)[ProxyKeys];