@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@persistica/flux-mesh",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Persistica Flux Mesh",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -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 a network agent.
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<'authorize'> } globalRPCClient - The global RPC client
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 authorizeNetworkAgent: (request: BunRequest, networkAuthorityManager: NetworkAuthorityRedisCache, globalRPCClient: GlobalRPCClient<"authorize">) => Promise<Response>;
13
+ export declare const authorizeAgentConnection: (request: BunRequest, networkAuthorityManager: NetworkAuthorityRedisCache, globalRPCClient: GlobalRPCClient<"authorizeAgentConnection">) => Promise<Response>;