-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add validation for new init options * Add new init options to interfaces * Add heartbeat for node ws and new init options * Enhancement: Linting and Formatting (#55) * Add linting/formatting plugins and settings * Fix Prettier config * Format code * Update circle CI to use newer version of node * Feature: Bitcoin Support (#56) * Add Bitcoin Support * Formatting * Don't lowercase btc address * Add prepare script * Enhancement: WebSocket Handlers (#59) * Enhancement: Destroy Method (#60) * Call onclose manually (#62) Closes #61 * Add better validation (#64) Closes #63 * Enhancement: Error Handling (#65) * All errors go through onerror handler if provided * Add missing return statements Closes #66 * Enhancement: Handle Server Errors (#68) Closes #67 * Change to version 2.1.0
- Loading branch information
1 parent
294d12c
commit 1c80af2
Showing
17 changed files
with
1,256 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: 'module' | ||
}, | ||
extends: [ | ||
'plugin:@typescript-eslint/recommended', | ||
'prettier/@typescript-eslint', | ||
'plugin:prettier/recommended' | ||
], | ||
|
||
rules: { | ||
'@typescript-eslint/no-use-before-define': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off' | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
semi: false, | ||
trailingComma: 'none', | ||
singleQuote: true, | ||
printWidth: 80, | ||
tabWidth: 2, | ||
arrowParens: 'avoid' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export const networks: { [key: string]: { [key: string]: string } } = { | ||
bitcoin: { | ||
'1': 'main', | ||
'2': 'testnet' | ||
}, | ||
ethereum: { | ||
'1': 'main', | ||
'3': 'ropsten', | ||
'4': 'rinkeby', | ||
'5': 'goerli', | ||
'42': 'kovan' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.