@soulcraft/brainy 0.9.5 → 0.9.7

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.
@@ -2,5 +2,5 @@
2
2
  * This file is auto-generated during the build process.
3
3
  * Do not modify this file directly.
4
4
  */
5
- export declare const VERSION = "0.9.5";
5
+ export declare const VERSION = "0.9.7";
6
6
  //# sourceMappingURL=version.d.ts.map
@@ -4,25 +4,25 @@
4
4
  /**
5
5
  * Execute a function in a Web Worker (browser environment)
6
6
  *
7
- * @param fn The function to execute
7
+ * @param fnString The function to execute as a string
8
8
  * @param args The arguments to pass to the function
9
9
  * @returns A promise that resolves with the result of the function
10
10
  */
11
- export declare function executeInWebWorker<T>(fn: Function, ...args: any[]): Promise<T>;
11
+ export declare function executeInWebWorker<T>(fnString: string, args: any): Promise<T>;
12
12
  /**
13
13
  * Execute a function in a Worker Thread (Node.js environment)
14
14
  *
15
- * @param fn The function to execute
15
+ * @param fnString The function to execute as a string
16
16
  * @param args The arguments to pass to the function
17
17
  * @returns A promise that resolves with the result of the function
18
18
  */
19
- export declare function executeInWorkerThread<T>(fn: Function, ...args: any[]): Promise<T>;
19
+ export declare function executeInWorkerThread<T>(fnString: string, args: any): Promise<T>;
20
20
  /**
21
21
  * Execute a function in a separate thread based on the environment
22
22
  *
23
- * @param fn The function to execute
23
+ * @param fnString The function to execute as a string
24
24
  * @param args The arguments to pass to the function
25
25
  * @returns A promise that resolves with the result of the function
26
26
  */
27
- export declare function executeInThread<T>(fn: Function, ...args: any[]): Promise<T>;
27
+ export declare function executeInThread<T>(fnString: string, args: any): Promise<T>;
28
28
  //# sourceMappingURL=workerUtils.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soulcraft/brainy",
3
- "version": "0.9.5",
3
+ "version": "0.9.7",
4
4
  "description": "A vector graph database using HNSW indexing with Origin Private File System storage",
5
5
  "main": "dist/unified.js",
6
6
  "module": "dist/unified.js",
@@ -85,17 +85,14 @@
85
85
  "@rollup/plugin-node-resolve": "^15.2.3",
86
86
  "@rollup/plugin-replace": "^5.0.5",
87
87
  "@rollup/plugin-typescript": "^11.1.6",
88
- "@types/jest": "^29.5.3",
89
88
  "@types/node": "^20.4.5",
90
89
  "@types/omelette": "^0.4.5",
91
90
  "@types/uuid": "^10.0.0",
92
91
  "@typescript-eslint/eslint-plugin": "^6.0.0",
93
92
  "@typescript-eslint/parser": "^6.0.0",
94
93
  "eslint": "^8.45.0",
95
- "jest": "^29.6.2",
96
94
  "rollup": "^4.12.0",
97
95
  "rollup-plugin-terser": "^7.0.2",
98
- "ts-jest": "^29.1.1",
99
96
  "tslib": "^2.8.1",
100
97
  "typescript": "^5.1.6"
101
98
  },