Comparing version 0.1.1 to 0.1.2
@@ -1,2 +0,2 @@ | ||
export interface WeWorkChatInit { | ||
interface WeWorkChatInit { | ||
corpid: string; | ||
@@ -6,1 +6,18 @@ secret: string; | ||
} | ||
declare class WeWorkChat { | ||
private corpid; | ||
private secret; | ||
private private_key; | ||
constructor(options: WeWorkChatInit); | ||
private init; | ||
getChatData(params: { | ||
seq: number; | ||
limit: number; | ||
proxy?: string; | ||
passwd?: string; | ||
timeout: number; | ||
}): Promise<Record<string, unknown>>; | ||
deRSAcryptChatData(encrypt_random_key: string): Promise<string>; | ||
deCryptDatas(encrypt_key: string, encrypt_msg: string): Promise<Record<string, unknown>>; | ||
} | ||
export default WeWorkChat; |
@@ -50,2 +50,2 @@ "use strict"; | ||
} | ||
module.exports = WeWorkChat; | ||
exports.default = WeWorkChat; |
{ | ||
"name": "bf-wchat", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Enterprise WeChat chat archive.", | ||
@@ -37,2 +37,2 @@ "main": "dist/index.js", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
357860
73