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

@nimiq/rpc

Package Overview
Dependencies
Maintainers
7
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nimiq/rpc - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

8

dist/rpc.common.js

@@ -406,2 +406,10 @@ 'use strict';

this._waitingRequests.add(obj.id, command);
// Periodically check if recepient window is still open
const checkIfServerWasClosed = () => {
if (this._target.closed) {
reject(new Error('window was closed'));
}
setTimeout(checkIfServerWasClosed, 500);
};
setTimeout(checkIfServerWasClosed, 500);
console.debug('RpcClient REQUEST', command, args);

@@ -408,0 +416,0 @@ this._target.postMessage(obj, this._allowedOrigin);

@@ -408,2 +408,10 @@ (function (global, factory) {

this._waitingRequests.add(obj.id, command);
// Periodically check if recepient window is still open
const checkIfServerWasClosed = () => {
if (this._target.closed) {
reject(new Error('window was closed'));
}
setTimeout(checkIfServerWasClosed, 500);
};
setTimeout(checkIfServerWasClosed, 500);
console.debug('RpcClient REQUEST', command, args);

@@ -410,0 +418,0 @@ this._target.postMessage(obj, this._allowedOrigin);

2

package.json
{
"name": "@nimiq/rpc",
"version": "0.0.5",
"version": "0.0.6",
"description": "RPC Client/Server",

@@ -5,0 +5,0 @@ "repository": {

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