Skip to content

Commit 6eb57be

Browse files
committed
Fix exports for HttpStack modules
1 parent 875c31d commit 6eb57be

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/browser/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,6 @@ const isSupported =
5858
// Note: The exported interface must be the same as in lib/node/index.ts.
5959
// Any changes should be reflected in both files.
6060
export { Upload, defaultOptions, isSupported, canStoreURLs, enableDebugLog, DetailedError }
61+
export { XHRHttpStack } from './XHRHttpStack.js'
62+
export { FetchHttpStack } from './FetchHttpStack.js'
6163
export type * from '../options.js'

lib/node/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,5 @@ const isSupported = true
5656
// Note: The exported interface must be the same as in lib/browser/index.ts.
5757
// Any changes should be reflected in both files.
5858
export { Upload, defaultOptions, isSupported, canStoreURLs, enableDebugLog, DetailedError }
59+
export { NodeHttpStack } from './NodeHttpStack.js'
5960
export type * from '../options.js'

0 commit comments

Comments
 (0)