@omendb/omendb 0.0.14 → 0.0.16

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.js +7 -7
  2. package/package.json +57 -57
package/index.js CHANGED
@@ -37,9 +37,9 @@ switch (platform) {
37
37
  nativeBinding = require("./omendb.node");
38
38
  } else {
39
39
  if (arch === "x64") {
40
- nativeBinding = require("@omendb/darwin-x64");
40
+ nativeBinding = require("@omendb/omendb-darwin-x64");
41
41
  } else if (arch === "arm64") {
42
- nativeBinding = require("@omendb/darwin-arm64");
42
+ nativeBinding = require("@omendb/omendb-darwin-arm64");
43
43
  } else {
44
44
  throw new Error(`Unsupported architecture on macOS: ${arch}`);
45
45
  }
@@ -55,17 +55,17 @@ switch (platform) {
55
55
  nativeBinding = require("./omendb.node");
56
56
  } else if (isMusl()) {
57
57
  if (arch === "x64") {
58
- nativeBinding = require("@omendb/linux-x64-musl");
58
+ nativeBinding = require("@omendb/omendb-linux-x64-musl");
59
59
  } else if (arch === "arm64") {
60
- nativeBinding = require("@omendb/linux-arm64-musl");
60
+ nativeBinding = require("@omendb/omendb-linux-arm64-musl");
61
61
  } else {
62
62
  throw new Error(`Unsupported architecture on Linux musl: ${arch}`);
63
63
  }
64
64
  } else {
65
65
  if (arch === "x64") {
66
- nativeBinding = require("@omendb/linux-x64-gnu");
66
+ nativeBinding = require("@omendb/omendb-linux-x64-gnu");
67
67
  } else if (arch === "arm64") {
68
- nativeBinding = require("@omendb/linux-arm64-gnu");
68
+ nativeBinding = require("@omendb/omendb-linux-arm64-gnu");
69
69
  } else {
70
70
  throw new Error(`Unsupported architecture on Linux: ${arch}`);
71
71
  }
@@ -81,7 +81,7 @@ switch (platform) {
81
81
  nativeBinding = require("./omendb.node");
82
82
  } else {
83
83
  if (arch === "x64") {
84
- nativeBinding = require("@omendb/win32-x64-msvc");
84
+ nativeBinding = require("@omendb/omendb-win32-x64-msvc");
85
85
  } else {
86
86
  throw new Error(`Unsupported architecture on Windows: ${arch}`);
87
87
  }
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
1
  {
2
- "name": "@omendb/omendb",
3
- "version": "0.0.14",
4
- "description": "Fast embedded vector database with HNSW + ACORN-1 filtered search",
5
- "main": "index.js",
6
- "types": "index.d.ts",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/omendb/omendb"
10
- },
11
- "keywords": [
12
- "vector",
13
- "database",
14
- "embeddings",
15
- "hnsw",
16
- "similarity-search",
17
- "ai",
18
- "machine-learning",
19
- "napi-rs",
20
- "rust"
21
- ],
22
- "author": "Nick Jaru",
23
- "license": "Apache-2.0",
24
- "engines": {
25
- "node": ">= 18"
26
- },
27
- "napi": {
28
- "binaryName": "omendb",
29
- "packageName": "@omendb/omendb",
30
- "targets": [
31
- "x86_64-apple-darwin",
32
- "aarch64-apple-darwin",
33
- "x86_64-unknown-linux-gnu",
34
- "aarch64-unknown-linux-gnu",
35
- "x86_64-pc-windows-msvc"
36
- ]
37
- },
38
- "scripts": {
39
- "build": "napi build --release",
40
- "build:debug": "napi build",
41
- "test": "vitest run"
42
- },
43
- "devDependencies": {
44
- "@napi-rs/cli": "^3.5.0",
45
- "vitest": "^2.1.0"
46
- },
47
- "files": [
48
- "index.js",
49
- "index.d.ts",
50
- "omendb.node"
51
- ],
52
- "optionalDependencies": {
53
- "@omendb/omendb-darwin-x64": "0.0.14",
54
- "@omendb/omendb-darwin-arm64": "0.0.14",
55
- "@omendb/omendb-linux-x64-gnu": "0.0.14",
56
- "@omendb/omendb-linux-arm64-gnu": "0.0.14",
57
- "@omendb/omendb-win32-x64-msvc": "0.0.14"
58
- }
2
+ "name": "@omendb/omendb",
3
+ "version": "0.0.16",
4
+ "description": "Fast embedded vector database with HNSW + ACORN-1 filtered search",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/omendb/omendb"
10
+ },
11
+ "keywords": [
12
+ "vector",
13
+ "database",
14
+ "embeddings",
15
+ "hnsw",
16
+ "similarity-search",
17
+ "ai",
18
+ "machine-learning",
19
+ "napi-rs",
20
+ "rust"
21
+ ],
22
+ "author": "Nick Jaru",
23
+ "license": "AGPL-3.0",
24
+ "engines": {
25
+ "node": ">= 18"
26
+ },
27
+ "napi": {
28
+ "binaryName": "omendb",
29
+ "packageName": "@omendb/omendb",
30
+ "targets": [
31
+ "x86_64-apple-darwin",
32
+ "aarch64-apple-darwin",
33
+ "x86_64-unknown-linux-gnu",
34
+ "aarch64-unknown-linux-gnu",
35
+ "x86_64-pc-windows-msvc"
36
+ ]
37
+ },
38
+ "scripts": {
39
+ "build": "napi build --release",
40
+ "build:debug": "napi build",
41
+ "test": "vitest run"
42
+ },
43
+ "devDependencies": {
44
+ "@napi-rs/cli": "^3.5.0",
45
+ "vitest": "^2.1.0"
46
+ },
47
+ "files": [
48
+ "index.js",
49
+ "index.d.ts",
50
+ "omendb.node"
51
+ ],
52
+ "optionalDependencies": {
53
+ "@omendb/omendb-darwin-x64": "0.0.16",
54
+ "@omendb/omendb-darwin-arm64": "0.0.16",
55
+ "@omendb/omendb-linux-x64-gnu": "0.0.16",
56
+ "@omendb/omendb-linux-arm64-gnu": "0.0.16",
57
+ "@omendb/omendb-win32-x64-msvc": "0.0.16"
58
+ }
59
59
  }