New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphenejs-lib

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphenejs-lib - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

2

examples/chainStore.js
var {Apis} = require("graphenejs-ws");
var {ChainStore} = require("../lib");
Apis.instance("wss://bitshares.openledger.info/ws").init_promise.then((res) => {
Apis.instance("wss://bitshares.openledger.info/ws", true).init_promise.then((res) => {
console.log("connected to:", res[0].network);

@@ -6,0 +6,0 @@ ChainStore.init().then(() => {

@@ -7,3 +7,3 @@ var {Apis} = require("graphenejs-ws");

Apis.instance("wss://testnet.bitshares.eu/ws")
Apis.instance("wss://testnet.bitshares.eu/ws", true)
.init_promise.then((res) => {

@@ -10,0 +10,0 @@ console.log("connected to:", res[0].network_name, "network");

{
"name": "graphenejs-lib",
"version": "0.4.7",
"version": "0.4.8",
"description": "Pure JavaScript Bitshares/Graphene library for node.js and browsers.",
"browser": {
"websocket": false,
"ws": false,
"crypto": false

@@ -52,3 +52,3 @@ },

"event-emitter": "^0.3.4",
"graphenejs-ws": "^0.1.3",
"graphenejs-ws": "^0.1.5",
"immutable": "^3.7.6",

@@ -55,0 +55,0 @@ "secure-random": "^1.1.1"

@@ -61,3 +61,3 @@ # GrapheneJS (graphenejs-lib)

Apis.instance("wss://bitshares.openledger.info/ws").init_promise.then((res) => {
Apis.instance("wss://bitshares.openledger.info/ws", true).init_promise.then((res) => {
console.log("connected to:", res[0].network);

@@ -64,0 +64,0 @@ ChainStore.init().then(() => {

@@ -11,3 +11,3 @@ var assert = require("assert");

before(function() {
return Apis.instance("wss://bitshares.openledger.info/ws").init_promise.then(function (result) {
return Apis.instance("wss://bitshares.openledger.info/ws", true).init_promise.then(function (result) {
coreAsset = result[0].network.core_asset;

@@ -14,0 +14,0 @@ ChainStore.init();

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