New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postchain-client

Package Overview
Dependencies
Maintainers
0
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postchain-client - npm Package Versions

1
7

1.8.0

Diff

Changelog

Source

[1.8.0]

Changed

  • Type called KeyPair changed from having pubKeyas optional to being mandatory.
  • signTransaction and signAndSendUniqueTransaction no longer accept signMethod as type PrivKey, instead it have to be a KeyPair or SignatureProvider.
  • Changed plugin commonJS() of ESM build-step in Rollup.config.mjs to transform mixed modules to ESM modules.
  • Moved up plugin resolve() of ESM build-step in Rollup.config.mjs to top of plugin list.

Fixed

  • randomly pick node from directoryNodeUrlPool when querying for the brid of directory chain.
  • txRejectedError to have public properties.
mimmicromsjo
published 1.7.1 •

Changelog

Source

[1.7.1] - 2023-09-28

Fixed

  • When using QueryObject, you must specify return type.
  • Use type DictPair instead of QueryArguments alias.
mimmicromsjo
published 1.7.0 •

Changelog

Source

[1.7.0] - 2023-09-27

Fixed

  • Change order of generic types of query to query<TReturn, TArgs>.

Added

  • Generic type of QueryObject, QueryObject<TReturn, TArgs>.
mimmicromsjo
published 1.6.0 •

Changelog

Source

[1.6.0] - 2023-09-22

Added

  • BlockchainUrlUndefinedException exported.
  • in IClient, getTransactionsInfo which fetch info about transactions on the chain.
  • in IClient, getTransactionInfo which fetch info about a transaction.
  • in IClient, getTransactionCount which fetch number of successful transactions on the chain.

Fixed

  • bug in TxRejectedError, the error will print the rejection reason if it exist. From the error it is possible to get shortReason, rellLine, and operation (used like error.operation).
  • updating to camelCase for the abbreviations. blockchainRID -> blockchainRid.
mimmicromsjo
published 1.5.10 •

Changelog

Source

[1.5.10] - 2023-09-15

Added

  • Ability to choose a failover strategy for a client. The following three are available: AbortOnError, TryNextOnError, SingleEndpoint. A description can be found in the README.

Fixed

  • encode txProof and anchroingProof that are included as arguments in iccf_proof operation
  • remove check for only blockchainRid when initialize client, new flow either blockchainRid or blockchainIid need to exist.
mimmicromsjo
published 1.5.9 •

Changelog

Source

[1.5.9] - 2023-08-30

Fixed

  • Set content-type to octet-stream when making post requests
mimmicromsjo
published 1.5.8 •

Changelog

Source

[1.5.8] - 2023-08-25

Added

  • Abillity to check if transaction is anchored, isBlockAnchored, getBlockAnchoringTransaction,
  • create client configured to anchoring chain, getAnchoringClient
  • export ICCF types and errors
  • improved error handling in get requests. When status code is not 200, it returns error containing information from servers error message.
mimmicromsjo
published 1.5.7 •

Changelog

Source

[1.5.7] - 2023-08-15

Added

  • Export custom errors
  • ICCF experimental feature, exported function called createIccfProofTx
mimmicromsjo
published 1.5.6 •

Changelog

Source

[1.5.6] - 2023-07-07

Fixed

  • Add type ReadonlyArray<RawGtv> to union of RawGtv
  • uncought promise in send transaction
mimmicromsjo
published 1.5.5 •

Changelog

Source

[1.5.5] - 2023-07-03

Fixed

  • Sort string maps before encoding
  • Because of postchain update, add HTTP header to accept response as binary instead of JSON
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