frontblock
Advanced tools
Comparing version 0.3.6 to 0.4.0
@@ -60,3 +60,3 @@ "use strict"; | ||
name: 'quit', | ||
rpc: async (apikey, topicId) => { return await this.quit(apikey, topicId); }, | ||
rpc: async (consumerUid) => { return await this.quit(this.apikey, consumerUid); }, | ||
type: 'call', | ||
@@ -92,3 +92,3 @@ visibility: 'private' | ||
async quit(apikey, consumerUid) { | ||
const r = await this.socket.call("quit", apikey); | ||
const r = await this.socket.call("quit", apikey, consumerUid); | ||
const res = Types_1.parseResponse(r); | ||
@@ -95,0 +95,0 @@ return res; |
@@ -73,3 +73,3 @@ import { Coin, AccountMap, TransactionMap, SubscriptionResponse, ErrorResponse, SuccessResponse, parseResponse, parseSubResponse } from "frontblock-generic/Types"; | ||
name: 'quit', | ||
rpc: async(apikey:string, topicId:string) => {return await this.quit(apikey, topicId)}, | ||
rpc: async(consumerUid:string) => {return await this.quit(this.apikey, consumerUid)}, | ||
type: 'call', | ||
@@ -109,3 +109,3 @@ visibility: 'private' | ||
async quit(apikey: string, consumerUid: string): Promise<ErrorResponse | SuccessResponse> { | ||
const r = await this.socket.call("quit", apikey) | ||
const r = await this.socket.call("quit", apikey, consumerUid) | ||
const res = parseResponse(r) | ||
@@ -112,0 +112,0 @@ return res |
{ | ||
"name": "frontblock", | ||
"version": "0.3.6", | ||
"version": "0.4.0", | ||
"description": "frontblock shop-side library ", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
11532