tradly 1.0.57 → 1.0.58
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/Constants/PathConstant.js +1 -0
- package/Roots/App.js +8 -7
- package/package.json +1 -1
package/Roots/App.js
CHANGED
|
@@ -9,10 +9,11 @@ import {
|
|
|
9
9
|
VALUES, TRANSACTIONS, EARNINGS, VARIANTTYPES,
|
|
10
10
|
EPHERMERALKEY, PAYMENTINTENT, CONFIGLIST, STATUS,
|
|
11
11
|
S3SIGNEDURL, STRIPECONNECTACCOUNT,
|
|
12
|
-
CREATEACCOUNTLINK, CREATEEXPRESSLOGINLINK, SCHEDULE,
|
|
12
|
+
CREATEACCOUNTLINK, CREATEEXPRESSLOGINLINK, SCHEDULE,
|
|
13
|
+
SCHEDULEPERDAY, COUNTRIES, TENANTSCOUNTRIES, SLUG,
|
|
14
|
+
BLOCKEDACCOUNT, FOLLOWINGACCOUNT,
|
|
13
15
|
} from './../Constants/PathConstant.js'
|
|
14
16
|
import serialization from "../Helper/Serialization.js";
|
|
15
|
-
import { APPCONSTANT } from "../Constants/AppConstant.js";
|
|
16
17
|
import { ImageConfig } from "../Helper/APIParam.js";
|
|
17
18
|
|
|
18
19
|
class App {
|
|
@@ -179,16 +180,16 @@ class App {
|
|
|
179
180
|
else { return responseJson }
|
|
180
181
|
} catch (error) { return error }
|
|
181
182
|
}
|
|
182
|
-
async
|
|
183
|
+
async getBlockAccounts(param={bodyParam,authKey}) {
|
|
183
184
|
let url = `${serialization(param.bodyParam)}`
|
|
184
|
-
try { const [error, responseJson] = await network.networkCall({path:BLOCKEDACCOUNT + `${url}`,method:Method.GET,authKey:param.authKey})
|
|
185
|
+
try { const [error, responseJson] = await network.networkCall({path:BLOCKEDACCOUNT + `${url}`,method:Method.GET,authKey:param.authKey});
|
|
185
186
|
if (error) { return error }
|
|
186
187
|
else { return responseJson }
|
|
187
188
|
} catch (error) { return error }
|
|
188
189
|
}
|
|
189
|
-
async
|
|
190
|
-
let url = `${serialization(param.bodyParam)}
|
|
191
|
-
try { const [error, responseJson] = await network.networkCall({path:
|
|
190
|
+
async getFollowingAccounts(param={bodyParam,authKey}) {
|
|
191
|
+
let url = `${serialization(param.bodyParam)}`
|
|
192
|
+
try { const [error, responseJson] = await network.networkCall({path:FOLLOWINGACCOUNT + `${url}`,method:Method.GET,authKey:param.authKey});
|
|
192
193
|
if (error) { return error }
|
|
193
194
|
else { return responseJson }
|
|
194
195
|
} catch (error) { return error }
|