feat: update assets & export types (#12)

This commit is contained in:
Kevin Lee
2024-10-28 10:00:43 +08:00
committed by Bloomingg
parent 448352abfb
commit 9534a672ab
8 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,6 +1,6 @@
{ {
"name": "@openim/electron-client-sdk", "name": "@openim/electron-client-sdk",
"version": "1.1.2", "version": "1.1.3",
"description": "open im sdk for node", "description": "open im sdk for node",
"source": "src/index.ts", "source": "src/index.ts",
"main": "lib/index.js", "main": "lib/index.js",

View File

@@ -24,7 +24,7 @@ type EmitterEvents = {
type WasmInterface = ReturnType<typeof WasmGetSDK>; type WasmInterface = ReturnType<typeof WasmGetSDK>;
type IMSDKInterface = Omit<WasmInterface, 'login'> & { export type IMSDKInterface = Omit<WasmInterface, 'login'> & {
login: ( login: (
params: Partial<InitAndLoginConfig>, params: Partial<InitAndLoginConfig>,
operationID?: string operationID?: string