BlogDocs

feat(api-client): provide optional `credentials` field for automatic authentication(#560)

Merged
Comparing
feat/provide-default-credentials-for-admin-api-client
(
ed372fd
) with
main
(
97d2859
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
9
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

[api-client][createAPIClient] - creating client
packages/api-client-next/src/tests/apiClient.bench.ts::apiClient benchmarks::[api-client][createAPIClient] - creating client
0%
50.9 µs
50.9 µs
[api-gen][generate] - generate schema command
packages/api-gen/tests/generate.bench.ts::api-gen - generate::[api-gen][generate] - generate schema command
0%
398.8 ms
398.4 ms
[api-client][transformPathToQuery] - transform with body params
packages/api-client-next/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with body params
0%
61.9 µs
61.9 µs
[api-client][transformPathToQuery] - transform with path,query,body,header params
packages/api-client-next/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with path,query,body,header params
0%
120.9 µs
121.1 µs
[api-client][createAdminAPIClient] - creating client
packages/api-client-next/src/tests/apiClient.bench.ts::apiClient benchmarks::[api-client][createAdminAPIClient] - creating client
0%
62.4 µs
62.6 µs
[api-client][transformPathToQuery] - transform without any params
packages/api-client-next/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform without any params
0%
127.9 µs
128.3 µs
[api-client][transformPathToQuery] - transform with header params
packages/api-client-next/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with header params
0%
60.4 µs
60.6 µs
[api-client][transformPathToQuery] - transform with query params
packages/api-client-next/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with query params
-1%
61.2 µs
61.5 µs
[api-client][transformPathToQuery] - transform with path params
packages/api-client-next/src/tests/transform.bench.ts::transforming requests::[api-client][transformPathToQuery] - transform with path params
-1%
68.7 µs
69.3 µs

Commits

Click on a commit to change the comparison range
base
main
97d2859
0%
feat(api-client): provide optional `credentials` field for automatic authentication
ed372fd
9 months ago
by patzick
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.