Skip to content

Commit

Permalink
@metamask/ethjs-query v0.4.0
Browse files Browse the repository at this point in the history
* Bump version to v0.4.0
* Rename package to @metamask/ethjs-query
* Change repository URL to https://github.com/MetaMask/ethjs-query
* Update docs
  • Loading branch information
legobeat authored and brad-decker committed Sep 12, 2023
1 parent 6b7d413 commit a2bb9ff
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 24 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# 0.4.0 -- maintenance update

1. Renamed to @metamask/ethjs-query
2. Fixed and removed broken devDependencies
3. Require minimum nodejs v8.17, npm v6
4. Repository location changed
5. `npm prepublish` is now `npm prepare`

# 0.3.8 -- performCall change

1. Replace babel transforms with dependency babel-runtime
2. performCall behaves differently


# 0.3.7 -- various fixes
1. Async and promise handling changes
2. ethjs-rpc bump to 0.2.0
3. Replaced ethereum-tesrpc with ganache-core

# 0.3.6 -- ethjs-format bump to 0.2.7

# 0.3.5 -- new eth filter ID changes

1. Adds padded quantities
Expand Down
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
## ethjs-query

<div>
<!-- Dependency Status -->
<a href="https://david-dm.org/ethjs/ethjs-query">
<img src="https://david-dm.org/ethjs/ethjs-query.svg"
alt="Dependency Status" />
</a>

<!-- devDependency Status -->
<a href="https://david-dm.org/ethjs/ethjs-query#info=devDependencies">
<img src="https://david-dm.org/ethjs/ethjs-query/dev-status.svg" alt="devDependency Status" />
</a>

<!-- NPM Version -->
<a href="https://www.npmjs.org/package/ethjs-query">
<img src="http://img.shields.io/npm/v/ethjs-query.svg"
Expand Down Expand Up @@ -67,7 +56,7 @@ This module supports all Ethereum RPC methods and is designed completely to spec

`ethjs-query` uses the `ethjs-format` module to format incoming and outgoing RPC data payloads. The primary formatting task is numbers. Number values can be inputed as: `BigNumber`, `BN`, `string`, `hex` or `actual numbers`. Because the blockchain does not support decimal or negative numbers, any kind of decimal or negative number will cause an error return. All received number values are returned as BN.js object instances.

Read more about the formatting layer here: [ethjs-format](http://github.com/ethjs/ethjs-format)
Read more about the formatting layer here: [ethjs-format](http://github.com/MetaMask/ethjs-format)

## Async Only

Expand Down Expand Up @@ -205,13 +194,13 @@ There is always a lot of work to do, and will have many rules to maintain. So pl

Please consult our [Code of Conduct](CODE_OF_CONDUCT.md) docs before helping out.

We communicate via [issues](https://github.com/ethjs/ethjs-query/issues) and [pull requests](https://github.com/ethjs/ethjs-query/pulls).
We communicate via [issues](https://github.com/MetaMask/ethjs-query/issues) and [pull requests](https://github.com/MetaMask/ethjs-query/pulls).

## Important documents

- [Changelog](CHANGELOG.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [License](https://raw.githubusercontent.com/ethjs/ethjs-query/master/LICENSE)
- [License](https://raw.githubusercontent.com/MetaMask/ethjs-query/master/LICENSE)

## Licence

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ should not need to be touched.

For more in-depth structure, see the developer-guide.md.

*(If they do have to be changed, please [submit an issue](https://github.com/ethjs/ethjs-query/issues)!)*
*(If they do have to be changed, please [submit an issue](https://github.com/MetaMask/ethjs-query/issues)!)*

### Testing

Expand Down
2 changes: 1 addition & 1 deletion docs/developer-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ npm install --save ethjs-query
## Install from Source

```
git clone http://github.com/ethjs/ethjs-query
git clone http://github.com/MetaMask/ethjs-query
npm install
```

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ eth.accounts(cb);

`ethjs-query` uses the `ethjs-format` module to format incoming and outgoing RPC data payloads. The primary formatting task is numbers. Number values can be inputed as: `BigNumber`, `BN`, `string`, `hex` or `actual numbers`. Because the blockchain does not support decimal or negative numbers, any kind of decimal or negative number will cause an error return. All received number values are returned as BN.js object instances.

Read more about the formatting layer here: [ethjs-format](http://github.com/ethjs/ethjs-format)
Read more about the formatting layer here: [ethjs-format](http://github.com/MetaMask/ethjs-format)

## Async Only

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethjs-query",
"version": "0.3.8",
"name": "@metamask/ethjs-query",
"version": "0.4.0",
"description": "A simple query layer for the Ethereum RPC.",
"main": "lib/index.js",
"files": [
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/ethjs/ethjs-query.git"
"url": "https://github.com/MetaMask/ethjs-query.git"
},
"keywords": [
"ethereum",
Expand All @@ -46,9 +46,9 @@
"author": "Nick Dodson <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ethjs/ethjs-query/issues"
"url": "https://github.com/MetaMask/ethjs-query/issues"
},
"homepage": "https://github.com/ethjs/ethjs-query#readme",
"homepage": "https://github.com/MetaMask/ethjs-query#readme",
"babel": {
"plugins": [
[
Expand Down

0 comments on commit a2bb9ff

Please sign in to comment.