Skip to content

Commit 598b3fe

Browse files
committed
refactor(ffi): replace node-ffi-napi with koffi
- Switched to koffi due to node-ffi-napi's incompatibility with Node.js v16+ on Windows.
1 parent 2d542db commit 598b3fe

File tree

14 files changed

+1027
-872
lines changed

14 files changed

+1027
-872
lines changed

biome.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
},
3333
"complexity": {
3434
"noStaticOnlyClass": "off"
35+
},
36+
"suspicious": {
37+
"noExplicitAny": "off"
3538
}
3639
}
3740
},

packages/anoncreds-nodejs/package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,11 @@
2424
"install": "node scripts/install.js"
2525
},
2626
"dependencies": {
27-
"@2060.io/ffi-napi": "^4.0.9",
28-
"@2060.io/ref-napi": "^3.0.6",
29-
"@hyperledger/anoncreds-shared": "workspace:*",
30-
"ref-array-di": "1.2.2",
31-
"ref-struct-di": "1.1.1"
27+
"koffi": "^2.14.0",
28+
"@hyperledger/anoncreds-shared": "workspace:*"
3229
},
3330
"devDependencies": {
3431
"@types/node": "catalog:",
35-
"@types/ref-array-di": "^1.2.3",
36-
"@types/ref-struct-di": "^1.1.6",
3732
"typescript": "catalog:"
3833
},
3934
"binary": {

0 commit comments

Comments
 (0)