@iebh/tera-fy 1.13.1 → 1.13.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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.13.2](https://github.com/IEBH/TERA-fy/compare/v1.13.1...v1.13.2) (2024-07-11)
4
+
3
5
  ## [1.13.1](https://github.com/IEBH/TERA-fy/compare/v1.13.0...v1.13.1) (2024-07-10)
4
6
 
5
7
  # [1.13.0](https://github.com/IEBH/TERA-fy/compare/v1.12.0...v1.13.0) (2024-07-09)
@@ -108,7 +108,14 @@ export default class TeraFyServer {
108
108
  case TeraFyServer.SERVERMODE_FRAME: {
109
109
  // Server is the top-level window so we need to send messages to an embedded iFrame
110
110
  let iFrame = document.querySelector('iframe#external');
111
- if (!iFrame) return console.warn('Cannot locate TERA-FY top-level->iFrame#external - maybe there is none');
111
+ if (!iFrame) {
112
+ this.debug('INFO', 2, 'Cannot locate TERA-FY top-level->iFrame#external - maybe there is none');
113
+ return mixin(this, {
114
+ sendRaw(message) {
115
+ this.debug('INFO', 2, 'Sending broadcast to zero listening clients');
116
+ },
117
+ });
118
+ }
112
119
 
113
120
  return mixin(this, {
114
121
  sendRaw(message) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iebh/tera-fy",
3
- "version": "1.13.1",
3
+ "version": "1.13.2",
4
4
  "description": "TERA website worker",
5
5
  "scripts": {
6
6
  "dev": "esbuild --platform=browser --format=esm --bundle lib/terafy.client.js --outfile=dist/terafy.js --minify --serve --servedir=.",