Skip to content

Commit

Permalink
Merge pull request #163 from Liamb17/main
Browse files Browse the repository at this point in the history
feat: add support for HUMAN_AGENT tag
  • Loading branch information
ker0x authored Jan 2, 2025
2 parents 76b6824 + 5a4f8c8 commit 1d9a064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Helper/ValidatorTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ protected function getAllowedNotificationType(): array
protected function getAllowedTag(): array
{
return [
SendInterface::TAG_HUMAN_AGENT,
SendInterface::TAG_CONFIRMED_EVENT_UPDATE,
SendInterface::TAG_POST_PURCHASE_UPDATE,
SendInterface::TAG_ACCOUNT_UPDATE,
Expand Down
1 change: 1 addition & 0 deletions src/SendInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ interface SendInterface
public const NOTIFICATION_TYPE_SILENT_PUSH = 'SILENT_PUSH';
public const NOTIFICATION_TYPE_NO_PUSH = 'NO_PUSH';

public const TAG_HUMAN_AGENT = 'HUMAN_AGENT';
public const TAG_BUSINESS_PRODUCTIVITY = 'BUSINESS_PRODUCTIVITY';
public const TAG_COMMUNITY_ALERT = 'COMMUNITY_ALERT';
public const TAG_CONFIRMED_EVENT_REMINDER = 'CONFIRMED_EVENT_REMINDER';
Expand Down

0 comments on commit 1d9a064

Please sign in to comment.