@trust0/ridb-core 1.7.11 → 1.7.12
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 +2 -8
- package/build/ridb_core.js +0 -17
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -15,14 +15,8 @@
|
|
|
15
15
|
RIDB secure database wrapper for the web with multiple storage engines, written in rust.
|
|
16
16
|
This package serves as wasm wrapper for the [RIDB](https://github.com/trust0-project/RIDB) project, providing a secure and lightweight database solution for the web.
|
|
17
17
|
|
|
18
|
-
##
|
|
19
|
-
|
|
20
|
-
Building the project is pretty straight forward.
|
|
21
|
-
|
|
22
|
-
### Requirements
|
|
23
|
-
* Bash
|
|
24
|
-
* Have Rust ([cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)) and [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)) installed.
|
|
25
|
-
* Node JS Version (20/LTS Recommended)
|
|
18
|
+
## Documentation
|
|
19
|
+
Complete type structure and sdk docs can be found [here](./docs/README.md)
|
|
26
20
|
|
|
27
21
|
### Building the source code
|
|
28
22
|
Building the source code will compile the rust code into wasm and then bundle the Javascript code using esbuild, the output will be located in ./ts/build.
|
package/build/ridb_core.js
CHANGED
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @packageDocumentation
|
|
3
|
-
*
|
|
4
|
-
* <p align="center">
|
|
5
|
-
* <img src="https://cdn.jsdelivr.net/gh/trust0-project/ridb@latest/docs/logo.svg" alt="JavaScript Database" />
|
|
6
|
-
* <br />
|
|
7
|
-
* <br />
|
|
8
|
-
* <h3 align="center">A secure light-weight and dependency free database wrapper for the web.</h3>
|
|
9
|
-
* </p>
|
|
10
|
-
* <p align="center">
|
|
11
|
-
* <a href="https://github.com/trust0-project/RIDB/releases"><img src="https://img.shields.io/github/v/release/trust0-project/ridb?color=%23ff00a0&include_prereleases&label=version&sort=semver&style=flat-square"></a>
|
|
12
|
-
* <a href="#"><img src="https://img.shields.io/npm/types/rxdb?style=flat-square"></a>
|
|
13
|
-
* <a href="https://raw.githubusercontent.com/trust0-project/RIDB/refs/heads/main/LICENSE"><img src="https://img.shields.io/github/license/trust0-project/ridb?style=flat-square"></a>
|
|
14
|
-
* <a href="https://www.npmjs.com/package/@trust0/ridb"><img src="https://img.shields.io/npm/dm/@trust0/ridb?color=c63a3b&style=flat-square"></a>
|
|
15
|
-
* </p>
|
|
16
|
-
* <h1>Introduction</h1>
|
|
17
|
-
*/
|
|
18
1
|
"use strict";
|
|
19
2
|
var __defProp = Object.defineProperty;
|
|
20
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.7.
|
|
7
|
+
"version": "1.7.12",
|
|
8
8
|
"main": "./build/ridb_core.js",
|
|
9
9
|
"module": "./build/ridb_core.mjs",
|
|
10
10
|
"types": "./build/ridb_core.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@esbuild-plugins/node-resolve": "^0.2.2",
|
|
32
|
-
"@trust0/ridb-build": "^0.0.
|
|
32
|
+
"@trust0/ridb-build": "^0.0.8",
|
|
33
33
|
"esbuild": "^0.25.4"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|