react-native-tpay 1.3.4 → 1.3.5
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
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
RCT_EXTERN_METHOD(screenlessAmbiguousBLIKPayment: (NSString *)json
|
|
27
27
|
resolve:(RCTPromiseResolveBlock)resolve
|
|
28
28
|
reject:(RCTPromiseRejectBlock)reject)
|
|
29
|
-
RCT_EXTERN_METHOD(
|
|
29
|
+
RCT_EXTERN_METHOD(screenlessApplePayPayment: (NSString *)json
|
|
30
30
|
resolve:(RCTPromiseResolveBlock)resolve
|
|
31
31
|
reject:(RCTPromiseRejectBlock)reject)
|
|
32
32
|
RCT_EXTERN_METHOD(screenlessPayPoPayment: (NSString *)json
|
package/ios/Source/TpaySDK.swift
CHANGED
|
@@ -135,7 +135,7 @@ final class TpayRNModule: NSObject, RCTBridgeModule {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
@objc func
|
|
138
|
+
@objc func screenlessApplePayPayment(_ json: String, resolve: @escaping RCTPromiseResolveBlock, reject _: RCTPromiseRejectBlock) {
|
|
139
139
|
Headless.getAvailablePaymentChannels { [weak self] result in
|
|
140
140
|
switch result {
|
|
141
141
|
case let .success(paymentChannels):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-tpay",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
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",
|