-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
26 lines (25 loc) · 763 Bytes
/
index.js
File metadata and controls
26 lines (25 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const RandomOrgClient = require('./RandomOrgClient');
const RandomOrgCache = require('./RandomOrgCache');
const {
RandomOrgBadHTTPResponseError,
RandomOrgInsufficientBitsError,
RandomOrgInsufficientRequestsError,
RandomOrgJSONRPCError,
RandomOrgKeyNotRunningError,
RandomOrgRANDOMORGError,
RandomOrgSendTimeoutError,
RandomOrgCacheEmptyError
} = require('./RandomOrgErrors');
module.exports = {
//default: RandomOrgClient,
RandomOrgClient,
RandomOrgCache,
RandomOrgBadHTTPResponseError,
RandomOrgInsufficientBitsError,
RandomOrgInsufficientRequestsError,
RandomOrgJSONRPCError,
RandomOrgKeyNotRunningError,
RandomOrgRANDOMORGError,
RandomOrgSendTimeoutError,
RandomOrgCacheEmptyError
};