bkper-js 2.45.1 → 2.46.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/dist/bkper.min.js +1 -1
- package/dist/bkper.min.js.map +2 -2
- package/lib/index.d.ts +6 -0
- package/lib/model/App.js +8 -0
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -524,6 +524,12 @@ export declare class App extends Resource<bkper.App> {
|
|
|
524
524
|
* @returns True if this App is published
|
|
525
525
|
*/
|
|
526
526
|
isPublished(): boolean;
|
|
527
|
+
/**
|
|
528
|
+
* Checks if this App is hidden.
|
|
529
|
+
*
|
|
530
|
+
* @returns True if this App is hidden, defaults to false
|
|
531
|
+
*/
|
|
532
|
+
isHidden(): boolean;
|
|
527
533
|
/**
|
|
528
534
|
* Tells if this App is installable.
|
|
529
535
|
*
|
package/lib/model/App.js
CHANGED
|
@@ -79,6 +79,14 @@ export class App extends Resource {
|
|
|
79
79
|
isPublished() {
|
|
80
80
|
return this.payload.published || false;
|
|
81
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* Checks if this App is hidden.
|
|
84
|
+
*
|
|
85
|
+
* @returns True if this App is hidden, defaults to false
|
|
86
|
+
*/
|
|
87
|
+
isHidden() {
|
|
88
|
+
return this.payload.hidden || false;
|
|
89
|
+
}
|
|
82
90
|
/**
|
|
83
91
|
* Tells if this App is installable.
|
|
84
92
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bkper-js",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.46.0",
|
|
4
4
|
"description": "Javascript client for Bkper REST API",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"release:major": "npm version major -m \"chore(release): v%s\""
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@bkper/bkper-api-types": "^5.
|
|
41
|
+
"@bkper/bkper-api-types": "^5.48.0",
|
|
42
42
|
"big.js": "^6.0.3",
|
|
43
43
|
"dayjs": "^1.10.3",
|
|
44
44
|
"luxon": "^1.25.0",
|