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

@chromia/postchain-client

Package Overview
Dependencies
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chromia/postchain-client - npm Package Versions

1.0.0

Diff

Changelog

Source

[1.0.0] - 2022-12-09

Added

  • New logger accessible in index.ts.
  • Enable the client to connect to a blockchain through multiple nodes running the blockchain.
  • Load balancing by randomly distributing transactions and queries between nodes.
  • Retry policy added for request to the blockchain.
  • Enables you to discover the nodes running your blockchain by querying D1 with your dapp´s blockchain RID. Read more in the Chromia client providers Readme.

Changed

  • Previously a rest client was initialized with one string containing the address of the node running your blockchain. Now an instance of the rest client is initiated with a list of strings representing the addresses of the nodes where your dapp is running.
  • Previously a rest client query was called with two parameters; queryName and queryObject. Now this call only takes one parameter called queryObject, which is defined as:
{
    type: string;
    [Arg
:
    string
]:
    RawGtv;
}

where type is what previously was called query name.

[0.*.*]

Early version of the postchain-client written in javascript.

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