Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ombori/ga-messaging

Package Overview
Dependencies
Maintainers
20
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ombori/ga-messaging - npm Package Compare versions

Comparing version 2.64.1 to 2.65.0

13

CHANGELOG.md

@@ -6,2 +6,15 @@ # Change Log

# [2.65.0](https://github.com/ombori/gridapp/compare/v2.64.1...v2.65.0) (2021-06-08)
### Bug Fixes
* simulate websocket on tizen ([775a579](https://github.com/ombori/gridapp/commit/775a5796fd63f73e4fe6a30bede0a9a7a7f86417))
* simulate websocket on tizen ([357f710](https://github.com/ombori/gridapp/commit/357f7105fce625d4c129fa58c9f6cd2c76634578))
* simulate websocket on tizen ([55ec75f](https://github.com/ombori/gridapp/commit/55ec75f9f477335149feeb01e8bfdb887fdd00e9))
## [2.64.1](https://github.com/ombori/gridapp/compare/v2.64.0...v2.64.1) (2021-06-08)

@@ -8,0 +21,0 @@

8

dist/index.js

@@ -28,3 +28,5 @@ var __assign = (this && this.__assign) || function () {

var onmessage = _a.onmessage, onclose = _a.onclose;
socket = new WebSocket(ADDRESS);
// @ts-ignore
var gridsocket = window.gridsocket; // A socket injected by web-runtime (tizen/android/web)
socket = gridsocket || new WebSocket(ADDRESS);
socket.onmessage = onmessage;

@@ -106,8 +108,6 @@ socket.onclose = onclose;

export var useHeartbeat = function () {
if (!navigator.userAgent.includes("GridOS"))
return;
useEffect(function () {
var i = setInterval(function () {
send('App.Heartbeat', {});
}, 5000);
}, 30000);
return function () { return clearInterval(i); };

@@ -114,0 +114,0 @@ }, []);

{
"name": "@ombori/ga-messaging",
"version": "2.64.1",
"version": "2.65.0",
"main": "dist/index.js",

@@ -16,3 +16,3 @@ "license": "UNLICENSED",

},
"gitHead": "f1832740b0f869d5715498fe18bc5e3436fe38fa"
"gitHead": "85b00370a6a341af6b8664c7fdf1792a48400156"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc