Comparing version 0.0.7 to 0.0.8
@@ -83,6 +83,7 @@ const EventEmitter = require('events'); | ||
static getAAVars(address) { | ||
static getAAVars(address, params = {}) { | ||
const _params = Object.assign({ address }, params); | ||
return new Promise(resolve => { | ||
network.requestFromLightVendor('light/get_aa_state_vars', | ||
{ address }, | ||
_params, | ||
(ws, request, response) => { | ||
@@ -89,0 +90,0 @@ return resolve(response); |
@@ -70,6 +70,7 @@ const EventEmitter = require('events'); | ||
static getAAVars(address) { | ||
static getAAVars(address, params = {}) { | ||
const _params = Object.assign({ address }, params); | ||
return new Promise(resolve => { | ||
network.requestFromLightVendor('light/get_aa_state_vars', | ||
{ address }, | ||
_params, | ||
(ws, request, response) => { | ||
@@ -76,0 +77,0 @@ return resolve(response); |
{ | ||
"name": "aagent.js", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "It is library to work with Autonomous Agents on Obyte", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,1 +1,3 @@ | ||
# aagent.js | ||
### What's it? | ||
@@ -191,2 +193,2 @@ It is [CLI](https://github.com/olabs-org/aagent-cli) and library to work with Autonomous Agents on Obyte | ||
#### If you want to start developing on Obyte and you need help, write to us on [discord](https://obyte.org/discord) or on telegram: @xJeneK | ||
#### If you want to start developing on Obyte and you need help, write to us on [discord](https://obyte.org/discord) or on telegram: @xJeneK |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11027
156
194
1