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
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