@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 CHANGED
@@ -1,11 +1,11 @@
1
- # @velesdb/sdk
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/sdk
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/sdk';
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/sdk';
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/sdk';
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
@@ -80,7 +80,7 @@ var WasmBackend = class {
80
80
  return;
81
81
  }
82
82
  try {
83
- this.wasmModule = await import("velesdb-wasm");
83
+ this.wasmModule = await import("@wiscale/velesdb-wasm");
84
84
  await this.wasmModule.default();
85
85
  this._initialized = true;
86
86
  } catch (error) {
package/dist/index.mjs CHANGED
@@ -38,7 +38,7 @@ var WasmBackend = class {
38
38
  return;
39
39
  }
40
40
  try {
41
- this.wasmModule = await import("velesdb-wasm");
41
+ this.wasmModule = await import("@wiscale/velesdb-wasm");
42
42
  await this.wasmModule.default();
43
43
  this._initialized = true;
44
44
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wiscale/velesdb-sdk",
3
- "version": "0.5.0",
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.0"
66
+ "@wiscale/velesdb-wasm": "^0.5.1"
67
67
  },
68
68
  "engines": {
69
69
  "node": ">=18.0.0"