frontblock
Advanced tools
Comparing version 0.6.4 to 0.7.0
@@ -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", |
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
14333