UNPKG

911 BSource Map (JSON)View Raw
1{"version":3,"file":"Payments.js","sourceRoot":"","sources":["../src/Payments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAEvD,MAAM,UAAU,UAAU;IACxB,IAAI,CAAC,aAAa,CAAC,gBAAgB,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,EAAE;QAC5D,OAAO,CAAC,IAAI,CACV,sLAAsL,CACvL,CAAC;KACH;AACH,CAAC;AAED,MAAM,YAAY,GAAG,aAAa,CAAC,gBAAgB,IAAI,aAAa,CAAC,YAAY,CAAC;AAElF,eAAe,YAAY,CAAC","sourcesContent":["import { NativeModules, Platform } from 'react-native';\n\nexport function initialize() {\n if (!NativeModules.TPSStripeManager && Platform.OS === 'ios') {\n console.warn(\n `We temporarily moved the Expo Payments API to ExpoKit. Please see the SDK 20 release notes for more information: https://blog.expo.io/expo-sdk-v20-0-0-is-now-available-79f84232a9d1`\n );\n }\n}\n\nconst stripeModule = NativeModules.TPSStripeManager || NativeModules.StripeModule;\n\nexport default stripeModule;\n"]}
\No newline at end of file