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

@haechi-labs/henesis-provider

Package Overview
Dependencies
Maintainers
8
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@haechi-labs/henesis-provider - npm Package Compare versions

Comparing version 1.0.0-beta.4 to 1.0.0-beta.5

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [1.0.0-beta.5](https://github.com/HAECHI-LABS/henesis-sdk-js/compare/v1.0.0-beta.3...v1.0.0-beta.5) (2019-10-10)
### Features
* add authentication token and bootstrap transaction tracker ([6fc4b20](https://github.com/HAECHI-LABS/henesis-sdk-js/commit/6fc4b20))
* add heartbeat logic at provider [#29](https://github.com/HAECHI-LABS/henesis-sdk-js/issues/29) ([6797ad1](https://github.com/HAECHI-LABS/henesis-sdk-js/commit/6797ad1))
# [1.0.0-beta.4](https://github.com/HAECHI-LABS/henesis-sdk-js/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2019-10-04)

@@ -8,0 +20,0 @@

2

lib/providers/WebsocketProvider.d.ts

@@ -19,3 +19,3 @@ import { w3cwebsocket as W3CWebsocket } from "websocket";

connected(): boolean;
subscribe(subscriptionId: string, subscribeMethod: string, subscriptionMethod: string, parameters: any[]): Promise<string>;
subscribe(subscriptionId: string, subscribeMethod: string, topic: string, parameters: any[]): Promise<string>;
send(method: string, parameters: any[]): Promise<any>;

@@ -22,0 +22,0 @@ sendAsync(method: string, parameters: any[]): Promise<void>;

@@ -28,4 +28,4 @@ "use strict";

}
async subscribe(subscriptionId, subscribeMethod, subscriptionMethod, parameters) {
parameters.unshift(subscriptionId, subscriptionMethod);
async subscribe(subscriptionId, subscribeMethod, topic, parameters) {
parameters.unshift(subscriptionId, topic);
await this.send(subscribeMethod, parameters);

@@ -32,0 +32,0 @@ this.subscriptions.set(subscriptionId, {

@@ -19,3 +19,3 @@ import { IClientConfig } from "websocket";

sendAsync(method: string, parameters: any[]): Promise<void>;
subscribe(subscriptionId: string, subscribeMethod: string, subscriptionMethod: string, parameters: any[]): Promise<string>;
subscribe(subscriptionId: string, subscribeMethod: string, topic: string, parameters: any[]): Promise<string>;
unsubscribe(subscriptionId: string, unsubscribeMethod: string): Promise<any>;

@@ -22,0 +22,0 @@ getSubscriptionId(subscriptionId: any): string;

{
"name": "@haechi-labs/henesis-provider",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "henesis-provider",

@@ -42,3 +42,3 @@ "main": "./lib/index.js",

},
"gitHead": "ac8ddda658ad548a086818bd8541d280f97a7179"
"gitHead": "c611a2780da31e2508834ee1fb62fb49fc8583e8"
}

Sorry, the diff of this file is not supported yet

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