Skip to content

Commit ee06c9e

Browse files
committed
Merge branch 'master' into mfa
2 parents 6446c9e + b7446f9 commit ee06c9e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ dist
108108
.vscode/
109109

110110
# Docs via yarn docs
111-
docs
111+
docs/v2

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"test:suite": "jest --runInBand",
3333
"test:infra": "cd infra && docker-compose down && docker-compose pull && docker-compose up -d && sleep 30",
3434
"test:clean": "cd infra && docker-compose down --remove-orphans",
35-
"docs": "typedoc src/index.ts --excludePrivate --excludeProtected",
36-
"docs:json": "typedoc src/index.ts --json docs/spec.json --excludeProtected --excludePrivate"
35+
"docs": "typedoc src/index.ts --out docs/v2 --excludePrivate --excludeProtected",
36+
"docs:json": "typedoc --json docs/v2/spec.json --excludeExternals --excludePrivate --excludeProtected src/index.ts"
3737
},
3838
"dependencies": {
3939
"cross-fetch": "^3.1.5"

src/lib/fetch.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const _getRequestParams = (
5959
return params
6060
}
6161

62-
params.headers = { 'Content-Type': 'application/json', ...options?.headers }
62+
params.headers = { 'Content-Type': 'application/json;charset=UTF-8', ...options?.headers }
6363
params.body = JSON.stringify(body)
6464
return { ...params, ...parameters }
6565
}

0 commit comments

Comments
 (0)