mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(core): Implement 3ds decision manger for V2 (#7022)
This commit is contained in:
@ -22,6 +22,7 @@ v2 = []
|
||||
[dependencies]
|
||||
api_models = { version = "0.1.0", path = "../api_models", package = "api_models" }
|
||||
common_enums = { version = "0.1.0", path = "../common_enums" }
|
||||
common_types = { version = "0.1.0", path = "../common_types" }
|
||||
connector_configs = { version = "0.1.0", path = "../connector_configs" }
|
||||
currency_conversion = { version = "0.1.0", path = "../currency_conversion" }
|
||||
euclid = { version = "0.1.0", path = "../euclid", features = [] }
|
||||
|
||||
@ -7,7 +7,7 @@ use std::{
|
||||
};
|
||||
|
||||
use api_models::{
|
||||
conditional_configs::ConditionalConfigs, enums as api_model_enums, routing::ConnectorSelection,
|
||||
enums as api_model_enums, routing::ConnectorSelection,
|
||||
surcharge_decision_configs::SurchargeDecisionConfigs,
|
||||
};
|
||||
use common_enums::RoutableConnectors;
|
||||
@ -221,7 +221,7 @@ pub fn get_key_type(key: &str) -> Result<String, String> {
|
||||
|
||||
#[wasm_bindgen(js_name = getThreeDsKeys)]
|
||||
pub fn get_three_ds_keys() -> JsResult {
|
||||
let keys = <ConditionalConfigs as EuclidDirFilter>::ALLOWED;
|
||||
let keys = <common_types::payments::ConditionalConfigs as EuclidDirFilter>::ALLOWED;
|
||||
Ok(serde_wasm_bindgen::to_value(keys)?)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user