Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: include credentials #3096

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.js
Expand Up @@ -17729,7 +17729,7 @@ function getUrl(href, options) {
if (options.skipFetchSetup !== true) {
request.mode = "cors"; // no-cors, cors, *same-origin
request.cache = "no-cache"; // *default, no-cache, reload, force-cache, only-if-cached
request.credentials = "same-origin"; // include, *same-origin, omit
request.credentials = "include"; // include, *same-origin, omit
request.redirect = "follow"; // manual, *follow, error
request.referrer = "client"; // no-referrer, *client
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.js
Expand Up @@ -23211,7 +23211,7 @@
if (options.skipFetchSetup !== true) {
request.mode = "cors"; // no-cors, cors, *same-origin
request.cache = "no-cache"; // *default, no-cache, reload, force-cache, only-if-cached
request.credentials = "same-origin"; // include, *same-origin, omit
request.credentials = "include"; // include, *same-origin, omit
request.redirect = "follow"; // manual, *follow, error
request.referrer = "client"; // no-referrer, *client
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/web/lib.esm/geturl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/web/lib.esm/geturl.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/web/lib/browser-geturl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/web/lib/browser-geturl.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/web/src.ts/browser-geturl.ts
Expand Up @@ -18,7 +18,7 @@ export async function getUrl(href: string, options?: Options): Promise<GetUrlRes
if (options.skipFetchSetup !== true) {
request.mode = <RequestMode>"cors"; // no-cors, cors, *same-origin
request.cache = <RequestCache>"no-cache"; // *default, no-cache, reload, force-cache, only-if-cached
request.credentials = <RequestCredentials>"same-origin"; // include, *same-origin, omit
request.credentials = <RequestCredentials>"include"; // include, *same-origin, omit
request.redirect = <RequestRedirect>"follow"; // manual, *follow, error
request.referrer = "client"; // no-referrer, *client
};
Expand Down