Skip to content

Commit

Permalink
Merge pull request #210 from PerimeterX/release/v3.10.2
Browse files Browse the repository at this point in the history
Release/v3.10.2 to master
  • Loading branch information
chen-zimmer-px authored Sep 11, 2024
2 parents ac9dd83 + ea4cd9a commit 5965ce8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ 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.10.2] - 2024-09-11

### Fixed

- Bug that caused custom parameters not to be added to async activities

## [3.10.1] - 2022-12-06

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# [PerimeterX](http://www.perimeterx.com) PHP SDK

> Latest stable version: [v3.10.1](https://packagist.org/packages/perimeterx/php-sdk#3.10.1)
> Latest stable version: [v3.10.2](https://packagist.org/packages/perimeterx/php-sdk#3.10.1)
## Table of Contents

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "perimeterx/php-sdk",
"description": "PerimeterX SDK for PHP",
"version" : "3.10.1",
"version" : "3.10.2",
"keywords": [
"perimeterx",
"websecurity",
Expand Down
2 changes: 1 addition & 1 deletion px_metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.10.1",
"version": "3.10.2",
"supported_features": [
"additional_activity_handler",
"advanced_blocking_response",
Expand Down
2 changes: 1 addition & 1 deletion src/Perimeterx.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private function __construct(array $pxConfig = [])
'max_buffer_len' => 1,
'send_page_activities' => true,
'send_block_activities' => true,
'sdk_name' => 'PHP SDK v3.10.1',
'sdk_name' => 'PHP SDK v3.10.2',
'debug_mode' => false,
'perimeterx_server_host' => 'https://sapi-' . strtolower($pxConfig['app_id']) . '.perimeterx.net',
'captcha_script_host' => 'https://captcha.px-cdn.net',
Expand Down
2 changes: 1 addition & 1 deletion src/PerimeterxActivitiesClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function generateActivity($activityType, $pxCtx, $details) {
}

if (isset($this->pxConfig['enrich_custom_params'])) {
$this->pxUtils->handleCustomParams($this->pxConfig, $pxData['details']);
$this->pxUtils->handleCustomParams($this->pxConfig, $details);
}
}

Expand Down

0 comments on commit 5965ce8

Please sign in to comment.