@ombori/ga-messaging
Advanced tools
Comparing version 2.65.10 to 2.65.12
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.65.12](https://github.com/ombori/gridapp/compare/v2.65.11...v2.65.12) (2021-06-09) | ||
### Bug Fixes | ||
* foward .grid to all child iframes ([b15a05d](https://github.com/ombori/gridapp/commit/b15a05da4d1a239f60ccf80091da300e0e029477)) | ||
## [2.65.10](https://github.com/ombori/gridapp/compare/v2.65.9...v2.65.10) (2021-06-09) | ||
@@ -8,0 +19,0 @@ |
@@ -29,4 +29,4 @@ var __assign = (this && this.__assign) || function () { | ||
// @ts-ignore | ||
var gridSocket = window.gridSocket; // A socket injected by web-runtime (tizen/android/web) | ||
if (gridSocket) { | ||
var grid = window.grid; // A socket injected by web-runtime (tizen/android/web) | ||
if (grid && grid.socket) { | ||
console.log("Grid-messaging: a grid socket detected, using it"); | ||
@@ -37,3 +37,3 @@ } | ||
} | ||
socket = gridSocket || new WebSocket(ADDRESS); | ||
socket = (grid && grid.socket) || new WebSocket(ADDRESS); | ||
socket.onmessage = onmessage; | ||
@@ -40,0 +40,0 @@ socket.onclose = onclose; |
{ | ||
"name": "@ombori/ga-messaging", | ||
"version": "2.65.10", | ||
"version": "2.65.12", | ||
"main": "dist/index.js", | ||
@@ -16,3 +16,3 @@ "license": "UNLICENSED", | ||
}, | ||
"gitHead": "a25d0e2efafa8459a83e86ffe31bae133989bad7" | ||
"gitHead": "d7de6a593f48959677e124856e91df20bf99b5c7" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15913