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

aa-hooks

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aa-hooks - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"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 @@

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