fix: exports browser default query module
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import { adapter } from './adapter.ts';
|
||||
import { QueryWs, QueryWsOpts } from './ws.ts';
|
||||
export { QueryOpts, QueryWs };
|
||||
import { Query } from './query.ts';
|
||||
|
||||
export { QueryOpts, QueryWs, Query, QueryWsOpts, adapter };
|
||||
|
||||
type QueryOpts = {
|
||||
url?: string;
|
||||
adapter?: typeof adapter;
|
||||
@@ -50,5 +51,3 @@ export class QueryClient<U = any, V = any> extends Query<U, V> {
|
||||
}
|
||||
}
|
||||
export const client = new QueryClient();
|
||||
|
||||
export { adapter };
|
||||
|
||||
Reference in New Issue
Block a user