Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "aa-hooks", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Library for working with autonomous agent events", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
const { v4: uuidv4 } = require('uuid'); | ||
const conf = require('ocore/conf.js'); | ||
// const network = require('ocore/network.js'); | ||
const eventBus = require('ocore/event_bus.js'); | ||
@@ -11,3 +10,3 @@ const lightWallet = require('ocore/light_wallet.js'); | ||
// lightWallet.setLightVendorHost(conf.hub); | ||
lightWallet.setLightVendorHost(conf.hub); | ||
@@ -38,4 +37,3 @@ const defaultConfig = { | ||
eventBus.on('headless_wallet_ready', async (ws) => { | ||
// network.initWitnessesIfNecessary(ws, onConnected); | ||
eventBus.on('headless_wallet_ready', async () => { | ||
for (let i = 0; i < addresses.length; i++) { | ||
@@ -48,4 +46,2 @@ dag.loadAA(addresses[i]); | ||
} | ||
// network.initWitnessesIfNecessary(ws, () => console.error('start---------->')); | ||
}); | ||
@@ -52,0 +48,0 @@ |
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
117489
553