Avatar for the shopware user
shopware
frontends
BlogDocsChangelog

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

#560Merged
Comparing
feat/provide-default-credentials-for-admin-api-client
(
ed372fd
) with
main
(
97d2859
)
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
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
CodSpeed Performance Gauge
-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
CodSpeed Performance Gauge
-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
11 months ago
by patzick
Home Terms PrivacyDocs