@buley/neural 4.2.0 → 4.3.0

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.
package/dist/index.d.ts CHANGED
@@ -3,6 +3,8 @@ import { GPUEngine } from "./engine/gpu";
3
3
  import { WebNNEngine } from "./engine/webnn";
4
4
  import { Neuron, Synapse } from "./types";
5
5
  export type { Neuron, Synapse } from "./types";
6
+ export { GPUEngine } from "./engine/gpu";
7
+ export { WebNNEngine } from "./engine/webnn";
6
8
  export declare class NeuralEngine {
7
9
  gpu: GPUEngine;
8
10
  npu: WebNNEngine;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAE1C,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAE/C,qBAAa,YAAY;IACrB,GAAG,EAAE,SAAS,CAAC;IACf,GAAG,EAAE,WAAW,CAAC;IACjB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,OAAO,CAAC,UAAU,CAAa;IAE/B,aAAa,EAAE,KAAK,GAAG,KAAK,CAAS;;IAWrC,OAAO,CAAC,OAAO,CAAgB;IAC/B,OAAO,CAAC,QAAQ,CAAiB;IAE3B,IAAI;;;;;;;;;;;;;;IAsDJ,OAAO;;;;;;IAgBP,aAAa;;;;;;;;;;;;;;IAoBnB,YAAY;;;;;;;;;;;;;;IA0BN,aAAa,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;IAa9B,WAAW;;;;;IAQL,WAAW,CAAC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AE,MAAM,EAAE,CAAC;QAAC,QAAQ,EAAE,OAAO,EAAE,CAAA;KAAE;;;;;;;;;;;;;;IA0B5D,WAAW,CAAC,IAAI,EAAE,YAAY;IAQ9B,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;CAO7D;AAGD,wBAAsB,IAAI;;;;;;;;;;;;;GAGzB"}
package/dist/index.js CHANGED
@@ -534,6 +534,8 @@ async function P() {
534
534
  return new U().init();
535
535
  }
536
536
  export {
537
+ S as GPUEngine,
537
538
  U as NeuralEngine,
539
+ T as WebNNEngine,
538
540
  P as init
539
541
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buley/neural",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "description": "A Transparent, Local-First, WebGPU-Accelerated Neural Graph Database.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -12,6 +12,14 @@
12
12
  ".": {
13
13
  "types": "./dist/index.d.ts",
14
14
  "import": "./dist/index.js"
15
+ },
16
+ "./engine": {
17
+ "types": "./dist/engine/gpu.d.ts",
18
+ "import": "./dist/engine/gpu.js"
19
+ },
20
+ "./gpu": {
21
+ "types": "./dist/engine/gpu.d.ts",
22
+ "import": "./dist/engine/gpu.js"
15
23
  }
16
24
  },
17
25
  "publishConfig": {
@@ -23,7 +31,7 @@
23
31
  "bench": "bun src/bench/benchmark.ts"
24
32
  },
25
33
  "dependencies": {
26
- "@buley/dash": "^4.3.0"
34
+ "@buley/dash": "^4.4.0"
27
35
  },
28
36
  "devDependencies": {
29
37
  "@webgpu/types": "^0.1.69",