@wiscale/velesdb-wasm 1.15.0 → 1.18.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/LICENSE +363 -21
- package/README.md +20 -10
- package/package.json +2 -2
- package/velesdb_wasm.d.ts +31 -10
- package/velesdb_wasm.js +37 -12
- package/velesdb_wasm_bg.wasm +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,363 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
VelesDB Core License 1.0
|
|
2
|
+
|
|
3
|
+
Based on the Elastic License 2.0 (ELv2) — Adapted for VelesDB Core
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2024-2026 Wiscale France. All rights reserved.
|
|
6
|
+
|
|
7
|
+
VelesDB® is a registered trademark of Wiscale France.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Acceptance
|
|
12
|
+
|
|
13
|
+
By using the Software, you agree to all of the terms and conditions below.
|
|
14
|
+
|
|
15
|
+
## Copyright License
|
|
16
|
+
|
|
17
|
+
The Licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the Software, in each case subject to the limitations and conditions below.
|
|
18
|
+
|
|
19
|
+
## Limitations
|
|
20
|
+
|
|
21
|
+
### 1) No Hosted or Managed Service
|
|
22
|
+
|
|
23
|
+
You may not provide the Software to third parties as a Hosted or Managed Service.
|
|
24
|
+
|
|
25
|
+
A "Hosted or Managed Service" is any service where You (or a third party acting on Your behalf) host, operate, or make available the Software — directly or indirectly — to third parties who are provided access to a Substantial Set of the Software's features or functionality.
|
|
26
|
+
|
|
27
|
+
This restriction includes, without limitation:
|
|
28
|
+
|
|
29
|
+
- offering the Software as a cloud service, hosted service, managed service, or database-as-a-service (DBaaS),
|
|
30
|
+
- operating the Software for third parties, including as a managed service provider (MSP), outsourcer, consultant, hosting provider, or service provider, even if provided to a single customer,
|
|
31
|
+
- exposing the Software's query, administration, indexing, ingestion, storage, graph traversal, knowledge graph, columnar filtering, or management capabilities (or any substantially similar capabilities) to third parties through any interface, including but not limited to: APIs, SDKs, web interfaces, command lines, gateways, middleware, service layers, application wrappers, proxy layers, or any other programmatic or interactive mechanism.
|
|
32
|
+
|
|
33
|
+
If third parties can store data in, query, manage collections or indexes, traverse or manage graph nodes and edges, filter structured data, administer schemas, or otherwise use the Software as a database, vector database, graph database, knowledge graph engine, columnar store, search engine, or query engine — whether directly or through any intermediary layer — this constitutes a Hosted or Managed Service and requires a separate commercial license from the Licensor.
|
|
34
|
+
|
|
35
|
+
### 2) No Competitive Offering
|
|
36
|
+
|
|
37
|
+
You may not use the Software to build, sell, offer, operate, or otherwise make commercially available any product or service that is Substantially Similar to the Software or that competes with the Software as:
|
|
38
|
+
|
|
39
|
+
- a database,
|
|
40
|
+
- a vector database,
|
|
41
|
+
- a graph database or knowledge graph engine,
|
|
42
|
+
- a columnar store or analytical engine,
|
|
43
|
+
- a search engine,
|
|
44
|
+
- a query engine, or
|
|
45
|
+
- a hybrid search, retrieval, or multi-model data system.
|
|
46
|
+
|
|
47
|
+
This restriction applies whether the product is offered as software, as a service, or as a component of a larger offering, and regardless of whether the Software's code is modified.
|
|
48
|
+
|
|
49
|
+
This restriction does NOT prohibit:
|
|
50
|
+
|
|
51
|
+
- internal use of the Software within your own organization,
|
|
52
|
+
- integration of the Software as a backend component of your own product or service (provided end users receive only the results of your application and are not given access to the Software's core database capabilities),
|
|
53
|
+
- use of the Software to power features such as search, retrieval, ranking, recommendations, or RAG within your own product.
|
|
54
|
+
|
|
55
|
+
### 3) No Circumvention of Paid Features
|
|
56
|
+
|
|
57
|
+
You may not move, change, disable, or circumvent any licensing mechanism or functionality that enforces paid features, and you may not remove or obscure any functionality in the Software that is protected by such licensing mechanism.
|
|
58
|
+
|
|
59
|
+
### 4) No Removal of Notices; Trademarks
|
|
60
|
+
|
|
61
|
+
You may not alter, remove, or obscure any licensing, copyright, or other notices of the Licensor in the Software. Any use of the Licensor's trademarks is subject to applicable law.
|
|
62
|
+
|
|
63
|
+
### 5) Benchmarking
|
|
64
|
+
|
|
65
|
+
You may conduct and publish benchmarks of the Software, provided that any public disclosure of benchmark results includes all of the following:
|
|
66
|
+
|
|
67
|
+
- the benchmarking methodology used,
|
|
68
|
+
- the dataset(s) used (including size, type, and source),
|
|
69
|
+
- the hardware configuration (CPU, RAM, storage, network),
|
|
70
|
+
- the software version of VelesDB Core tested,
|
|
71
|
+
- the full configuration of the Software as tested (including relevant parameters, tuning, and index settings),
|
|
72
|
+
- any other software or tools used in the benchmark.
|
|
73
|
+
|
|
74
|
+
The purpose of this requirement is transparency and reproducibility, not restriction. Benchmarks that omit this information may not be published or distributed publicly.
|
|
75
|
+
|
|
76
|
+
## Redistribution
|
|
77
|
+
|
|
78
|
+
### Attribution for Public-Facing Applications
|
|
79
|
+
|
|
80
|
+
If You deploy or make publicly available an Application or Service that uses the Software as a component — including SaaS products, web applications, mobile applications, or browser-based applications — You must include a visible attribution notice containing a hyperlink to https://velesdb.com.
|
|
81
|
+
|
|
82
|
+
**Placement:** The notice must appear in at least one location that is accessible to end users without requiring a separate action (e.g., not solely in source code or internal documentation). Acceptable placements include, but are not limited to:
|
|
83
|
+
|
|
84
|
+
- a website footer or sidebar;
|
|
85
|
+
- an application's About, Credits, or Settings page;
|
|
86
|
+
- API documentation or developer portal;
|
|
87
|
+
- a README or landing page for open-source projects that integrate the Software.
|
|
88
|
+
|
|
89
|
+
**Format:** The notice may take any reasonable form, such as:
|
|
90
|
+
|
|
91
|
+
- "Powered by [VelesDB](https://velesdb.com)"
|
|
92
|
+
- "Built with [VelesDB](https://velesdb.com)"
|
|
93
|
+
- The VelesDB logo (available at https://velesdb.com/brand) linking to https://velesdb.com
|
|
94
|
+
|
|
95
|
+
The key requirement is a **clickable link to https://velesdb.com** that is visible to end users.
|
|
96
|
+
|
|
97
|
+
**Exemptions:** This requirement does not apply to:
|
|
98
|
+
- internal use within your organization;
|
|
99
|
+
- development, testing, or staging environments;
|
|
100
|
+
- holders of a VelesDB Enterprise or Premium license (which may include waived or alternative attribution terms — contact contact@wiscale.fr).
|
|
101
|
+
|
|
102
|
+
Failure to comply with this attribution requirement constitutes a violation of this license.
|
|
103
|
+
|
|
104
|
+
### Redistribution Terms
|
|
105
|
+
|
|
106
|
+
You may redistribute the Software (in original or modified form), including through container images (e.g., Docker), installers, package managers (e.g., Homebrew, apt, cargo), infrastructure-as-code templates (e.g., Terraform, Helm), or any other distribution mechanism, provided that:
|
|
107
|
+
|
|
108
|
+
1. a complete copy of this license is included with each distribution,
|
|
109
|
+
2. all copyright and licensing notices in the Software are preserved and unmodified,
|
|
110
|
+
3. the redistributed Software remains governed by this license (you may not relicense it under different terms),
|
|
111
|
+
4. if modified, the distribution includes prominent notices stating that you have modified the Software, and
|
|
112
|
+
5. redistribution does not grant recipients any right to provide the Software as a Hosted or Managed Service.
|
|
113
|
+
|
|
114
|
+
For the avoidance of doubt, redistribution of the Software does not, by itself, constitute a Hosted or Managed Service, provided that the recipient operates the Software for its own internal use and not for the benefit of third parties.
|
|
115
|
+
|
|
116
|
+
## Permitted Use (Clarification)
|
|
117
|
+
|
|
118
|
+
You may use the Software in production, including for commercial purposes, and you may embed or integrate the Software into your own products and services, provided that:
|
|
119
|
+
|
|
120
|
+
- the Software is used only as an internal component of your product or service, and
|
|
121
|
+
- your end users are not provided access to a Substantial Set of the Software's features or functionality.
|
|
122
|
+
|
|
123
|
+
For example, it is permitted to use the Software internally to power features such as:
|
|
124
|
+
|
|
125
|
+
- search and retrieval,
|
|
126
|
+
- retrieval-augmented generation (RAG),
|
|
127
|
+
- ranking and recommendations,
|
|
128
|
+
- document indexing and similarity matching,
|
|
129
|
+
- knowledge graph traversal and relationship discovery,
|
|
130
|
+
- structured data filtering and analytics,
|
|
131
|
+
- any other feature where end users receive only the results produced by your application and do not receive access to the Software itself.
|
|
132
|
+
|
|
133
|
+
**Embedded and local-first use.** The Software is designed to run as an embedded database (in-process, WASM, mobile, desktop, or server). Using the Software in embedded mode within your own application — including in browser-based (WASM), mobile (iOS/Android), desktop (Tauri), or server-side deployments — is expressly permitted under this license, provided the Software serves only as an internal component and end users do not receive direct access to the Software's database capabilities.
|
|
134
|
+
|
|
135
|
+
## Business Model Clarification
|
|
136
|
+
|
|
137
|
+
The Licensor offers the Software under a multi-tier model:
|
|
138
|
+
|
|
139
|
+
- **VelesDB Core** — available under this license (source-available, free for permitted use).
|
|
140
|
+
- **VelesDB Enterprise** — available under a separate commercial license for advanced features, support, and use cases not permitted under this license.
|
|
141
|
+
- **VelesDB Cloud** — the Licensor's proprietary managed database service.
|
|
142
|
+
|
|
143
|
+
Any use of the Software as a Hosted or Managed Service, as a Competitive Offering, or in any other manner not permitted by this license requires a separate **Enterprise** or **Premium** commercial license from the Licensor.
|
|
144
|
+
|
|
145
|
+
## Examples (Non-Normative)
|
|
146
|
+
|
|
147
|
+
### Allowed under this license
|
|
148
|
+
|
|
149
|
+
- Your application uses VelesDB Core internally to power search, retrieval, or RAG, and customers cannot create or manage collections, indexes, or databases, nor run arbitrary queries against VelesDB Core.
|
|
150
|
+
- You distribute VelesDB Core bundled with a desktop, mobile, or on-premise application for the customer's own internal use.
|
|
151
|
+
- You use VelesDB Core as a backend for your SaaS product, where end users interact only with your application's interface and receive only processed results.
|
|
152
|
+
- You publish benchmark results comparing VelesDB Core to other databases, with full methodology disclosure.
|
|
153
|
+
- You redistribute VelesDB Core via Docker Hub, a package manager, or an infrastructure template, with this license included.
|
|
154
|
+
|
|
155
|
+
### Requires a commercial (Enterprise/Premium) license
|
|
156
|
+
|
|
157
|
+
- Offering VelesDB Core (or a derivative) as a hosted, managed, or cloud database service (DBaaS), regardless of whether it is branded as "VelesDB" or under a different name.
|
|
158
|
+
- Operating VelesDB Core for a customer as a managed service provider, outsourcer, or consultant, where the customer has access to the Software's core capabilities.
|
|
159
|
+
- Building and selling a product that competes with VelesDB as a vector database, search engine, or query engine.
|
|
160
|
+
- A cloud provider offering VelesDB as a managed database, managed cluster, hosted indexing/query platform, or vector database as a service.
|
|
161
|
+
- A multi-tenant service where tenants have access to the Software's database-like capabilities (collections, indexes, schemas, queries, ingestion).
|
|
162
|
+
- Any service — regardless of the interface layer or branding — where third parties can effectively use the Software as a database.
|
|
163
|
+
|
|
164
|
+
## Patents
|
|
165
|
+
|
|
166
|
+
The Licensor grants you a license, under any patent claims the Licensor can license, or becomes able to license, to make, have made, use, sell, offer for sale, import and have imported the Software, in each case subject to the limitations and conditions in this license.
|
|
167
|
+
|
|
168
|
+
This license does not cover any patent claims that you cause to be infringed by modifications or additions to the Software.
|
|
169
|
+
|
|
170
|
+
If you or your company make any written claim that the Software infringes or contributes to infringement of any patent, your patent license for the Software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
|
|
171
|
+
|
|
172
|
+
## Notices
|
|
173
|
+
|
|
174
|
+
You must ensure that anyone who gets a copy of any part of the Software from you also gets a copy of these terms.
|
|
175
|
+
|
|
176
|
+
If you modify the Software, you must include in any modified copies of the Software prominent notices stating that you have modified the Software.
|
|
177
|
+
|
|
178
|
+
## No Other Rights
|
|
179
|
+
|
|
180
|
+
These terms do not imply any licenses other than those expressly granted in these terms.
|
|
181
|
+
|
|
182
|
+
## Termination
|
|
183
|
+
|
|
184
|
+
If you use the Software in violation of these terms, such use is not licensed, and your licenses will automatically terminate.
|
|
185
|
+
|
|
186
|
+
If the Licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently.
|
|
187
|
+
|
|
188
|
+
## No Liability
|
|
189
|
+
|
|
190
|
+
As far as the law allows, the Software comes as is, without any warranty or condition, and the Licensor will not be liable to you for any damages arising out of these terms or the use or nature of the Software, under any kind of legal claim.
|
|
191
|
+
|
|
192
|
+
## Definitions
|
|
193
|
+
|
|
194
|
+
The **"Licensor"** is Wiscale France.
|
|
195
|
+
|
|
196
|
+
The **"Software"** is the software the Licensor makes available under these terms, including VelesDB Core and all associated components, libraries, tools, and documentation.
|
|
197
|
+
|
|
198
|
+
The **"Author"** is Julien Lange.
|
|
199
|
+
|
|
200
|
+
**"You"** refers to the individual or entity agreeing to these terms.
|
|
201
|
+
|
|
202
|
+
**"Your company"** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. "Control" means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
|
|
203
|
+
|
|
204
|
+
**"Your licenses"** are all the licenses granted to you for the Software under these terms.
|
|
205
|
+
|
|
206
|
+
**"Use"** means anything you do with the Software requiring one of your licenses.
|
|
207
|
+
|
|
208
|
+
**"Hosted or Managed Service"** means any service, platform, or offering where You (or a third party acting on Your behalf) host, operate, or make available the Software for third parties, and those third parties are provided with access — directly or indirectly — to a Substantial Set of the Software's features or functionality. Access includes, without limitation, access through any of the following: APIs, SDKs, web interfaces, command lines, gateways, middleware, service layers, application wrappers, proxy layers, webhooks, message queues, or any other programmatic or interactive mechanism that enables third parties to create, manage, query, administer, index, ingest, store, traverse graphs, manage knowledge graph nodes or edges, filter structured data, or otherwise use the Software's core database, vector, graph, columnar, or hybrid capabilities.
|
|
209
|
+
|
|
210
|
+
**"Substantial Set of features or functionality"** means access to features or functionality that, taken together, would reasonably allow a third party to use the Software as a general-purpose database, vector database, graph database, knowledge graph engine, columnar store, search engine, query engine, or hybrid/multi-model data system, or as a replacement for the Software, rather than merely receiving the results of your product's or application's features.
|
|
211
|
+
|
|
212
|
+
**"Substantially Similar"** means a product or service that provides database, vector database, graph database, knowledge graph, columnar store, search engine, query engine, hybrid search, or multi-model data capabilities that overlap in purpose and function with the core capabilities of the Software to a degree that would reasonably be considered competitive. A product is not Substantially Similar merely because it uses the Software internally as a component.
|
|
213
|
+
|
|
214
|
+
**"Competitive Offering"** means any product or service that is Substantially Similar to the Software and is made commercially available to third parties, whether as software, as a service, or as a component of a larger offering.
|
|
215
|
+
|
|
216
|
+
**"Cloud Provider"** means any entity that provides cloud computing infrastructure, platform, or software services to third parties, including (without limitation) infrastructure-as-a-service (IaaS), platform-as-a-service (PaaS), and software-as-a-service (SaaS) providers.
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Licensing FAQ (VelesDB Core License 1.0)
|
|
221
|
+
|
|
222
|
+
This FAQ is provided for convenience and developer guidance only. It does not replace, modify, or supplement the license terms above. In case of any conflict, the license terms prevail. If in doubt, contact the Licensor (Wiscale France — contact@wiscale.fr).
|
|
223
|
+
|
|
224
|
+
### 1) Can I use VelesDB Core in production?
|
|
225
|
+
|
|
226
|
+
**Yes.** Production use is permitted, including commercial production use, as long as you comply with the license limitations (no Hosted or Managed Service, no Competitive Offering).
|
|
227
|
+
|
|
228
|
+
### 2) Can I use VelesDB Core inside my own SaaS product?
|
|
229
|
+
|
|
230
|
+
**Yes.** If VelesDB Core is used only as an internal component of your SaaS and your customers interact only with your application's interface (not with VelesDB directly), this is permitted.
|
|
231
|
+
|
|
232
|
+
In practice: your customers can use your app's features (search, RAG, recommendations, etc.), but they cannot create collections, manage indexes, run arbitrary queries, or otherwise use VelesDB as a database product.
|
|
233
|
+
|
|
234
|
+
### 3) Can I use VelesDB Core as a backend for a RAG system?
|
|
235
|
+
|
|
236
|
+
**Yes.** Using VelesDB Core to index documents, store embeddings, and retrieve results for a RAG pipeline is a typical permitted use case, as long as end users receive only the generated answers from your application and do not have direct database access.
|
|
237
|
+
|
|
238
|
+
### 4) What is NOT allowed without a commercial license?
|
|
239
|
+
|
|
240
|
+
- Offering VelesDB Core (or a derivative) as a hosted or managed database service (DBaaS, vector DB as a service, managed cluster, etc.).
|
|
241
|
+
- Operating VelesDB Core for a customer as an MSP, outsourcer, or consultant where the customer has access to VelesDB's core capabilities.
|
|
242
|
+
- Building and selling a competing database, vector database, search engine, or query engine based on VelesDB Core.
|
|
243
|
+
- A cloud provider (e.g., AWS, GCP, Azure, or any other) offering VelesDB as a managed database service.
|
|
244
|
+
|
|
245
|
+
If you want to do any of the above, you need an **Enterprise or Premium license**.
|
|
246
|
+
|
|
247
|
+
### 5) Can I expose a public API endpoint that runs vector search against VelesDB Core?
|
|
248
|
+
|
|
249
|
+
**It depends:**
|
|
250
|
+
|
|
251
|
+
- **Allowed:** You expose an endpoint like `/search` or `/recommend` that returns results for your product, without giving customers the ability to create/manage collections, ingest vectors, manage indexes, run arbitrary queries, or administer the database.
|
|
252
|
+
- **Not allowed without a commercial license:** You expose VelesDB-like capabilities (collections, ingestion, indexing, querying, admin) to third parties in a way that makes your service effectively "VelesDB as a service."
|
|
253
|
+
|
|
254
|
+
### 6) Can I let my customers upload documents, and I index them in VelesDB Core for RAG?
|
|
255
|
+
|
|
256
|
+
**Yes.** As long as customers are using your product's document upload feature and are not given direct access to VelesDB's database capabilities (no collection management, no arbitrary queries, no index administration).
|
|
257
|
+
|
|
258
|
+
### 7) Can a cloud provider offer VelesDB as a managed service?
|
|
259
|
+
|
|
260
|
+
**No, not under this license.** Cloud providers (or any third party) offering VelesDB as a managed database, DBaaS, managed cluster, hosted indexing/query platform, or vector database as a service must obtain a commercial license from Wiscale France.
|
|
261
|
+
|
|
262
|
+
### 8) Can an agency, consultant, or MSP host VelesDB Core for a client?
|
|
263
|
+
|
|
264
|
+
**Not under this license** if the arrangement constitutes a Hosted or Managed Service (including single-customer managed hosting where the client has access to VelesDB's core capabilities). That scenario requires a commercial license.
|
|
265
|
+
|
|
266
|
+
### 9) Can I embed VelesDB Core in a desktop, mobile, or on-prem product I sell?
|
|
267
|
+
|
|
268
|
+
**Yes.** Distributing VelesDB Core bundled with your product is permitted, provided you comply with the license (include the license text and notices), and you are not providing it as a Hosted or Managed Service.
|
|
269
|
+
|
|
270
|
+
### 10) Can I modify VelesDB Core and keep my changes private?
|
|
271
|
+
|
|
272
|
+
**Yes.** The license allows modification. If you distribute a modified version, you must include prominent notices stating that you modified it, and you must provide a copy of the license terms to recipients.
|
|
273
|
+
|
|
274
|
+
### 11) Can I redistribute VelesDB Core?
|
|
275
|
+
|
|
276
|
+
**Yes.** You may redistribute the Software (as-is or modified) through any mechanism (Docker, package managers, Helm charts, etc.), provided:
|
|
277
|
+
|
|
278
|
+
- the license text is included,
|
|
279
|
+
- copyright notices are preserved,
|
|
280
|
+
- the software remains under this license,
|
|
281
|
+
- if modified, modifications are prominently marked.
|
|
282
|
+
|
|
283
|
+
Redistribution does not grant recipients any right to provide the Software as a Hosted or Managed Service.
|
|
284
|
+
|
|
285
|
+
### 12) Can I publish benchmarks of VelesDB Core?
|
|
286
|
+
|
|
287
|
+
**Yes.** You are encouraged to benchmark VelesDB Core. However, public benchmark results must include full disclosure of methodology, dataset, hardware, software version, and configuration. This ensures transparency and reproducibility.
|
|
288
|
+
|
|
289
|
+
### 13) Can I build a competing database product using VelesDB Core?
|
|
290
|
+
|
|
291
|
+
**No.** The No Competitive Offering clause prohibits using the Software to build, sell, or offer a product that competes with VelesDB as a database, vector database, graph database, columnar store, search engine, or query engine.
|
|
292
|
+
|
|
293
|
+
However, using VelesDB Core as an internal component of a non-competing product (e.g., a CRM, an e-commerce platform, a content management system) is permitted.
|
|
294
|
+
|
|
295
|
+
### 14) Can I remove license headers or copyright notices?
|
|
296
|
+
|
|
297
|
+
**No.** You may not alter, remove, or obscure licensing, copyright, or other notices.
|
|
298
|
+
|
|
299
|
+
### 15) Can I use the name "VelesDB" for my fork?
|
|
300
|
+
|
|
301
|
+
**No.** VelesDB® is a registered trademark of Wiscale France. You may not brand your fork, derivative work, or product as "VelesDB" without written permission from Wiscale France. Use of the VelesDB name or logo is subject to applicable trademark law.
|
|
302
|
+
|
|
303
|
+
### 16) What about a multi-tenant service where each tenant only has limited features?
|
|
304
|
+
|
|
305
|
+
If tenants (third parties) get access to a Substantial Set of VelesDB's database, vector database, or query capabilities, it is a Hosted or Managed Service and requires a commercial license, regardless of the number of features exposed per tenant.
|
|
306
|
+
|
|
307
|
+
### 17) What if my service wraps VelesDB behind an API gateway or middleware?
|
|
308
|
+
|
|
309
|
+
The license explicitly covers indirect access through APIs, SDKs, gateways, middleware, service layers, and application wrappers. If the end result is that third parties can use the Software as a database — regardless of how many layers sit between them and VelesDB — a commercial license is required.
|
|
310
|
+
|
|
311
|
+
### 18) What if I'm unsure whether my use case is permitted?
|
|
312
|
+
|
|
313
|
+
**Ask.** Contact Wiscale France (contact@wiscale.fr) for clarification or to discuss a commercial license. We want developers to build great things with VelesDB — we're happy to help you find the right license for your use case.
|
|
314
|
+
|
|
315
|
+
### 19) How do I get an Enterprise or Premium license?
|
|
316
|
+
|
|
317
|
+
Contact Wiscale France (contact@wiscale.fr) to discuss licensing for hosted/managed services, Competitive Offerings, cloud provider partnerships, and other premium use cases.
|
|
318
|
+
|
|
319
|
+
### 20) What is the difference between VelesDB Core, Enterprise, and Cloud?
|
|
320
|
+
|
|
321
|
+
| Tier | License | Use Case |
|
|
322
|
+
|------|---------|----------|
|
|
323
|
+
| **VelesDB Core** | This license (source-available) | Internal use, embedding, SaaS backend, development, testing |
|
|
324
|
+
| **VelesDB Enterprise** | Commercial license | Advanced features, support, hosted/managed services, competitive offerings |
|
|
325
|
+
| **VelesDB Cloud** | Proprietary SaaS | Fully managed database service operated by Wiscale France |
|
|
326
|
+
|
|
327
|
+
### 21) Can I use VelesDB's graph engine and knowledge graph features in my product?
|
|
328
|
+
|
|
329
|
+
**Yes.** You can use the vector, graph, columnar, and hybrid search features internally within your product. The restriction applies only if you expose those capabilities directly to third parties as a database service, or if you build a competing graph/vector/search product.
|
|
330
|
+
|
|
331
|
+
### 22) Can I embed VelesDB in a browser (WASM), mobile app, or Tauri desktop app?
|
|
332
|
+
|
|
333
|
+
**Yes.** Embedded and local-first use is expressly permitted. VelesDB is designed to run in-process (WASM, iOS, Android, Tauri, server). As long as the Software serves as an internal component of your application, this is a permitted use.
|
|
334
|
+
|
|
335
|
+
### 23) Does the license cover the premium features (Hybrid Search, RBAC, SSO, etc.)?
|
|
336
|
+
|
|
337
|
+
The VelesDB Core license covers VelesDB Core. Premium features (such as RBAC, SSO, GPU Acceleration, Audit Logging, Multi-Tenancy, Encryption at Rest, and Snapshots) are available under VelesDB Enterprise with a separate commercial license. You may not circumvent the licensing mechanism that enforces premium features.
|
|
338
|
+
|
|
339
|
+
### 24) Can I use VelesDB Core's VelesQL query language in my product?
|
|
340
|
+
|
|
341
|
+
**Yes.** Using VelesQL to query data internally within your product is permitted. However, exposing a general-purpose VelesQL endpoint to third parties (allowing them to run arbitrary queries) would constitute providing access to a Substantial Set of the Software's capabilities and is not permitted without a commercial license.
|
|
342
|
+
|
|
343
|
+
### 25) Do I need to display "Powered by VelesDB" on my website or app?
|
|
344
|
+
|
|
345
|
+
**Yes, if your app is public.** Include a link to velesdb.com somewhere visible — footer, About page, credits, or docs. That's it. No specific size, color, or position required. Just a clickable link that users can find.
|
|
346
|
+
|
|
347
|
+
Want to remove it? An Enterprise license waives the attribution requirement.
|
|
348
|
+
|
|
349
|
+
### 26) What counts as a "public-facing application"?
|
|
350
|
+
|
|
351
|
+
Anything accessible by people outside your organization: a SaaS product, a public website, a mobile app on app stores, a public API. Internal tools and staging environments don't count.
|
|
352
|
+
|
|
353
|
+
### 27) Can I use the VelesDB logo instead of text?
|
|
354
|
+
|
|
355
|
+
**Yes.** Logo or text, your choice — as long as it links to velesdb.com. Brand assets are at https://velesdb.com/brand.
|
|
356
|
+
|
|
357
|
+
---
|
|
358
|
+
|
|
359
|
+
## Trademark Notice
|
|
360
|
+
|
|
361
|
+
VelesDB® is a registered trademark of Wiscale France. All rights reserved.
|
|
362
|
+
|
|
363
|
+
Use of the VelesDB name, logo, or brand assets is subject to applicable trademark law. You may not use the VelesDB name or logo to imply endorsement, affiliation, or sponsorship by Wiscale France without prior written permission. Forks and derivative works must not be branded as "VelesDB" without explicit authorization from Wiscale France.
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# VelesDB WASM
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@wiscale/velesdb-wasm)
|
|
4
|
-
[](LICENSE)
|
|
5
5
|
|
|
6
6
|
WebAssembly build of [VelesDB](https://github.com/cyberlife-coder/VelesDB) - vector search in the browser.
|
|
7
7
|
|
|
@@ -280,16 +280,28 @@ The WASM build is optimized for client-side use cases but has some limitations c
|
|
|
280
280
|
| Knowledge Graph (nodes, edges, traversal) | ✅ | ✅ |
|
|
281
281
|
| Agent Memory (SemanticMemory) | ✅ | ✅ |
|
|
282
282
|
| VelesQL parsing and validation | ✅ | ✅ |
|
|
283
|
-
| VelesQL query execution |
|
|
283
|
+
| VelesQL query execution | ✅ | ✅ |
|
|
284
|
+
| JOIN operations | ✅ (INNER, LEFT) | ✅ |
|
|
285
|
+
| Aggregations (GROUP BY / HAVING) | ✅ | ✅ |
|
|
286
|
+
| Set operations (UNION / INTERSECT / EXCEPT) | ✅ | ✅ |
|
|
287
|
+
| MATCH (graph traversal) | ✅ (1–2 hop) | ✅ |
|
|
284
288
|
| Cross-collection MATCH (`@collection`) | ❌ | ✅ |
|
|
285
|
-
| JOIN operations | ❌ | ✅ |
|
|
286
|
-
| Aggregations (GROUP BY) | ❌ | ✅ |
|
|
287
289
|
| Persistence | IndexedDB | Disk (mmap) |
|
|
288
290
|
| Max vectors | ~100K (browser RAM) | Millions |
|
|
289
291
|
|
|
290
|
-
### VelesQL (Parser
|
|
292
|
+
### VelesQL (Parser + Execution)
|
|
291
293
|
|
|
292
|
-
VelesQL parsing and
|
|
294
|
+
VelesQL parsing, validation, **and execution** are all available in WASM. You can
|
|
295
|
+
parse queries and inspect their AST client-side, and you can run queries against
|
|
296
|
+
a `WasmDatabase` via `executeQuery()`. The single-collection executor supports
|
|
297
|
+
`SELECT` (with `WHERE`, `NEAR`, `similarity()`), `GROUP BY`/`HAVING`,
|
|
298
|
+
aggregations, `ORDER BY`, `UNION`/`INTERSECT`/`EXCEPT`, `INNER`/`LEFT JOIN`,
|
|
299
|
+
`INSERT`/`UPSERT`/`UPDATE`/`DELETE`, DDL, and 1–2 hop `MATCH` graph traversal.
|
|
300
|
+
|
|
301
|
+
The only VelesQL features that still require the REST server are
|
|
302
|
+
**cross-collection `MATCH` (`@collection`)** — which needs Database-level query
|
|
303
|
+
routing — and `MATCH` traversals beyond 2 hops. `RIGHT`/`FULL JOIN` and
|
|
304
|
+
`TRAIN QUANTIZER` are rejected with a descriptive error.
|
|
293
305
|
|
|
294
306
|
```javascript
|
|
295
307
|
import { VelesQL } from '@wiscale/velesdb-wasm';
|
|
@@ -384,8 +396,8 @@ const fused = hybrid_search_fuse(denseResults, sparseResults, 60, 10);
|
|
|
384
396
|
|
|
385
397
|
Consider using the [REST server](https://github.com/cyberlife-coder/VelesDB) if you need:
|
|
386
398
|
|
|
387
|
-
- **VelesQL query execution** - Running queries against data (JOINs, aggregations, server-side filtering)
|
|
388
399
|
- **Cross-collection MATCH** - The `@collection` annotation requires Database-level query routing, which is only available on the server (WASM operates on a single collection)
|
|
400
|
+
- **Multi-hop MATCH** - Graph traversals beyond 2 hops (WASM supports 1–2 hop MATCH)
|
|
389
401
|
- **Large datasets** - More than 100K vectors
|
|
390
402
|
- **Server-side processing** - Centralized vector database
|
|
391
403
|
|
|
@@ -440,6 +452,4 @@ Typical latencies on modern browsers:
|
|
|
440
452
|
|
|
441
453
|
## License
|
|
442
454
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
See [LICENSE](./LICENSE) for WASM bindings license, [root LICENSE](https://github.com/cyberlife-coder/VelesDB/blob/main/LICENSE) for core engine.
|
|
455
|
+
Licensed under the [VelesDB Core License 1.0](LICENSE) (source-available). `velesdb-wasm` compiles the VelesDB engine to WebAssembly, so the published artifact embeds the engine and is governed by the Core License.
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"Julien Lange <contact@wiscale.fr>"
|
|
6
6
|
],
|
|
7
7
|
"description": "VelesDB for WebAssembly - Vector search in the browser",
|
|
8
|
-
"version": "1.
|
|
9
|
-
"license": "
|
|
8
|
+
"version": "1.18.0",
|
|
9
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/cyberlife-coder/velesdb"
|
package/velesdb_wasm.d.ts
CHANGED
|
@@ -555,7 +555,18 @@ export class QueryResultRow {
|
|
|
555
555
|
/**
|
|
556
556
|
* Semantic Memory for AI agents in WASM.
|
|
557
557
|
*
|
|
558
|
-
* Stores knowledge facts as vectors with similarity search.
|
|
558
|
+
* Stores knowledge facts as vectors with similarity search. Fact content text
|
|
559
|
+
* is kept in the underlying [`VectorStore`] payload (mirroring the core
|
|
560
|
+
* `SemanticMemory`) rather than in a separate map, so the payload is the single
|
|
561
|
+
* source of truth for content while the store is live.
|
|
562
|
+
*
|
|
563
|
+
* # Durability
|
|
564
|
+
*
|
|
565
|
+
* **In-memory only.** The WASM crate has no `persistence` feature. The
|
|
566
|
+
* `VectorStore` binary format used by `export_to_bytes`/`save`/`load` does
|
|
567
|
+
* **not** serialize payloads, so fact content does **not** survive a
|
|
568
|
+
* store reload. Persist content out-of-band (e.g. in application state or
|
|
569
|
+
* IndexedDB) if durability is required.
|
|
559
570
|
*
|
|
560
571
|
* # Example (JavaScript)
|
|
561
572
|
*
|
|
@@ -574,6 +585,10 @@ export class SemanticMemory {
|
|
|
574
585
|
* Clears all knowledge facts.
|
|
575
586
|
*/
|
|
576
587
|
clear(): void;
|
|
588
|
+
/**
|
|
589
|
+
* Deletes a knowledge fact by ID. Returns true if a fact was removed.
|
|
590
|
+
*/
|
|
591
|
+
delete(id: bigint): boolean;
|
|
577
592
|
/**
|
|
578
593
|
* Returns the embedding dimension.
|
|
579
594
|
*/
|
|
@@ -598,11 +613,16 @@ export class SemanticMemory {
|
|
|
598
613
|
query(embedding: Float32Array, top_k: number): any;
|
|
599
614
|
/**
|
|
600
615
|
* Removes a knowledge fact by ID.
|
|
616
|
+
*
|
|
617
|
+
* Deprecated alias for [`Self::delete`], kept for backward compatibility
|
|
618
|
+
* and naming parity with prior WASM releases.
|
|
601
619
|
*/
|
|
602
620
|
remove(id: bigint): boolean;
|
|
603
621
|
/**
|
|
604
622
|
* Stores a knowledge fact with its embedding vector.
|
|
605
623
|
*
|
|
624
|
+
* The content text is kept in the point payload as `{"content": ...}`.
|
|
625
|
+
*
|
|
606
626
|
* # Arguments
|
|
607
627
|
*
|
|
608
628
|
* * `id` - Unique identifier for this fact
|
|
@@ -1265,6 +1285,7 @@ export interface InitOutput {
|
|
|
1265
1285
|
readonly queryresultrow_id: (a: number) => bigint;
|
|
1266
1286
|
readonly queryresultrow_score: (a: number) => number;
|
|
1267
1287
|
readonly semanticmemory_clear: (a: number) => void;
|
|
1288
|
+
readonly semanticmemory_delete: (a: number, b: bigint) => number;
|
|
1268
1289
|
readonly semanticmemory_dimension: (a: number) => number;
|
|
1269
1290
|
readonly semanticmemory_is_empty: (a: number) => number;
|
|
1270
1291
|
readonly semanticmemory_len: (a: number) => number;
|
|
@@ -1283,7 +1304,6 @@ export interface InitOutput {
|
|
|
1283
1304
|
readonly vectorstore_batch_search: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
1284
1305
|
readonly vectorstore_clear: (a: number) => void;
|
|
1285
1306
|
readonly vectorstore_delete_database: (a: number, b: number) => number;
|
|
1286
|
-
readonly vectorstore_dimension: (a: number) => number;
|
|
1287
1307
|
readonly vectorstore_export_to_bytes: (a: number, b: number) => void;
|
|
1288
1308
|
readonly vectorstore_get: (a: number, b: number, c: bigint) => void;
|
|
1289
1309
|
readonly vectorstore_hybrid_search: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
@@ -1291,9 +1311,7 @@ export interface InitOutput {
|
|
|
1291
1311
|
readonly vectorstore_insert: (a: number, b: number, c: bigint, d: number, e: number) => void;
|
|
1292
1312
|
readonly vectorstore_insert_batch: (a: number, b: number, c: number) => void;
|
|
1293
1313
|
readonly vectorstore_insert_with_payload: (a: number, b: number, c: bigint, d: number, e: number, f: number) => void;
|
|
1294
|
-
readonly vectorstore_is_empty: (a: number) => number;
|
|
1295
1314
|
readonly vectorstore_is_metadata_only: (a: number) => number;
|
|
1296
|
-
readonly vectorstore_len: (a: number) => number;
|
|
1297
1315
|
readonly vectorstore_load: (a: number, b: number) => number;
|
|
1298
1316
|
readonly vectorstore_memory_usage: (a: number) => number;
|
|
1299
1317
|
readonly vectorstore_multi_query_search: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
@@ -1328,18 +1346,21 @@ export interface InitOutput {
|
|
|
1328
1346
|
readonly wasmdatabase_get_collection: (a: number, b: number, c: number, d: number) => void;
|
|
1329
1347
|
readonly wasmdatabase_list_collections: (a: number) => number;
|
|
1330
1348
|
readonly wasmdatabase_new: () => number;
|
|
1331
|
-
readonly
|
|
1332
|
-
readonly
|
|
1333
|
-
readonly __wbg_set_traversalprogress_visited_count: (a: number, b: number) => void;
|
|
1349
|
+
readonly vectorstore_len: (a: number) => number;
|
|
1350
|
+
readonly parsedquery_tableName: (a: number, b: number) => void;
|
|
1334
1351
|
readonly __wbg_get_traversalprogress_current_depth: (a: number) => number;
|
|
1335
1352
|
readonly __wbg_get_traversalprogress_estimated_total: (a: number) => number;
|
|
1336
1353
|
readonly __wbg_get_traversalprogress_visited_count: (a: number) => number;
|
|
1354
|
+
readonly vectorstore_is_empty: (a: number) => number;
|
|
1355
|
+
readonly __wbg_set_traversalprogress_current_depth: (a: number, b: number) => void;
|
|
1356
|
+
readonly __wbg_set_traversalprogress_estimated_total: (a: number, b: number) => void;
|
|
1357
|
+
readonly __wbg_set_traversalprogress_visited_count: (a: number, b: number) => void;
|
|
1337
1358
|
readonly graphnode_id: (a: number) => bigint;
|
|
1359
|
+
readonly vectorstore_dimension: (a: number) => number;
|
|
1338
1360
|
readonly wasmdatabase_collection_count: (a: number) => number;
|
|
1339
|
-
readonly
|
|
1361
|
+
readonly __wasm_bindgen_func_elem_1852: (a: number, b: number, c: number, d: number) => void;
|
|
1340
1362
|
readonly __wasm_bindgen_func_elem_1864: (a: number, b: number, c: number, d: number) => void;
|
|
1341
|
-
readonly
|
|
1342
|
-
readonly __wasm_bindgen_func_elem_396: (a: number, b: number, c: number) => void;
|
|
1363
|
+
readonly __wasm_bindgen_func_elem_401: (a: number, b: number, c: number) => void;
|
|
1343
1364
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
1344
1365
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
1345
1366
|
readonly __wbindgen_export3: (a: number) => void;
|
package/velesdb_wasm.js
CHANGED
|
@@ -1374,7 +1374,18 @@ if (Symbol.dispose) QueryResultRow.prototype[Symbol.dispose] = QueryResultRow.pr
|
|
|
1374
1374
|
/**
|
|
1375
1375
|
* Semantic Memory for AI agents in WASM.
|
|
1376
1376
|
*
|
|
1377
|
-
* Stores knowledge facts as vectors with similarity search.
|
|
1377
|
+
* Stores knowledge facts as vectors with similarity search. Fact content text
|
|
1378
|
+
* is kept in the underlying [`VectorStore`] payload (mirroring the core
|
|
1379
|
+
* `SemanticMemory`) rather than in a separate map, so the payload is the single
|
|
1380
|
+
* source of truth for content while the store is live.
|
|
1381
|
+
*
|
|
1382
|
+
* # Durability
|
|
1383
|
+
*
|
|
1384
|
+
* **In-memory only.** The WASM crate has no `persistence` feature. The
|
|
1385
|
+
* `VectorStore` binary format used by `export_to_bytes`/`save`/`load` does
|
|
1386
|
+
* **not** serialize payloads, so fact content does **not** survive a
|
|
1387
|
+
* store reload. Persist content out-of-band (e.g. in application state or
|
|
1388
|
+
* IndexedDB) if durability is required.
|
|
1378
1389
|
*
|
|
1379
1390
|
* # Example (JavaScript)
|
|
1380
1391
|
*
|
|
@@ -1403,6 +1414,15 @@ export class SemanticMemory {
|
|
|
1403
1414
|
clear() {
|
|
1404
1415
|
wasm.semanticmemory_clear(this.__wbg_ptr);
|
|
1405
1416
|
}
|
|
1417
|
+
/**
|
|
1418
|
+
* Deletes a knowledge fact by ID. Returns true if a fact was removed.
|
|
1419
|
+
* @param {bigint} id
|
|
1420
|
+
* @returns {boolean}
|
|
1421
|
+
*/
|
|
1422
|
+
delete(id) {
|
|
1423
|
+
const ret = wasm.semanticmemory_delete(this.__wbg_ptr, id);
|
|
1424
|
+
return ret !== 0;
|
|
1425
|
+
}
|
|
1406
1426
|
/**
|
|
1407
1427
|
* Returns the embedding dimension.
|
|
1408
1428
|
* @returns {number}
|
|
@@ -1475,6 +1495,9 @@ export class SemanticMemory {
|
|
|
1475
1495
|
}
|
|
1476
1496
|
/**
|
|
1477
1497
|
* Removes a knowledge fact by ID.
|
|
1498
|
+
*
|
|
1499
|
+
* Deprecated alias for [`Self::delete`], kept for backward compatibility
|
|
1500
|
+
* and naming parity with prior WASM releases.
|
|
1478
1501
|
* @param {bigint} id
|
|
1479
1502
|
* @returns {boolean}
|
|
1480
1503
|
*/
|
|
@@ -1485,6 +1508,8 @@ export class SemanticMemory {
|
|
|
1485
1508
|
/**
|
|
1486
1509
|
* Stores a knowledge fact with its embedding vector.
|
|
1487
1510
|
*
|
|
1511
|
+
* The content text is kept in the point payload as `{"content": ...}`.
|
|
1512
|
+
*
|
|
1488
1513
|
* # Arguments
|
|
1489
1514
|
*
|
|
1490
1515
|
* * `id` - Unique identifier for this fact
|
|
@@ -3191,7 +3216,7 @@ function __wbg_get_imports() {
|
|
|
3191
3216
|
const a = state0.a;
|
|
3192
3217
|
state0.a = 0;
|
|
3193
3218
|
try {
|
|
3194
|
-
return
|
|
3219
|
+
return __wasm_bindgen_func_elem_1864(a, state0.b, arg0, arg1);
|
|
3195
3220
|
} finally {
|
|
3196
3221
|
state0.a = a;
|
|
3197
3222
|
}
|
|
@@ -3213,7 +3238,7 @@ function __wbg_get_imports() {
|
|
|
3213
3238
|
const a = state0.a;
|
|
3214
3239
|
state0.a = 0;
|
|
3215
3240
|
try {
|
|
3216
|
-
return
|
|
3241
|
+
return __wasm_bindgen_func_elem_1864(a, state0.b, arg0, arg1);
|
|
3217
3242
|
} finally {
|
|
3218
3243
|
state0.a = a;
|
|
3219
3244
|
}
|
|
@@ -3346,13 +3371,13 @@ function __wbg_get_imports() {
|
|
|
3346
3371
|
return addHeapObject(ret);
|
|
3347
3372
|
},
|
|
3348
3373
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3349
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3350
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3374
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 331, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3375
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1852);
|
|
3351
3376
|
return addHeapObject(ret);
|
|
3352
3377
|
},
|
|
3353
3378
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3354
3379
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 7, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3355
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3380
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_401);
|
|
3356
3381
|
return addHeapObject(ret);
|
|
3357
3382
|
},
|
|
3358
3383
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -3389,14 +3414,14 @@ function __wbg_get_imports() {
|
|
|
3389
3414
|
};
|
|
3390
3415
|
}
|
|
3391
3416
|
|
|
3392
|
-
function
|
|
3393
|
-
wasm.
|
|
3417
|
+
function __wasm_bindgen_func_elem_401(arg0, arg1, arg2) {
|
|
3418
|
+
wasm.__wasm_bindgen_func_elem_401(arg0, arg1, addHeapObject(arg2));
|
|
3394
3419
|
}
|
|
3395
3420
|
|
|
3396
|
-
function
|
|
3421
|
+
function __wasm_bindgen_func_elem_1852(arg0, arg1, arg2) {
|
|
3397
3422
|
try {
|
|
3398
3423
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3399
|
-
wasm.
|
|
3424
|
+
wasm.__wasm_bindgen_func_elem_1852(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3400
3425
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3401
3426
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3402
3427
|
if (r1) {
|
|
@@ -3407,8 +3432,8 @@ function __wasm_bindgen_func_elem_1864(arg0, arg1, arg2) {
|
|
|
3407
3432
|
}
|
|
3408
3433
|
}
|
|
3409
3434
|
|
|
3410
|
-
function
|
|
3411
|
-
wasm.
|
|
3435
|
+
function __wasm_bindgen_func_elem_1864(arg0, arg1, arg2, arg3) {
|
|
3436
|
+
wasm.__wasm_bindgen_func_elem_1864(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
3412
3437
|
}
|
|
3413
3438
|
|
|
3414
3439
|
|
package/velesdb_wasm_bg.wasm
CHANGED
|
Binary file
|