UNPKG

@adyen/react-native

Version:

Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native

23 lines (21 loc) 572 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SessionWrapper = void 0; /** Native module interface specific to Session */ class SessionWrapper { constructor(nativeModule) { this.nativeModule = nativeModule; } hide(success, option) { this.nativeModule.hide(success, { message: option?.message ?? '' }); } createSession(session, configuration) { return this.nativeModule.createSession(session, configuration); } } exports.SessionWrapper = SessionWrapper; //# sourceMappingURL=SessionWrapper.js.map