@smartico/public-api 0.0.56 → 0.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/dist/WSAPI/WSAPI.d.ts +1 -1
- package/dist/index.js +24 -28
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/WSAPI/WSAPI.ts +1 -1
package/dist/index.modern.mjs
CHANGED
|
@@ -770,7 +770,7 @@ class WSAPI {
|
|
|
770
770
|
this.api = api;
|
|
771
771
|
}
|
|
772
772
|
/** Returns information about current user */
|
|
773
|
-
|
|
773
|
+
getUserProfile() {
|
|
774
774
|
if (this.api.tracker) {
|
|
775
775
|
const o = Object.assign({}, this.api.tracker.userPublicProps);
|
|
776
776
|
o.avatar_url = CoreUtils.avatarUrl(this.api.tracker.userPublicProps.avatar_id, this.api.avatarDomain);
|