@wiscale/velesdb-sdk 0.5.0 → 0.5.1
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/README.md +5 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @velesdb
|
|
1
|
+
# @wiscale/velesdb-sdk
|
|
2
2
|
|
|
3
3
|
Official TypeScript SDK for VelesDB - Vector Search in Microseconds.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @velesdb
|
|
8
|
+
npm install @wiscale/velesdb-sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Quick Start
|
|
@@ -13,7 +13,7 @@ npm install @velesdb/sdk
|
|
|
13
13
|
### WASM Backend (Browser/Node.js)
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import { VelesDB } from '@velesdb
|
|
16
|
+
import { VelesDB } from '@wiscale/velesdb-sdk';
|
|
17
17
|
|
|
18
18
|
// Initialize with WASM backend
|
|
19
19
|
const db = new VelesDB({ backend: 'wasm' });
|
|
@@ -50,7 +50,7 @@ await db.close();
|
|
|
50
50
|
### REST Backend (Server)
|
|
51
51
|
|
|
52
52
|
```typescript
|
|
53
|
-
import { VelesDB } from '@velesdb
|
|
53
|
+
import { VelesDB } from '@wiscale/velesdb-sdk';
|
|
54
54
|
|
|
55
55
|
const db = new VelesDB({
|
|
56
56
|
backend: 'rest',
|
|
@@ -133,7 +133,7 @@ Close the client and release resources.
|
|
|
133
133
|
## Error Handling
|
|
134
134
|
|
|
135
135
|
```typescript
|
|
136
|
-
import { VelesDBError, ValidationError, ConnectionError, NotFoundError } from '@velesdb
|
|
136
|
+
import { VelesDBError, ValidationError, ConnectionError, NotFoundError } from '@wiscale/velesdb-sdk';
|
|
137
137
|
|
|
138
138
|
try {
|
|
139
139
|
await db.search('nonexistent', query);
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wiscale/velesdb-sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Official TypeScript SDK for VelesDB - Vector Search in Microseconds",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"vitest": "^4.0.16"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"velesdb-wasm": "^0.5.
|
|
66
|
+
"@wiscale/velesdb-wasm": "^0.5.1"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=18.0.0"
|