@alemonjs/kook
Advanced tools
+1
-1
@@ -9,2 +9,2 @@ export declare const platform = "kook"; | ||
| export declare const getKOOKConfig: () => Options; | ||
| export declare const getMaster: (UserId: string) => boolean; | ||
| export declare const getMaster: (UserId: string) => readonly [boolean, string]; |
+7
-2
@@ -1,2 +0,2 @@ | ||
| import { getConfigValue, isMaster } from 'alemonjs'; | ||
| import { getConfigValue, isMaster, createUserHashKey } from 'alemonjs'; | ||
@@ -9,5 +9,10 @@ const platform = 'kook'; | ||
| const getMaster = (UserId) => { | ||
| return isMaster(UserId, platform); | ||
| const isMasterUser = isMaster(UserId, platform); | ||
| const UserKey = createUserHashKey({ | ||
| Platform: platform, | ||
| UserId | ||
| }); | ||
| return [isMasterUser, UserKey]; | ||
| }; | ||
| export { getKOOKConfig, getMaster, platform }; |
+2
-2
| { | ||
| "name": "@alemonjs/kook", | ||
| "version": "2.1.7", | ||
| "version": "2.1.8", | ||
| "description": "kook platform connection", | ||
@@ -62,3 +62,3 @@ "author": "lemonade", | ||
| }, | ||
| "gitHead": "e50477125586204c6e56a8ecfe3391136f5fe74b" | ||
| "gitHead": "8cee61f217e7e72eebc4342513e32232da05167a" | ||
| } |
Network access
Supply chain riskThis module accesses the network.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance 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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance 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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
320053
0.06%3416
0.15%