Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 5528f7a

Browse files
author
james
committed
New release for eosio v1.0.10
1 parent 90a65a4 commit 5528f7a

File tree

7 files changed

+29
-21
lines changed

7 files changed

+29
-21
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ General purpose library for EOSIO blockchains.
99

1010
| [EOSIO/eosjs](/EOSIO/eosjs) | [Npm](https://www.npmjs.com/package/eosjs) | [EOSIO/eos](https://github.com/EOSIO/eos) | [Docker Hub](https://hub.docker.com/r/eosio/eos/) |
1111
| --- | --- | --- | --- |
12-
| tag: 15.0.2 | `npm install eosjs` (version 15) | tag: v1.0.7 | eosio/eos:v1.0.7 |
12+
| tag: 15.0.4 | `npm install eosjs` (version 15) | tag: v1.0.10 | eosio/eos:v1.0.10 |
1313

1414
Release notes:
15-
* [email protected].2 is compatible with eosio v1.0.5 - v1.0.7
15+
* [email protected].4 is compatible with eosio v1.0.5 - v1.0.10
1616
* Converted some types in **format** module from unsigned to signed: UDecimalPad -> DecimalPad for example (15.0.1)
1717
* All `asset` and `extended_asset` amounts require exact decimal places (Change `1 SYS` to `1.0000 SYS`) (15.0.0)
1818
* Use `config.verbose` instead of `config.debug` (14.1.0)
@@ -23,14 +23,19 @@ Prior [version](./docs/prior_versions.md) matrix.
2323
### Usage
2424

2525
* Install with: `npm install eosjs`
26-
* Html script tag, see [releases](https://github.com/EOSIO/eosjs/releases) for the correct **version** and its matching script **integrity** hash.
26+
* Html script tag, see [releases](https://github.com/EOSIO/eosjs/releases) for the correct **version** and its matching script **integrity** hash.
2727

2828
```html
29+
<!--
30+
sha512-UQLchw9QzS3ZJYX+kmbGuMUdBS7BrajPphsZibuTTS27EXxcXns3ITRfOPvSZ/xPd5DhIckmvYj0FXWUa8gE5Q== lib/eos.js
31+
sha512-KpODfN4HS8hjaWn6oZeUx/UIlIZ8mbS3EnylJ4is1GvSQ9mfuth7RhRCFPn2QQNvFtHAfVgRn4V3ithCWWVeGA== lib/eos.min.js
32+
sha512-VjGIVy6TjlKenLPbOAf+/TeD5ny96ebeWhDJMfmLtkUuzSVohM79d7vwPbBEtBO5wrr23qKPV1HJK2WbfP6rpg== lib/eos.min.js.map
33+
-->
2934
<html>
3035
<head>
3136
<meta charset="utf-8">
32-
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/lib/eos.min.js"
33-
integrity="sha512-QX0dPq5pyX33coEuy5x1UqKHFDeveQYMp7Sz+qOUwRL9mol4QDvViU+QAjd+k6P7QjPjrDCoyhK1kz2GDxCP9A=="
37+
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/lib/eos.min.js"
38+
integrity="sha512-KpODfN4HS8hjaWn6oZeUx/UIlIZ8mbS3EnylJ4is1GvSQ9mfuth7RhRCFPn2QQNvFtHAfVgRn4V3ithCWWVeGA=="
3439
crossorigin="anonymous"></script>
3540
<script>
3641
eos = Eos({

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
FROM eosio/eos:v1.0.7
1+
FROM eosio/eos:v1.0.10
22
COPY config.ini /

docker/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ version: "2"
22

33
services:
44
nodeosd:
5-
image: eosio/eos:v1.0.7
5+
image: eosio/eos:v1.0.10
66
build:
77
context: .
88
dockerfile: Dockerfile
99
#args:
1010
# branch: master
1111

12-
command: /opt/eosio/bin/nodeosd.sh --verbose-http-errors --max-transaction-time=1000 --data-dir /opt/eosio/bin/data-dir -e
12+
command: /opt/eosio/bin/nodeosd.sh --verbose-http-errors --max-transaction-time=1000 --data-dir /opt/eosio/bin/data-dir -e --http-alias=nodeosd:8888 --http-alias=127.0.0.1:8888 --http-alias=localhost:8888
1313
hostname: nodeosd
1414
ports:
1515
- 8888:8888
@@ -18,8 +18,8 @@ services:
1818
- "8888"
1919

2020
keosd:
21-
image: eosio/eos:v1.0.7
22-
command: /opt/eosio/bin/keosd --wallet-dir /opt/eosio/bin/data-dir --http-server-address=0.0.0.0:8900
21+
image: eosio/eos:v1.0.10
22+
command: /opt/eosio/bin/keosd --wallet-dir /opt/eosio/bin/data-dir --http-server-address=127.0.0.1:8900 --http-alias=keosd:8900 --http-alias=localhost:8900
2323
hostname: keosd
2424
ports:
2525
- 8900:8900

docker/dockrc.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ export owner_pubkey=EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
66
export active_pubkey=EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
77

88
function cleos() {
9-
docker exec docker_keosd_1 cleos -u http://nodeosd:8888 "$@"
9+
docker-compose exec keosd cleos -u http://nodeosd:8888 --wallet-url http://localhost:8900 "$@"
1010
}
1111

12-
function newaccount() {
13-
cleos system newaccount\
14-
--stake-net "10 SYS" --stake-cpu "100 SYS" --buy-ram-bytes 256\
15-
"$@"
12+
function keosd() {
13+
docker exec docker_nodeosd_1 keosd "$@"
14+
}
15+
16+
function pkill() {
17+
docker exec docker_nodeosd_1 pkill "$@"
1618
}

docker/up.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env bash
22
set -o errexit
3-
set -o xtrace
4-
53
. ./dockrc.sh
64

5+
set -o xtrace
6+
77
# Reset the volumes
88
docker-compose down
99

@@ -15,6 +15,7 @@ docker-compose up -d
1515
docker-compose logs -f | egrep -v 'Produced block 0' &
1616
sleep 2
1717

18+
1819
cleos wallet create
1920
cleos wallet import 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
2021

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"babel-runtime": "^6.26.0",
5656
"binaryen": "^37.0.0",
5757
"create-hash": "^1.1.3",
58-
"eosjs-api": "6.3.0",
58+
"eosjs-api": "6.3.2",
5959
"eosjs-ecc": "4.0.2",
6060
"fcbuffer": "2.2.0"
6161
},

0 commit comments

Comments
 (0)