xdbc 1.0.88 → 1.0.89

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/DBC/OR.ts +2 -2
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.88",
2
+ "version": "1.0.89",
3
3
  "name": "xdbc",
4
4
  "scripts": {
5
5
  "format": "biome format ./src --write",
package/src/DBC/OR.ts CHANGED
@@ -28,7 +28,7 @@ export class OR extends DBC {
28
28
  conditions: Array<{
29
29
  check: (toCheck: unknown | undefined | null) => boolean | string;
30
30
  }>,
31
- value: object,
31
+ value: unknown | null | undefined,
32
32
  ): boolean | string {
33
33
  let result = "";
34
34
 
@@ -127,7 +127,7 @@ export class OR extends DBC {
127
127
  * @param toCheck See {@link OR.checkAlgorithm }.
128
128
  *
129
129
  * @returns See {@link OR.checkAlgorithm}. */
130
- public check(toCheck: object) {
130
+ public check(toCheck: unknown | null | undefined) {
131
131
  return OR.checkAlgorithm(this.conditions, toCheck);
132
132
  }
133
133
  /**