@juit/vue-z 0.0.7 → 0.0.8
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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -571,7 +571,7 @@ function provideFormReadyState() {
|
|
|
571
571
|
function formReadyState(callback) {
|
|
572
572
|
const callbacks = inject(_readyStateSymbol, null);
|
|
573
573
|
if (!callbacks) return;
|
|
574
|
-
const key =
|
|
574
|
+
const key = btoa([...crypto.getRandomValues(new Uint8Array(15))].map((c) => String.fromCharCode(c)).join(""));
|
|
575
575
|
const watcher = watch(callback, (ready) => {
|
|
576
576
|
if (callbacks.value[key] === ready) return;
|
|
577
577
|
callbacks.value[key] = ready;
|