@sap-ux/store
Advanced tools
@@ -12,2 +12,6 @@ import type { EntityKey } from '.'; | ||
| readonly hasSensitiveData?: boolean; | ||
| readonly systemInfo?: { | ||
| systemId: string; | ||
| client: string; | ||
| }; | ||
| readonly serviceKeys?: unknown; | ||
@@ -17,3 +21,3 @@ readonly refreshToken?: string; | ||
| readonly password?: string; | ||
| constructor({ name, url, client, systemType, serviceKeys, refreshToken, username, password, userDisplayName, authenticationType, connectionType }: { | ||
| constructor({ name, url, client, systemType, serviceKeys, refreshToken, username, password, userDisplayName, authenticationType, connectionType, systemInfo }: { | ||
| name: string; | ||
@@ -30,2 +34,6 @@ url: string; | ||
| authenticationType?: AuthenticationType; | ||
| systemInfo?: { | ||
| systemId: string; | ||
| client: string; | ||
| }; | ||
| }); | ||
@@ -32,0 +40,0 @@ } |
@@ -24,2 +24,3 @@ "use strict"; | ||
| hasSensitiveData; | ||
| systemInfo; | ||
| serviceKeys; | ||
@@ -29,3 +30,3 @@ refreshToken; | ||
| password; | ||
| constructor({ name, url, client, systemType, serviceKeys, refreshToken, username, password, userDisplayName, authenticationType, connectionType }) { | ||
| constructor({ name, url, client, systemType, serviceKeys, refreshToken, username, password, userDisplayName, authenticationType, connectionType, systemInfo }) { | ||
| this.name = name; | ||
@@ -44,2 +45,3 @@ this.url = url; | ||
| this.hasSensitiveData = (0, utils_1.hasAnyValue)(this, sensitiveProps); | ||
| this.systemInfo = systemInfo; | ||
| } | ||
@@ -81,2 +83,6 @@ } | ||
| __decorate([ | ||
| decorators_1.serializable, | ||
| __metadata("design:type", Object) | ||
| ], BackendSystem.prototype, "systemInfo", void 0); | ||
| __decorate([ | ||
| decorators_1.sensitiveData, | ||
@@ -83,0 +89,0 @@ __metadata("design:type", Object) |
+1
-1
| { | ||
| "name": "@sap-ux/store", | ||
| "version": "1.4.2", | ||
| "version": "1.5.0", | ||
| "description": "NPM module for storing persistent data", | ||
@@ -5,0 +5,0 @@ "repository": { |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
112819
0.35%2306
0.61%