bkper-js 1.34.3 → 1.34.4

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/lib/index.d.ts CHANGED
@@ -2024,6 +2024,11 @@ export declare class Message {
2024
2024
  * @returns The Agent associated with the Message, in any
2025
2025
  */
2026
2026
  getAgent(): Agent | undefined;
2027
+ /**
2028
+ *
2029
+ * @returns The Conversation of the Message
2030
+ */
2031
+ getConversation(): Conversation;
2027
2032
  /**
2028
2033
  *
2029
2034
  * @returns The User associated with the Message
@@ -42,6 +42,13 @@ export class Message {
42
42
  getAgent() {
43
43
  return this.payload.agent ? new Agent(this.payload.agent) : undefined;
44
44
  }
45
+ /**
46
+ *
47
+ * @returns The Conversation of the Message
48
+ */
49
+ getConversation() {
50
+ return this.conversation;
51
+ }
45
52
  /**
46
53
  *
47
54
  * @returns The User associated with the Message
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "1.34.3",
3
+ "version": "1.34.4",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",