@lucaapp/service-utils 5.4.0 → 5.4.1

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.
@@ -77,9 +77,8 @@ export declare class AtomicAuditLog {
77
77
  *
78
78
  * @param model - The Sequelize model to track
79
79
  * @param options - Configuration options
80
- * @returns Promise that resolves when hooks are added
81
80
  */
82
- addHistory<T extends Model>(model: ModelStatic<T>, options?: AddHistoryOptions): Promise<void>;
81
+ addHistory<T extends Model>(model: ModelStatic<T>, options?: AddHistoryOptions): void;
83
82
  /**
84
83
  * Creates an audit log entry with atomically assigned revision number.
85
84
  */
@@ -108,9 +108,8 @@ class AtomicAuditLog {
108
108
  *
109
109
  * @param model - The Sequelize model to track
110
110
  * @param options - Configuration options
111
- * @returns Promise that resolves when hooks are added
112
111
  */
113
- async addHistory(model, options = {}) {
112
+ addHistory(model, options = {}) {
114
113
  const { exclude = [] } = options;
115
114
  const modelName = model.name;
116
115
  const primaryKeyAttribute = model.primaryKeyAttribute || 'uuid';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucaapp/service-utils",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [