@persistica/flux-mesh 0.0.16 → 0.0.17
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.
package/package.json
CHANGED
|
@@ -2,12 +2,12 @@ import type { BunRequest } from 'bun';
|
|
|
2
2
|
import type { GlobalRPCClient } from '../../routing/rpc/core/global-rpc-client.class';
|
|
3
3
|
import type { NetworkAuthorityRedisCache } from '../../register/network-authority-redis-cache.class';
|
|
4
4
|
/**
|
|
5
|
-
* This route is used to authorize
|
|
5
|
+
* This route is used to authorize an agent connection.
|
|
6
6
|
*
|
|
7
7
|
* @param { BunRequest } request - The incoming HTTP request
|
|
8
8
|
* @param { NetworkAuthorityRedisCache } networkAuthorityManager - The network authority manager
|
|
9
|
-
* @param { GlobalRPCClient<'
|
|
9
|
+
* @param { GlobalRPCClient<'authorizeAgentConnection'> } globalRPCClient - The global RPC client
|
|
10
10
|
*
|
|
11
11
|
* @returns { Promise<Response> } The HTTP response with auth token or error
|
|
12
12
|
*/
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const authorizeAgentConnection: (request: BunRequest, networkAuthorityManager: NetworkAuthorityRedisCache, globalRPCClient: GlobalRPCClient<"authorizeAgentConnection">) => Promise<Response>;
|