tiny-essentials
Version:
Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.
7 lines (4 loc) • 603 B
Markdown
### 🔒 Security with MessageChannel
Say goodbye to the standard `postMessage` broadcast! `TinyIframeEvents` now establishes a direct tunnel between the parent and the iframe using `MessageChannel`.
* **The `onReady()` Method:** No more race conditions! You can now use `.onReady(() => { ... })` to safely execute your logic exactly when the secure channel is fully established. Any messages emitted before the connection is ready are safely queued and automatically flushed once the handshake completes.
**Full Changelog**: https://github.com/Tiny-Essentials/Tiny-Essentials/compare/1.25.2...1.25.3