bkper-js 1.34.4 → 1.34.5

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
@@ -2286,6 +2286,18 @@ export declare class Transaction {
2286
2286
  * @returns The id of the agent that created this transaction
2287
2287
  */
2288
2288
  getAgentId(): string | undefined;
2289
+ /**
2290
+ * @returns The name of the agent that created this transaction
2291
+ */
2292
+ getAgentName(): string | undefined;
2293
+ /**
2294
+ * @returns The logo of the agent that created this transaction
2295
+ */
2296
+ getAgentLogoUrl(): string | undefined;
2297
+ /**
2298
+ * @returns The logo of the agent that created this transaction in dark mode
2299
+ */
2300
+ getAgentLogoUrlDark(): string | undefined;
2289
2301
  /**
2290
2302
  * Remote ids are used to avoid duplication.
2291
2303
  *
@@ -51,6 +51,24 @@ export class Transaction {
51
51
  getAgentId() {
52
52
  return this.payload.agentId;
53
53
  }
54
+ /**
55
+ * @returns The name of the agent that created this transaction
56
+ */
57
+ getAgentName() {
58
+ return this.payload.agentName;
59
+ }
60
+ /**
61
+ * @returns The logo of the agent that created this transaction
62
+ */
63
+ getAgentLogoUrl() {
64
+ return this.payload.agentLogo;
65
+ }
66
+ /**
67
+ * @returns The logo of the agent that created this transaction in dark mode
68
+ */
69
+ getAgentLogoUrlDark() {
70
+ return this.payload.agentLogoDark;
71
+ }
54
72
  /**
55
73
  * Remote ids are used to avoid duplication.
56
74
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "1.34.4",
3
+ "version": "1.34.5",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",