Skip to content

Commit aa0d503

Browse files
committed
[core] export bare-mux-custom and ScramjetFetchResponse to scramjet/bundled
1 parent 80ddcd8 commit aa0d503

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// NOTE: this is the entrypoint for scramjet.bundle.js
2+
// as such it exports everything in scramjet
3+
// the entry point for scramjet.all.js (what most sites wil use) is entry.ts
4+
15
import "./global.d";
26
export * from "./client";
37
export * from "./controller";
@@ -6,3 +10,5 @@ export * from "./worker";
610
export * from "./entry";
711
export * from "./symbols";
812
export * from "./types";
13+
14+
export { BareClient } from "./bare-mux-custom";

src/worker/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface ScramjetFetchParsed {
5454
scriptType: string;
5555
}
5656

57-
interface ScramjetFetchResponse {
57+
export interface ScramjetFetchResponse {
5858
body: BodyType;
5959
headers: BareHeaders;
6060
status: number;

0 commit comments

Comments
 (0)