perimeterx-js-core 0.21.2 → 0.21.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/utils/constants.js +1 -1
- package/lib/esm/utils/constants.js +1 -1
- package/lib/types/activities/utils.d.ts +0 -31
- package/lib/types/blocker/utils.d.ts +0 -3
- package/lib/types/monitored_request/MonitoredRequestUtils.d.ts +0 -9
- package/lib/types/products/credential_intelligence/endpoint/CredentialEndpointConfiguration.d.ts +2 -2
- package/lib/types/pxhd/PXHDUtils.d.ts +0 -6
- package/lib/types/sensitive_request/SensitiveRequestUtils.d.ts +0 -6
- package/lib/types/utils/constants.d.ts +1 -1
- package/lib/types/utils/url/IUrlSearchParams.d.ts +0 -1
- package/package.json +1 -1
|
@@ -14,4 +14,4 @@ exports.PUSH_DATA_FEATURE_HEADER_NAME = 'x-px-feature';
|
|
|
14
14
|
exports.EMAIL_ADDRESS_REGEX = /^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,7}$/;
|
|
15
15
|
exports.URL_REGEX = /^(https?\:)\/\/(([^@\s:]+):?([^@\s]*)@)?(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/;
|
|
16
16
|
exports.REGEX_STRUCTURE = /^\/(.+?)\/([gimsuyvd]*)$/;
|
|
17
|
-
exports.CORE_MODULE_VERSION = 'JS Core 0.21.
|
|
17
|
+
exports.CORE_MODULE_VERSION = 'JS Core 0.21.3';
|
|
@@ -11,4 +11,4 @@ export const PUSH_DATA_FEATURE_HEADER_NAME = 'x-px-feature';
|
|
|
11
11
|
export const EMAIL_ADDRESS_REGEX = /^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,7}$/;
|
|
12
12
|
export const URL_REGEX = /^(https?\:)\/\/(([^@\s:]+):?([^@\s]*)@)?(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/;
|
|
13
13
|
export const REGEX_STRUCTURE = /^\/(.+?)\/([gimsuyvd]*)$/;
|
|
14
|
-
export const CORE_MODULE_VERSION = 'JS Core 0.21.
|
|
14
|
+
export const CORE_MODULE_VERSION = 'JS Core 0.21.3';
|
|
@@ -32,7 +32,6 @@ export declare const createAsyncActivity: <Req, Res>(activityType: ActivityType,
|
|
|
32
32
|
readonly append: (name: string, value: string) => void;
|
|
33
33
|
readonly delete: (name: string) => void;
|
|
34
34
|
readonly has: (name: string) => boolean;
|
|
35
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
36
35
|
};
|
|
37
36
|
readonly toJSON: () => string;
|
|
38
37
|
};
|
|
@@ -105,7 +104,6 @@ export declare const createAsyncActivity: <Req, Res>(activityType: ActivityType,
|
|
|
105
104
|
readonly append: (name: string, value: string) => void;
|
|
106
105
|
readonly delete: (name: string) => void;
|
|
107
106
|
readonly has: (name: string) => boolean;
|
|
108
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
109
107
|
};
|
|
110
108
|
readonly toJSON: () => string;
|
|
111
109
|
};
|
|
@@ -333,7 +331,6 @@ export declare const createAsyncActivity: <Req, Res>(activityType: ActivityType,
|
|
|
333
331
|
readonly append: (name: string, value: string) => void;
|
|
334
332
|
readonly delete: (name: string) => void;
|
|
335
333
|
readonly has: (name: string) => boolean;
|
|
336
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
337
334
|
};
|
|
338
335
|
readonly toJSON: () => string;
|
|
339
336
|
};
|
|
@@ -704,7 +701,6 @@ export declare const createActivityDetails: <Req, Res>(activityType: ActivityTyp
|
|
|
704
701
|
readonly append: (name: string, value: string) => void;
|
|
705
702
|
readonly delete: (name: string) => void;
|
|
706
703
|
readonly has: (name: string) => boolean;
|
|
707
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
708
704
|
};
|
|
709
705
|
readonly toJSON: () => string;
|
|
710
706
|
};
|
|
@@ -777,7 +773,6 @@ export declare const createActivityDetails: <Req, Res>(activityType: ActivityTyp
|
|
|
777
773
|
readonly append: (name: string, value: string) => void;
|
|
778
774
|
readonly delete: (name: string) => void;
|
|
779
775
|
readonly has: (name: string) => boolean;
|
|
780
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
781
776
|
};
|
|
782
777
|
readonly toJSON: () => string;
|
|
783
778
|
};
|
|
@@ -1005,7 +1000,6 @@ export declare const createActivityDetails: <Req, Res>(activityType: ActivityTyp
|
|
|
1005
1000
|
readonly append: (name: string, value: string) => void;
|
|
1006
1001
|
readonly delete: (name: string) => void;
|
|
1007
1002
|
readonly has: (name: string) => boolean;
|
|
1008
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1009
1003
|
};
|
|
1010
1004
|
readonly toJSON: () => string;
|
|
1011
1005
|
};
|
|
@@ -1376,7 +1370,6 @@ export declare const createAsyncActivityCommonDetails: <Req, Res>(context: {
|
|
|
1376
1370
|
readonly append: (name: string, value: string) => void;
|
|
1377
1371
|
readonly delete: (name: string) => void;
|
|
1378
1372
|
readonly has: (name: string) => boolean;
|
|
1379
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1380
1373
|
};
|
|
1381
1374
|
readonly toJSON: () => string;
|
|
1382
1375
|
};
|
|
@@ -1449,7 +1442,6 @@ export declare const createAsyncActivityCommonDetails: <Req, Res>(context: {
|
|
|
1449
1442
|
readonly append: (name: string, value: string) => void;
|
|
1450
1443
|
readonly delete: (name: string) => void;
|
|
1451
1444
|
readonly has: (name: string) => boolean;
|
|
1452
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1453
1445
|
};
|
|
1454
1446
|
readonly toJSON: () => string;
|
|
1455
1447
|
};
|
|
@@ -1677,7 +1669,6 @@ export declare const createAsyncActivityCommonDetails: <Req, Res>(context: {
|
|
|
1677
1669
|
readonly append: (name: string, value: string) => void;
|
|
1678
1670
|
readonly delete: (name: string) => void;
|
|
1679
1671
|
readonly has: (name: string) => boolean;
|
|
1680
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1681
1672
|
};
|
|
1682
1673
|
readonly toJSON: () => string;
|
|
1683
1674
|
};
|
|
@@ -2048,7 +2039,6 @@ export declare const createCommonActivityDetails: <Req, Res>(config: IConfigurat
|
|
|
2048
2039
|
readonly append: (name: string, value: string) => void;
|
|
2049
2040
|
readonly delete: (name: string) => void;
|
|
2050
2041
|
readonly has: (name: string) => boolean;
|
|
2051
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
2052
2042
|
};
|
|
2053
2043
|
readonly toJSON: () => string;
|
|
2054
2044
|
};
|
|
@@ -2121,7 +2111,6 @@ export declare const createCommonActivityDetails: <Req, Res>(config: IConfigurat
|
|
|
2121
2111
|
readonly append: (name: string, value: string) => void;
|
|
2122
2112
|
readonly delete: (name: string) => void;
|
|
2123
2113
|
readonly has: (name: string) => boolean;
|
|
2124
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
2125
2114
|
};
|
|
2126
2115
|
readonly toJSON: () => string;
|
|
2127
2116
|
};
|
|
@@ -2349,7 +2338,6 @@ export declare const createCommonActivityDetails: <Req, Res>(config: IConfigurat
|
|
|
2349
2338
|
readonly append: (name: string, value: string) => void;
|
|
2350
2339
|
readonly delete: (name: string) => void;
|
|
2351
2340
|
readonly has: (name: string) => boolean;
|
|
2352
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
2353
2341
|
};
|
|
2354
2342
|
readonly toJSON: () => string;
|
|
2355
2343
|
};
|
|
@@ -2720,7 +2708,6 @@ export declare const addRootContextDataToDetails: <Req, Res>(details: CommonActi
|
|
|
2720
2708
|
readonly append: (name: string, value: string) => void;
|
|
2721
2709
|
readonly delete: (name: string) => void;
|
|
2722
2710
|
readonly has: (name: string) => boolean;
|
|
2723
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
2724
2711
|
};
|
|
2725
2712
|
readonly toJSON: () => string;
|
|
2726
2713
|
};
|
|
@@ -2793,7 +2780,6 @@ export declare const addRootContextDataToDetails: <Req, Res>(details: CommonActi
|
|
|
2793
2780
|
readonly append: (name: string, value: string) => void;
|
|
2794
2781
|
readonly delete: (name: string) => void;
|
|
2795
2782
|
readonly has: (name: string) => boolean;
|
|
2796
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
2797
2783
|
};
|
|
2798
2784
|
readonly toJSON: () => string;
|
|
2799
2785
|
};
|
|
@@ -3021,7 +3007,6 @@ export declare const addRootContextDataToDetails: <Req, Res>(details: CommonActi
|
|
|
3021
3007
|
readonly append: (name: string, value: string) => void;
|
|
3022
3008
|
readonly delete: (name: string) => void;
|
|
3023
3009
|
readonly has: (name: string) => boolean;
|
|
3024
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
3025
3010
|
};
|
|
3026
3011
|
readonly toJSON: () => string;
|
|
3027
3012
|
};
|
|
@@ -3386,7 +3371,6 @@ export declare const addRequestDataToDetails: <Req>(details: CommonActivityDetai
|
|
|
3386
3371
|
readonly append: (name: string, value: string) => void;
|
|
3387
3372
|
readonly delete: (name: string) => void;
|
|
3388
3373
|
readonly has: (name: string) => boolean;
|
|
3389
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
3390
3374
|
};
|
|
3391
3375
|
readonly toJSON: () => string;
|
|
3392
3376
|
};
|
|
@@ -3450,7 +3434,6 @@ export declare const addRiskApiDataToAsyncActivityCommonDetails: <Req, Res>(deta
|
|
|
3450
3434
|
readonly append: (name: string, value: string) => void;
|
|
3451
3435
|
readonly delete: (name: string) => void;
|
|
3452
3436
|
readonly has: (name: string) => boolean;
|
|
3453
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
3454
3437
|
};
|
|
3455
3438
|
readonly toJSON: () => string;
|
|
3456
3439
|
};
|
|
@@ -3523,7 +3506,6 @@ export declare const addRiskApiDataToAsyncActivityCommonDetails: <Req, Res>(deta
|
|
|
3523
3506
|
readonly append: (name: string, value: string) => void;
|
|
3524
3507
|
readonly delete: (name: string) => void;
|
|
3525
3508
|
readonly has: (name: string) => boolean;
|
|
3526
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
3527
3509
|
};
|
|
3528
3510
|
readonly toJSON: () => string;
|
|
3529
3511
|
};
|
|
@@ -3751,7 +3733,6 @@ export declare const addRiskApiDataToAsyncActivityCommonDetails: <Req, Res>(deta
|
|
|
3751
3733
|
readonly append: (name: string, value: string) => void;
|
|
3752
3734
|
readonly delete: (name: string) => void;
|
|
3753
3735
|
readonly has: (name: string) => boolean;
|
|
3754
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
3755
3736
|
};
|
|
3756
3737
|
readonly toJSON: () => string;
|
|
3757
3738
|
};
|
|
@@ -4122,7 +4103,6 @@ export declare const addResponseDataToAsyncActivityCommonDetails: <Req, Res>(det
|
|
|
4122
4103
|
readonly append: (name: string, value: string) => void;
|
|
4123
4104
|
readonly delete: (name: string) => void;
|
|
4124
4105
|
readonly has: (name: string) => boolean;
|
|
4125
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
4126
4106
|
};
|
|
4127
4107
|
readonly toJSON: () => string;
|
|
4128
4108
|
};
|
|
@@ -4195,7 +4175,6 @@ export declare const addResponseDataToAsyncActivityCommonDetails: <Req, Res>(det
|
|
|
4195
4175
|
readonly append: (name: string, value: string) => void;
|
|
4196
4176
|
readonly delete: (name: string) => void;
|
|
4197
4177
|
readonly has: (name: string) => boolean;
|
|
4198
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
4199
4178
|
};
|
|
4200
4179
|
readonly toJSON: () => string;
|
|
4201
4180
|
};
|
|
@@ -4423,7 +4402,6 @@ export declare const addResponseDataToAsyncActivityCommonDetails: <Req, Res>(det
|
|
|
4423
4402
|
readonly append: (name: string, value: string) => void;
|
|
4424
4403
|
readonly delete: (name: string) => void;
|
|
4425
4404
|
readonly has: (name: string) => boolean;
|
|
4426
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
4427
4405
|
};
|
|
4428
4406
|
readonly toJSON: () => string;
|
|
4429
4407
|
};
|
|
@@ -4794,7 +4772,6 @@ export declare const createPageRequestedActivityDetails: <Req, Res>(context: {
|
|
|
4794
4772
|
readonly append: (name: string, value: string) => void;
|
|
4795
4773
|
readonly delete: (name: string) => void;
|
|
4796
4774
|
readonly has: (name: string) => boolean;
|
|
4797
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
4798
4775
|
};
|
|
4799
4776
|
readonly toJSON: () => string;
|
|
4800
4777
|
};
|
|
@@ -4867,7 +4844,6 @@ export declare const createPageRequestedActivityDetails: <Req, Res>(context: {
|
|
|
4867
4844
|
readonly append: (name: string, value: string) => void;
|
|
4868
4845
|
readonly delete: (name: string) => void;
|
|
4869
4846
|
readonly has: (name: string) => boolean;
|
|
4870
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
4871
4847
|
};
|
|
4872
4848
|
readonly toJSON: () => string;
|
|
4873
4849
|
};
|
|
@@ -5095,7 +5071,6 @@ export declare const createPageRequestedActivityDetails: <Req, Res>(context: {
|
|
|
5095
5071
|
readonly append: (name: string, value: string) => void;
|
|
5096
5072
|
readonly delete: (name: string) => void;
|
|
5097
5073
|
readonly has: (name: string) => boolean;
|
|
5098
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
5099
5074
|
};
|
|
5100
5075
|
readonly toJSON: () => string;
|
|
5101
5076
|
};
|
|
@@ -5466,7 +5441,6 @@ export declare const createBlockActivityDetails: <Req, Res>(context: {
|
|
|
5466
5441
|
readonly append: (name: string, value: string) => void;
|
|
5467
5442
|
readonly delete: (name: string) => void;
|
|
5468
5443
|
readonly has: (name: string) => boolean;
|
|
5469
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
5470
5444
|
};
|
|
5471
5445
|
readonly toJSON: () => string;
|
|
5472
5446
|
};
|
|
@@ -5539,7 +5513,6 @@ export declare const createBlockActivityDetails: <Req, Res>(context: {
|
|
|
5539
5513
|
readonly append: (name: string, value: string) => void;
|
|
5540
5514
|
readonly delete: (name: string) => void;
|
|
5541
5515
|
readonly has: (name: string) => boolean;
|
|
5542
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
5543
5516
|
};
|
|
5544
5517
|
readonly toJSON: () => string;
|
|
5545
5518
|
};
|
|
@@ -5767,7 +5740,6 @@ export declare const createBlockActivityDetails: <Req, Res>(context: {
|
|
|
5767
5740
|
readonly append: (name: string, value: string) => void;
|
|
5768
5741
|
readonly delete: (name: string) => void;
|
|
5769
5742
|
readonly has: (name: string) => boolean;
|
|
5770
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
5771
5743
|
};
|
|
5772
5744
|
readonly toJSON: () => string;
|
|
5773
5745
|
};
|
|
@@ -6138,7 +6110,6 @@ export declare const createAdditionalS2SActivityDetails: <Req, Res>({ ciSendRawU
|
|
|
6138
6110
|
readonly append: (name: string, value: string) => void;
|
|
6139
6111
|
readonly delete: (name: string) => void;
|
|
6140
6112
|
readonly has: (name: string) => boolean;
|
|
6141
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
6142
6113
|
};
|
|
6143
6114
|
readonly toJSON: () => string;
|
|
6144
6115
|
};
|
|
@@ -6211,7 +6182,6 @@ export declare const createAdditionalS2SActivityDetails: <Req, Res>({ ciSendRawU
|
|
|
6211
6182
|
readonly append: (name: string, value: string) => void;
|
|
6212
6183
|
readonly delete: (name: string) => void;
|
|
6213
6184
|
readonly has: (name: string) => boolean;
|
|
6214
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
6215
6185
|
};
|
|
6216
6186
|
readonly toJSON: () => string;
|
|
6217
6187
|
};
|
|
@@ -6439,7 +6409,6 @@ export declare const createAdditionalS2SActivityDetails: <Req, Res>({ ciSendRawU
|
|
|
6439
6409
|
readonly append: (name: string, value: string) => void;
|
|
6440
6410
|
readonly delete: (name: string) => void;
|
|
6441
6411
|
readonly has: (name: string) => boolean;
|
|
6442
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
6443
6412
|
};
|
|
6444
6413
|
readonly toJSON: () => string;
|
|
6445
6414
|
};
|
|
@@ -28,7 +28,6 @@ export declare const createBlockData: <Req, Res>(config: IConfiguration<Req, Res
|
|
|
28
28
|
readonly append: (name: string, value: string) => void;
|
|
29
29
|
readonly delete: (name: string) => void;
|
|
30
30
|
readonly has: (name: string) => boolean;
|
|
31
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
32
31
|
};
|
|
33
32
|
readonly toJSON: () => string;
|
|
34
33
|
};
|
|
@@ -101,7 +100,6 @@ export declare const createBlockData: <Req, Res>(config: IConfiguration<Req, Res
|
|
|
101
100
|
readonly append: (name: string, value: string) => void;
|
|
102
101
|
readonly delete: (name: string) => void;
|
|
103
102
|
readonly has: (name: string) => boolean;
|
|
104
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
105
103
|
};
|
|
106
104
|
readonly toJSON: () => string;
|
|
107
105
|
};
|
|
@@ -329,7 +327,6 @@ export declare const createBlockData: <Req, Res>(config: IConfiguration<Req, Res
|
|
|
329
327
|
readonly append: (name: string, value: string) => void;
|
|
330
328
|
readonly delete: (name: string) => void;
|
|
331
329
|
readonly has: (name: string) => boolean;
|
|
332
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
333
330
|
};
|
|
334
331
|
readonly toJSON: () => string;
|
|
335
332
|
};
|
|
@@ -28,7 +28,6 @@ export declare namespace MonitoredRequestUtils {
|
|
|
28
28
|
readonly append: (name: string, value: string) => void;
|
|
29
29
|
readonly delete: (name: string) => void;
|
|
30
30
|
readonly has: (name: string) => boolean;
|
|
31
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
32
31
|
};
|
|
33
32
|
readonly toJSON: () => string;
|
|
34
33
|
};
|
|
@@ -101,7 +100,6 @@ export declare namespace MonitoredRequestUtils {
|
|
|
101
100
|
readonly append: (name: string, value: string) => void;
|
|
102
101
|
readonly delete: (name: string) => void;
|
|
103
102
|
readonly has: (name: string) => boolean;
|
|
104
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
105
103
|
};
|
|
106
104
|
readonly toJSON: () => string;
|
|
107
105
|
};
|
|
@@ -329,7 +327,6 @@ export declare namespace MonitoredRequestUtils {
|
|
|
329
327
|
readonly append: (name: string, value: string) => void;
|
|
330
328
|
readonly delete: (name: string) => void;
|
|
331
329
|
readonly has: (name: string) => boolean;
|
|
332
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
333
330
|
};
|
|
334
331
|
readonly toJSON: () => string;
|
|
335
332
|
};
|
|
@@ -702,7 +699,6 @@ export declare namespace MonitoredRequestUtils {
|
|
|
702
699
|
readonly append: (name: string, value: string) => void;
|
|
703
700
|
readonly delete: (name: string) => void;
|
|
704
701
|
readonly has: (name: string) => boolean;
|
|
705
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
706
702
|
};
|
|
707
703
|
readonly toJSON: () => string;
|
|
708
704
|
};
|
|
@@ -775,7 +771,6 @@ export declare namespace MonitoredRequestUtils {
|
|
|
775
771
|
readonly append: (name: string, value: string) => void;
|
|
776
772
|
readonly delete: (name: string) => void;
|
|
777
773
|
readonly has: (name: string) => boolean;
|
|
778
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
779
774
|
};
|
|
780
775
|
readonly toJSON: () => string;
|
|
781
776
|
};
|
|
@@ -1003,7 +998,6 @@ export declare namespace MonitoredRequestUtils {
|
|
|
1003
998
|
readonly append: (name: string, value: string) => void;
|
|
1004
999
|
readonly delete: (name: string) => void;
|
|
1005
1000
|
readonly has: (name: string) => boolean;
|
|
1006
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1007
1001
|
};
|
|
1008
1002
|
readonly toJSON: () => string;
|
|
1009
1003
|
};
|
|
@@ -1374,7 +1368,6 @@ export declare namespace MonitoredRequestUtils {
|
|
|
1374
1368
|
readonly append: (name: string, value: string) => void;
|
|
1375
1369
|
readonly delete: (name: string) => void;
|
|
1376
1370
|
readonly has: (name: string) => boolean;
|
|
1377
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1378
1371
|
};
|
|
1379
1372
|
readonly toJSON: () => string;
|
|
1380
1373
|
};
|
|
@@ -1447,7 +1440,6 @@ export declare namespace MonitoredRequestUtils {
|
|
|
1447
1440
|
readonly append: (name: string, value: string) => void;
|
|
1448
1441
|
readonly delete: (name: string) => void;
|
|
1449
1442
|
readonly has: (name: string) => boolean;
|
|
1450
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1451
1443
|
};
|
|
1452
1444
|
readonly toJSON: () => string;
|
|
1453
1445
|
};
|
|
@@ -1675,7 +1667,6 @@ export declare namespace MonitoredRequestUtils {
|
|
|
1675
1667
|
readonly append: (name: string, value: string) => void;
|
|
1676
1668
|
readonly delete: (name: string) => void;
|
|
1677
1669
|
readonly has: (name: string) => boolean;
|
|
1678
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1679
1670
|
};
|
|
1680
1671
|
readonly toJSON: () => string;
|
|
1681
1672
|
};
|
package/lib/types/products/credential_intelligence/endpoint/CredentialEndpointConfiguration.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export type CredentialEndpointConfiguration<Req, Res> = {
|
|
|
24
24
|
/**
|
|
25
25
|
* Whether the credentials are sent through the request headers, query params, body, or custom callback.
|
|
26
26
|
*/
|
|
27
|
-
sent_through
|
|
27
|
+
sent_through?: 'body' | 'header' | 'query-param' | 'custom' | SentThrough;
|
|
28
28
|
/**
|
|
29
29
|
* A custom credential extraction callback that returns the raw credentials from the request.
|
|
30
30
|
* Does not need to be defined if the sent_through, user_field, and pass_field values have been configured.
|
|
@@ -43,7 +43,7 @@ export type CredentialEndpointConfiguration<Req, Res> = {
|
|
|
43
43
|
/**
|
|
44
44
|
* The method by which the module will determine whether the login request was successful.
|
|
45
45
|
*/
|
|
46
|
-
login_successful_reporting_method
|
|
46
|
+
login_successful_reporting_method?: 'status' | 'header' | 'body' | 'custom' | LoginSuccessfulReportingMethod;
|
|
47
47
|
/**
|
|
48
48
|
* An array of HTTP statuses signifying a successful login. All other status codes
|
|
49
49
|
* will be treated as unsuccessful login attempts.
|
|
@@ -30,7 +30,6 @@ export declare namespace PXHDUtils {
|
|
|
30
30
|
readonly append: (name: string, value: string) => void;
|
|
31
31
|
readonly delete: (name: string) => void;
|
|
32
32
|
readonly has: (name: string) => boolean;
|
|
33
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
34
33
|
};
|
|
35
34
|
readonly toJSON: () => string;
|
|
36
35
|
};
|
|
@@ -103,7 +102,6 @@ export declare namespace PXHDUtils {
|
|
|
103
102
|
readonly append: (name: string, value: string) => void;
|
|
104
103
|
readonly delete: (name: string) => void;
|
|
105
104
|
readonly has: (name: string) => boolean;
|
|
106
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
107
105
|
};
|
|
108
106
|
readonly toJSON: () => string;
|
|
109
107
|
};
|
|
@@ -331,7 +329,6 @@ export declare namespace PXHDUtils {
|
|
|
331
329
|
readonly append: (name: string, value: string) => void;
|
|
332
330
|
readonly delete: (name: string) => void;
|
|
333
331
|
readonly has: (name: string) => boolean;
|
|
334
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
335
332
|
};
|
|
336
333
|
readonly toJSON: () => string;
|
|
337
334
|
};
|
|
@@ -702,7 +699,6 @@ export declare namespace PXHDUtils {
|
|
|
702
699
|
readonly append: (name: string, value: string) => void;
|
|
703
700
|
readonly delete: (name: string) => void;
|
|
704
701
|
readonly has: (name: string) => boolean;
|
|
705
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
706
702
|
};
|
|
707
703
|
readonly toJSON: () => string;
|
|
708
704
|
};
|
|
@@ -775,7 +771,6 @@ export declare namespace PXHDUtils {
|
|
|
775
771
|
readonly append: (name: string, value: string) => void;
|
|
776
772
|
readonly delete: (name: string) => void;
|
|
777
773
|
readonly has: (name: string) => boolean;
|
|
778
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
779
774
|
};
|
|
780
775
|
readonly toJSON: () => string;
|
|
781
776
|
};
|
|
@@ -1003,7 +998,6 @@ export declare namespace PXHDUtils {
|
|
|
1003
998
|
readonly append: (name: string, value: string) => void;
|
|
1004
999
|
readonly delete: (name: string) => void;
|
|
1005
1000
|
readonly has: (name: string) => boolean;
|
|
1006
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1007
1001
|
};
|
|
1008
1002
|
readonly toJSON: () => string;
|
|
1009
1003
|
};
|
|
@@ -29,7 +29,6 @@ export declare namespace SensitiveRequestUtils {
|
|
|
29
29
|
readonly append: (name: string, value: string) => void;
|
|
30
30
|
readonly delete: (name: string) => void;
|
|
31
31
|
readonly has: (name: string) => boolean;
|
|
32
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
33
32
|
};
|
|
34
33
|
readonly toJSON: () => string;
|
|
35
34
|
};
|
|
@@ -102,7 +101,6 @@ export declare namespace SensitiveRequestUtils {
|
|
|
102
101
|
readonly append: (name: string, value: string) => void;
|
|
103
102
|
readonly delete: (name: string) => void;
|
|
104
103
|
readonly has: (name: string) => boolean;
|
|
105
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
106
104
|
};
|
|
107
105
|
readonly toJSON: () => string;
|
|
108
106
|
};
|
|
@@ -330,7 +328,6 @@ export declare namespace SensitiveRequestUtils {
|
|
|
330
328
|
readonly append: (name: string, value: string) => void;
|
|
331
329
|
readonly delete: (name: string) => void;
|
|
332
330
|
readonly has: (name: string) => boolean;
|
|
333
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
334
331
|
};
|
|
335
332
|
readonly toJSON: () => string;
|
|
336
333
|
};
|
|
@@ -703,7 +700,6 @@ export declare namespace SensitiveRequestUtils {
|
|
|
703
700
|
readonly append: (name: string, value: string) => void;
|
|
704
701
|
readonly delete: (name: string) => void;
|
|
705
702
|
readonly has: (name: string) => boolean;
|
|
706
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
707
703
|
};
|
|
708
704
|
readonly toJSON: () => string;
|
|
709
705
|
};
|
|
@@ -776,7 +772,6 @@ export declare namespace SensitiveRequestUtils {
|
|
|
776
772
|
readonly append: (name: string, value: string) => void;
|
|
777
773
|
readonly delete: (name: string) => void;
|
|
778
774
|
readonly has: (name: string) => boolean;
|
|
779
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
780
775
|
};
|
|
781
776
|
readonly toJSON: () => string;
|
|
782
777
|
};
|
|
@@ -1004,7 +999,6 @@ export declare namespace SensitiveRequestUtils {
|
|
|
1004
999
|
readonly append: (name: string, value: string) => void;
|
|
1005
1000
|
readonly delete: (name: string) => void;
|
|
1006
1001
|
readonly has: (name: string) => boolean;
|
|
1007
|
-
readonly forEach: (callback: (value: string, key: string, params?: import("../utils").IUrlSearchParams, thisArg?: any) => void) => void;
|
|
1008
1002
|
};
|
|
1009
1003
|
readonly toJSON: () => string;
|
|
1010
1004
|
};
|
|
@@ -11,4 +11,4 @@ export declare const PUSH_DATA_FEATURE_HEADER_NAME = "x-px-feature";
|
|
|
11
11
|
export declare const EMAIL_ADDRESS_REGEX: RegExp;
|
|
12
12
|
export declare const URL_REGEX: RegExp;
|
|
13
13
|
export declare const REGEX_STRUCTURE: RegExp;
|
|
14
|
-
export declare const CORE_MODULE_VERSION = "JS Core 0.21.
|
|
14
|
+
export declare const CORE_MODULE_VERSION = "JS Core 0.21.3";
|