@cocreate/unique 1.18.1 → 1.18.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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/client.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.18.2](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.18.1...v1.18.2) (2023-12-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* delete data storage and fix variable names ([9371e3b](https://github.com/CoCreate-app/CoCreate-unique/commit/9371e3b224f48e90d4c83dba48afa0ac3030d04c))
|
|
7
|
+
|
|
1
8
|
## [1.18.1](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.18.0...v1.18.1) (2023-12-18)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -69,9 +69,9 @@ async function isUnique(element) {
|
|
|
69
69
|
|
|
70
70
|
// If indexedb response is unique is true, check server response
|
|
71
71
|
if (response.unique) {
|
|
72
|
-
delete data.
|
|
73
|
-
|
|
74
|
-
response = await crud.socket.send(
|
|
72
|
+
delete data.storage
|
|
73
|
+
data.method = 'isUnique'
|
|
74
|
+
response = await crud.socket.send(data)
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
// Set unique attribute on the element
|