You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 29, 2025. It is now read-only.
This is a shared base implementation for PerimeterX Express enforcer and future NodeJS enforcers. For a fully functioning implementation example, see the [Node-Express enforcer](https://github.com/PerimeterX/perimeterx-node-express/) implementation.
12
12
@@ -30,7 +30,7 @@ Table of Contents
30
30
To integrate this module into an enforcer, users should initialize the enforcer.
31
31
```javascript
32
32
functioninitPXModule(params, client) {
33
-
params.moduleVersion='<your module version>';
33
+
params.px_module_version='<your module version>';
34
34
enforcer =newPxEnforcer(params, client);
35
35
//if dynamic configurations is configured
36
36
if (enforcer.config.conf.DYNAMIC_CONFIGURATIONS) {
@@ -63,21 +63,23 @@ function pxMiddleware(req, res, next) {
63
63
64
64
Extend the `PxClient` class to send activities to PerimeterX.
0 commit comments