feat(sdk): addStore() accepts pinnedPubkeyPem
Some checks failed
Security / Security check (push) Failing after 1s

Regenerate Dart bindings for AddStoreRequest.pinned_pubkey_pem and
thread it through HubClient.addStore so clients can pin a per-store
publisher key.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-19 02:54:48 +02:00
parent 597f6bec4f
commit 9fea05df76
3 changed files with 21 additions and 1 deletions

View file

@ -669,6 +669,7 @@ class HubClient {
String bearerEnv = '',
String basicUser = '',
String basicPasswordEnv = '',
String pinnedPubkeyPem = '',
}) {
return _admin.addStore(pb.AddStoreRequest(
name: name,
@ -676,6 +677,7 @@ class HubClient {
bearerEnv: bearerEnv,
basicUser: basicUser,
basicPasswordEnv: basicPasswordEnv,
pinnedPubkeyPem: pinnedPubkeyPem,
));
}