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.
@@ -77,6 +77,7 @@ export const TRANSACTIONS = '/v1/transactions';
77
77
  export const EARNINGS = '/v1/earnings';
78
78
 
79
79
  export const BLOCKEDACCOUNT = '/v1/accounts/feeds/blocked?type=accounts&'
80
+ export const FOLLOWINGACCOUNT = '/v1/accounts/feeds/following?type=accounts&'
80
81
 
81
82
 
82
83
 
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, SCHEDULEPERDAY, COUNTRIES, TENANTSCOUNTRIES, SLUG, BLOCKEDACCOUNT,
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 getBlockedAccounts(param={bodyParam,authKey}) {
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 getBlockAccounts(param={bodyParam,authKey}) {
190
- let url = `${serialization(param.bodyParam)}`;
191
- try { const [error, responseJson] = await network.networkCall({path:BLOCKEDACCOUNT + `${url}`,method:Method.GET,authKey:param.authKey});
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 }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tradly",
3
- "version": "1.0.57",
3
+ "version": "1.0.58",
4
4
  "description": "Tradly JS SDK",
5
5
  "main": "index.js",
6
6
  "type": "module",