File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 11/**
22 * fetch-proxy - A fetch-based HTTP proxy library optimized for Bun runtime
33 *
4- * Main entry point for the library
4+ * Development entry point - re-exports from src for examples and testing
5+ * Production builds should use the transpiled lib/ version
56 */
67
78export { default , FetchProxy } from "./src/index.ts"
@@ -11,5 +12,9 @@ export type {
1112 ProxyRequestOptions ,
1213 BeforeRequestHook ,
1314 AfterResponseHook ,
15+ BeforeCircuitBreakerHook ,
16+ AfterCircuitBreakerHook ,
1417 ErrorHook ,
18+ CircuitState ,
19+ CircuitBreakerResult ,
1520} from "./src/index.ts"
Original file line number Diff line number Diff line change 22 "name" : " fetch-proxy" ,
33 "version" : " 1.0.0" ,
44 "description" : " A fetch-based HTTP proxy library optimized for Bun runtime with hooks, circuit breakers and timeouts" ,
5- "main" : " index.ts " ,
6- "module" : " index.ts " ,
7- "types" : " index.ts" ,
5+ "main" : " lib/ index.js " ,
6+ "module" : " lib/ index.js " ,
7+ "types" : " lib/ index.d .ts" ,
88 "type" : " module" ,
99 "files" : [
10- " src/**/*" ,
11- " index.ts" ,
10+ " lib/**/*" ,
1211 " README.md" ,
1312 " LICENSE"
1413 ],
You can’t perform that action at this time.
0 commit comments