-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2cb4c28
commit dfcf550
Showing
413 changed files
with
6,240 additions
and
4,078 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
{ | ||
"name": "@mercoa/javascript", | ||
"version": "v0.1.1", | ||
"version": "v0.2.0", | ||
"private": false, | ||
"repository": "https://github.com/mercoa-finance/javascript", | ||
"main": "./index.js", | ||
"types": "./index.d.ts", | ||
"scripts": { | ||
"format": "prettier --write 'src/**/*.ts'", | ||
"build": "tsc && tsc-alias", | ||
"build": "tsc", | ||
"prepack": "cp -rv dist/. ." | ||
}, | ||
"dependencies": { | ||
"@ungap/url-search-params": "0.2.2", | ||
"url-join": "4.0.1", | ||
"@types/url-join": "4.0.1", | ||
"js-base64": "3.7.2", | ||
"axios": "0.27.2" | ||
"axios": "1.4.0", | ||
"js-base64": "3.7.2" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "17.0.33", | ||
"prettier": "2.7.1", | ||
"tsc-alias": "1.7.1", | ||
"typescript": "4.6.4" | ||
} | ||
} |
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
15 changes: 15 additions & 0 deletions
15
src/api/resources/commons/errors/AuthHeaderMalformedError.ts
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,15 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as errors from "../../../../errors"; | ||
|
||
export class AuthHeaderMalformedError extends errors.MercoaError { | ||
constructor(body: string) { | ||
super({ | ||
statusCode: 400, | ||
body: body, | ||
}); | ||
Object.setPrototypeOf(this, AuthHeaderMalformedError.prototype); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/api/resources/commons/errors/AuthHeaderMissingError.ts
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,14 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as errors from "../../../../errors"; | ||
|
||
export class AuthHeaderMissingError extends errors.MercoaError { | ||
constructor() { | ||
super({ | ||
statusCode: 400, | ||
}); | ||
Object.setPrototypeOf(this, AuthHeaderMissingError.prototype); | ||
} | ||
} |
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,15 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as errors from "../../../../errors"; | ||
|
||
export class Unauthorized extends errors.MercoaError { | ||
constructor(body: string) { | ||
super({ | ||
statusCode: 401, | ||
body: body, | ||
}); | ||
Object.setPrototypeOf(this, Unauthorized.prototype); | ||
} | ||
} |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
export * from "./UnauthorizedError"; | ||
export * from "./AuthHeaderMissingError"; | ||
export * from "./AuthHeaderMalformedError"; | ||
export * from "./Unauthorized"; |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.