Skip to content

Commit b0e847e

Browse files
authored
Add post_get as a third option to the Request URI method (#221)
1 parent 043bb36 commit b0e847e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/app/core/models/TransactionInitializationRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DCQL } from './dcql/DCQL';
22

3-
export type RequestUriMethod = 'get' | 'post';
3+
export type RequestUriMethod = 'get' | 'post' | 'post_get';
44
export type Profile = 'haip' | 'openid4vp';
55
export type ProfileOptions = {
66
endpoint: string;

src/app/features/presentation-request-preparation/components/presentation-options/presentation-options.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
>
4343
<mat-button-toggle value="get">GET</mat-button-toggle>
4444
<mat-button-toggle value="post">POST</mat-button-toggle>
45+
<mat-button-toggle value="post_get">POST or GET</mat-button-toggle>
4546
</mat-button-toggle-group>
4647
</div>
4748
</div>

src/app/features/presentation-request-preparation/components/presentation-options/presentation-options.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
.request-options-row {
1313
display: grid;
14-
grid-template-columns: 220px minmax(0, 1fr);
14+
grid-template-columns: 40% 60%;
1515
gap: 16px;
1616
}
1717

0 commit comments

Comments
 (0)