attlaz-client 1.46.0 → 1.46.2
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.
|
@@ -8,7 +8,16 @@ export class MetaDataWithIconAware {
|
|
|
8
8
|
createdAt = null;
|
|
9
9
|
static parseMetaData(input, raw) {
|
|
10
10
|
input = MetaDataAware.parseMetaData(input, raw);
|
|
11
|
-
input.icon = raw.icon;
|
|
11
|
+
input.icon = MetaDataWithIconAware.parseIcon(raw.icon);
|
|
12
12
|
return input;
|
|
13
13
|
}
|
|
14
|
+
static parseIcon(icon) {
|
|
15
|
+
if (icon === null) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
if (typeof icon === 'object' && 'url' in icon) {
|
|
19
|
+
return icon.url;
|
|
20
|
+
}
|
|
21
|
+
return icon;
|
|
22
|
+
}
|
|
14
23
|
}
|
|
@@ -18,7 +18,7 @@ export class Adapter extends MetaDataWithIconAware {
|
|
|
18
18
|
adapter.longDescription = rawAdapter.long_description;
|
|
19
19
|
adapter.capabilities = rawAdapter.capabilities;
|
|
20
20
|
// adapter.icon = rawAdapter.icon as string;
|
|
21
|
-
adapter.logo = rawAdapter.logo;
|
|
21
|
+
adapter.logo = MetaDataWithIconAware.parseIcon(rawAdapter.logo);
|
|
22
22
|
adapter.type = rawAdapter.type;
|
|
23
23
|
adapter.categoryIds = rawAdapter.categories;
|
|
24
24
|
adapter.docs = rawAdapter.docs;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.46.
|
|
1
|
+
export declare const VERSION = "1.46.1";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.46.
|
|
1
|
+
export const VERSION = "1.46.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "attlaz-client",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.2",
|
|
4
4
|
"description": "Javascript Client to access Attlaz API",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,24 +49,24 @@
|
|
|
49
49
|
"registry": "https://registry.npmjs.org"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"axios": "^1.13.
|
|
52
|
+
"axios": "^1.13.6",
|
|
53
53
|
"axios-oauth-client": "^2.2.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/jest": "^30.0.0",
|
|
57
|
-
"@types/node": "^24.10.
|
|
57
|
+
"@types/node": "^24.10.15",
|
|
58
58
|
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
59
59
|
"@typescript-eslint/parser": "^8.1.0",
|
|
60
|
-
"dotenv": "^17.
|
|
61
|
-
"eslint": "^9.39.
|
|
62
|
-
"eslint-config-attlaz-base": "^1.5.
|
|
60
|
+
"dotenv": "^17.3.1",
|
|
61
|
+
"eslint": "^9.39.3",
|
|
62
|
+
"eslint-config-attlaz-base": "^1.5.2",
|
|
63
63
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
64
64
|
"eslint-plugin-import": "^2.32.0",
|
|
65
65
|
"eslint-plugin-jsdoc": "^51.4.1",
|
|
66
66
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
67
67
|
"eslint-plugin-promise": "^7.2.1",
|
|
68
68
|
"jest": "^30.2.0",
|
|
69
|
-
"rimraf": "^6.1.
|
|
69
|
+
"rimraf": "^6.1.3",
|
|
70
70
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
71
71
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
72
72
|
"rollup-plugin-typescript": "^1.0.1",
|