Socket
Socket
Sign inDemoInstall

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.6.4 to 0.7.0

2

FrontblockApiClient.d.ts

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

constructor();
initConfig(): FrontblockApiConf;
getDefaultConfig(): FrontblockApiConf;
consume<C extends Coin>(apikey: string, uid: string, callback: (tx: TransactionMap[C]) => void): Promise<SubscriptionResponse | ErrorResponse>;

@@ -21,0 +21,0 @@ quit(apikey: string, consumerUid: string): Promise<ErrorResponse | SuccessResponse>;

@@ -25,3 +25,3 @@ "use strict";

}
initConfig() {
getDefaultConfig() {
return {

@@ -28,0 +28,0 @@ apiHost: "api.testnet.frontblock.me",

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

export default class FrontblockApiClient extends ConfigLoader<FrontblockApiConf> implements FrontblockApi{
protected started:boolean = false
protected started:boolean = false
protected apikey:string = ""

@@ -37,3 +37,3 @@ protected socket

initConfig(): FrontblockApiConf {
getDefaultConfig(): FrontblockApiConf {
return {

@@ -40,0 +40,0 @@ apiHost: "api.testnet.frontblock.me",

{
"name": "frontblock",
"version": "0.6.4",
"version": "0.7.0",
"description": "frontblock shop-side library ",

@@ -5,0 +5,0 @@ "main": "FrontblockApiClient.js",

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