@envelop/core 2.3.2-alpha-e4ba153.0 → 2.3.2-alpha-c913692.0
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/index.js +1 -0
- package/index.mjs +1 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1149,6 +1149,7 @@ const useAsyncSchema = (schema$, validateSchema = true) => {
|
|
|
1149
1149
|
setSchema(schemaObj);
|
|
1150
1150
|
// Once the schema is completely resolved, we don't need to keep the logic below.
|
|
1151
1151
|
schemaSet$ = undefined;
|
|
1152
|
+
return schemaObj;
|
|
1152
1153
|
});
|
|
1153
1154
|
}
|
|
1154
1155
|
else {
|
package/index.mjs
CHANGED
|
@@ -1145,6 +1145,7 @@ const useAsyncSchema = (schema$, validateSchema = true) => {
|
|
|
1145
1145
|
setSchema(schemaObj);
|
|
1146
1146
|
// Once the schema is completely resolved, we don't need to keep the logic below.
|
|
1147
1147
|
schemaSet$ = undefined;
|
|
1148
|
+
return schemaObj;
|
|
1148
1149
|
});
|
|
1149
1150
|
}
|
|
1150
1151
|
else {
|