Skip to content

Commit e1700be

Browse files
Merge pull request #232 from ShipEngine/ENGINE-7190-funding-sources-wallet-errors
Added error codes for funding sources errors
2 parents ddb4f08 + c4b9239 commit e1700be

5 files changed

Lines changed: 17 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
### [1.0.8](https://www.github.com/ShipEngine/shipengine-js/compare/v1.0.7...v1.0.8) (2024-01-31)
4+
5+
6+
### Features
7+
8+
* Added error code FundingSourceMissingConfiguration
9+
* Added error code FundingSourceError
10+
311
### [1.0.7](https://www.github.com/ShipEngine/shipengine-js/compare/v1.0.6...v1.0.7) (2024-01-31)
412

513

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "shipengine",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "The official ShipEngine JavaScript SDK for Node.js",
55
"keywords": [
66
"shipengine",

src/constants/error-code.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@ export type ErrorCode =
3838
| "unspecified"
3939
| "verification_failure"
4040
| "warehouse_conflict"
41-
| "webhook_event_type_conflict";
41+
| "webhook_event_type_conflict"
42+
| "funding_source_missing_configuration"
43+
| "funding_source_error";

src/constants/error-type.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ export type ErrorType =
99
| "security"
1010
| "validation"
1111
| "business_rules"
12-
| "system";
12+
| "system"
13+
| "wallet"
14+
| "funding_sources";

0 commit comments

Comments
 (0)