Socket
Socket
Sign inDemoInstall

chia-datalayer

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chia-datalayer - npm Package Compare versions

Comparing version 2.0.18 to 2.0.19

6

datalayer.d.ts

@@ -117,2 +117,7 @@ // wallet.d.ts

export interface SubmitPendingRootParams {
id: string; // The hexadecimal store ID
fee?: string; // Optional: Set the fee for the transaction, in mojos
}
export default class DataLayer {

@@ -142,3 +147,4 @@ constructor(config?: Config);

walletLogin(params: WalletLogInParams, options?: Options);
submitPendingRoot(params: SubmitPendingRootParams, options?: Options);
}
}

2

package.json
{
"name": "chia-datalayer",
"version": "2.0.18",
"version": "2.0.19",
"description": "Wrapper for Chia DataLayer RPCs",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -255,4 +255,13 @@ const { callAndAwaitChiaRPC } = require("./rpc-base");

}
submitPendingRoot(params, options = {}) {
return callAndAwaitChiaRPC(
`${this.config.datalayer_host}/submit_pending_root`,
params,
this.config,
options
);
}
}
module.exports = DataLayer;
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