包详细信息

@filecoin-shipyard/lotus-client-rpc

filecoin-shipyard1k(Apache-2.0 AND MIT)1.2.0

Lotus JS Client RPC Library

filecoin

自述文件

Lotus JS Client - RPC query module

This library supplies a low-level interface for making calls to the Lotus JSON-RPC API.

See filecoin-shipyard/js-lotus-client for examples that show how to use this provider.

Re-generating TypeScript definitions

TypeScript definitions are generated by go-tsgen in https://github.com/filecoin-shipyard/js-lotus-client-schema. It links directly to Lotus. Updating the version of Lotus in its go.mod should generate updated TypeScript definitions.

There is an npm script here that can build and run the latest version locally if you have Go installed:

npm run build:ts

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

更新日志

1.2.0 (2022-03-15)

Features

  • update types to lotus@1.15.0 (b11dcaf)

Trivial Changes

  • no-release: bump actions/checkout from 2.4.0 to 3 (#25) (b1b5a36)
  • no-release: bump actions/setup-node from 2.5.1 to 3.0.0 (#24) (2568411)

1.1.4 (2022-01-24)

Bug Fixes

  • ci: release with Node.js 16, simplify Actions (ce7b22d)

Trivial Changes

  • deps-dev: bump dual-publish from 2.0.2 to 3.0.0 (48037a9)
  • no-release: bump actions/setup-node from 2.4.1 to 2.5.0 (#21) (b94cf51)
  • no-release: bump actions/setup-node from 2.5.0 to 2.5.1 (#22) (1f4b2d2)

1.1.3 (2021-11-04)

Trivial Changes

  • deps: bump actions/checkout from 2.3.5 to 2.4.0 (d6fdebb)

1.1.2 (2021-10-18)

Trivial Changes

  • deps: bump actions/checkout from 2.3.4 to 2.3.5 (#19) (5b75cff)

1.1.1 (2021-09-28)

Trivial Changes

  • deps-dev: bump dual-publish from 1.0.9 to 2.0.0 (3d125a7)
  • deps: bump actions/setup-node from 2.4.0 to 2.4.1 (83727dd)

1.1.0 (2021-08-20)

Features

  • update types for lotus@1.11.1 (2d61d1a)

1.0.1 (2021-08-20)

Trivial Changes

  • deps: bump actions/setup-node from 2.2.0 to 2.4.0 (a994230)

1.0.0 (2021-08-20)

Features

Bug Fixes

  • add release-it to devDeps (e885a79)
  • add storage miner and worker API methods (#9) (086fc98)

Trivial Changes

0.0.14

  • Add missing storage miner and worker API methods to Typescript declarations.

0.0.13

  • Adds method descriptions to Typescript declarations.

0.0.12

  • Added Typescript declarations, generated from schema.

0.0.11

  • Renamed .import() to .importFile() - SES (Secure ECMAScript) doesn't like the method named 'import', presumably because it's the same as the JavaScript keyword.