@trust0/ridb-core 1.7.13 → 1.7.15

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
  type InternalsRecord = {
77
77
  [name: string]: BaseStorage<SchemaTypeRecord>
@@ -377,7 +377,6 @@ function __wbg_adapter_339(arg0, arg1, arg2, arg3, arg4) {
377
377
  function __wbg_adapter_396(arg0, arg1, arg2, arg3) {
378
378
  wasm.wasm_bindgen__convert__closures__invoke2_mut__h424d8c39cf909020(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
379
379
  }
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
380
  var OpType = Object.freeze({
382
381
  /**
383
382
  * Create operation.
@@ -405,6 +404,7 @@ var OpType = Object.freeze({
405
404
  COUNT: 4,
406
405
  "4": "COUNT"
407
406
  });
407
+ 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
408
  var BasePluginFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
409
409
  }, unregister: () => {
410
410
  } } : new FinalizationRegistry((ptr) => wasm.__wbg_baseplugin_free(ptr >>> 0));
@@ -3099,30 +3099,3 @@ async function __wbg_init(input) {
3099
3099
  return __wbg_finalize_init(instance, module2);
3100
3100
  }
3101
3101
  var ridb_core_default = __wbg_init;
3102
- // Annotate the CommonJS export names for ESM import in node:
3103
- 0 && (module.exports = {
3104
- BasePlugin,
3105
- BaseStorage,
3106
- Collection,
3107
- CoreStorage,
3108
- Database,
3109
- Errors,
3110
- InMemory,
3111
- IndexDB,
3112
- OpType,
3113
- Operation,
3114
- Property,
3115
- Query,
3116
- QueryOptions,
3117
- RIDBError,
3118
- Schema,
3119
- WasmBindgenTestContext,
3120
- __wbgtest_console_debug,
3121
- __wbgtest_console_error,
3122
- __wbgtest_console_info,
3123
- __wbgtest_console_log,
3124
- __wbgtest_console_warn,
3125
- initSync,
3126
- is_debug_mode,
3127
- main_js
3128
- });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.7.13",
7
+ "version": "1.7.15",
8
8
  "main": "./build/ridb_core.js",
9
9
  "module": "./build/ridb_core.mjs",
10
10
  "types": "./build/ridb_core.d.ts",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@esbuild-plugins/node-resolve": "^0.2.2",
33
- "@trust0/ridb-build": "^0.0.9",
33
+ "@trust0/ridb-build": "^0.0.11",
34
34
  "esbuild": "^0.25.4"
35
35
  },
36
36
  "files": [