@adobe/spacecat-shared-data-access 1.44.2 → 1.44.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v1.44.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.44.2...@adobe/spacecat-shared-data-access-v1.44.3) (2024-09-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add an additional space in the unit test ([#376](https://github.com/adobe/spacecat-shared/issues/376)) ([c98ae55](https://github.com/adobe/spacecat-shared/commit/c98ae55433970663bc5d50a9546d1fbc9d4bf8d7))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-data-access-v1.44.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.44.1...@adobe/spacecat-shared-data-access-v1.44.2) (2024-09-16)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -105,6 +105,10 @@ export const createImportUrl = (data) => {
|
|
|
105
105
|
throw new Error(`Invalid Url: ${newState.url}`);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
if (!hasText(newState.jobId)) {
|
|
109
|
+
throw new Error(`Invalid Job ID: ${newState.jobId}`);
|
|
110
|
+
}
|
|
111
|
+
|
|
108
112
|
if (!Object.values(ImportUrlStatus).includes(newState.status)) {
|
|
109
113
|
throw new Error(`Invalid Import URL status: ${newState.status}`);
|
|
110
114
|
}
|