Skip to content

Commit 624edf2

Browse files
Merge pull request #50 from web3data/fix/rouge-console-log
fix(rouge-console-log): Remove console.log
2 parents 8665385 + 1e5bfd2 commit 624edf2

File tree

4 files changed

+47
-48
lines changed

4 files changed

+47
-48
lines changed

dist/web3data.min.js

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

dist/web3data.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api.md

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [web3data-js](https://github.com/web3data/web3data-js#readme) *0.5.13*
1+
# [web3data-js](https://github.com/web3data/web3data-js#readme) *0.5.14*
22

33
> A javascript wrapper for accessing amberdata's public API.
44
@@ -982,49 +982,6 @@ const batTokenAddress = web3data.market.getAssetAddresses('bat') const assetAddr
982982

983983

984984

985-
### src/utils.js
986-
987-
988-
989-
#### get(web3data, subendpoint, endpoint, hash, pathParam, filterOptions)
990-
991-
992-
Builds the endpoint url to pass to .rawQuery(). Checks for non empties and appends
993-
the appropriate parameter(s) where applicable.
994-
995-
996-
997-
998-
##### Parameters
999-
1000-
| Name | Type | Description | |
1001-
| ---- | ---- | ----------- | -------- |
1002-
| web3data | | Instance on which to call .rawQuery(). |   |
1003-
| subendpoint | | The subendpoint. |   |
1004-
| endpoint | | The endpoint. |   |
1005-
| hash | | The address hash. |   |
1006-
| pathParam | | The path parameter. |   |
1007-
| filterOptions | | The filters associated with a given endpoint. |   |
1008-
1009-
1010-
1011-
1012-
##### Examples
1013-
1014-
```javascript
1015-
1016-
```
1017-
1018-
1019-
##### Returns
1020-
1021-
1022-
- Returns a Promise of the rawQuery request from web3data.
1023-
1024-
1025-
1026-
1027-
1028985
### src/web3data.js
1029986

1030987

@@ -1161,6 +1118,49 @@ API endpoints.
11611118

11621119

11631120

1121+
### src/utils.js
1122+
1123+
1124+
1125+
#### get(web3data, subendpoint, endpoint, hash, pathParam, filterOptions)
1126+
1127+
1128+
Builds the endpoint url to pass to .rawQuery(). Checks for non empties and appends
1129+
the appropriate parameter(s) where applicable.
1130+
1131+
1132+
1133+
1134+
##### Parameters
1135+
1136+
| Name | Type | Description | |
1137+
| ---- | ---- | ----------- | -------- |
1138+
| web3data | | Instance on which to call .rawQuery(). |   |
1139+
| subendpoint | | The subendpoint. |   |
1140+
| endpoint | | The endpoint. |   |
1141+
| hash | | The address hash. |   |
1142+
| pathParam | | The path parameter. |   |
1143+
| filterOptions | | The filters associated with a given endpoint. |   |
1144+
1145+
1146+
1147+
1148+
##### Examples
1149+
1150+
```javascript
1151+
1152+
```
1153+
1154+
1155+
##### Returns
1156+
1157+
1158+
- Returns a Promise of the rawQuery request from web3data.
1159+
1160+
1161+
1162+
1163+
11641164
### src/websocket.js
11651165

11661166

src/utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ correct namespacing.
130130
* @example
131131
*/
132132
const methodFactory = (_this, includeMethods) => {
133-
console.log(_this.prototype)
134133
Object.keys(includeMethods).forEach(namespace => {
135134
getMethods(Object.getPrototypeOf(_this.web3data[namespace])).forEach(
136135
method => {

0 commit comments

Comments
 (0)