tradly 1.0.59 → 1.0.62

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.
@@ -79,6 +79,8 @@ export const EARNINGS = '/v1/earnings';
79
79
  export const BLOCKEDACCOUNT = '/v1/accounts/feeds/blocked?type=accounts&'
80
80
  export const FOLLOWINGACCOUNT = '/v1/accounts/feeds/following?type=accounts&'
81
81
 
82
+ export const FOLLOWINGLISTING = '/products/v1/feeds/following?type=listings&'
83
+
82
84
  export const LAYER = '/v1/layers';
83
85
 
84
86
 
package/Roots/App.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  S3SIGNEDURL, STRIPECONNECTACCOUNT,
12
12
  CREATEACCOUNTLINK, CREATEEXPRESSLOGINLINK, SCHEDULE,
13
13
  SCHEDULEPERDAY, COUNTRIES, TENANTSCOUNTRIES, SLUG,
14
- BLOCKEDACCOUNT, FOLLOWINGACCOUNT, LAYER,
14
+ BLOCKEDACCOUNT, FOLLOWINGACCOUNT, LAYER, FOLLOWINGLISTING,
15
15
  } from './../Constants/PathConstant.js'
16
16
  import serialization from "../Helper/Serialization.js";
17
17
  import { ImageConfig } from "../Helper/APIParam.js";
@@ -270,6 +270,13 @@ class App {
270
270
  else { return responseJson }
271
271
  } catch (error) { return error }
272
272
  }
273
+ async FollowingAccountsListings(param={bodyParam,authKey}) {
274
+ let url = `${serialization(param.bodyParam)}`
275
+ try { const [error, responseJson] = await network.networkCall({path:FOLLOWINGLISTING + `${url}`,method:Method.GET,authKey:param.authKey});
276
+ if (error) { return error }
277
+ else { return responseJson }
278
+ } catch (error) { return error }
279
+ }
273
280
  //MARK:-  Schedules 
274
281
  async createSchedule(param={id,authKey,data}) {
275
282
  let path = LISTINGS + `/${param.id}` + SCHEDULE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tradly",
3
- "version": "1.0.59",
3
+ "version": "1.0.62",
4
4
  "description": "Tradly JS SDK",
5
5
  "main": "index.js",
6
6
  "type": "module",