diff --git a/CHANGELOG.md b/CHANGELOG.md index a325af9..3da3705 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) -## [3.2.1] - 2023-08-17 +## [3.2.2] - 2023-08-02 +### Fixed +- Added firstPartyEnabled field to advanced blocking response + + +## [3.2.1] - 2023-07-17 ### Fixed - Fixed advanced blocking response feature diff --git a/PerimeterXModule/Internals/PxBlock.cs b/PerimeterXModule/Internals/PxBlock.cs index 4d487f1..3f90dab 100644 --- a/PerimeterXModule/Internals/PxBlock.cs +++ b/PerimeterXModule/Internals/PxBlock.cs @@ -104,8 +104,9 @@ public void ResponseBlockPage(PxContext pxContext, PxModuleConfigurationSection Vid = pxContext.Vid, JsClientSrc = props["jsClientSrc"], HostUrl = props["hostUrl"], - BlockScript = props["blockScript"] - }, output); + BlockScript = props["blockScript"], + firstPartyEnabled = props["firstPartyEnabled"] + }, output); content = output.ToString(); } diff --git a/PerimeterXModule/Internals/Templates/JsonResponse.cs b/PerimeterXModule/Internals/Templates/JsonResponse.cs index f42698f..aed827d 100644 --- a/PerimeterXModule/Internals/Templates/JsonResponse.cs +++ b/PerimeterXModule/Internals/Templates/JsonResponse.cs @@ -17,5 +17,7 @@ class JsonResponse : IJsonResponse public string HostUrl; [DataMember(Name = "blockScript")] public string BlockScript; - } + [DataMember(Name = "firstPartyEnabled")] + public string firstPartyEnabled; + } } diff --git a/PerimeterXModule/Properties/AssemblyInfo.cs b/PerimeterXModule/Properties/AssemblyInfo.cs index 830556d..802943c 100644 --- a/PerimeterXModule/Properties/AssemblyInfo.cs +++ b/PerimeterXModule/Properties/AssemblyInfo.cs @@ -23,5 +23,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.2.1")] -[assembly: AssemblyFileVersion("3.2.1")] +[assembly: AssemblyVersion("3.2.2")] +[assembly: AssemblyFileVersion("3.2.2")] diff --git a/README.md b/README.md index 31aebc0..006e7fc 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [PerimeterX](http://www.perimeterx.com) ASP.NET SDK =================================================== -> Latest stable version: [v3.2.1](https://www.nuget.org/packages/PerimeterXModule/3.2.1) +> Latest stable version: [v3.2.2](https://www.nuget.org/packages/PerimeterXModule/3.2.1) Table of Contents ----------------- diff --git a/px_metadata.json b/px_metadata.json index dfd4d52..4c7ce7b 100644 --- a/px_metadata.json +++ b/px_metadata.json @@ -1,5 +1,5 @@ { - "version": "3.2.1", + "version": "3.2.2", "supported_features": [ "additional_activity_handler", "advanced_blocking_response",