File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,12 +40,12 @@ import { type ToolModule } from './server.toolsUser';
4040 * registered with the server.
4141 * @property urlRegex - Regular expression pattern for URL matching.
4242 * @property version - Version of the package.
43+ * @property xhrFetch - XHR and Fetch options.
4344 */
4445interface DefaultOptions < TLogOptions = LoggingOptions > {
4546 contextPath : string ;
4647 contextUrl : string ;
4748 docsPath : string ;
48- xhrFetch : XhrFetchOptions ;
4949 http : HttpOptions ;
5050 isHttp : boolean ;
5151 logging : TLogOptions ;
@@ -74,6 +74,7 @@ interface DefaultOptions<TLogOptions = LoggingOptions> {
7474 toolModules : ToolModule | ToolModule [ ] ;
7575 urlRegex : RegExp ;
7676 version : string ;
77+ xhrFetch : XhrFetchOptions ;
7778}
7879
7980/**
@@ -438,5 +439,6 @@ export {
438439 type LoggingOptions ,
439440 type LoggingSession ,
440441 type PluginHostOptions ,
441- type StatsSession
442+ type StatsSession ,
443+ type XhrFetchOptions
442444} ;
You can’t perform that action at this time.
0 commit comments