tradly 1.0.56 → 1.0.57
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/Roots/App.js +7 -1
- package/package.json +1 -1
package/Roots/App.js
CHANGED
|
@@ -186,7 +186,13 @@ class App {
|
|
|
186
186
|
else { return responseJson }
|
|
187
187
|
} catch (error) { return error }
|
|
188
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});
|
|
192
|
+
if (error) { return error }
|
|
193
|
+
else { return responseJson }
|
|
194
|
+
} catch (error) { return error }
|
|
195
|
+
}
|
|
190
196
|
//MARK:- LISTINGS API
|
|
191
197
|
async getListings(param={bodyParam,authKey}) {
|
|
192
198
|
let url = param.bodyParam == undefined || param.bodyParam == '' ? '' : `?${serialization(param.bodyParam)}`;
|