Skip to content

Commit 3e4d5c7

Browse files
authored
Merge pull request #14 from sheygs/fix-metadata-datatype
fix(type update): Transaction metadata type from `number` to `Record`
2 parents 7648c6c + 42570ce commit 3e4d5c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transaction/interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export interface Transaction {
9696
status: string;
9797
reference: string;
9898
domain: string;
99-
metadata: number;
99+
metadata: Record<string, unknown>;
100100
gateway_response: string;
101101
message?: string;
102102
channel: string;

0 commit comments

Comments
 (0)