anote-server-libs 0.4.2 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anote-server-libs",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Helpers for express-TS servers",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -6,7 +6,7 @@ const ajv = new ajv_1.default();
6
6
  ajv.addKeyword({
7
7
  keyword: 'maxDigits',
8
8
  type: 'number',
9
- schemaType: 'integer',
9
+ schemaType: 'number',
10
10
  code(cxt) {
11
11
  const { data, schema } = cxt;
12
12
  const op = (0, ajv_1._) `!==`;
@@ -5,7 +5,7 @@ const ajv = new Ajv();
5
5
  ajv.addKeyword({
6
6
  keyword: 'maxDigits',
7
7
  type: 'number',
8
- schemaType: 'integer',
8
+ schemaType: 'number',
9
9
  code(cxt: any) {
10
10
  const {data, schema} = cxt;
11
11
  const op = _`!==`;