@sv443-network/userutils 6.3.0 → 7.0.1

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,5 +1,28 @@
1
1
  # @sv443-network/userutils
2
2
 
3
+ ## 7.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d8f6852: Fix package.json exports
8
+
9
+ ## 7.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - fadebf0: Removed the function `insertAfter()` because the DOM API already has the method [`insertAdjacentElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement) that has the same functionality and even four positions to pick from.
14
+ To get the same behavior as `insertAfter(refElem, newElem)`, you can use `refElem.insertAdjacentElement("afterend", newElem)`
15
+
16
+ ### Minor Changes
17
+
18
+ - ca6ff58: Added option `checkInterval` to SelectorObserver to check on interval instead of on mutation
19
+ - 1e2015c: Added `DataStoreSerializer` class for centralized and much easier and safer de-/serialization of any number of DataStore instances
20
+ - 5190f0b: SelectorObserver's `addListener()` now returns an unsubscribe function to more easily remove a listener
21
+ - e1d467c: Added function `computeHash()` to calculate the hash / checksum of a string
22
+ - 948ac89: DataStore: made `runMigrations`, `encodeData` and `decodeData` public and added `encodingEnabled` method
23
+ - d7cdac0: Made `randomId()` default to using Math.random() and added the parameter `enhancedEntropy` to revert back to the much slower but also much more entropic implementation
24
+ - 287b006: Added ability to change DataStore storage engine from default "GM" to "localStorage" and "sessionStorage"
25
+
3
26
  ## 6.3.0
4
27
 
5
28
  ### Minor Changes