@civet/core 2.1.1 → 2.1.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.
Files changed (2) hide show
  1. package/dist/Meta.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/Meta.d.ts CHANGED
@@ -14,7 +14,7 @@ export default class Meta<Schema extends GenericObject = GenericObject, Instance
14
14
  keys: () => (keyof Schema)[];
15
15
  set: <Key extends keyof Schema>(key: Key, value: Schema[Key]) => void;
16
16
  values: () => Schema[keyof Schema][];
17
- commit: (prev: Schema, ignore?: (keyof Schema)[]) => Schema;
17
+ commit: (prev?: Schema, ignore?: (keyof Schema)[]) => Schema;
18
18
  }
19
19
  export type InferSchema<MetaI extends Meta> = MetaI['_inferSchema'];
20
20
  export type InferInstance<MetaI extends Meta> = MetaI['_inferInstance'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civet/core",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Civet",
5
5
  "author": {
6
6
  "name": "Aaron Burmeister"