Skip to content

Commit

Permalink
Merge pull request #285 from PerimeterX/fix/pxhd-and-vid-alignment
Browse files Browse the repository at this point in the history
Add PXHD from risk response to the following PR/Block
  • Loading branch information
chen-zimmer-px authored May 11, 2023
2 parents fb3320e + 15e5805 commit 0d055b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [3.XX.XX] - 2023-XX-XX

### Fixed
- Added PXHD from risk response to the async activities

## [3.10.1] - 2023-03-29

Expand Down
2 changes: 1 addition & 1 deletion lib/pxclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class PxClient {
this.addAdditionalFieldsToActivity(details, ctx);
if (activityType !== ActivityType.ADDITIONAL_S2S) {
activity.headers = ctx.headers;
activity.pxhd = ctx.pxhdClient ? ctx.pxhdClient : undefined;
activity.pxhd = (ctx.pxhdServer ? ctx.pxhdServer : ctx.pxhdClient) || undefined;
pxUtil.prepareCustomParams(config, details, ctx.originalRequest);
}

Expand Down

0 comments on commit 0d055b9

Please sign in to comment.