anear-js-api 0.4.9 → 0.4.10

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.
@@ -53,6 +53,12 @@ class AnearApi extends ApiService {
53
53
 
54
54
  return this.get("event_participants", {id: participantId})
55
55
  }
56
+
57
+ getUser(userId) {
58
+ logger.debug(`API: GET user ${userId}`)
59
+
60
+ return this.get("users", {id: userId})
61
+ }
56
62
  }
57
63
 
58
64
  module.exports = AnearApi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anear-js-api",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "Javascript Developer API for Anear Apps",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {