chia-datalayer
Advanced tools
Comparing version 2.0.10 to 2.0.11
{ | ||
"name": "chia-datalayer", | ||
"version": "2.0.10", | ||
"version": "2.0.11", | ||
"description": "Wrapper for Chia DataLayer RPCs", | ||
"main": "index.js", | ||
"types": "datalayer.d.ts", | ||
"scripts": { | ||
@@ -7,0 +8,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
@@ -110,6 +110,6 @@ const { callAndAwaitChiaRPC } = require("./rpc-base"); | ||
getOwnedStores(params, options = {}) { | ||
getOwnedStores(options = {}) { | ||
return callAndAwaitChiaRPC( | ||
`${this.config.datalayer_host}/get_owned_stores`, | ||
params, | ||
{}, | ||
this.config, | ||
@@ -135,2 +135,14 @@ { | ||
walletLogin(params, options = {}) { | ||
return callAndAwaitChiaRPC( | ||
`${this.config.datalayer_host}/wallet_log_in`, | ||
params, | ||
this.config, | ||
{ | ||
includeFee: false, | ||
...options, | ||
} | ||
); | ||
} | ||
getRootHistory(params, options = {}) { | ||
@@ -148,6 +160,6 @@ return callAndAwaitChiaRPC( | ||
getSubscriptions(params, options = {}) { | ||
getSubscriptions(options = {}) { | ||
return callAndAwaitChiaRPC( | ||
`${this.config.datalayer_host}/get_subscriptions`, | ||
params, | ||
{}, | ||
this.config, | ||
@@ -185,6 +197,6 @@ { | ||
plugins(params, options = {}) { | ||
plugins(options = {}) { | ||
return callAndAwaitChiaRPC( | ||
`${this.config.datalayer_host}/plugins`, | ||
params, | ||
{}, | ||
this.config, | ||
@@ -198,3 +210,3 @@ { | ||
removeSubscription(params, options = {}) { | ||
removeSubscriptions(params, options = {}) { | ||
return callAndAwaitChiaRPC( | ||
@@ -201,0 +213,0 @@ `${this.config.datalayer_host}/remove_subscription`, |
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
18026
8
542