Skip to content

Commit

Permalink
feat(*): add rest of the calls to the main client
Browse files Browse the repository at this point in the history
  • Loading branch information
gridcat committed Dec 9, 2018
1 parent 446f1a6 commit 9037bd3
Show file tree
Hide file tree
Showing 7 changed files with 809 additions and 62 deletions.
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 120,
"trailingComma": "all",
"singleQuote": true,
"semi": true
}
72 changes: 27 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,5 @@
"typedoc": "^0.12.0",
"typescript": "^3.0.3"
},
"dependencies": {
"jayson": "^2.1.0"
}
"dependencies": {}
}
20 changes: 20 additions & 0 deletions src/Errors/Authentication.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Authentication Error
*
* @export
* @class AuthenticationError
* @extends {Error}
*/
export default class AuthenticationError extends Error {
/**
* Creates an instance of AuthenticationError.
* @param {string} [message=Authentication Error] - Error message
* @memberof AuthenticationError
*/
constructor(message?: string) {
if (!message) {
message = 'Authentication Error'
}
super(message)
}
}
Loading

0 comments on commit 9037bd3

Please sign in to comment.