react-native-tpay 0.5.0 → 1.3.1
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.
package/ios/Source/TpaySDK.mm
CHANGED
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
RCT_EXTERN_METHOD(screenlessPayPoPayment: (NSString *)json
|
|
33
33
|
resolve:(RCTPromiseResolveBlock)resolve
|
|
34
34
|
reject:(RCTPromiseRejectBlock)reject)
|
|
35
|
-
RCT_EXTERN_METHOD(
|
|
36
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
35
|
+
RCT_EXTERN_METHOD(getAvailablePaymentChannels: (RCTPromiseResolveBlock)resolve
|
|
37
36
|
reject:(RCTPromiseRejectBlock)reject)
|
|
38
37
|
@end
|
package/ios/Source/TpaySDK.swift
CHANGED
|
@@ -181,7 +181,7 @@ final class TpayRNModule: NSObject, RCTBridgeModule {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
@objc func
|
|
184
|
+
@objc func getAvailablePaymentChannels(_ resolve: @escaping RCTPromiseResolveBlock, reject _: RCTPromiseRejectBlock) {
|
|
185
185
|
Headless.getAvailablePaymentChannels { result in
|
|
186
186
|
switch result {
|
|
187
187
|
case let .success(paymentMethods):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-tpay",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "The Tpay SDK empowers your app to seamlessly integrate Tpay’s payment functionalities, providing a comprehensive and developer-friendly solution for managing payments.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|