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

frontblock

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frontblock - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

10

FrontblockApiClient.js

@@ -93,3 +93,6 @@ "use strict";

if (res instanceof Types_1.SubscriptionResponse) {
this.socket.hook(res.uid, callback);
this.socket.hook(res.uid, (tx) => {
const deserialized = JSON.parse(tx);
callback(deserialized);
});
}

@@ -112,3 +115,6 @@ return res;

if (res instanceof Types_1.SubscriptionResponse) {
this.socket.hook(res.uid, callback);
this.socket.hook(res.uid, (tx) => {
const deserialized = JSON.parse(tx);
callback(deserialized);
});
}

@@ -115,0 +121,0 @@ return res;

@@ -110,3 +110,6 @@ import { Coin, AccountMap, TransactionMap, SubscriptionResponse, ErrorResponse, SuccessResponse, parseResponse, parseSubResponse } from "frontblock-generic/Types";

if(res instanceof SubscriptionResponse){
this.socket.hook(res.uid, callback)
this.socket.hook(res.uid, (tx) => {
const deserialized = <TransactionMap[C]>JSON.parse(tx)
callback(deserialized)
})
}

@@ -132,3 +135,6 @@ return res

if(res instanceof SubscriptionResponse){
this.socket.hook(res.uid, callback)
this.socket.hook(res.uid, (tx) => {
const deserialized = <TransactionMap[C]>JSON.parse(tx)
callback(deserialized)
})
}

@@ -135,0 +141,0 @@ return res

2

package.json
{
"name": "frontblock",
"version": "0.4.3",
"version": "0.4.4",
"description": "frontblock shop-side library ",

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

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