crisp-api 10.8.4 → 10.8.6

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/crisp.js CHANGED
@@ -46,7 +46,7 @@ const AVAILABLE_RTM_MODES = [
46
46
  "websockets",
47
47
  "webhooks"
48
48
  ];
49
- const VERSION = "10.8.4";
49
+ const VERSION = "10.8.6";
50
50
  // Base configuration
51
51
  const DEFAULT_REQUEST_TIMEOUT = 10000;
52
52
  const DEFAULT_SOCKET_TIMEOUT = 10000;
@@ -193,7 +193,7 @@ declare class WebsitePeople extends BaseResource {
193
193
  /**
194
194
  * Save People Profile
195
195
  */
196
- getPeopleProfile(websiteID: string, peopleID: string): Promise<any>;
196
+ getPeopleProfile(websiteID: string, peopleID: string): Promise<PeopleProfile>;
197
197
  /**
198
198
  * Get People Profile
199
199
  */
@@ -355,7 +355,7 @@ class WebsitePeople extends BaseResource {
355
355
  /**
356
356
  * Save People Profile
357
357
  */
358
- getPeopleProfile(websiteID: string, peopleID: string) {
358
+ getPeopleProfile(websiteID: string, peopleID: string): Promise<PeopleProfile> {
359
359
  return this.crisp.get(
360
360
  this.crisp.prepareRestUrl([
361
361
  "website", websiteID, "people", "profile", peopleID
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "crisp-api",
3
3
  "description": "Crisp API wrapper for Node - official, maintained by Crisp",
4
- "version": "10.8.4",
4
+ "version": "10.8.6",
5
5
  "homepage": "https://github.com/crisp-im/node-crisp-api",
6
6
  "license": "MIT",
7
7
  "author": {