bkper-js 1.34.4 → 1.34.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/lib/index.d.ts CHANGED
@@ -249,6 +249,11 @@ export declare class Agent {
249
249
  * @returns The Agent logo url
250
250
  */
251
251
  getLogoUrl(): string | undefined;
252
+ /**
253
+ *
254
+ * @returns The Agent logo url in dark mode
255
+ */
256
+ getLogoUrlDark(): string | undefined;
252
257
  }
253
258
 
254
259
  /**
@@ -2286,6 +2291,18 @@ export declare class Transaction {
2286
2291
  * @returns The id of the agent that created this transaction
2287
2292
  */
2288
2293
  getAgentId(): string | undefined;
2294
+ /**
2295
+ * @returns The name of the agent that created this transaction
2296
+ */
2297
+ getAgentName(): string | undefined;
2298
+ /**
2299
+ * @returns The logo of the agent that created this transaction
2300
+ */
2301
+ getAgentLogoUrl(): string | undefined;
2302
+ /**
2303
+ * @returns The logo of the agent that created this transaction in dark mode
2304
+ */
2305
+ getAgentLogoUrlDark(): string | undefined;
2289
2306
  /**
2290
2307
  * Remote ids are used to avoid duplication.
2291
2308
  *
@@ -36,5 +36,12 @@ export class Agent {
36
36
  getLogoUrl() {
37
37
  return this.payload.logo;
38
38
  }
39
+ /**
40
+ *
41
+ * @returns The Agent logo url in dark mode
42
+ */
43
+ getLogoUrlDark() {
44
+ return this.payload.logoDark;
45
+ }
39
46
  }
40
47
  //# sourceMappingURL=Agent.js.map
@@ -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.6",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",