export cookieJar, class CookieJar and class Cookie in index.mjs
This commit is contained in:
parent
afa7151e6a
commit
ff7aaf3706
|
@ -1,5 +1,6 @@
|
||||||
import fetch from "./fetch";
|
import fetch from "./fetch";
|
||||||
import CookieJar from "./cookie-jar";
|
import CookieJar from "./cookie-jar";
|
||||||
|
import Cookie from "./cookie";
|
||||||
|
|
||||||
const cookieJar = new CookieJar();
|
const cookieJar = new CookieJar();
|
||||||
|
|
||||||
|
@ -27,3 +28,5 @@ export default async function cookieFetch(url, options) {
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export {cookieJar, CookieJar, Cookie};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user