@cocreate/unique 1.19.2 → 1.19.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 +7 -0
- package/package.json +1 -1
- package/src/client.js +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.19.3](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.19.2...v1.19.3) (2024-02-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* return isUnique ([c769307](https://github.com/CoCreate-app/CoCreate-unique/commit/c7693079ab0e6f9417ced95ec06fa48a25a2c244))
|
|
7
|
+
|
|
1
8
|
## [1.19.2](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.19.1...v1.19.2) (2024-02-05)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -73,10 +73,8 @@ async function isUnique(element) {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
// Set unique attribute on the element
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
else
|
|
79
|
-
element.setAttribute('unique', false);
|
|
76
|
+
element.setAttribute('unique', response.unique);
|
|
77
|
+
return response.unique
|
|
80
78
|
|
|
81
79
|
}
|
|
82
80
|
|