bkper-js 2.10.2 → 2.11.0

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
@@ -2868,8 +2868,22 @@ export declare class Integration extends Resource<bkper.Integration> {
2868
2868
  * Gets the logo of the Integration.
2869
2869
  *
2870
2870
  * @returns The Integration's logo
2871
+ *
2872
+ * @deprecated Use getLogoUrl instead.
2871
2873
  */
2872
2874
  getLogo(): string | undefined;
2875
+ /**
2876
+ * Gets the logo url of this Integration.
2877
+ *
2878
+ * @returns The logo url of this Integration
2879
+ */
2880
+ getLogoUrl(): string | undefined;
2881
+ /**
2882
+ * Gets the logo url of this Integration in dark mode.
2883
+ *
2884
+ * @returns The logo url of this Integration in dark mode
2885
+ */
2886
+ getLogoUrlDark(): string | undefined;
2873
2887
  /**
2874
2888
  * Gets the date when the Integration was added.
2875
2889
  *
@@ -68,10 +68,28 @@ export class Integration extends Resource {
68
68
  * Gets the logo of the Integration.
69
69
  *
70
70
  * @returns The Integration's logo
71
+ *
72
+ * @deprecated Use getLogoUrl instead.
71
73
  */
72
74
  getLogo() {
73
75
  return this.payload.logo;
74
76
  }
77
+ /**
78
+ * Gets the logo url of this Integration.
79
+ *
80
+ * @returns The logo url of this Integration
81
+ */
82
+ getLogoUrl() {
83
+ return this.payload.logo;
84
+ }
85
+ /**
86
+ * Gets the logo url of this Integration in dark mode.
87
+ *
88
+ * @returns The logo url of this Integration in dark mode
89
+ */
90
+ getLogoUrlDark() {
91
+ return this.payload.logoDark;
92
+ }
75
93
  /**
76
94
  * Gets the date when the Integration was added.
77
95
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "2.10.2",
3
+ "version": "2.11.0",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -34,7 +34,7 @@
34
34
  "postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
35
35
  },
36
36
  "peerDependencies": {
37
- "@bkper/bkper-api-types": "^5.28.0"
37
+ "@bkper/bkper-api-types": "^5.29.0"
38
38
  },
39
39
  "dependencies": {
40
40
  "big.js": "^6.0.3",