locality-idb 1.5.1 → 1.5.2

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/dist/index.d.cts CHANGED
@@ -411,7 +411,7 @@ type RejectFn = (reason: unknown) => void;
411
411
  /** Validator function type for {@link Column.validate()} */
412
412
  type ValidatorFn<T = any> = (value: T) => string | null | undefined;
413
413
  /** Updater function type for {@link Column.onUpdate()} */
414
- type UpdaterFn<T = any> = (currentValue?: T) => T;
414
+ type UpdaterFn<T = any> = (currentValue: T) => T;
415
415
  /** Asynchronous function type */
416
416
  type AsyncFunction<T> = (...args: any[]) => Promise<T>;
417
417
  /** Interface representing a date-like object. */
package/dist/index.d.mts CHANGED
@@ -411,7 +411,7 @@ type RejectFn = (reason: unknown) => void;
411
411
  /** Validator function type for {@link Column.validate()} */
412
412
  type ValidatorFn<T = any> = (value: T) => string | null | undefined;
413
413
  /** Updater function type for {@link Column.onUpdate()} */
414
- type UpdaterFn<T = any> = (currentValue?: T) => T;
414
+ type UpdaterFn<T = any> = (currentValue: T) => T;
415
415
  /** Asynchronous function type */
416
416
  type AsyncFunction<T> = (...args: any[]) => Promise<T>;
417
417
  /** Interface representing a date-like object. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "locality-idb",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "SQL-like query builder for IndexedDB with Drizzle-style API",
5
5
  "type": "module",
6
6
  "sideEffects": false,