@startinblox/core 0.19.6-beta.1 → 0.19.6-beta.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.
- package/dist/index.js +4 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52121,18 +52121,10 @@ const RequiredMixin = {
|
|
|
52121
52121
|
for (let resource of resources) {
|
|
52122
52122
|
let hasProps = true;
|
|
52123
52123
|
for (let field of requiredFields) {
|
|
52124
|
-
let res =
|
|
52125
|
-
if (!res
|
|
52126
|
-
|
|
52127
|
-
|
|
52128
|
-
hasProps = false;
|
|
52129
|
-
continue;
|
|
52130
|
-
}
|
|
52131
|
-
} else if (res) {
|
|
52132
|
-
if (await res[field] == null || await res[field] == "") {
|
|
52133
|
-
hasProps = false;
|
|
52134
|
-
continue;
|
|
52135
|
-
}
|
|
52124
|
+
let res = await resource[field];
|
|
52125
|
+
if (!res || res == null) {
|
|
52126
|
+
hasProps = false;
|
|
52127
|
+
continue;
|
|
52136
52128
|
}
|
|
52137
52129
|
}
|
|
52138
52130
|
if (hasProps)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startinblox/core",
|
|
3
|
-
"version": "0.19.6-beta.
|
|
3
|
+
"version": "0.19.6-beta.2",
|
|
4
4
|
"description": "This is a series of web component respecting both the web components standards and the Linked Data Platform convention.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|