@mavenmachines/event-handler-lib 1.4.0-rc.17 → 1.4.0-rc.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mavenmachines/event-handler-lib",
3
- "version": "1.4.0-rc.16",
3
+ "version": "1.4.0-rc.18",
4
4
  "description": "Helper libraries for creating an Event Handler",
5
5
  "module": "./dist/src/index.mjs",
6
6
  "types": "./dist/src/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  export type OptionalExcept<T, KeyT extends keyof T> = Pick<T, KeyT> & Partial<Omit<T, KeyT>>;
2
2
  export type StringKey<T, U extends keyof T = keyof T> = U extends string ? U : never;
3
3
  export type DeepPartial<T extends Record<string, any>> = {
4
- [P in keyof T]?: T[P] extends Record<string, any> ? DeepPartial<T> : T[P] extends Array<infer U> ? U extends Record<string, any> ? DeepPartial<U>[] : U[] : T;
4
+ [P in keyof T]?: T[P] extends Array<infer U> ? U extends Record<string, any> ? Array<DeepPartial<U>> : U[] : T[P] extends Record<string, any> ? DeepPartial<T> : T[P];
5
5
  };
6
6
  export type DeepDiff<T, RemovedT = null, ModifiedT = any> = {
7
7
  [P in keyof T]?: T[P] extends Record<string, any> ? DeepDiff<T[P]> | RemovedT : ModifiedT extends any ? T : T | ModifiedT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mavenmachines/event-handler-lib",
3
- "version": "1.4.0-rc.17",
3
+ "version": "1.4.0-rc.18",
4
4
  "description": "Helper libraries for creating an Event Handler",
5
5
  "module": "./dist/src/index.mjs",
6
6
  "types": "./dist/src/index.d.ts",