skyflow-js 2.0.0 → 2.1.0
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.
|
Binary file
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface ThreeDSBrowserDetails {
|
|
2
|
+
browser_accept_header: string;
|
|
3
|
+
browser_ip?: string;
|
|
4
|
+
browser_language: string;
|
|
5
|
+
browser_color_depth: string;
|
|
6
|
+
browser_screen_height: number;
|
|
7
|
+
browser_screen_width: number;
|
|
8
|
+
browser_tz: number;
|
|
9
|
+
browser_user_agent: string;
|
|
10
|
+
challenge_window_size?: string;
|
|
11
|
+
browser_java_enabled?: boolean;
|
|
12
|
+
browser_javascript_enabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare class ThreeDS {
|
|
15
|
+
#private;
|
|
16
|
+
static getBrowserDetails(): ThreeDSBrowserDetails;
|
|
17
|
+
static showChallenge: (acsUrl: string, cReq: string, challengeWindowSize?: string, container?: HTMLElement) => HTMLIFrameElement;
|
|
18
|
+
}
|
|
19
|
+
export default ThreeDS;
|
package/types/skyflow.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import CollectContainer from './core/external/collect/collect-container';
|
|
|
4
4
|
import SkyflowError from './libs/skyflow-error';
|
|
5
5
|
import { IRevealResponseType, RequestMethod, IInsertRecordInput, IDetokenizeInput, IGetInput, RedactionType, EventName, Env, LogLevel, ValidationRuleType, IGetByIdInput, IInsertOptions, IDeleteRecordInput, IDeleteOptions, IGetOptions } from './utils/common';
|
|
6
6
|
import ComposableContainer from './core/external/collect/compose-collect-container';
|
|
7
|
+
import ThreeDS from './core/external/threeds/threeds';
|
|
7
8
|
export declare enum ContainerType {
|
|
8
9
|
COLLECT = "COLLECT",
|
|
9
10
|
REVEAL = "REVEAL",
|
|
@@ -35,5 +36,6 @@ declare class Skyflow {
|
|
|
35
36
|
static get ValidationRuleType(): typeof ValidationRuleType;
|
|
36
37
|
static get CardType(): typeof CardType;
|
|
37
38
|
static get Error(): typeof SkyflowError;
|
|
39
|
+
static get ThreeDS(): typeof ThreeDS;
|
|
38
40
|
}
|
|
39
41
|
export default Skyflow;
|
package/types/utils/logs.d.ts
CHANGED
|
@@ -272,6 +272,7 @@ declare const logs: {
|
|
|
272
272
|
INVALID_ALLOWED_FILETYPE_ARRAY: string;
|
|
273
273
|
INVALID_OPTION_CARD_METADATA: string;
|
|
274
274
|
INVALID_OPTION_CARD_SCHEME: string;
|
|
275
|
+
INVALID_FIELD_SHOW_3DS_CHALLEGNGE: string;
|
|
275
276
|
};
|
|
276
277
|
warnLogs: {
|
|
277
278
|
INVALID_EXPIRATION_DATE_FORMAT: string;
|