@orion-js/schema 2.10.0 → 2.12.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.
|
@@ -30,7 +30,7 @@ function _default(type) {
|
|
|
30
30
|
if (type === Boolean) return 'boolean';
|
|
31
31
|
|
|
32
32
|
if (!(0, _isString.default)(type)) {
|
|
33
|
-
throw new Error(
|
|
33
|
+
throw new Error(`Field type is invalid. Pass a string or a custom field type. Got: ${type}`);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
const exists = (0, _has.default)(_fieldTypes.default, type);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orion-js/schema",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.2",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"author": "nicolaslopezj",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "94f4c8bd9168eed8c3b0363afb1dd0f0bcdd3556"
|
|
30
30
|
}
|