@airtasker/form-schema-compiler
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -240,3 +240,3 @@ "use strict"; | ||
var component = options["<component>"] || options.component; // todo: should force to <component> | ||
var component = rest["<component>"]; | ||
@@ -243,0 +243,0 @@ return _extends({}, rest, { |
@@ -73,2 +73,2 @@ "use strict"; | ||
// [minimum version, maximum version] | ||
var COMPATIBLE_SCHEMA_VERSION = exports.COMPATIBLE_SCHEMA_VERSION = ["0.0.1", "0.0.14"]; | ||
var COMPATIBLE_SCHEMA_VERSION = exports.COMPATIBLE_SCHEMA_VERSION = ["0.0.16", "0.0.16"]; |
{ | ||
"name": "@airtasker/form-schema-compiler", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "a form schema compiler", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -154,3 +154,6 @@ import curryRight from "lodash/curryRight"; | ||
export const compileProps = (props, options) => | ||
flowRight(compileKeys, createCompileValues(options))(props); | ||
flowRight( | ||
compileKeys, | ||
createCompileValues(options) | ||
)(props); | ||
@@ -208,3 +211,3 @@ const compilePropsFp = curryRight(compileProps); | ||
const component = options["<component>"] || options.component; // todo: should force to <component> | ||
const component = rest["<component>"]; | ||
@@ -211,0 +214,0 @@ return { |
@@ -95,2 +95,2 @@ export const TYPES = { | ||
// [minimum version, maximum version] | ||
export const COMPATIBLE_SCHEMA_VERSION = ["0.0.1", "0.0.14"]; | ||
export const COMPATIBLE_SCHEMA_VERSION = ["0.0.16", "0.0.16"]; |
3347
122928