Skip to content

Commit

Permalink
Merge pull request #232 from ShipEngine/ENGINE-7190-funding-sources-w…
Browse files Browse the repository at this point in the history
…allet-errors

Added error codes for funding sources errors
  • Loading branch information
ChristianCasado authored Jan 9, 2025
2 parents ddb4f08 + c4b9239 commit e1700be
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

### [1.0.8](https://www.github.com/ShipEngine/shipengine-js/compare/v1.0.7...v1.0.8) (2024-01-31)


### Features

* Added error code FundingSourceMissingConfiguration
* Added error code FundingSourceError

### [1.0.7](https://www.github.com/ShipEngine/shipengine-js/compare/v1.0.6...v1.0.7) (2024-01-31)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shipengine",
"version": "1.0.7",
"version": "1.0.8",
"description": "The official ShipEngine JavaScript SDK for Node.js",
"keywords": [
"shipengine",
Expand Down
4 changes: 3 additions & 1 deletion src/constants/error-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ export type ErrorCode =
| "unspecified"
| "verification_failure"
| "warehouse_conflict"
| "webhook_event_type_conflict";
| "webhook_event_type_conflict"
| "funding_source_missing_configuration"
| "funding_source_error";
4 changes: 3 additions & 1 deletion src/constants/error-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ export type ErrorType =
| "security"
| "validation"
| "business_rules"
| "system";
| "system"
| "wallet"
| "funding_sources";

0 comments on commit e1700be

Please sign in to comment.