Skip to content

Commit

Permalink
Pre npm release updates
Browse files Browse the repository at this point in the history
  • Loading branch information
james committed Sep 11, 2018
1 parent 63c49f0 commit a0ec3a4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ read-only API calls. If you need to sign transactions use
<head>
<meta charset="utf-8">
<!--
sha512-oiuFmDyPAiD3PIiAYLyie70WmRWBy+Eq1Xar8Siz2HDGAv8B6O9tcjW9lC9isYbS/TOs4OkZAsQBln206Mb9Wg== lib/eos-api.js
sha512-LLDsX/GdVZYA82k9TVz3zUxSjvaX8s5b1FJm64W51JGxLFKI2z+ljqYQtsUZIOxh9pSUqvLA5HCoxXqdRxusKw== lib/eos-api.min.js
sha512-UuHPS649Xw5vATdmB0X7z+jgbdfmxiaeraqNtvq9T6bG1k8NX9Az8YrT4GmX5gBpbIX+z3vOomFnBX1RmnDDTA== lib/eos-api.min.js.map
sha512-n3CgU6w9TJVf/pVIMHYhk3Gxv8lEQYjVrSSTLXvEBENLF+CQd1Kp0jxXj09yGUOkWerdv2mJlh1Mnz3aRfYqWw== lib/eos-api.js
sha512-Cj2FQb94MMtDPgHb1R1577pEMjYhc+P5pNgv1/QwoJD9ntuR9rnWlqJACS/xNniNK5cFS6Y6CpQlHWpzWUeEbw== lib/eos-api.min.js
sha512-4C6oDKarS8DaXO99o342USbeQwqW98qik+QSzVGfof939gUpIyRDCnbGIGQAIkLNpYZIV4XanmRy3wcis6UW8w== lib/eos-api.min.js.map
-->
<script src="https://cdn.jsdelivr.net/npm/eosjs-api@7.0.3/lib/eos-api.min.js"
<script src="https://cdn.jsdelivr.net/npm/eosjs-api@7.0.4/lib/eos-api.min.js"
integrity="sha512-LLDsX/GdVZYA82k9TVz3zUxSjvaX8s5b1FJm64W51JGxLFKI2z+ljqYQtsUZIOxh9pSUqvLA5HCoxXqdRxusKw=="
crossorigin="anonymous"></script>

Expand Down
31 changes: 31 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<dd></dd>
<dt><a href="#getCodeResult">getCodeResult</a> : <code>object</code></dt>
<dd></dd>
<dt><a href="#getCodeHashResult">getCodeHashResult</a> : <code>object</code></dt>
<dd></dd>
<dt><a href="#getAbiResult">getAbiResult</a> : <code>object</code></dt>
<dd></dd>
<dt><a href="#getRawCodeAndAbiResult">getRawCodeAndAbiResult</a> : <code>object</code></dt>
Expand Down Expand Up @@ -53,6 +55,7 @@
* [.getInfo()](#eos.getInfo) ⇒ <code>string</code>
* [.getAccount(account_name)](#eos.getAccount) ⇒ <code>string</code>
* [.getCode(account_name, [code_as_wasm])](#eos.getCode)[<code>getCodeResult</code>](#getCodeResult)
* [.getCodeHash(account_name)](#eos.getCodeHash)[<code>getCodeHashResult</code>](#getCodeHashResult)
* [.getAbi(account_name)](#eos.getAbi)[<code>getAbiResult</code>](#getAbiResult)
* [.getRawCodeAndAbi(account_name)](#eos.getRawCodeAndAbi)[<code>getRawCodeAndAbiResult</code>](#getRawCodeAndAbiResult)
* [.abiJsonToBin(code, action, args)](#eos.abiJsonToBin)[<code>abiJsonToBinResult</code>](#abiJsonToBinResult)
Expand Down Expand Up @@ -127,6 +130,23 @@ url_path: `/v1/chain/get_code`
```js
eos.getCode(account_name, code_as_wasm)
```
<a name="eos.getCodeHash"></a>

### eos.getCodeHash(account_name) ⇒ [<code>getCodeHashResult</code>](#getCodeHashResult)
**Kind**: static method of [<code>eos</code>](#eos)

| Param | Type |
| --- | --- |
| account_name | <code>name</code> |

**Example**
```js
url_path: `/v1/chain/get_code_hash`
```
**Example**
```js
eos.getCodeHash(account_name)
```
<a name="eos.getAbi"></a>

### eos.getAbi(account_name) ⇒ [<code>getAbiResult</code>](#getAbiResult)
Expand Down Expand Up @@ -524,6 +544,17 @@ eos.getControlledAccounts(controlling_account)
| code_hash | <code>sha256</code> |
| abi | <code>optional.&lt;abi_def&gt;</code> |

<a name="getCodeHashResult"></a>

## getCodeHashResult : <code>object</code>
**Kind**: global typedef
**Properties**

| Name | Type |
| --- | --- |
| account_name | <code>name</code> |
| code_hash | <code>sha256</code> |

<a name="getAbiResult"></a>

## getAbiResult : <code>object</code>
Expand Down

0 comments on commit a0ec3a4

Please sign in to comment.