Skip to content

Commit ac3680a

Browse files
committed
raise timeout value
1 parent ebf988c commit ac3680a

File tree

2 files changed

+84
-84
lines changed

2 files changed

+84
-84
lines changed

docs/api.md

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -914,89 +914,6 @@ const code = await web3data.contract.getCode('0x06012c8cf97bead5deae237070f9587f
914914

915915

916916

917-
### src/signature.js
918-
919-
920-
921-
#### Class: Signature
922-
923-
924-
Contains methods pertaining to the `/signatures` endpoint of Amberdata's API.
925-
926-
927-
928-
929-
930-
931-
932-
933-
934-
#### constructor(web3data)
935-
936-
937-
Creates an instance of Signature.
938-
939-
940-
941-
942-
##### Parameters
943-
944-
| Name | Type | Description | |
945-
| ---- | ---- | ----------- | -------- |
946-
| web3data | `object` | The web3data instance. |   |
947-
948-
949-
950-
951-
##### Examples
952-
953-
```javascript
954-
new Signature(new Web3Data('API_KEY'))
955-
```
956-
957-
958-
##### Returns
959-
960-
961-
- `Void`
962-
963-
964-
965-
966-
967-
#### getSignature(hash)
968-
969-
970-
Retrieves detailed information about the specified signature hash.
971-
972-
973-
974-
975-
##### Parameters
976-
977-
| Name | Type | Description | |
978-
| ---- | ---- | ----------- | -------- |
979-
| hash | `string` | The (keccak 256) of the signature. |   |
980-
981-
982-
983-
984-
##### Examples
985-
986-
```javascript
987-
const signatureDetails = await web3data.signature.getSignature('0xe2f0a05a')
988-
```
989-
990-
991-
##### Returns
992-
993-
994-
- `Promise.<Array>` Information pertaining to the specified signature hash.
995-
996-
997-
998-
999-
1000917
### src/market.js
1001918

1002919

@@ -1446,6 +1363,89 @@ const batTokenAddress = web3data.market.getAssetAddresses('bat') const assetAddr
14461363

14471364

14481365

1366+
### src/signature.js
1367+
1368+
1369+
1370+
#### Class: Signature
1371+
1372+
1373+
Contains methods pertaining to the `/signatures` endpoint of Amberdata's API.
1374+
1375+
1376+
1377+
1378+
1379+
1380+
1381+
1382+
1383+
#### constructor(web3data)
1384+
1385+
1386+
Creates an instance of Signature.
1387+
1388+
1389+
1390+
1391+
##### Parameters
1392+
1393+
| Name | Type | Description | |
1394+
| ---- | ---- | ----------- | -------- |
1395+
| web3data | `object` | The web3data instance. | &nbsp; |
1396+
1397+
1398+
1399+
1400+
##### Examples
1401+
1402+
```javascript
1403+
new Signature(new Web3Data('API_KEY'))
1404+
```
1405+
1406+
1407+
##### Returns
1408+
1409+
1410+
- `Void`
1411+
1412+
1413+
1414+
1415+
1416+
#### getSignature(hash)
1417+
1418+
1419+
Retrieves detailed information about the specified signature hash.
1420+
1421+
1422+
1423+
1424+
##### Parameters
1425+
1426+
| Name | Type | Description | |
1427+
| ---- | ---- | ----------- | -------- |
1428+
| hash | `string` | The (keccak 256) of the signature. | &nbsp; |
1429+
1430+
1431+
1432+
1433+
##### Examples
1434+
1435+
```javascript
1436+
const signatureDetails = await web3data.signature.getSignature('0xe2f0a05a')
1437+
```
1438+
1439+
1440+
##### Returns
1441+
1442+
1443+
- `Promise.<Array>` Information pertaining to the specified signature hash.
1444+
1445+
1446+
1447+
1448+
14491449
### src/token.js
14501450

14511451

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"docs:gen": "doxdox 'src/**/*.js' --layout markdown --output docs/api.md",
1111
"lint": "xo",
1212
"lint:fix": "xo --fix",
13-
"test": "xo --quiet && nyc -s ava -- --mode replay",
13+
"test": "xo --quiet && nyc -s ava --timeout=2m -- --mode replay",
1414
"test:record": "nyc -s ava -- --mode record",
1515
"test:live": "nyc -s ava -- --mode passthrough",
1616
"test:fast": "nyc -s ava --fail-fast",

0 commit comments

Comments
 (0)