refactor: replace ffi with koffi

This commit is contained in:
Bloomingg
2024-04-08 16:54:02 +08:00
parent 9d20806d51
commit fbcae7866b
19 changed files with 1248 additions and 2239 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "open-im-sdk-node",
"version": "1.0.0",
"name": "@openim/node-client-sdk",
"version": "1.0.6",
"description": "open im sdk for node",
"source": "src/index.ts",
"main": "lib/index.js",
@@ -58,6 +58,7 @@
"husky": "^6.0.0",
"jest": "^27.2.0",
"lint-staged": "^10.5.4",
"open-im-sdk-wasm": "^3.5.3-alpha.2",
"prettier": "^2.2.1",
"rollup": "^2.79.1",
"rollup-plugin-typescript2": "^0.36.0",
@@ -74,7 +75,10 @@
"*.ts": "eslint --cache --cache-location .eslintcache --fix"
},
"dependencies": {
"@openim/ffi-napi": "^4.0.14",
"koffi": "^2.8.0",
"uuid": "^9.0.0"
},
"peerDependencies": {
"open-im-sdk-wasm": "^3.5.3-alpha.1"
}
}