tradly 1.1.60 → 1.1.61

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.
Files changed (2) hide show
  1. package/Roots/App.js +20 -0
  2. package/package.json +1 -1
package/Roots/App.js CHANGED
@@ -2095,6 +2095,26 @@ class App {
2095
2095
  }
2096
2096
  }
2097
2097
  //
2098
+ async PayINMangoPayPayPal(param = { authKey, data }) {
2099
+ try {
2100
+ const [error, responseJson] = await network.networkCall({
2101
+ path: MANGO_PAY + "/paypal_pay_in",
2102
+ method: Method.POST,
2103
+ authKey: param.authKey,
2104
+ currency: param.currency,
2105
+ language: param.language,
2106
+ param: param.data,
2107
+ });
2108
+ if (error) {
2109
+ return error;
2110
+ } else {
2111
+ return responseJson;
2112
+ }
2113
+ } catch (error) {
2114
+ return error;
2115
+ }
2116
+ }
2117
+ //
2098
2118
  async PayINMangoPayByBank(param = { authKey, data }) {
2099
2119
  try {
2100
2120
  const [error, responseJson] = await network.networkCall({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tradly",
3
- "version": "1.1.60",
3
+ "version": "1.1.61",
4
4
  "description": "Tradly JS SDK",
5
5
  "main": "index.js",
6
6
  "type": "module",