Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ CHANGELOG
for explicit device linking. You may provide this by providing
`trackingToken` to `Device`.
* Added `FatZebra` to the `Processor` enum.
* Added `CLEAR` to the `Tag` enum for use with the Report Transaction API.

8.3.0 (2026-01-20)
------------------
Expand Down
1 change: 1 addition & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ export enum Processor {

export enum Tag {
CHARGEBACK = 'chargeback',
CLEAR = 'clear',
NOT_FRAUD = 'not_fraud',
SPAM_OR_ABUSE = 'spam_or_abuse',
SUSPECTED_FRAUD = 'suspected_fraud',
Expand Down
9 changes: 9 additions & 0 deletions src/request/transaction-report.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,13 @@ describe('Device()', () => {
});
}).not.toThrow();
});

it('accepts the clear tag', () => {
expect(() => {
new TransactionReport({
ipAddress: '1.1.1.1',
tag: Tag.CLEAR,
});
}).not.toThrow();
});
});
Loading