UNPKG
@atlas-kitchen/adyen-web
Version:
latest (6.15.0)
6.15.0
docs.adyen.com/checkout
atlas-kitchen/adyen-web
@atlas-kitchen/adyen-web
/
dist
/
es
/
core
/
ProcessResponse
/
PaymentAction
/
PaymentAction.js
3 lines
(2 loc)
•
243 B
JavaScript
View Raw
1
2
3
import
t
from
"./actionTypes.js"
;
function
o
(
o,n,r,e={}
){
const
i=t[r.
type
];
if
(i&&
"function"
==
typeof
i)
return
i
(o,n,r,e);
throw
new
Error
(
"Invalid Action"
)}
export
{o
as
default
,o
as
getComponentForAction};
//# sourceMappingURL=PaymentAction.js.map