@trust0/ridb-core 1.7.8 → 1.7.10

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.
@@ -38,16 +38,6 @@ declare function __wbgtest_console_warn(args: Array<any>): void;
38
38
  */
39
39
  declare function __wbgtest_console_error(args: Array<any>): void;
40
40
  /**
41
- */
42
- declare enum Errors {
43
- Error = 0,
44
- HookError = 1,
45
- QueryError = 2,
46
- SerializationError = 3,
47
- ValidationError = 4,
48
- AuthenticationError = 5,
49
- }
50
- /**
51
41
  * Represents the type of operation to be performed on the collection.
52
42
  */
53
43
  declare enum OpType {
@@ -72,6 +62,16 @@ declare enum OpType {
72
62
  */
73
63
  COUNT = 4,
74
64
  }
65
+ /**
66
+ */
67
+ declare enum Errors {
68
+ Error = 0,
69
+ HookError = 1,
70
+ QueryError = 2,
71
+ SerializationError = 3,
72
+ ValidationError = 4,
73
+ AuthenticationError = 5,
74
+ }
75
75
 
76
76
  /**
77
77
  * Represents a property within a schema, including various constraints and nested properties.
@@ -1,3 +1,20 @@
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
+ */
1
18
  "use strict";
2
19
  var __defProp = Object.defineProperty;
3
20
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -377,7 +394,6 @@ function __wbg_adapter_333(arg0, arg1, arg2, arg3, arg4) {
377
394
  function __wbg_adapter_390(arg0, arg1, arg2, arg3) {
378
395
  wasm.wasm_bindgen__convert__closures__invoke2_mut__h424d8c39cf909020(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
379
396
  }
380
- var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
381
397
  var OpType = Object.freeze({
382
398
  /**
383
399
  * Create operation.
@@ -405,6 +421,7 @@ var OpType = Object.freeze({
405
421
  COUNT: 4,
406
422
  "4": "COUNT"
407
423
  });
424
+ var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
408
425
  var BasePluginFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
409
426
  }, unregister: () => {
410
427
  } } : new FinalizationRegistry((ptr) => wasm.__wbg_baseplugin_free(ptr >>> 0));
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.7.8",
7
+ "version": "1.7.10",
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.4",
32
+ "@trust0/ridb-build": "^0.0.6",
33
33
  "esbuild": "^0.25.4"
34
34
  },
35
35
  "files": [