koffi-cream 2.15.0 → 2.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +7 -7
  2. package/package.json +14 -14
package/index.d.ts CHANGED
@@ -145,13 +145,13 @@ export function introspect(type: TypeSpec): TypeInfo;
145
145
  export function alias(name: string, type: TypeSpec): IKoffiCType;
146
146
 
147
147
  type KoffiConfig = {
148
- sync_stack_size: number
149
- sync_heap_size: number
150
- async_stack_size: number
151
- async_heap_size: number
152
- resident_async_pools: number
153
- max_async_calls: number
154
- max_type_size: number
148
+ sync_stack_size?: number
149
+ sync_heap_size?: number
150
+ async_stack_size?: number
151
+ async_heap_size?: number
152
+ resident_async_pools?: number
153
+ max_async_calls?: number
154
+ max_type_size?: number
155
155
  };
156
156
  type KoffiStats = {
157
157
  disposed: number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koffi-cream",
3
- "version": "2.15.0",
3
+ "version": "2.15.2",
4
4
  "description": "A lighter packaging for Koffi, the fast and simple C FFI (foreign function interface) for Node.js",
5
5
  "author": {
6
6
  "name": "Stephan 'Septh' Schreiber",
@@ -41,18 +41,18 @@
41
41
  "main": "index.js",
42
42
  "types": "index.d.ts",
43
43
  "optionalDependencies": {
44
- "@septh/koffi-darwin-arm64": "2.15.0",
45
- "@septh/koffi-darwin-x64": "2.15.0",
46
- "@septh/koffi-freebsd-arm64": "2.15.0",
47
- "@septh/koffi-freebsd-x64": "2.15.0",
48
- "@septh/koffi-linux-arm64-glibc": "2.15.0",
49
- "@septh/koffi-linux-loong64": "2.15.0",
50
- "@septh/koffi-linux-riscv64": "2.15.0",
51
- "@septh/koffi-linux-x64-glibc": "2.15.0",
52
- "@septh/koffi-linux-arm64-musl": "2.15.0",
53
- "@septh/koffi-linux-x64-musl": "2.15.0",
54
- "@septh/koffi-openbsd-x64": "2.15.0",
55
- "@septh/koffi-win32-arm64": "2.15.0",
56
- "@septh/koffi-win32-x64": "2.15.0"
44
+ "@septh/koffi-darwin-arm64": "2.15.2",
45
+ "@septh/koffi-darwin-x64": "2.15.2",
46
+ "@septh/koffi-freebsd-arm64": "2.15.2",
47
+ "@septh/koffi-freebsd-x64": "2.15.2",
48
+ "@septh/koffi-linux-arm64-glibc": "2.15.2",
49
+ "@septh/koffi-linux-loong64": "2.15.2",
50
+ "@septh/koffi-linux-riscv64": "2.15.2",
51
+ "@septh/koffi-linux-x64-glibc": "2.15.2",
52
+ "@septh/koffi-linux-arm64-musl": "2.15.2",
53
+ "@septh/koffi-linux-x64-musl": "2.15.2",
54
+ "@septh/koffi-openbsd-x64": "2.15.2",
55
+ "@septh/koffi-win32-arm64": "2.15.2",
56
+ "@septh/koffi-win32-x64": "2.15.2"
57
57
  }
58
58
  }