Skip to content

Commit

Permalink
fix: don't use enums #86du5b5h3 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandro25262 committed Aug 8, 2024
1 parent 92476b1 commit 906f02d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/models/src/response/SignaturePackageResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ export interface SignaturePackageItemResponse {
};
}

export enum Algorithm {
RSASHA256 = 'RSA-SHA256',
RSASHA1 = 'RSA-SHA1',
SIMPLE = 'SIMPLE',
BITCOINHDW = 'BITCOIN-HDW',
BITCOINTX = 'BITCOIN-TX',
}
export type Algorithms =
| 'RSA-SHA256'
| 'RSA-SHA1'
| 'SIMPLE'
| 'BITCOIN-HDW'
| 'BITCOIN-TX';

export interface SignaturePackagePlaintextResponse {
name:
| 'doc'
Expand All @@ -26,7 +26,7 @@ export interface SignaturePackagePlaintextResponse {
| 'sat_auth_credentials'
| 'sat_auth_request'
| 'sat_auth_download';
alg: Algorithm;
alg: Algorithms;
status: 'pending' | 'completed' | 'blocked' | 'deleted';
widget_id: string;
entity_keys?: {
Expand Down

0 comments on commit 906f02d

Please sign in to comment.