@jeffusion/bungee-core 3.2.1 → 3.3.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.
- package/dist/master.js +291 -3
- package/dist/worker.js +28568 -8914
- package/package.json +2 -2
- package/dist/master.d.ts +0 -1
- package/dist/worker.d.ts +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jeffusion/bungee-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Bungee reverse proxy core engine",
|
|
5
5
|
"main": "dist/master.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"test": "bun test"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@jeffusion/bungee-types": "^3.
|
|
13
|
+
"@jeffusion/bungee-types": "^3.3.0",
|
|
14
14
|
"winston": "^3.17.0",
|
|
15
15
|
"winston-daily-rotate-file": "^5.0.0",
|
|
16
16
|
"lodash-es": "^4.17.21",
|
package/dist/master.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/worker.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Worker module
|
|
3
|
-
* Main HTTP request handler with routing, failover, and plugin support
|
|
4
|
-
*/
|
|
5
|
-
import type { AppConfig } from '@jeffusion/bungee-types';
|
|
6
|
-
import type { Server } from 'bun';
|
|
7
|
-
export type { RuntimeUpstream, RequestSnapshot, UpstreamSelector } from './worker/types';
|
|
8
|
-
export { runtimeState, initializeRuntimeState } from './worker/state/runtime-state';
|
|
9
|
-
export { getPluginRegistry, setPluginRegistry, initializePluginRegistryForTests, cleanupPluginRegistry } from './worker/state/plugin-manager';
|
|
10
|
-
export { handleRequest } from './worker/request/handler';
|
|
11
|
-
export { applyBodyRules, deepMergeRules } from './worker/rules/modifier';
|
|
12
|
-
/**
|
|
13
|
-
* Start the worker server
|
|
14
|
-
* Initializes runtime state, plugin registry, and starts HTTP server
|
|
15
|
-
*/
|
|
16
|
-
export declare function startServer(config: AppConfig): Promise<Server<unknown>>;
|
|
17
|
-
/**
|
|
18
|
-
* Shutdown the worker server gracefully
|
|
19
|
-
* Cleans up plugins and stops the HTTP server
|
|
20
|
-
*/
|
|
21
|
-
export declare function shutdownServer(server: Server<unknown>): Promise<void>;
|